/* ZarDot landing (zardot.ir). Figma: XluiKNwxQcM6nSMUeSlft6, frames 95:629 (desktop 1440) and 111:1616 (mobile 390).
   Fixed ink/ivory scheme; no dark/light switch. Plain CSS, no build step. */

/* ---------- fonts (self-hosted, subset; OFL, see fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-200.woff2") format("woff2"); font-weight: 200; font-display: swap; unicode-range: U+0020, U+00A0, U+0600-06FF, U+200C-200F, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-300.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0020, U+00A0, U+0600-06FF, U+200C-200F, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0020, U+00A0, U+0600-06FF, U+200C-200F, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0020, U+00A0, U+0600-06FF, U+200C-200F, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0020, U+00A0, U+0600-06FF, U+200C-200F, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0021-007E, U+00A9, U+00AB, U+00BB, U+2013-2014, U+2018-201D, U+2026, U+25B2, U+25BC; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0021-007E, U+00A9, U+00AB, U+00BB, U+2013-2014, U+2018-201D, U+2026, U+25B2, U+25BC; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0021-007E, U+00A9, U+00AB, U+00BB, U+2013-2014, U+2018-201D, U+2026, U+25B2, U+25BC; }
@font-face { font-family: "Markazi Text"; src: url("fonts/markazi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0020, U+00A0, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Markazi Text"; src: url("fonts/markazi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0020, U+00A0, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Markazi Text"; src: url("fonts/markazi-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+002E, U+00AB, U+00BB, U+201C-201D; }
@font-face { font-family: "Noto Nastaliq Urdu"; src: url("fonts/nastaliq-tagline.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* metric-matched fallbacks so the swap does not move the page */
@font-face { font-family: "Vazirmatn Fallback"; src: local("Tahoma"), local("Segoe UI"), local("Noto Sans Arabic"), local("Geeza Pro"), local("Arial"); size-adjust: 100%; ascent-override: 102.5%; descent-override: 53.7%; line-gap-override: 0%; }
@font-face { font-family: "Markazi Fallback"; src: local("Times New Roman"), local("Noto Naskh Arabic"), local("Geeza Pro"), local("Tahoma"); size-adjust: 92%; ascent-override: 83.9%; descent-override: 36.1%; line-gap-override: 0%; }

/* ---------- tokens («v3 · Landing» variables) ---------- */
:root {
  --ink-900: #15120d; --ink-850: #1a1610; --ink-800: #201b14; --ink-700: #2a241b; --ink-line: #3b3326;
  --ivory-50: #fffdf8; --ivory-100: #fbf8f1; --ivory-200: #f6f1e6; --ivory-300: #eee6d4; --ivory-line: #e2d7c1; --ivory-control: #938670;
  --on-ink: #f4eddf; --on-ink2: #c2b7a3; --on-ink-muted: #918670;
  --text-ink: #1e1910; --text-ink2: #564c3c; --text-muted: #736753;
  --gold-100: #f6e7be; --gold-200: #ebd39a; --gold-300: #e0bd66; --gold-500: #c99b34; --gold-700: #7e5c17; --on-gold: #1a1405;
  /* app (v3) tokens for the screen mock-ups */
  --c-ink: #14213d; --c-ink2: #46546e; --c-muted: #5f6d85; --c-line: #e1e6ed; --c-line-strong: #c3ccd9; --c-bg: #eef1f5;
  --c-buy: #0b7a69; --c-buy-soft: #e0f2ee; --c-sell: #c02e3d; --c-sell-fill: #b8293a; --c-sell-soft: #fbe7e9; --c-control: #7c8ba5;
  --accent-text: #86621a; --accent-soft: #f6edd6; --primary-fill: #111c30; --range-track: #e3e7ee;

  --f-body: "Vazirmatn", "Vazirmatn Fallback", Tahoma, sans-serif;
  --f-title: "Markazi Text", "Vazirmatn", "Markazi Fallback", serif;
  --f-nast: "Noto Nastaliq Urdu", "Markazi Text", "Vazirmatn", serif;
  --f-latin: "Cormorant Garamond", Georgia, serif;
  --gutter: 16px;
  --wrap: min(1200px, calc(100% - 2 * var(--gutter)));
  --gold-grad: linear-gradient(113deg, #c99b34 5.7%, #f3dea4 46%, #b8892e 94%);
  --num-grad: linear-gradient(180deg, #f1dda6 0%, #d9b45a 55%, #b8892e 100%);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ink-900); color: var(--on-ink); font: 400 16px/30px var(--f-body); font-feature-settings: "ss01" 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: none; }
b { font-weight: 700; }
small { font-size: inherit; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: var(--wrap); margin-inline: auto; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 6px; }
.ivory :focus-visible { outline-color: var(--gold-700); }
.skip { position: absolute; top: 8px; right: 8px; z-index: 50; padding: 10px 16px; background: var(--gold-200); color: var(--on-gold); border-radius: 10px; font-weight: 700; transform: translateY(-200%); }
.skip:focus { transform: none; }
.ink { background: var(--ink-900); color: var(--on-ink); }
.ivory { background: var(--ivory-200); color: var(--text-ink); }

.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.gold-text-deep { background: linear-gradient(112deg, #c99b34 5.7%, #a47a22 50%, #7e5c17 94%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rule { display: inline-block; width: 36px; height: 1px; background: linear-gradient(90deg, rgba(201,155,52,0), var(--gold-300)); flex: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; line-height: 22px; color: var(--gold-700); }
.eyebrow .rule { background: linear-gradient(90deg, rgba(201,155,52,0), #a47a22); }
.eyebrow.on-ink { color: var(--gold-300); }
.eyebrow.on-ink .rule { background: linear-gradient(90deg, rgba(201,155,52,0), var(--gold-300)); }
.h2 { font: 700 64px/80px var(--f-title); }
.h3 { font: 700 36px/48px var(--f-title); }
.body { font-size: 16px; line-height: 30px; }

/* live dot: soft gold pulse */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-300); flex: none; box-shadow: 0 0 0 1px rgba(224,189,102,.6), 0 0 0 0 rgba(224,189,102,.5); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 1px rgba(224,189,102,.6), 0 0 10px 3px rgba(224,189,102,.55); } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 30px; border-radius: 14px; font-weight: 700; font-size: 17px; line-height: 26px; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.btn .i { width: 24px; height: 24px; flex: none; }
.btn-gold { color: var(--on-gold); border: 1px solid rgba(255,244,214,.9); background: linear-gradient(180deg, #f5e3ae 0%, #ddb75c 50%, #b98b2e 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 24px -4px rgba(201,155,52,.32); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 16px 30px -4px rgba(201,155,52,.42); }
.btn-gold:focus-visible { outline-color: var(--gold-100); }
.ivory .btn-gold:focus-visible { outline-color: var(--gold-700); }
.btn-ghost { color: var(--gold-200); background: rgba(201,155,52,.06); border: 1px solid var(--gold-500); }
.btn-ghost:hover { background: rgba(201,155,52,.14); }
.btn-md { min-height: 48px; padding: 0 22px; border-radius: 12px; gap: 8px; font-weight: 500; font-size: 15px; line-height: 24px; }
.btn-md .i { width: 19px; height: 19px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.head { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(201,155,52,0), rgba(201,155,52,.35) 50%, rgba(201,155,52,0)); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.zd-mark { width: 30px; height: 30px; flex: none; }
.wordmark-fa { font: 700 36px/40px var(--f-title); color: var(--on-ink); }
.wordmark-la { font: 600 20px/1 var(--f-latin); letter-spacing: 1.2px; color: #ebd499; }
.wm-div { width: 1px; height: 24px; background: rgba(201,156,51,.55); }
.nav ul { display: flex; gap: 40px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 15px; line-height: 24px; color: var(--on-ink2); transition: color .2s; }
.nav a:hover { color: var(--gold-200); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(201,155,52,.55); background: rgba(201,155,52,.06); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-btn span { width: 20px; height: 1.6px; border-radius: 1px; background: var(--gold-200); transition: transform .25s ease, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
.menu { position: absolute; top: 100%; left: 0; right: 0; background: rgba(21,18,13,.97); border-bottom: 1px solid rgba(201,155,52,.35); padding: 8px 0 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.menu[hidden] { display: none; }
.menu ul { display: flex; flex-direction: column; }
.menu li a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-weight: 500; font-size: 17px; color: var(--on-ink); border-bottom: 1px solid var(--ink-line); }
.menu .btn { margin-top: 18px; width: 100%; }

/* ---------- §1 hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 96px; }
.hero-main { position: relative; display: flex; justify-content: space-between; height: 800px; }
.hero-text { position: relative; z-index: 3; width: 640px; margin-top: 120px; display: flex; flex-direction: column; align-items: flex-start; }
.tagline { display: flex; align-items: center; gap: 16px; height: 74px; font: 400 30px/74px var(--f-nast); }
.tagline span { background: linear-gradient(180deg, #f6e7be 0%, #e0bd66 50%, #b8892e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 4px; }
.display { margin-top: 18px; font: 700 86px/104px var(--f-title); color: var(--on-ink); }
.lead { margin-top: 28px; max-width: 560px; font-size: 20px; line-height: 36px; color: var(--on-ink2); }
.hero-actions { display: flex; gap: 14px; margin-top: 44px; }
.proof { display: flex; align-items: center; gap: 10px; margin-top: 36px; font-size: 14px; line-height: 24px; color: var(--on-ink-muted); }

.hero-visual { position: relative; width: 560px; flex: none; }
.hv-canvas { position: absolute; inset: 0; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg > * { position: absolute; }
/* anchored to the container's left edge (120 px at 1440) */
.hero-bg { --x0: calc((100% - min(1200px, 100% - 2 * var(--gutter))) / 2); }
.glow-radial { left: calc(var(--x0) - 270px); top: 40px; width: 1100px; height: 1000px; background: radial-gradient(closest-side, rgba(201,155,52,.42), rgba(184,137,46,.16) 35%, rgba(138,101,28,.04) 70%, rgba(138,101,28,0)); }
.glow-core { left: calc(var(--x0) + 30px); top: 300px; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(224,189,102,.3), rgba(224,189,102,0)); }
.guilloche { left: calc(var(--x0) - 195px); top: 65px; width: 950px; height: 950px; opacity: .13; }
.guilloche path, .guilloche circle { fill: none; stroke: #c99b34; stroke-width: .875; }

.device { position: absolute; border: 1.72px solid #f1dda6; background: linear-gradient(231.5deg, #2e2921 13.4%, #15120d 50%, #26211a 86.6%); }
.device-front { left: 130px; top: 100px; width: 359.48px; height: 784.32px; border-radius: 56.76px; padding: 10.32px; box-shadow: 0 0 80px rgba(201,155,52,.18), 0 24px 48px -8px rgba(0,0,0,.35), 0 60px 120px -20px rgba(0,0,0,.6); z-index: 2; animation: rise .6s ease-out both; }
.device-front .screen { position: relative; width: 335.4px; height: 760.24px; border-radius: 44.72px; overflow: hidden; background: var(--c-bg); }
.device-front .app { position: absolute; left: 0; top: 0; width: 390px; height: 884px; transform: scale(.86); transform-origin: 0 0; }
.sheen { position: absolute; inset: 0; background: linear-gradient(232.6deg, rgba(255,255,255,.1) 13.4%, rgba(255,255,255,0) 39%); pointer-events: none; }
.desk-phone { position: absolute; left: -80px; top: 51.6px; width: 411.086px; height: 714.959px; display: flex; align-items: center; justify-content: center; animation: rise .6s .12s ease-out both; }
.device-desk { position: relative; width: 309.32px; height: 674.88px; border-width: 1.48px; border-radius: 48.84px; padding: 8.88px; transform: rotate(-9deg); box-shadow: 0 40px 80px -10px rgba(0,0,0,.55); }
.device-desk img { width: 288.6px; height: 654.16px; border-radius: 38.48px; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.desk-phone .device-desk { animation: none; }

/* floating request card */
.float-req { position: absolute; left: -34px; top: 534px; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 18px; border: 1px solid rgba(201,155,52,.4); background: rgba(42,36,27,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 48px -6px rgba(0,0,0,.45); animation: slide-in .6s 1.2s ease-out both; transition: opacity .4s ease; }
.float-req.fade { opacity: 0; }
.fr-col { display: flex; flex-direction: column; gap: 2px; }
.fr-col b { font-weight: 500; font-size: 14px; line-height: 22px; color: var(--on-ink); white-space: nowrap; }
.fr-col small { font-size: 12px; line-height: 18px; color: var(--on-ink2); white-space: nowrap; transition: color .26s; }
.float-req.ok .fr-col small { color: var(--gold-200); }
@keyframes slide-in { from { opacity: 0; transform: translateX(-24px); } }

/* countdown ring */
.ring { position: relative; width: 46px; height: 46px; flex: none; }
.ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.14; }
.ring .r-prog { stroke-dasharray: var(--p, 46) 100; stroke-linecap: butt; transition: stroke-dasharray 1s linear, stroke .26s ease; }
.ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; line-height: 20px; transition: opacity .26s; }
.ring-dark .r-track { stroke: #24375a; }
.ring-dark .r-prog { stroke: #eef1f6; }
.ring-dark b { color: #eef1f6; }
.ring-light .r-track { stroke: var(--c-line); }
.ring-light .r-prog { stroke: var(--primary-fill); }
.ring-light b { color: var(--c-ink); }
.ring-55 { --p: 46; }
.ring-92 { --p: 77; }
.r-check { fill: none; stroke: var(--on-gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(90deg); transform-origin: 23px 23px; transition: stroke-dashoffset .26s ease .1s; }
.ring.done .r-track { stroke: var(--gold-300); fill: var(--gold-300); }
.ring.done .r-prog { stroke: var(--gold-300); stroke-dasharray: 100 100; }
.ring.done circle.r-track { fill: var(--gold-300); }
.ring.done .r-check { stroke-dashoffset: 0; }
.ring.done b { opacity: 0; }

/* ---------- app mock-up (390 px app units) ---------- */
.app { position: relative; display: flex; flex-direction: column; background: var(--c-bg); color: var(--c-ink); font-family: var(--f-body); text-align: right; }
.sb { position: relative; height: 40px; flex: none; direction: ltr; }
.sb-time { position: absolute; left: 40px; top: 12px; font-weight: 700; font-size: 16.3px; line-height: 25.6px; color: var(--c-ink); }
.sb-island { position: absolute; left: 136px; top: 10px; width: 118px; height: 34px; border-radius: 17px; background: #050403; }
.sb-sig { position: absolute; left: 304px; top: 15.5px; display: flex; align-items: flex-end; gap: 2px; height: 11.5px; }
.sb-sig b { width: 3px; border-radius: 1px; background: var(--c-ink); }
.sb-sig b:nth-child(1) { height: 4px; } .sb-sig b:nth-child(2) { height: 6.5px; } .sb-sig b:nth-child(3) { height: 9px; } .sb-sig b:nth-child(4) { height: 11.5px; }
.sb-bat { position: absolute; left: 330px; top: 17px; width: 24px; height: 12px; border: 1px solid rgba(20,33,61,.45); border-radius: 3.5px; }
.sb-bat::after { content: ""; position: absolute; left: 1px; top: 1px; width: 17px; height: 8px; border-radius: 2px; background: var(--c-ink); }
.app-body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.a-head { display: flex; align-items: center; gap: 12px; }
.a-mark { width: 38px; height: 38px; border-radius: 50%; background: #15120d; display: flex; align-items: center; justify-content: center; flex: none; }
.a-mark svg { width: 30px; height: 22px; }
.a-greet { flex: 1; display: flex; flex-direction: column; }
.a-greet b { font-size: 20px; line-height: 28px; }
.a-greet small, .a-acc small, .sc-top small, .beam small, .range small, .bh span:first-child, .br small { font-size: 12px; line-height: 18px; color: var(--c-muted); }
.a-acc { display: flex; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.a-acc div { flex: 1; display: flex; flex-direction: column; padding: 8px 12px; background: #fff; }
.a-acc b { font-size: 14px; line-height: 22px; }

.scale { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(17,28,48,.06), 0 12px 28px rgba(17,28,48,.07); }
.sc-top { display: flex; align-items: center; justify-content: space-between; }
.sc-top b { font-size: 16px; line-height: 24px; }
.sc-top small { display: flex; align-items: center; gap: 4px; }
.dot-buy { width: 8px; height: 8px; border-radius: 50%; background: var(--c-buy); }
.sc-pans { display: flex; align-items: flex-end; }
.pan { flex: 1; display: flex; flex-direction: column; min-width: 0; font-weight: 700; }
.pan small { font-size: 13px; line-height: 20px; }
.pan-buy small { color: var(--c-buy); }
.pan-sell { align-items: flex-end; }
.pan-sell small { color: var(--c-sell); }
.pan .num { direction: ltr; unicode-bidi: isolate; font-size: 36px; line-height: 44px; letter-spacing: -.36px; color: var(--c-ink); white-space: nowrap; display: inline-flex; }
.beam { display: flex; flex-direction: column; align-items: center; padding: 0 4px 10px; }
.beam b { font-size: 13px; line-height: 20px; color: var(--accent-text); }
.range { display: flex; align-items: center; gap: 8px; }
.range small { white-space: nowrap; }
.track { position: relative; flex: 1; height: 16px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 6px; border-radius: 3px; background: var(--range-track); }
.thumb { position: absolute; top: 0; left: calc(50% + 19.6px); width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--gold-500); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(17,28,48,.3); transition: left .6s ease; }
.sc-act { display: flex; gap: 12px; }
.sc-act span { flex: 1; display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 10px; color: #fff; font-weight: 700; font-size: 16px; line-height: 24px; }
.b-buy { background: var(--c-buy); }
.b-sell { background: var(--c-sell-fill); }
.board { display: flex; flex-direction: column; gap: 4px; }
.bh, .br { display: grid; grid-template-columns: 1fr 88px 88px; gap: 8px; padding: 0 4px; align-items: center; }
.bh span { font-weight: 500; font-size: 12px; line-height: 18px; }
.c-buy { color: var(--c-buy); } .c-sell { color: var(--c-sell); }
.br { height: 56px; border-bottom: 1px solid var(--c-line); }
.br > span { display: flex; flex-direction: column; }
.br > span b { font-weight: 500; font-size: 14px; line-height: 22px; }
.br > b { font-size: 16px; line-height: 24px; }
.tabbar { flex: none; display: flex; height: 56px; background: #fff; border-top: 1px solid var(--c-line); }
.tabbar span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; line-height: 18px; color: var(--c-muted); }
.tabbar i { display: flex; align-items: center; justify-content: center; width: 56px; height: 28px; border-radius: 999px; }
.tabbar svg { width: 20px; height: 20px; }
.tabbar .on { color: var(--c-ink); font-weight: 500; }
.tabbar .on i { background: var(--accent-soft); }
/* digit roll */
.dg { display: inline-block; position: relative; }
.dg.roll { animation: roll .26s ease-out; }
@keyframes roll { from { transform: translateY(60%); opacity: 0; } }

/* ---------- §2 ticker ---------- */
.ticker { position: relative; z-index: 5; height: 88px; background: var(--ink-800); }
.ticker::before, .ticker::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, rgba(201,155,52,.05), rgba(224,189,102,.7) 50%, rgba(201,155,52,.05)); }
.ticker::before { top: 0; } .ticker::after { bottom: 0; }
.tk-label { --lw: 170px; position: absolute; top: 0; bottom: 0; right: calc((100% - min(1200px, 100% - 2 * var(--gutter))) / 2); z-index: 2; width: var(--lw); display: flex; align-items: center; gap: 12px; padding-left: 28px; background: var(--ink-800); }
.tk-label::after { content: ""; position: absolute; left: 0; top: 24px; width: 1px; height: 40px; background: rgba(201,155,52,.45); }
.tk-label p { display: flex; flex-direction: column; }
.tk-label b { font-size: 17px; line-height: 28px; color: var(--gold-200); white-space: nowrap; }
.tk-label small { font-size: 12px; line-height: 18px; color: var(--on-ink-muted); white-space: nowrap; }
.tk-viewport { position: absolute; top: 0; bottom: 0; left: 0; right: calc((100% - min(1200px, 100% - 2 * var(--gutter))) / 2 + 170px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 220px, #000 calc(100% - 120px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 220px, #000 calc(100% - 120px), transparent 100%); }
.tk-viewport:focus-visible { outline-offset: -4px; }
.tk-track { position: absolute; top: 19px; right: 0; display: flex; gap: 36px; width: max-content; animation: drift var(--dur, 80s) linear infinite; }
.tk-viewport:hover .tk-track, .tk-viewport:focus-within .tk-track, .tk-track.paused { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(50%); } }
.tk-item { display: flex; align-items: center; gap: 16px; padding: 12px 0; white-space: nowrap; }
.tk-item::after { content: ""; width: 5px; height: 5px; margin-right: 20px; background: rgba(201,155,52,.7); transform: rotate(45deg); flex: none; }
.tk-name { font-weight: 500; font-size: 15px; line-height: 24px; color: var(--on-ink2); }
.tk-p { display: flex; align-items: center; gap: 6px; }
.tk-p b { font-size: 18px; line-height: 26px; color: var(--on-ink); transition: opacity .18s ease; }
.tk-p b.swap { opacity: 0; }
.tk-p small { font-weight: 500; font-size: 12px; line-height: 18px; }
.tk-p .up { color: #2bb59a; } .tk-p .down { color: #ef6a76; }
.chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: rgba(201,155,52,.16); color: var(--gold-300); font-weight: 500; font-size: 12px; line-height: 18px; transition: opacity .18s ease; }

/* ---------- §3 features ---------- */
.features { padding: 128px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.sec-title { display: flex; flex-direction: column; gap: 18px; }
.sec-title .h2 { color: var(--text-ink); }
.sec-head > .body { width: 430px; color: var(--text-ink2); }
.grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 72px; border-bottom: 1px solid rgba(201,155,52,.4); }
.block { padding: 44px 48px 52px; border-top: 1px solid rgba(201,155,52,.4); display: flex; flex-direction: column; align-items: flex-start; }
.block:nth-child(odd) { border-left: 1px solid rgba(201,155,52,.4); }
.numeral { font-weight: 200; font-size: 128px; line-height: 128px; background: var(--num-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.block .h3 { margin-top: 4px; color: var(--text-ink); }
.block .body { margin-top: 12px; max-width: 470px; color: var(--text-ink2); }
.tray { margin-top: 36px; }

/* fit: a fixed design canvas scaled to the column (app.js sets --k) */
.fit { --k: 1; position: relative; width: 100%; max-width: calc(var(--w) * 1px); aspect-ratio: var(--w) / var(--h); }
.fit-in { position: absolute; top: 0; left: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform: scale(var(--k)); transform-origin: 0 0; direction: rtl; }
.tray { --w: 504; --h: 264; border-radius: 22px; background: var(--ivory-300); border: 1px solid var(--ivory-line); overflow: hidden; }
.tray .fit-in { top: -1px; left: -1px; }
.tray-light { position: absolute; left: -29px; top: -171px; width: 560px; height: 360px; background: radial-gradient(closest-side, rgba(255,253,246,.9), rgba(255,253,246,0)); }
.mini { position: absolute; width: 220.5px; border-radius: 34.85px 34.85px 0 0; box-shadow: 0 17.6px 35.2px -5.28px rgba(30,25,16,.22); }
.mini-kian { left: 35px; top: 43px; height: 220px; }
.mini-moka { left: 246.3px; top: 31px; height: 232px; }
.card-in-tray { position: absolute; left: 72px; top: 43px; width: 358px; box-shadow: 0 2px 6px rgba(30,25,16,.06), 0 18px 40px -6px rgba(30,25,16,.14); color: var(--c-ink); text-align: right; }
.callout { position: absolute; left: 253px; top: 19px; padding: 6px 12px; border-radius: 999px; background: #f6ecd5; border: 1px solid rgba(201,155,52,.5); color: var(--gold-700); font-weight: 500; font-size: 12px; line-height: 18px; white-space: nowrap; }
.req { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--c-line); }
.req-gold { border: 1.5px solid var(--gold-500); }
.rq-head { display: flex; align-items: center; gap: 12px; }
.rq-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rq-who, .rq-what { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.rq-who b, .rq-info > b { font-size: 16px; line-height: 24px; }
.rq-what span:last-child { font-size: 13px; line-height: 20px; color: var(--c-muted); }
.tag { padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-weight: 500; font-size: 12px; line-height: 18px; }
.side { padding: 1px 6px; border-radius: 6px; font-weight: 500; font-size: 12px; line-height: 18px; }
.side-buy { background: var(--c-buy-soft); color: var(--c-buy); }
.side-sell { background: var(--c-sell-soft); color: var(--c-sell); }
.rq-act { display: flex; gap: 8px; }
.rq-act span { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 10px; font-weight: 700; font-size: 14px; line-height: 22px; }
.b-ok { flex: 1; background: var(--primary-fill); color: #fff; }
.b-no { width: 104px; background: #fff; border: 1px solid var(--c-control); color: var(--c-ink); }
.rq-note { font-size: 12px; line-height: 18px; color: var(--c-ink2); }
.toast { position: absolute; left: 229px; top: 207px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--c-line-strong); box-shadow: 0 14px 30px -6px rgba(30,25,16,.16); color: var(--c-ink); font-weight: 700; font-size: 14px; line-height: 22px; white-space: nowrap; }
.toast svg { width: 22px; height: 22px; }

/* ---------- §4 reference mode ---------- */
.reference { padding: 136px 0; overflow: hidden; }
.ref-row { display: flex; align-items: center; justify-content: space-between; }
.ref-text { width: 560px; display: flex; flex-direction: column; align-items: flex-start; }
.ref-text .h2 { margin-top: 18px; }
.ref-text > .body { margin-top: 24px; max-width: 460px; color: var(--on-ink2); }
.steps { margin-top: 36px; width: 460px; max-width: 100%; }
.steps li { display: flex; gap: 24px; padding: 20px 0; border-top: 1px solid var(--ink-line); }
.steps li:last-child { border-bottom: 1px solid var(--ink-line); }
.step-n { flex: none; min-width: 22px; font-weight: 300; font-size: 40px; line-height: 44px; background: linear-gradient(180deg, #f6e7be, #b8892e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-weight: 700; font-size: 17px; line-height: 28px; color: var(--on-ink); }
.steps p { margin-top: 4px; font-size: 14px; line-height: 24px; color: var(--on-ink2); }

.tree { position: relative; width: 620px; height: 660px; flex: none; direction: ltr; }
.tree > * { position: absolute; }
.t-ring { border-radius: 50%; border: 1px solid #c99b34; animation: breathe 8s ease-in-out infinite; }
.t-ring1 { left: 160px; top: -30px; width: 300px; height: 300px; border-color: rgba(201,155,52,.18); }
.t-ring2 { left: 70px; top: -120px; width: 480px; height: 480px; border-color: rgba(201,155,52,.11); animation-delay: -2.6s; }
.t-ring3 { left: -30px; top: -220px; width: 680px; height: 680px; border-color: rgba(201,155,52,.07); animation-delay: -5.2s; }
@keyframes breathe { 50% { transform: scale(1.035); opacity: .6; } }
.t-glow { left: 120px; top: -70px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,155,52,.38), rgba(201,155,52,0)); }
.t-links { left: 0; top: 0; width: 620px; height: 660px; overflow: visible; }
.t-medal-ring { left: 240px; top: 50px; width: 140px; height: 140px; border-radius: 50%; border: 1.5px solid transparent; background: linear-gradient(var(--ink-900), var(--ink-900)) padding-box, linear-gradient(135deg, #f6e7be, #c99b34 50%, #7e5c17) border-box; transition: box-shadow .5s ease; }
.t-medal-ring.flash, .ch-medal.flash { box-shadow: 0 0 0 3px rgba(224,189,102,.35), 0 0 36px rgba(224,189,102,.55); }
.t-medal { left: 254px; top: 64px; width: 112px; height: 112px; border-radius: 50%; background: linear-gradient(180deg, #2e2820, #15120d); border: 1px solid rgba(201,155,52,.5); display: flex; align-items: center; justify-content: center; }
.t-medal svg { width: 58px; height: 42px; }
.t-parent { left: 310px; top: 200px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; white-space: nowrap; direction: rtl; }
.t-parent b { font: 700 36px/48px var(--f-title); color: var(--on-ink); }
.t-parent small, .ch-parent small { font-size: 14px; line-height: 24px; color: var(--gold-200); }
.t-child { top: 420px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; border-radius: 18px; background: rgba(42,36,27,.92); border: 1px solid rgba(201,155,52,.35); box-shadow: 0 16px 32px -4px rgba(0,0,0,.4); direction: rtl; white-space: nowrap; }
.t-child.c1 { left: 80px; } .t-child.c2 { left: 310px; } .t-child.c3 { left: 540px; }
.t-child p, .ch-node p { display: flex; flex-direction: column; }
.t-child b { font-size: 14px; line-height: 22px; color: var(--on-ink); }
.t-child small { font-size: 12px; line-height: 18px; color: var(--on-ink-muted); }
.ch-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; color: #fff; font-weight: 700; font-size: 14px; line-height: 22px; }
.av-kian { background: #6a3380; } .av-zarin { background: #9a5b2e; } .av-arin { background: #4a4036; }
.av-cust { background: var(--ink-700); border: 1px solid rgba(201,155,52,.6); color: var(--gold-200); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 500; font-size: 12px; line-height: 18px; white-space: nowrap; direction: rtl; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pill svg { width: 14px; height: 14px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pill-gold { background: rgba(201,155,52,.16); border: 1px solid rgba(201,155,52,.6); color: var(--gold-200); }
.pill-gold b { font-weight: 500; font-size: 14px; line-height: 22px; color: var(--gold-100); transition: opacity .18s; }
.pill-gold svg { stroke: var(--gold-200); }
.pill-pale { background: rgba(244,237,223,.06); border: 1px solid rgba(244,237,223,.35); color: var(--on-ink); }
.pill-pale svg { stroke: var(--on-ink); }
.t-pill-price { left: 122.5px; top: 314px; }
.t-pill-req { left: 360px; top: 314px; }
.t-particle { left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #f6e7be; box-shadow: 0 0 0 2px rgba(224,189,102,.35), 0 0 12px 3px rgba(224,189,102,.75); opacity: 0; will-change: transform, opacity; }
.t-particle-up { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fffaf0; box-shadow: 0 0 0 2px rgba(244,237,223,.25), 0 0 10px 3px rgba(244,237,223,.55); }
.t-note { left: 310px; top: 606px; transform: translateX(-50%); white-space: nowrap; font-size: 14px; line-height: 24px; color: var(--on-ink-muted); direction: rtl; }

/* mobile chain (hidden on desktop) */
.chain { display: none; }

/* ---------- §5 showcase ---------- */
.showcase { position: relative; overflow: hidden; background: var(--ink-850); padding: 128px 0 136px; }
.showcase::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(201,155,52,.05), rgba(224,189,102,.55) 50%, rgba(201,155,52,.05)); }
.sc-glow { position: absolute; left: calc((100% - min(1200px, 100% - 2 * var(--gutter))) / 2 - 280px); top: 40px; width: 1000px; height: 900px; background: radial-gradient(closest-side, rgba(201,155,52,.32), rgba(184,137,46,.12) 35%, rgba(138,101,28,.03) 70%, rgba(138,101,28,0)); pointer-events: none; }
.show-row { position: relative; display: grid; grid-template-columns: 540px 1fr; grid-template-areas: "text dev" "quote dev"; align-items: center; column-gap: 40px; }
.show-text { grid-area: text; display: flex; flex-direction: column; align-items: flex-start; }
.show-quote { grid-area: quote; display: flex; flex-direction: column; align-items: flex-start; margin-top: 48px; align-self: start; }
.devices { grid-area: dev; justify-self: start; margin-top: 48px; --w: 620; --h: 680; }
.moka-lockup { display: flex; align-items: center; gap: 16px; height: 92px; }
.moka-mark { width: 88px; height: 64px; }
.moka-lockup span { font: 700 48px/56px var(--f-title); color: #c99b34; }
.show-text .eyebrow { margin-top: 28px; }
.show-text .h2 { margin-top: 18px; }
.show-text > .body { margin-top: 22px; max-width: 520px; color: var(--on-ink2); }
.figures { display: flex; align-items: center; gap: 36px; margin-top: 44px; }
.figures > div { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
.figures dt { font-size: 14px; line-height: 24px; color: var(--on-ink2); }
.figures dd { display: flex; align-items: flex-end; gap: 8px; }
.fig { font-weight: 300; font-size: 84px; line-height: 96px; background: linear-gradient(180deg, #f6e7be, #e0bd66 50%, #b08a3a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.unit { padding-bottom: 22px; font: 700 36px/48px var(--f-title); color: var(--gold-200); }
.v-rule { width: 1px; height: 88px; background: linear-gradient(180deg, rgba(201,155,52,0), rgba(201,155,52,.6) 50%, rgba(201,155,52,0)); }
.statement { width: 540px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; padding-top: 28px; border-top: 1px solid var(--ink-line); }
.q-mark { font: 700 96px/64px var(--f-title); height: 56px; background: linear-gradient(180deg, #f1dda6, #a47a22); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement blockquote p { font: 500 30px/48px var(--f-title); color: var(--on-ink); max-width: 520px; }
.statement figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 24px; color: var(--on-ink-muted); }
.statement figcaption .rule { width: 24px; }
.show-quote .btn { margin-top: 36px; }
.devices .fit-in { direction: ltr; }
.cap { position: absolute; padding: 6px 12px; border-radius: 999px; background: rgba(42,36,27,.9); border: 1px solid rgba(201,155,52,.4); color: var(--gold-200); font-weight: 500; font-size: 12px; line-height: 18px; white-space: nowrap; direction: rtl; }
.cap-desk { left: 40px; top: 0; }
.cap-app { left: 456.7px; top: 640.2px; }
.laptop { position: absolute; left: 10px; top: 40px; width: 600px; }
.laptop img { width: 600px; height: 378px; border-radius: 18px; box-shadow: 0 40px 80px -10px rgba(0,0,0,.55); }
.laptop-base { position: absolute; left: -40px; top: 377px; width: 680px; height: 18px; border-radius: 2px 2px 14px 14px; border: 1px solid rgba(224,189,102,.8); background: linear-gradient(180deg, #4a4237, #1d1912); box-shadow: 0 24px 40px -6px rgba(0,0,0,.55); }
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 110px; height: 7px; margin-left: -55px; border-radius: 0 0 8px 8px; background: #15120d; }
.phone-trade { position: absolute; left: 420px; top: 150px; width: 217.36px; height: 474.24px; border-radius: 34.32px; box-shadow: 0 16px 32px -6px rgba(0,0,0,.35), 0 40px 80px -12px rgba(0,0,0,.6); }

/* ---------- §6 trust + contact ---------- */
.trust { padding: 120px 0 136px; }
.trust-row { display: flex; justify-content: space-between; margin-top: 40px; }
.trust-row li { position: relative; width: 255px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.trust-row li + li::before { content: ""; position: absolute; top: 0; right: -30px; width: 1px; height: 150px; background: linear-gradient(180deg, rgba(201,155,52,0), rgba(201,155,52,.45) 50%, rgba(201,155,52,0)); }
.t-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ivory-100); border: 1px solid var(--gold-500); flex: none; }
.t-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.t-icon svg .f { fill: var(--gold-700); stroke: none; }
.t-icon svg .dot { fill: var(--gold-500); stroke: var(--ivory-200); stroke-width: 1.5; }
.trust-row li > div { display: flex; flex-direction: column; gap: 16px; }
.trust-row h3 { font-weight: 700; font-size: 17px; line-height: 28px; color: var(--text-ink); }
.trust-row p { font-size: 14px; line-height: 24px; color: var(--text-ink2); }

.fine-card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 48px; margin-top: 112px; padding: 80px 88px; border-radius: 28px; background: var(--ivory-100); border: 1px solid rgba(201,155,52,.6); box-shadow: 0 30px 60px -20px rgba(126,92,23,.1); }
.fc-inner { position: absolute; inset: 11px; border-radius: 20px; border: 1px solid rgba(201,155,52,.35); pointer-events: none; }
.fc-dia { position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; background: linear-gradient(135deg, #f1dda6 15%, #a47a22 85%); transform: rotate(45deg); }
.fc-dia-t { top: -5px; } .fc-dia-b { bottom: -5px; }
.fc-text { width: 460px; display: flex; flex-direction: column; align-items: flex-start; }
.fc-text .h2 { margin-top: 18px; color: var(--text-ink); }
.fc-text > .body { margin-top: 22px; max-width: 440px; color: var(--text-ink2); }
.next { margin-top: 36px; width: 440px; max-width: 100%; }
.next li { display: flex; align-items: center; gap: 18px; padding: 14px 0; font-weight: 700; font-size: 17px; line-height: 28px; color: var(--text-ink); }
.next li + li { border-top: 1px solid var(--ivory-line); }
.next span { font-weight: 300; font-size: 30px; line-height: 36px; min-width: 16px; background: linear-gradient(180deg, #e9cf8e, #a47a22); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-call { width: 480px; display: flex; flex-direction: column; align-items: flex-start; padding: 40px; border-radius: 22px; background: linear-gradient(180deg, #fffdf8, #f8f1e2); border: 1px solid var(--ivory-line); }
.call-ring { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ivory-50); border: 1px solid var(--gold-500); color: var(--gold-700); }
.call-ring .i { width: 26px; height: 26px; }
.call-line { margin-top: 22px; font: 700 30px/42px var(--f-title); color: var(--text-ink); }
.call-number { margin-top: 6px; display: inline-flex; min-height: 44px; align-items: center; font-weight: 300; font-size: 52px; line-height: 64px; background: linear-gradient(112deg, #c99b34 5.7%, #a47a22 50%, #7e5c17 94%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.call-number:focus-visible { outline-color: var(--gold-700); }
.fc-call .btn { margin-top: 26px; }
.fc-call .btn .i-phone { width: 22px; height: 22px; }
.call-note { margin-top: 14px; font-size: 12px; line-height: 18px; color: var(--text-muted); }

/* ---------- §7 footer ---------- */
.foot { position: relative; overflow: hidden; min-height: 424px; padding: 80px 0 64px; }
.foot-giant { position: absolute; left: 50%; top: 202px; transform: translateX(-50%); white-space: nowrap; font: 700 320px/320px var(--f-title); background: linear-gradient(180deg, rgba(201,155,52,.16), rgba(201,155,52,.02)); -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none; user-select: none; }
.foot .wrap { position: relative; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-tag { width: 300px; font-size: 14px; line-height: 24px; color: var(--on-ink-muted); }
.foot-links { display: flex; gap: 96px; }
.fl-h { font-weight: 700; font-size: 14px; line-height: 22px; color: var(--gold-300); }
.foot-links ul { display: flex; flex-direction: column; margin-top: 2px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 15px; line-height: 24px; color: var(--on-ink2); transition: color .2s; }
.foot-links a:hover { color: var(--gold-200); }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 40px; font-size: 12px; line-height: 18px; color: var(--on-ink-muted); position: relative; }
.foot-bottom::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(201,155,52,.05), rgba(224,189,102,.5) 50%, rgba(201,155,52,.05)); }

/* copy that the mobile design shortens */
.mb { display: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .hero-text { width: 560px; }
  .display { font-size: 76px; line-height: 94px; }
  .hero-visual { width: 470px; }
  .hv-canvas { transform: scale(.86); transform-origin: 0 0; }
  .ref-text { width: 500px; }
  .tree { transform: scale(.86); transform-origin: 0 50%; margin-right: -87px; }
  .show-row { grid-template-columns: 480px 1fr; }
  .devices { max-width: 520px; }
  .trust-row li { width: 22%; }
  .trust-row li + li::before { right: -9.09%; }
  .fine-card { padding: 64px 56px; }
  .fc-call { width: 440px; }
}

@media (max-width: 1079px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: flex; }
  .head-row { height: 64px; }
  .wordmark-fa { font-size: 30px; line-height: 36px; }
  .zd-mark { width: 26px; height: 26px; }
  .hero { padding-top: 64px; }
  .hero-main { flex-direction: column; height: auto; }
  .hero-text { width: auto; max-width: 640px; margin-top: 36px; }
  .tagline { font-size: 24px; gap: 12px; height: 60px; line-height: 60px; }
  .tagline .rule { width: 28px; }
  .display { font-size: 52px; line-height: 66px; margin-top: 0; }
  .lead { margin-top: 18px; font-size: 17px; line-height: 30px; }
  .hero-actions { flex-direction: column; align-self: stretch; margin-top: 30px; }
  .hero-actions .btn { width: 100%; }
  .proof { margin-top: 26px; font-size: 13px; line-height: 22px; }
  .hero-visual { width: auto; height: 500px; margin-top: 46px; margin-inline: calc(-1 * var(--gutter)); }
  .hv-canvas { transform: none; }
  .desk-phone { display: none; }
  .device-front { left: 50%; top: 0; transform-origin: 50% 0; translate: -50% 0; scale: .81; }
  .float-req { left: max(var(--gutter), calc(50% - 179px)); top: 302px; }
  .hero-bg { --x0: 0px; }
  .glow-radial { left: 50%; top: auto; bottom: -200px; margin-left: -550px; }
  .glow-core { left: 50%; top: auto; bottom: 0; margin-left: -260px; }
  .guilloche { left: 50%; top: auto; bottom: -330px; margin-left: -475px; }

  .tk-label { right: 0; width: 92px; padding-right: var(--gutter); padding-left: 16px; justify-content: flex-start; }
  .tk-label small, .tk-long { display: none; }
  .tk-label b { font-size: 15px; }
  .tk-viewport { right: 92px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 40px), transparent 100%); }

  .features { padding: 80px 0 72px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sec-head > .body { width: auto; max-width: 560px; }
  .h2 { font-size: 42px; line-height: 54px; }
  .grid { margin-top: 36px; }
  .block { padding: 30px 0 36px; }
  .numeral { font-size: 88px; line-height: 92px; }
  .block .h3 { margin-top: 10px; }
  .tray { margin-top: 28px; }

  .reference { padding: 80px 0; }
  .ref-row { display: block; }
  .ref-text { width: auto; }
  .tree { display: none; }
  .chain { display: flex; }
  .steps { width: 100%; margin-top: 48px; }
  .steps li { gap: 18px; }

  .showcase { padding: 80px 0 80px; }
  .show-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "dev" "quote"; }
  .show-row > * { min-width: 0; }
  .devices { justify-self: stretch; max-width: 620px; margin: 56px auto 0; }
  .figures { gap: 24px; }
  .fig { font-size: 52px; line-height: 64px; }
  .unit { font-size: 28px; line-height: 36px; padding-bottom: 12px; }
  .v-rule { height: 64px; }
  .moka-lockup { height: 72px; }
  .moka-mark { width: 70px; height: 51px; }
  .moka-lockup span { font-size: 40px; line-height: 48px; }
  .show-quote { margin-top: 36px; }
  .statement blockquote p { font-size: 26px; line-height: 42px; }

  .trust { padding: 80px 0 96px; }
  .trust-row { flex-direction: column; margin-top: 28px; }
  .trust-row li { width: auto; flex-direction: row; align-items: flex-start; gap: 16px; padding: 22px 0; }
  .trust-row li + li { border-top: 1px solid var(--ivory-line); }
  .trust-row li + li::before { display: none; }
  .trust-row li > div { gap: 6px; flex: 1; }
  .fine-card { flex-direction: column; align-items: stretch; margin-top: 56px; padding: 40px 24px 36px; gap: 32px; }
  .fc-text, .fc-call { width: auto; }
  .fc-call { padding: 28px 22px; }

  .foot { padding: 56px 0 48px; min-height: 0; }
  .foot-top { flex-direction: column; gap: 32px; }
  .foot-cta { width: 100%; }
  .foot-links { gap: 64px; }
  .foot-giant { top: auto; bottom: -110px; font-size: 220px; line-height: 220px; }
  .foot-bottom { margin-top: 32px; padding-top: 28px; }
}

@media (max-width: 699px) {
  .dk { display: none; }
  .mb { display: inline; }
}

@media (max-width: 1079px) and (min-width: 700px) {
  .hero-visual { height: 560px; }
  .grid { grid-template-columns: 1fr 1fr; column-gap: 0; }
  .block { padding: 32px 28px 40px; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .trust-row li:nth-child(2) { border-top: 0; }
}

@media (max-width: 699px) {
  .grid { grid-template-columns: 1fr; }
  .block:nth-child(odd) { border-left: 0; }
  .figures { gap: 20px; justify-content: space-between; width: 100%; }
  .call-line { font-size: 30px; line-height: 40px; }
  .call-number { font-size: 40px; line-height: 52px; }
}

@media (max-width: 380px) {
  .display { font-size: 46px; line-height: 60px; }
  .h2 { font-size: 38px; line-height: 50px; }
  .figures { gap: 12px; }
  .fig { font-size: 46px; }
  .call-number { font-size: 34px; }
  .foot-links { gap: 40px; }
}

/* mobile chain */
.chain { position: relative; flex-direction: column; align-items: stretch; gap: 22px; margin-top: 44px; padding: 4px 0 8px; }
.ch-line { position: absolute; right: 36px; top: 40px; bottom: 40px; width: 1.5px; margin-right: -.75px; background: linear-gradient(180deg, #e0bd66, rgba(164,122,34,.55)); }
.ch-node { position: relative; display: flex; align-items: center; gap: 14px; }
.ch-node .ch-av { width: 44px; height: 44px; margin-right: 14px; border: 1.5px solid rgba(201,155,52,.7); }
.ch-node:last-of-type .ch-av { width: 40px; height: 40px; margin-right: 16px; }
.ch-node b { font-size: 17px; line-height: 28px; color: var(--on-ink); }
.ch-node small { font-size: 13px; line-height: 22px; color: var(--on-ink-muted); }
.ch-parent .ch-title { font: 700 36px/44px var(--f-title); }
.ch-medal { position: relative; width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; border: 1.5px solid transparent; background: linear-gradient(180deg, #2e2820, #15120d) padding-box, linear-gradient(135deg, #f6e7be, #c99b34 50%, #7e5c17) border-box; box-shadow: 0 0 60px rgba(201,155,52,.35); transition: box-shadow .5s ease; }
.ch-medal svg { width: 40px; height: 29px; }
.ch-pills { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 60px; }
.ch-particle { position: absolute; right: 36px; top: 0; width: 8px; height: 8px; margin-right: -4px; margin-top: -4px; border-radius: 50%; opacity: 0; z-index: 2; background: #f6e7be; box-shadow: 0 0 0 2px rgba(224,189,102,.35), 0 0 12px 3px rgba(224,189,102,.75); will-change: transform, opacity; }
.ch-up { width: 6px; height: 6px; margin-right: -3px; margin-top: -3px; background: #fffaf0; box-shadow: 0 0 10px 3px rgba(244,237,223,.55); }

/* ---------- reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .t-particle, .ch-particle { display: none; }
  .tk-track { transform: none !important; }
}

/* The showcase figures are illustrative; say so quietly under them. */
.fig-note { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--on-ink2); }
