/* ElMasdar store v2 — "the industrial atlas": dark navy, film, one teal lens, amber highlights from the factory light. RTL. */
:root {
  --bg: #061024;            /* page */
  --bg-2: #0B1B3F;          /* raised */
  --ink: #0E2350;           /* the logo's deep navy */
  --navy: #1C4386;
  --lens: #1EC5CD;          /* teal = "found" */
  --amber: #F2B544;         /* the sparks / golden factory light */
  --text: #EAF0FA;
  --muted: #9FB0D0;
  --glass: rgba(255,255,255,.055);
  --glass-2: rgba(255,255,255,.09);
  --rule: rgba(255,255,255,.12);
  --paper: #FFFFFF;         /* spreadsheets / documents stay white paper */
  --paper-ink: #16233B;
  --grid: #E4E9F1;
  --bad: #FF6B7A;
  --wa: #25D366;
  --display: 'Alexandria', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --body: 'IBM Plex Sans Arabic', 'Alexandria', Tahoma, sans-serif;
  --r-m: 16px; --r-l: 24px;
  --gut: 16px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 760px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.75 var(--body); overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--lens); }
h1, h2, h3, h4 { font-family: var(--display); color: #fff; margin: 0 0 .5em; line-height: 1.3; }
h1 { font-size: clamp(34px, 5.6vw, 72px); font-weight: 800; line-height: 1.18; }
h2 { font-size: clamp(27px, 3.6vw, 44px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lens); outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.wrap-text { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--lens); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 8px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }
.lnk { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--lens); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.sec-head { max-width: 820px; margin-bottom: 36px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }
.glass { background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-l); backdrop-filter: blur(10px); }

/* reveals: one direction, staggered by --i, only once the element is in view */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ───────── buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 22px; border-radius: 14px; border: 1.5px solid transparent;
  font: 600 16px/1.3 var(--display); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 58px; padding: 12px 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-lens { background: var(--lens); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(30,197,205,.6); }
.btn-lens:hover { background: #3fd7de; box-shadow: 0 14px 34px -10px rgba(30,197,205,.8); }
.btn-ink { background: #fff; color: var(--ink); }
.btn-ink:disabled { background: rgba(255,255,255,.18); color: rgba(255,255,255,.55); cursor: not-allowed; transform: none; }
.btn-line { border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-line-ink { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-line-ink:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost { color: #fff; border-color: var(--rule); background: var(--glass); min-height: 42px; padding: 8px 14px; font-size: 15px; }
.btn-wa { background: var(--wa); color: #06301A; }
.btn-shine::after { content: ""; position: absolute; top: -40%; bottom: -40%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: shine 4.5s var(--ease) infinite; }
@keyframes shine { 0%, 65% { left: -60%; } 100% { left: 140%; } }

/* ───────── header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(6,16,36,.72); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.hdr-logo img { height: 38px; width: auto; }
.hdr-nav { display: none; gap: 26px; margin-inline-start: 12px; }
.hdr-nav a { font: 500 15.5px var(--display); color: #DCE4F3; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.hdr-nav a:hover { border-color: var(--lens); }
.hdr-act { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.hdr-sample span { display: none; }
.hdr-wa, .hdr-menu { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--rule); background: var(--glass); color: #fff; cursor: pointer; }
.hdr-wa { color: var(--wa); }
.mnav { border-top: 1px solid var(--rule); background: var(--bg-2); padding: 8px var(--gut) 16px; display: grid; }
.mnav a { padding: 12px 4px; border-bottom: 1px solid var(--rule); font: 500 17px var(--display); color: #fff; text-decoration: none; }
@media (min-width: 560px) { .hdr-sample span { display: inline; } }
@media (min-width: 980px) { .hdr-nav { display: flex; } .hdr-menu { display: none; } .mnav { display: none !important; } }
.hdr-logo img { filter: brightness(0) invert(1); }

/* ───────── hero: the film + the map of Egypt */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: 48px 0 72px; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; animation: filmin 2.4s var(--ease) both; }
@keyframes filmin { from { transform: scale(1.12); opacity: 0; } to { transform: none; opacity: .55; } }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,36,.25) 0%, rgba(6,16,36,.82) 55%, rgba(6,16,36,.95) 100%), linear-gradient(180deg, rgba(6,16,36,.2), rgba(6,16,36,.1) 60%, var(--bg) 100%); }
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero h1 { max-width: 17ch; font-size: clamp(34px, 4.6vw, 62px); }
.hero h1 em { font-style: normal; color: var(--lens); }
.h-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.h-line > span { display: block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.h-line:nth-child(2) > span { animation-delay: .18s; }
.h-rise { opacity: 0; transform: translateY(18px); animation: fadeup .8s var(--ease) forwards; animation-delay: var(--d, .5s); }
@keyframes rise { to { transform: none; } }
@keyframes fadeup { to { opacity: 1; transform: none; } }
.hero .lead { color: #C9D5EC; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #AFC0E0; font-size: 15px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ic { color: var(--lens); }
.hero-down { position: absolute; bottom: 18px; left: 50%; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; transform: translateX(-50%); }
.hero-down span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lens); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1.05fr 1fr; gap: 48px; } .hero { padding: 40px 0 80px; } }

.map { position: relative; margin: 0; aspect-ratio: 1 / 1.02; max-width: 560px; width: 100%; justify-self: center; user-select: none; touch-action: pan-y; opacity: 0; animation: fadeup 1s var(--ease) .4s forwards; }
.map-c { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-tags { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; max-width: 190px; padding: 7px 10px; background: rgba(6,16,36,.86); border: 1px solid rgba(30,197,205,.5); border-radius: 10px; font-size: 12px; line-height: 1.4; color: #fff; opacity: 0; transform: translate(-50%, 8px) scale(.96); transition: opacity .35s, transform .35s var(--ease); backdrop-filter: blur(6px); }
.tag.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.tag b { display: block; font: 600 12.5px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag i { display: block; font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag span { color: var(--lens); font-variant-numeric: tabular-nums; direction: ltr; display: inline-block; }
.lens-ring { position: absolute; top: 0; left: 0; width: 200px; height: 200px; pointer-events: none; transform-origin: 0 0; overflow: visible; filter: drop-shadow(0 12px 24px rgba(0,0,0,.5)); }
.lr-glass { fill: rgba(30,197,205,.1); }
.lr-rim { fill: none; stroke: #fff; stroke-width: 6; }
.lr-glint { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; opacity: .7; }
.lr-handle { stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.map figcaption { position: absolute; inset: auto 0 -8px; display: grid; gap: 4px; text-align: center; font-size: 13.5px; color: var(--muted); }
.map-sec { font: 600 15px var(--display); color: var(--amber); min-height: 1.4em; transition: opacity .3s; }
.map-note { font-size: 12.5px; }

/* ───────── counters */
.numbers { padding: 10px 0 60px; }
.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.num { background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 18px 16px; display: grid; gap: 2px; }
.num b { font: 800 clamp(30px, 3.4vw, 46px)/1.1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.num span { color: var(--muted); font-size: 14.5px; }
.num:first-child b { color: var(--lens); }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(5, 1fr); } .num:first-child { grid-column: span 1; } }

/* ───────── atlas: sector tiles (also the picker) */
.atlas { padding: 60px 0 90px; overflow: clip; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; position: relative; }
.tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-m); overflow: hidden; background: var(--bg-2); cursor: pointer; isolation: isolate; outline: 0 solid var(--lens); transition: outline-width .2s, transform .35s var(--ease); }
.tile > img, .tile-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease), opacity .6s; }
.tile-v { z-index: -1; opacity: 0; }
.tile.playing .tile-v { opacity: 1; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(6,16,36,.05) 20%, rgba(6,16,36,.9) 100%); transition: background .3s; }
.tile:hover > img { transform: scale(1.06); }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile-check { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; width: 30px; height: 30px; border-radius: 9px; border: 2px solid rgba(255,255,255,.7); display: grid; place-items: center; color: transparent; background: rgba(6,16,36,.4); transition: all .2s; }
.tile:has(input:checked) { outline-width: 3px; outline-offset: -3px; }
.tile:has(input:checked) .tile-check { background: var(--lens); border-color: var(--lens); color: var(--ink); }
.tile:has(input:checked)::before { background: linear-gradient(180deg, rgba(30,197,205,.15) 0%, rgba(6,16,36,.92) 100%); }
.tile input:focus-visible ~ .tile-check { outline: 3px solid var(--lens); outline-offset: 2px; }
.tile-t { position: absolute; inset: auto 0 0; z-index: 1; padding: 14px; display: grid; }
.tile-t b { font: 800 clamp(26px, 3.2vw, 40px)/1.1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.tile-t span { font: 600 14.5px/1.35 var(--display); color: #E4EBF8; }
.tile-t small { color: var(--amber); font-size: 12.5px; }
.tile-look { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(6,16,36,.5); color: #fff; backdrop-filter: blur(4px); }
.tile-thin { cursor: default; }
.tile-thin > img { filter: saturate(.5); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 12px; } .tile-big { grid-column: span 2; grid-row: span 2; } .tile-big .tile-t b { font-size: clamp(40px, 5vw, 64px); } }
.ledger-bar { grid-column: 1 / -1; position: sticky; bottom: 0; z-index: 30; margin: 12px calc(var(--gut) * -1) 0; background: rgba(6,16,36,.9); backdrop-filter: blur(12px); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .35s var(--ease); }
.ledger-bar.on { transform: none; }
.lb-in { display: grid; gap: 8px; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); }
.lb-total { margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 500 15.5px var(--display); }
.lb-total b { font: 800 26px var(--display); color: var(--lens); font-variant-numeric: tabular-nums; }
.lb-nudge { margin: 0; color: var(--amber); font-size: 15px; }
.lb-act { display: flex; gap: 10px; }
.lb-act .btn { flex: 1; }
@media (min-width: 760px) { .lb-in { grid-template-columns: 1fr auto; align-items: center; } .lb-nudge { grid-column: 1; } .lb-act { grid-column: 2; grid-row: 1 / span 2; } .lb-act .btn { flex: none; } }

/* ───────── packages + the folder */
.pk { padding: 40px 0 90px; overflow: hidden; }
.pk-grid { display: grid; gap: 40px; align-items: center; }
.fl { list-style: none; display: grid; gap: 0; margin: 10px 0 22px; border-top: 1px solid var(--rule); }
.fl li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.fl-n { font: 600 13px var(--display); color: var(--lens); background: rgba(30,197,205,.12); border-radius: 8px; padding: 4px 8px; }
.fl-t b { display: block; font: 600 17px var(--display); color: #fff; }
.fl-t i { display: block; font-style: normal; color: var(--muted); font-size: 15px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font: 800 40px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 15px; }
.price-xl b { font-size: 50px; }
.pk-price { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.folder3d { position: relative; width: min(100%, 520px); aspect-ratio: 1 / .92; margin-inline: auto; perspective: 1200px; }
.f3-back { position: absolute; inset: 14% 4% 10%; background: #15306B; border-radius: 18px; }
.f3-files { position: absolute; inset: 16% 10% 18%; transform-style: preserve-3d; }
.f3-file { position: absolute; inset: 0 auto 0 auto; width: 46%; left: 27%; background: var(--paper); border-radius: 8px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); transform: translateY(14%) rotate(0); transition: transform 1s var(--ease); transition-delay: calc(var(--k) * .12s); }
.f3-file img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.f3-sheet { --k: 0; } .f3-img:not(.f3-start) { --k: 1; } .f3-tool { --k: 2; } .f3-start { --k: 3; }
.folder3d.in .f3-sheet { transform: translate(-58%, -24%) rotate(-9deg); }
.folder3d.in .f3-img:not(.f3-start) { transform: translate(-16%, -42%) rotate(-3deg); }
.folder3d.in .f3-tool { transform: translate(26%, -36%) rotate(4deg); }
.folder3d.in .f3-start { transform: translate(64%, -16%) rotate(10deg); }
.f3-file .mini-xl { border: 0; border-radius: 0; height: 100%; }
.f3-file .mini-xl table { font-size: 10px; }
.f3-file .mini-xl th, .f3-file .mini-xl td { padding: 4px 6px; }
.f3-front { position: absolute; inset: 42% 0 0; background: linear-gradient(180deg, #2A57A8, #1C4386 60%, #163672); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.2); transform-origin: bottom; transition: transform 1s var(--ease); }
.folder3d.in .f3-front { transform: rotateX(-18deg); }
.f3-tab { position: absolute; top: -34px; inset-inline-start: 24px; display: inline-flex; align-items: center; gap: 8px; background: #1C4386; color: #DCE6FA; border-radius: 12px 12px 0 0; padding: 8px 16px; font: 500 13.5px var(--body); }
.f3-count { position: absolute; bottom: 18px; inset-inline-start: 22px; font: 600 15px var(--display); color: #BFD0F0; }
.pk-side { display: grid; gap: 16px; margin-top: 28px; }
.pk-card { padding: 24px; }
.pk-card h3 { margin-bottom: 6px; }
.pk-card .price { margin-bottom: 10px; }
.pk-card .price b { font-size: 32px; }
.pk-card p { color: var(--muted); font-size: 16px; }
@media (min-width: 980px) { .pk-grid { grid-template-columns: 1fr 1fr; gap: 64px; } .pk-side { grid-template-columns: 1fr 1fr; } }

/* ───────── journey rail */
.journey { padding: 40px 0 90px; overflow: hidden; }
.jn-arrows { display: none; gap: 8px; }
.jn-arrows button { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--rule); background: var(--glass); color: #fff; display: grid; place-items: center; cursor: pointer; }
.jn-arrows button:last-child .ic { transform: rotate(180deg); }
@media (min-width: 760px) { .jn-arrows { display: flex; } }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 60px 0 10px; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail-in { position: relative; display: flex; gap: 18px; padding-inline: var(--gut); width: max-content; }
.rail-line { position: absolute; top: -30px; left: 0; height: 60px; width: 100%; overflow: visible; pointer-events: none; }
.rail-line path { fill: none; stroke: var(--lens); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 8px rgba(30,197,205,.6)); }
.step { position: relative; flex: none; width: min(78vw, 360px); scroll-snap-align: start; padding: 22px 20px 20px; display: grid; gap: 6px; align-content: start; }
.step-n { position: absolute; top: -22px; inset-inline-start: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 3px solid var(--lens); color: #fff; font: 800 17px var(--display); box-shadow: 0 0 0 6px var(--bg); }
.step h3 { margin: 8px 0 0; font-size: 20px; }
.step-file { margin: 0; display: flex; gap: 6px; align-items: center; color: var(--lens); font: 600 14px var(--display); }
.step-what { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.step-prev { border-radius: 10px; overflow: hidden; }
.step-prev .page { width: 100%; border-radius: 8px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); }

/* ───────── guides cover-flow */
.guides-sec { padding: 20px 0 90px; overflow: hidden; }
.flow { position: relative; height: clamp(360px, 54vw, 520px); perspective: 1400px; }
.flow-c { position: absolute; top: 0; left: 50%; width: clamp(200px, 30vw, 290px); margin-left: calc(clamp(200px, 30vw, 290px) / -2); border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .8s var(--ease), opacity .6s, filter .6s; display: grid; gap: 10px; }
.flow-c img { width: 100%; border-radius: 10px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); }
.flow-c span { font: 600 15px var(--display); color: #fff; text-align: center; opacity: 0; transition: opacity .4s; }
.flow-c.is-c span { opacity: 1; }
.flow-c { --o: calc(var(--i) - var(--c, 2)); transform: translateX(calc(var(--o) * 58%)) translateZ(calc(abs(var(--o)) * -220px)) rotateY(calc(var(--o) * -28deg)); z-index: calc(10 - abs(var(--o))); filter: brightness(calc(1 - abs(var(--o)) * .22)); }
.flow-c.is-c { z-index: 20; }

/* ───────── sample */
.sample { padding: 20px 0 90px; }
.sample-in { display: grid; gap: 30px; align-items: center; }
.sample-art { position: relative; max-width: 380px; margin-inline: auto; width: 72%; transform-style: preserve-3d; transition: transform .3s; }
.sample-art img { border-radius: 10px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.9); }
.sa-back { position: absolute; inset: 6% -12% auto auto; width: 92%; transform: rotate(6deg); opacity: .9; }
.sa-front { position: relative; transform: rotate(-3deg); }
.sample-copy { padding: 28px 22px; }
.sample-copy h2 { max-width: 18ch; }
.sample-copy > p { color: var(--muted); font-size: 17px; }
@media (min-width: 900px) { .sample-in { grid-template-columns: .8fr 1.2fr; gap: 64px; } .sample-art { width: 100%; } .sample-copy { padding: 40px; } }

/* forms */
.form { position: relative; display: grid; gap: 14px; max-width: 560px; }
.f { display: grid; gap: 6px; }
.f > span { font: 600 15px var(--display); color: #fff; }
.f small { font: 400 13.5px var(--body); color: var(--muted); }
.f input, .f textarea { min-height: 54px; border: 1.5px solid var(--rule); border-radius: 12px; padding: 12px 14px; background: rgba(6,16,36,.5); color: #fff; font-size: 17px; width: 100%; }
.f input:focus { outline: none; border-color: var(--lens); box-shadow: 0 0 0 3px rgba(30,197,205,.3); }
.f input[dir="ltr"] { text-align: left; }
.f input[dir="ltr"]::placeholder { text-align: left; }
.f-row { display: grid; gap: 14px; }
@media (min-width: 620px) { .f-row { grid-template-columns: 1fr 1fr; } }
.f-err { margin: 0; color: #fff; background: rgba(255,107,122,.2); border: 1px solid rgba(255,107,122,.5); border-radius: 10px; padding: 10px 14px; font-size: 15.5px; }
.f-note { margin: 0; color: var(--muted); font-size: 14.5px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ───────── the row strip */
.spec { padding: 20px 0 80px; }
.xl { border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; background: var(--glass); }
.xl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xl-c { padding: 16px 16px 18px; border-bottom: 1px solid var(--rule); border-inline-start: 1px solid var(--rule); }
.xl-c b { display: block; font: 600 14px var(--display); color: var(--muted); margin-bottom: 4px; }
.xl-c em { font-style: normal; font: 700 22px/1.3 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.xl-hi { background: rgba(30,197,205,.14); }
.xl-hi em { color: var(--lens); }
.spec-notes { display: grid; gap: 12px; margin-top: 22px; }
.spec-notes p { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 16.5px; color: #DCE4F3; }
.spec-yes .ic { color: var(--lens); margin-top: 4px; }
.spec-no .ic { color: var(--bad); margin-top: 4px; }
@media (min-width: 900px) { .xl-row { grid-template-columns: repeat(7, minmax(0, 1fr)); } .xl-c { border-bottom: 0; } .xl-c:first-child { border-inline-start: 0; } .xl-c em { font-size: 20px; } .spec-notes { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ───────── FAQ */
.faq { padding: 20px 0 80px; }
.faq-in { max-width: 860px; }
.faq-list { border-top: 1px solid var(--rule); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font: 600 18px/1.5 var(--display); color: #fff; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 8px; border-inline-end: 2px solid var(--lens); border-bottom: 2px solid var(--lens); transform: rotate(45deg); transition: transform .25s; }
.qa[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.qa p { margin: 0 0 18px; color: var(--muted); max-width: 70ch; }

/* ───────── reads */
.reads { padding: 20px 0 90px; }
.rd-grid { display: grid; gap: 16px; }
.rd { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; text-decoration: none; color: inherit; isolation: isolate; background: var(--bg-2); }
.rd img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .9s var(--ease); }
.rd::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(6,16,36,.95)); }
.rd:hover img { transform: scale(1.06); }
.rd-t { position: absolute; inset: auto 0 0; padding: 18px; }
.rd h2, .rd h3 { font-size: 19px; margin: 0 0 4px; line-height: 1.45; }
.rd p { margin: 0; color: var(--muted); font-size: 14.5px; }
.rd-m { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (min-width: 820px) { .rd-grid { grid-template-columns: repeat(3, 1fr); } }

/* ───────── closing film */
.source { position: relative; color: #fff; padding: 120px 0; overflow: hidden; isolation: isolate; }
.source-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.source::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,36,.3) 0%, rgba(6,16,36,.92) 70%); }
.source h2 { font-size: clamp(38px, 6.5vw, 72px); font-weight: 800; }
.source p { color: #D5DFF2; font-size: 19px; max-width: 46ch; }
@media (max-width: 760px) { .source::before { background: linear-gradient(180deg, rgba(6,16,36,.5), rgba(6,16,36,.93)); } }

/* ───────── footer */
.ftr { background: #040B1B; color: #B9C6E0; padding: 56px 0 24px; border-top: 1px solid var(--rule); }
.ftr-in { display: grid; gap: 32px; }
.ftr-brand img { width: 190px; margin-bottom: 14px; }
.ftr-brand p { max-width: 36ch; font-size: 15.5px; }
.ftr h2 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.ftr-col { display: grid; align-content: start; gap: 8px; }
.ftr-col a { color: #DCE4F3; text-decoration: none; font-size: 15.5px; }
.ftr-col a:hover { color: var(--lens); }
.ftr-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ftr-pay { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 6px 0 0; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13.5px; color: #8EA0C2; }
@media (min-width: 820px) { .ftr-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.wa-float { position: fixed; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #06301A; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); transition: bottom .3s; }
.is-checkout .wa-float, body:has(.ledger-bar.on) .wa-float, body:has(.buybar.on) .wa-float { display: none; }

/* ───────── inner pages */
.ph { padding: 34px 0 48px; }
.ph-slim { padding-bottom: 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.ph-grid { display: grid; gap: 26px; align-items: start; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: #DCE4F3; }
.ticks .ic { color: var(--lens); margin-top: 5px; }
.buy { background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 24px; display: grid; gap: 14px; backdrop-filter: blur(10px); }
.buy-h { font-size: 20px; margin: 0; }
.buy-notes { list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.buy-notes li { display: flex; gap: 8px; align-items: center; }
.buy-full { margin: 0; color: var(--muted); font-size: 15.5px; }
.buy-full b { color: #fff; font-family: var(--display); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
@media (min-width: 900px) { .ph-grid { grid-template-columns: 1fr 380px; gap: 48px; } .buy-sticky { position: sticky; top: 90px; } }
.pk-detail { padding: 40px 0 64px; }
.fd { margin-bottom: 48px; }
.fd-h { display: flex; align-items: center; gap: 12px; font-size: clamp(20px, 2.4vw, 25px); }
.fd-h span { font: 600 14px var(--display); color: var(--lens); background: rgba(30,197,205,.12); border-radius: 8px; padding: 3px 9px; }
.fd-note { color: var(--muted); font-size: 15px; margin-top: 12px; }
.secbars { display: grid; gap: 2px; background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 10px; }
.sb { display: grid; grid-template-columns: minmax(0, 1fr) 70px; grid-template-areas: "name n" "bar bar"; gap: 4px 12px; align-items: center; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #fff; }
.sb:hover { background: var(--glass-2); }
.sb-name { grid-area: name; font: 500 15.5px var(--display); }
.sb-bar { grid-area: bar; height: 6px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.sb-bar i { display: block; height: 100%; background: var(--lens); border-radius: 99px; }
.sb-n { grid-area: n; text-align: end; font: 600 15px var(--display); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .sb { grid-template-columns: 240px 1fr 70px; grid-template-areas: "name bar n"; } }
.guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide { margin: 0; }
.guide img { border-radius: 8px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.guide figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.guide figcaption b { display: block; color: #fff; font: 600 15.5px var(--display); }
@media (min-width: 760px) { .guides { grid-template-columns: repeat(5, 1fr); } }
.tools { list-style: none; display: grid; background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
.tools li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.tools li:last-child { border-bottom: 0; }
.tl-n { grid-row: span 2; font: 600 13px var(--display); color: var(--lens); background: rgba(30,197,205,.12); border-radius: 8px; padding: 4px 8px; height: fit-content; }
.tools b { font: 600 16.5px var(--display); color: #fff; }
.tools span:last-child { color: var(--muted); font-size: 15px; }
.buybar { position: fixed; inset: auto 0 0; z-index: 45; background: rgba(6,16,36,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--rule); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .3s var(--ease); }
.buybar.on { transform: none; }
.buybar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buybar p { margin: 0; display: grid; line-height: 1.4; }
.buybar p b { font-family: var(--display); color: #fff; }
.buybar p span { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .buybar { display: none; } }

/* sector page */
.sx-hero { position: relative; min-height: 420px; display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.sx-img { position: absolute; inset: 0; z-index: -2; }
.sx-img img, .sx-img video { width: 100%; height: 100%; object-fit: cover; }
.sx-img video { position: absolute; inset: 0; }
.sx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,16,36,.1) 0%, rgba(6,16,36,.95) 90%); }
.sx-in { padding-top: 110px; padding-bottom: 34px; }
.sx-hero h1 { max-width: 20ch; }
.sx-hero .lead { color: #DCE5F5; }
@media (min-width: 900px) { .sx-hero { min-height: 540px; } }
.sx-body { padding: 48px 0 64px; }
.sx-grid { display: grid; gap: 32px; align-items: start; }
.sx-main h2 { font-size: 24px; margin-top: 36px; }
.sx-main h2:first-child { margin-top: 0; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; margin: 0; }
.facts div { background: var(--bg-2); padding: 14px 16px; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font: 700 26px var(--display); color: #fff; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .sx-grid { grid-template-columns: 1fr 360px; gap: 48px; } }
.others { padding: 0 0 64px; }
.others h2 { font-size: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; gap: 6px; align-items: baseline; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 99px; background: var(--glass); text-decoration: none; color: #fff; font: 500 15px var(--display); }
.chips a:hover { border-color: var(--lens); }
.chips small { color: var(--muted); font-size: 13px; }
.sx-list { padding: 20px 0 72px; }
.sx-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.sx-card { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; aspect-ratio: 4 / 3; background: var(--bg-2); }
.sx-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.sx-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(6,16,36,.94)); }
.sx-card:hover img { transform: scale(1.05); }
.sx-c-t { position: absolute; inset: auto 0 0; padding: 16px; display: grid; gap: 2px; }
.sx-c-t b { font: 700 19px var(--display); }
.sx-c-m { display: flex; gap: 14px; color: #CFDAEE; font-size: 14.5px; }
.sx-list .center { margin-top: 28px; }

/* mini spreadsheet: always white paper */
.mini-xl { border: 1px solid var(--grid); border-radius: 10px; overflow: hidden; background: var(--paper); color: var(--paper-ink); font-family: var(--body); }
.mx-title { display: flex; align-items: center; gap: 8px; background: #F1F3F7; border-bottom: 1px solid var(--grid); padding: 7px 12px; font: 600 12.5px var(--body); color: #55657F; }
.mini-xl table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.mini-xl th, .mini-xl td { border: 1px solid var(--grid); padding: 6px 9px; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-xl th { background: var(--navy); color: #fff; font-weight: 600; }
.mini-xl td[dir="ltr"] { text-align: left; font-variant-numeric: tabular-nums; }
.mini-xl .mx-h { background: #184088; color: #fff; font-weight: 600; }
.mini-xl .mx-in { background: #E9F0FF; box-shadow: inset 0 0 0 1px #A8BFEE; }
.mini-xl .mx-as { background: #FFF4D6; }
.mini-xl .mx-f { font-weight: 600; color: var(--ink); }
.mini-xl td.mx-span, .mini-xl tr td:first-child { white-space: normal; }
.mx-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 8px 12px; font-size: 13px; color: #55657F; border-top: 1px solid var(--grid); }

/* checkout */
.co { padding: 40px 0 72px; }
.co-in { display: grid; gap: 28px; align-items: start; }
.co-main h1 { font-size: clamp(28px, 4vw, 42px); }
.co-ways { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; }
.co-ways li { display: flex; gap: 8px; align-items: center; }
.co-sum { background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 22px; display: grid; gap: 14px; }
.co-sum h2 { font-size: 20px; margin: 0; }
.co-items { list-style: none; display: grid; gap: 10px; }
.co-items li { display: flex; justify-content: space-between; gap: 12px; }
.co-items b { font-family: var(--display); white-space: nowrap; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 14px; margin: 0; }
.co-total b { font: 800 28px var(--display); color: var(--lens); }
.co-nudge { background: rgba(242,181,68,.12); border: 1px solid rgba(242,181,68,.4); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.co-nudge p { margin: 0; font-size: 15.5px; }
.co-safe { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .co-in { grid-template-columns: 1fr 380px; gap: 56px; } .co-sum { position: sticky; top: 90px; } }

/* done / download */
.done { padding: 56px 0 80px; }
.done-in { max-width: 760px; }
.done-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(30,197,205,.14); color: var(--lens); font: 600 15px var(--display); padding: 6px 14px; border-radius: 99px; }
.files { list-style: none; display: grid; gap: 12px; margin: 24px 0 8px; }
.file { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--glass); border: 1.5px solid var(--rule); border-radius: var(--r-m); padding: 14px 16px; text-decoration: none; color: #fff; transition: border-color .2s, transform .2s; }
.file:hover { border-color: var(--lens); transform: translateY(-2px); }
.file-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(30,197,205,.14); color: var(--lens); }
.file-t b { display: block; font: 600 16px/1.5 var(--display); }
.file-t i { display: flex; gap: 10px; font-style: normal; color: var(--muted); font-size: 14px; }
.file-dl { display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--display); color: var(--lens); }
@media (max-width: 520px) { .file-dl { font-size: 0; gap: 0; } }
.done-next { margin-top: 40px; padding: 24px; background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-l); }
.done-next h2 { font-size: 22px; }
.done-act { margin: 20px 0; }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--rule); border-top-color: var(--lens); animation: spin 1s linear infinite; margin: 10px 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* articles + text pages */
.art-h { padding: 34px 0 10px; }
.art-m { display: flex; gap: 16px; color: var(--muted); font-size: 14.5px; }
.art-fig { margin: 0 auto; padding-top: 10px; }
.art-fig img { border-radius: var(--r-m); width: 100%; }
.prose { padding-top: 28px; padding-bottom: 20px; font-size: 18px; line-height: 1.95; color: #DCE4F3; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15.5px; line-height: 1.6; background: var(--glass); display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 9px 12px; text-align: start; vertical-align: top; }
.prose th { background: var(--navy); color: #fff; font-family: var(--display); font-weight: 600; }
.prose strong { color: #fff; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-inline-start: 4px solid var(--lens); background: var(--glass); }
.art-faq { margin-top: 32px; }
.art-cta { margin-top: 32px; margin-bottom: 72px; padding: 28px; background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-l); }
.page-body { padding-bottom: 72px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  [data-reveal], .map, .h-rise, .h-line > span { opacity: 1; transform: none; }
  .hero-film, .tile-v, .source-bg { display: none; }
}

/* SEO content blocks (2026-10-18) */
.art-box { background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 18px 20px; margin: 1.2em 0; }
.art-box p { margin: 0; }
.art-form .form { max-width: none; margin-top: 10px; }
.sx-guide { padding-top: 0; font-size: 17px; }
.sx-guide h2 { font-size: 22px; margin: 1.4em 0 .4em; }
.sx-guide .secbars { margin: 8px 0 4px; }
.sx-names { list-style: none; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); font-size: 15px; }
.sx-names li { background: var(--glass); border: 1px solid var(--rule); border-radius: 10px; padding: 8px 12px; line-height: 1.5; }
.sx-names b { display: block; color: #fff; font: 600 15px var(--display); }
.sx-names span { color: var(--muted); font-size: 13.5px; }
.is-en .ph { direction: ltr; text-align: left; }
.is-en .ticks .ic { margin-top: 5px; }
