/* ==========================================================================
   MOVA — shared design system
   Every value below is taken from the approved homepage source
   (src/home/MOVA-Landing.template.html). See docs/DESIGN-SYSTEM.md.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #F7F5F1;            /* page canvas */
  --screen: #FAF9F6;        /* product screen surface */
  --surface: #FFFFFF;
  --surface-warm: #FBFAF8;  /* converter panel */
  --field: #F0EDE7;         /* dotted product stage */
  --field-soft: #F2EFEA;    /* hero centre block */
  --input: #F3F1EC;
  --tint: #F5F5F2;          /* in-product secondary surface */
  --img-bg: #E9E5DE;

  /* Ink */
  --ink: #171717;
  --ink-hover: #2E2C31;
  --nav: #4A4845;
  --body: #5E5C58;
  --text-2: #6E6C67;
  --label: #7A7A76;
  --foot: #8A8782;
  --muted: #8E8B85;         /* muted second line of headings */
  --fine: #A29F99;
  --faint: #AEABA5;
  --cents: #B5B5B0;
  --step: #C4C0B9;
  --link-2: #3A3936;        /* footer links */

  /* Lines */
  --line: #E4E1DB;
  --line-strong: #CFCBC4;
  --line-2: #DEDAD3;
  --line-3: #E4E0D9;
  --line-foot: #E3E0DA;
  --card-line: #E8E4DD;
  --card-line-2: #ECE8E2;
  --row-line: #EEECE8;
  --screen-line: #E8E8E5;
  --control-line: #E2E2DF;
  --divider-warm: #EEEAE3;

  /* Dark */
  --dark: #171717;
  --dark-deep: #0F0E11;
  --on-dark: #F6F3EE;
  --on-dark-body: #B9B5AE;
  --on-dark-label: #A09C95;
  --on-dark-muted: #8E8A93;
  --on-dark-heading-muted: #A7A2AD;
  --on-dark-accent: #C9B8E6;
  --on-dark-chip: #D8D3CC;
  --on-dark-line: rgba(246,243,238,.14);

  /* Signature colour — used sparingly */
  --purple: #6B23C4;
  --violet: #8B3FE8;
  --deep: #4B1E9E;
  --orange: #F2903A;
  --gold: #FFC53D;
  --alloc-usd: #5B2AA8;
  --alloc-eur: #A97BD6;
  --alloc-gbp: #F2B15A;

  --grad-mark: radial-gradient(120% 120% at 20% 110%, #FFC53D 0%, #F2903A 16%, #8B3FE8 52%, #4B1E9E 100%);
  --grad-card: radial-gradient(130% 110% at 10% 115%, #FFC53D 0%, #F2903A 14%, #A24BE0 46%, #6B23C4 68%, #34106A 100%);
  --grad-card-lg: radial-gradient(120% 130% at 8% 112%, #FFC53D 0%, #F2903A 12%, #9B45DE 44%, #6120C2 68%, #2E0E64 100%);
  --grad-cta: radial-gradient(110% 130% at 100% 100%, #FFC53D 0%, #F2903A 13%, #9B45DE 42%, #6120C2 64%, #2E0E64 88%, #220A4C 100%);
  --grad-line: linear-gradient(90deg, #4B1E9E, #8B3FE8 55%, #F2903A);
  --dots-card: radial-gradient(circle at 1px 1px, rgba(0,0,0,.16) 1px, transparent 1.7px);

  /* Depth — kept deliberately light */
  --shadow-object: 0 10px 30px rgba(20,15,10,.045);
  --shadow-chip: 0 6px 20px rgba(20,15,10,.06);
  --shadow-panel: 0 10px 30px rgba(20,15,10,.06);

  /* Shape */
  --r-btn: 8px;
  --r-block: 20px;
  --r-panel: 24px;
  --r-card: 26px;
  --r-dark: 28px;
  --r-screen: 46px;

  /* Motion */
  --ease-draw: cubic-bezier(.3,.7,.2,1);
  --ease-out: cubic-bezier(.2,.7,.2,1);

  /* Layout (homepage: pad 20 / 36 / 56, gap 48 / 72, section 96 / 128 / 176) */
  --pad: 20px;
  --gap: 48px;
  --sec: 96px;
  --edge: calc(var(--pad) + max(0px, (100vw - 1440px) / 2));
  --glow: .7;

  /* Stacking hierarchy: page content (auto/low) < sticky nav < overlays (mobile menu) < skip link.
     Dropdowns live inside the nav's own stacking context. */
  --nav-h: 80px;
  --z-nav: 50;
  --z-overlay: 100;
  --z-skip: 200;
}
@media (min-width: 720px) { :root { --pad: 36px; --sec: 128px; } }
@media (min-width: 1200px) { :root { --pad: 56px; --gap: 72px; --sec: 176px; } }

/* Base — identical to the homepage helmet styles */
html, body { margin:0; background:var(--bg); font-family:'Schibsted Grotesk', Helvetica, Arial, sans-serif; color:var(--ink); -webkit-font-smoothing:antialiased; }
* { box-sizing:border-box; }
html body a { color:var(--ink); text-decoration:none; }
html body a:hover { color:var(--purple); }
img { display:block; }
button { font:inherit; color:inherit; }
:focus-visible { outline:2px solid var(--purple); outline-offset:3px; border-radius:4px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; left:12px; top:-60px; z-index:var(--z-skip); background:var(--ink); color:#fff !important; padding:10px 14px; border-radius:var(--r-btn); font-size:14px; }
.skip-link:focus { top:12px; }

.page { background:var(--bg); color:var(--ink); overflow-x:clip; }
.wrap { max-width:1440px; margin:0 auto; padding:0 var(--pad); }
.sec { padding-top:var(--sec); }

/* Visibility per breakpoint — mirrors the homepage's desk (>=1200) / tab (>=720) switches */
@media (max-width: 1199.98px) { .only-desk { display:none !important; } }
@media (min-width: 1200px) { .not-desk { display:none !important; } }
@media (max-width: 719.98px) { .from-tab { display:none !important; } }
@media (min-width: 720px) { .only-mob { display:none !important; } }

/* ---------- Type ---------- */
.eyebrow { font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.16em; color:var(--label); margin:0; }
.eyebrow--dot { display:flex; align-items:center; gap:10px; }
.eyebrow--dot::before { content:''; width:6px; height:6px; border-radius:999px; background:linear-gradient(135deg, var(--violet), var(--orange)); }
.on-dark .eyebrow { color:var(--on-dark-label); }
.h-hero { margin:0; font-weight:500; font-size:clamp(40px, 4.2vw, 60px); line-height:1.04; letter-spacing:-0.045em; text-wrap:balance; }
.h-major { margin:0; font-weight:500; font-size:clamp(34px, 3.3vw, 48px); line-height:.98; letter-spacing:-0.05em; text-wrap:balance; }
.h-section { margin:0; font-weight:500; font-size:clamp(32px, 3vw, 44px); line-height:1.0; letter-spacing:-0.045em; text-wrap:balance; }
.h-minor { margin:0; font-weight:500; font-size:clamp(30px, 2.8vw, 40px); line-height:1.0; letter-spacing:-0.05em; text-wrap:balance; }
.h-story { margin:0; font-size:clamp(28px, 2.6vw, 36px); font-weight:600; line-height:1.08; letter-spacing:-0.045em; }
.h-feature { margin:0; font-size:30px; font-weight:600; line-height:1.08; letter-spacing:-0.04em; }
.muted { color:var(--muted); }
.on-dark .muted { color:var(--on-dark-heading-muted); }
.lede { margin:0; font-size:15px; line-height:1.6; color:var(--body); text-wrap:pretty; }
.on-dark .lede { color:var(--on-dark-body); }
.small { font-size:14px; line-height:1.5; color:var(--text-2); }
.fine { font-size:12px; line-height:1.5; color:var(--fine); }
.mono { font-family:'JetBrains Mono', monospace; }

/* ---------- Actions ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; height:44px; padding:0 20px; border-radius:var(--r-btn); font-size:14px; font-weight:500; white-space:nowrap; border:0; cursor:pointer; transition:background-color .15s ease, border-color .15s ease; }
.btn svg { flex:none; }
html body .btn--primary { background:var(--ink); color:#FFFFFF; }
html body .btn--primary:hover { background:var(--ink-hover); color:#FFFFFF; }
html body .btn--secondary { background:#FFFFFF; border:1px solid var(--line); color:var(--ink); padding:0 18px; }
html body .btn--secondary:hover { border-color:var(--line-strong); color:var(--ink); }
html body .btn--light { background:var(--on-dark); color:var(--ink); padding:0 18px; }
html body .btn--light:hover { background:#FFFFFF; color:var(--ink); }
html body .btn--white { background:#FFFFFF; color:var(--ink); height:46px; padding:0 20px 0 22px; font-size:15px; }
html body .btn--white:hover { background:#F1EDE6; color:var(--ink); }
.btn--sm { height:38px; padding:0 16px; }
.btn-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.link-arrow { font-size:14px; font-weight:500; }
html body .on-dark .link-arrow { color:var(--on-dark); }
html body .on-dark .link-arrow:hover { color:var(--gold); }

/* Bordered list — homepage "Send money" / "For personal" rows */
.rows { display:flex; flex-direction:column; margin:0; padding:0; list-style:none; }
.rows > * { display:flex; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line); font-size:15px; }
.rows > *:last-child { border-bottom:1px solid var(--line); }
.rows .tick { width:18px; height:18px; border-radius:999px; border:1px solid #D3D0C9; display:flex; align-items:center; justify-content:center; flex:none; }
.rows .tick::after { content:''; width:5px; height:5px; border-radius:999px; background:var(--ink); }
.rows .tick--accent::after { background:var(--purple); }
.on-dark .rows > * { border-color:var(--on-dark-line); }
.on-dark .rows .tick { border-color:rgba(246,243,238,.28); }
.on-dark .rows .tick::after { background:var(--on-dark); }
.on-dark .rows .tick--accent::after { background:#A97BD6; }

/* Ledger rows — label left, value right */
.ledger { display:flex; flex-direction:column; margin:0; }
.ledger > div { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-top:1px solid var(--line-3); font-size:14px; }
.ledger > div:last-child { border-bottom:1px solid var(--line-3); }
.ledger dt { color:var(--text-2); margin:0; }
.ledger dd { font-weight:600; margin:0; text-align:right; }

/* Pill tabs — homepage 1D / 1W / 1M control */
.seg { display:inline-flex; gap:2px; background:#F1EFEA; border-radius:999px; padding:3px; }
.seg button { border:0; background:transparent; padding:6px 12px; border-radius:999px; font-size:12px; font-weight:600; color:var(--label); cursor:pointer; transition:background-color .2s ease, color .2s ease; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background:var(--ink); color:#FFFFFF; }
.seg button:hover:not([aria-pressed="true"]):not([aria-selected="true"]) { color:var(--ink); }

/* Chips — homepage converter currency picker */
.chips { display:flex; flex-wrap:wrap; gap:6px; }
.chip { height:36px; padding:0 14px; border-radius:999px; font-size:13px; font-weight:600; display:inline-flex; align-items:center; cursor:pointer; background:transparent; color:var(--ink); border:1px solid #DCD8D1; transition:background-color .2s ease, color .2s ease, border-color .2s ease; }
.chip:hover { border-color:var(--line-strong); }
.chip[aria-pressed="true"] { background:var(--ink); color:#FFFFFF; border-color:var(--ink); }

/* ---------- Product stage ---------- */
.stage { position:relative; overflow:hidden; background:var(--field); }
.stage::before { content:''; position:absolute; inset:0; background-image:radial-gradient(circle at 1px 1px, rgba(23,23,23,.07) 1px, transparent 1.3px); background-size:18px 18px; pointer-events:none; }
.stage--soft { background:var(--field-soft); }
.stage--soft::before { background-image:radial-gradient(circle at 1px 1px, rgba(23,23,23,.06) 1px, transparent 1.3px); background-size:16px 16px; }
.glow { position:absolute; border-radius:50%; pointer-events:none; opacity:var(--glow); }
.glow--purple { background:radial-gradient(closest-side, rgba(107,35,196,.16), rgba(107,35,196,.04) 60%, rgba(107,35,196,0)); }
.glow--orange { background:radial-gradient(closest-side, rgba(242,144,58,.20), rgba(255,197,61,.05) 60%, rgba(242,144,58,0)); }
.glow--purple-dark { background:radial-gradient(closest-side, rgba(107,35,196,.34), rgba(107,35,196,.08) 60%, rgba(107,35,196,0)); }
.glow--orange-dark { background:radial-gradient(closest-side, rgba(242,144,58,.20), rgba(242,144,58,0)); }

/* A fixed-size art-directed canvas scaled to its container (homepage "zoom" technique). */
.fit { position:relative; flex:none; zoom:var(--z, 1); }
.canvas > * { position:absolute; }

/* Product screen — 390 × 844, the product object itself (no device chrome) */
.screen { width:390px; height:844px; border-radius:var(--r-screen); overflow:hidden; background:var(--screen); box-shadow:var(--shadow-object); }
.screen > .mova-screen { width:390px; height:844px; }

/* Connector — short rule + purple dot (homepage "control" section) */
.connector { display:flex; align-items:center; }
.connector::before { content:''; width:var(--len, 22px); height:1px; background:var(--line-strong); }
.connector::after { content:''; width:7px; height:7px; border-radius:999px; background:var(--purple); flex:none; }
.connector--rev { flex-direction:row-reverse; }

/* Floating chip on photography — homepage hero / story */
.photo-chip { position:absolute; background:#FFFFFF; border-radius:14px; padding:10px 16px 10px 10px; display:flex; align-items:center; gap:10px; box-shadow:var(--shadow-chip); }
.photo-chip .t { font-size:12px; color:var(--label); }
.photo-chip .v { font-size:15px; font-weight:600; letter-spacing:-0.02em; }

/* Currency glyph — the round symbol badge used in every product screen */
.glyph { width:var(--s, 40px); height:var(--s, 40px); border-radius:999px; display:flex; align-items:center; justify-content:center; flex:none; font-weight:700; font-size:calc(var(--s, 40px) * .4); background:var(--ink); color:#FFFFFF; }
.glyph--purple { background:var(--purple); }
.glyph--light { background:rgba(255,253,249,.92); color:var(--ink); }
.glyph--outline { background:#FFFFFF; color:var(--ink); border:1px solid var(--control-line); }
.avatar { width:var(--s, 40px); height:var(--s, 40px); border-radius:999px; object-fit:cover; flex:none; }

/* White product card (homepage transactions card) */
.pcard { background:#FFFFFF; border:1px solid var(--card-line-2); border-radius:var(--r-card); padding:20px 22px 6px; }
.pcard-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:4px; }
.pcard-title { font-size:17px; font-weight:600; letter-spacing:-0.02em; }
.pcard-meta { font-size:13px; color:var(--label); }
.prow { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--row-line); }
.prow:last-child { border-bottom:0; }
.prow .who { flex:1; min-width:0; }
.prow .n { font-size:14.5px; font-weight:600; }
.prow .s { font-size:12px; color:var(--label); margin-top:2px; }
.prow .amt { font-size:14.5px; font-weight:600; white-space:nowrap; text-align:right; }
.prow .amt--out { color:var(--label); }

/* Status label — homepage "Needs approval" / status screen "Now" */
.status { display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:600; border-radius:999px; padding:3px 9px; white-space:nowrap; color:var(--label); border:1px solid var(--control-line); }
.status::before { content:''; width:6px; height:6px; border-radius:999px; background:currentColor; }
.status--live { color:var(--purple); border-color:rgba(107,35,196,.25); }
.status--done { color:var(--ink); }

/* ---------- Navigation ---------- */
.site-nav { position:sticky; top:0; z-index:var(--z-nav); }
/* Scrolled state: a translucent warm surface drawn on a pseudo-element, so the
   header itself never gets backdrop-filter (which would trap the fixed mobile menu). */
.site-nav::before { content:''; position:absolute; inset:0; background:rgba(247,245,241,.94); -webkit-backdrop-filter:saturate(1.3) blur(14px); backdrop-filter:saturate(1.3) blur(14px); border-bottom:1px solid rgba(23,23,23,.07); opacity:0; transition:opacity .25s ease; pointer-events:none; }
.site-nav.is-stuck::before { opacity:1; }
.site-nav > .wrap { position:relative; }
.nav-sentinel { position:absolute; top:0; left:0; width:1px; height:1px; pointer-events:none; }
html { scroll-padding-top:calc(var(--nav-h) + 16px); }
.site-nav .nav-bar { display:flex; align-items:center; justify-content:space-between; height:80px; gap:24px; }
.brand { display:flex; align-items:center; gap:10px; }
.brand-mark { width:24px; height:24px; border-radius:7px; background:var(--grad-mark); flex:none; }
.brand-word { font-size:16px; font-weight:600; letter-spacing:0.16em; }
.nav-links { display:flex; align-items:stretch; gap:36px; font-size:14px; height:80px; margin:0; padding:0; list-style:none; }
.nav-links > li { position:relative; display:flex; align-items:center; }
html body .nav-link { display:flex; align-items:center; gap:5px; color:var(--nav); background:none; border:0; padding:0; cursor:pointer; font-size:14px; }
html body .nav-link:hover, html body .nav-link[aria-expanded="true"], html body .nav-link[aria-current="page"], html body .nav-link[data-active] { color:var(--ink); }
.nav-link[aria-current="page"]::after, .nav-link[data-active]::after { content:''; position:absolute; left:50%; bottom:22px; width:4px; height:4px; margin-left:-2px; border-radius:999px; background:var(--purple); }
.nav-link[data-active]::after { margin-left:-9px; }
.nav-link svg { transition:transform .2s ease; }
.nav-link[aria-expanded="true"] svg { transform:rotate(180deg); }
.nav-actions { display:flex; align-items:center; gap:6px; }
html body .nav-signin { font-size:14px; color:var(--nav); padding:0 14px; }
html body .nav-signin:hover { color:var(--ink); }
.nav-menu-btn { width:38px; height:38px; border-radius:var(--r-btn); border:1px solid var(--line); background:#FFFFFF; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; margin-left:4px; transition:border-color .15s ease; }
.nav-menu-btn:hover { border-color:var(--line-strong); }

/* Dropdown */
.dropdown { position:absolute; left:-18px; top:calc(100% - 12px); width:372px; background:var(--surface-warm); border:1px solid var(--card-line); border-radius:var(--r-block); padding:8px; box-shadow:var(--shadow-panel);
  opacity:0; visibility:hidden; transform:translateY(-4px); transition:opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.dropdown[data-open] { opacity:1; visibility:visible; transform:none; transition:opacity .18s ease, transform .18s ease, visibility 0s; }
.dropdown ul { list-style:none; margin:0; padding:0; }
html body .dd-item { display:block; padding:12px 14px; border-radius:12px; color:var(--ink); }
html body .dd-item:hover, html body .dd-item:focus-visible { background:var(--input); color:var(--ink); }
.dd-item:focus-visible { outline-offset:-2px; }
.dd-title { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:600; letter-spacing:-0.01em; }
.dd-item[aria-current="page"] .dd-title::after { content:''; width:5px; height:5px; border-radius:999px; background:var(--purple); }
.dd-desc { font-size:13px; line-height:1.45; color:var(--label); margin-top:3px; }
.dd-foot { margin:6px 6px 0; padding:12px 8px 6px; border-top:1px solid var(--divider-warm); display:flex; gap:18px; font-size:13px; color:var(--text-2); }
html body .dd-foot a { color:var(--text-2); }
html body .dd-foot a:hover { color:var(--purple); }
.dd-topics { margin:6px 6px 0; padding:12px 8px 6px; border-top:1px solid var(--divider-warm); }
.dd-topics .eyebrow { font-size:10.5px; margin-bottom:8px; }
.dd-topics p { margin:0; font-size:13px; line-height:1.55; color:var(--text-2); }

/* Mobile menu */
.mnav { position:fixed; inset:0; z-index:var(--z-overlay); background:var(--bg); display:none; flex-direction:column; overflow-y:auto; overscroll-behavior:contain; }
.mnav[data-open] { display:flex; animation:mnav-in .22s var(--ease-out); }
@keyframes mnav-in { from { opacity:0; } to { opacity:1; } }
.mnav > .wrap { width:100%; }
.mnav .nav-bar { display:flex; align-items:center; justify-content:space-between; height:80px; gap:24px; flex:none; }
.mnav-body { padding-top:8px; padding-bottom:28px; display:flex; flex-direction:column; flex:1; }
.mnav-group + .mnav-group { margin-top:28px; }
.mnav-group .eyebrow { margin-bottom:10px; }
.mnav-group ul { list-style:none; margin:0; padding:0; }
html body .mnav-link { display:flex; align-items:center; justify-content:space-between; padding:14px 0; border-top:1px solid var(--line); font-size:17px; font-weight:500; letter-spacing:-0.02em; color:var(--ink); }
.mnav-group li:last-child .mnav-link { border-bottom:1px solid var(--line); }
.mnav-link[aria-current="page"]::after { content:''; width:6px; height:6px; border-radius:999px; background:var(--purple); }
.mnav-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:auto; padding-top:32px; }
.mnav-actions .btn { height:48px; }
.mnav[data-open] .mnav-group, .mnav[data-open] .mnav-actions { animation:rise .45s var(--ease-out) both; }
.mnav[data-open] .mnav-group:nth-child(2) { animation-delay:.04s; }
.mnav[data-open] .mnav-group:nth-child(3) { animation-delay:.08s; }
.mnav[data-open] .mnav-actions { animation-delay:.12s; }
@keyframes rise { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
html.menu-open { overflow:hidden; }

/* ---------- Footer ---------- */
.site-footer .footer-inner { border-top:1px solid var(--line-foot); padding:64px 0 36px; display:flex; flex-direction:column; gap:64px; }
.footer-top { display:grid; grid-template-columns:minmax(0,1fr); gap:40px; }
@media (min-width: 1200px) { .footer-top { grid-template-columns:minmax(0,4fr) minmax(0,8fr); } }
.footer-brand { display:flex; flex-direction:column; gap:14px; }
.footer-tagline { font-size:24px; color:var(--body); }
.footer-cols { display:grid; grid-template-columns:repeat(auto-fit, minmax(130px, 1fr)); gap:32px; }
.footer-col { display:flex; flex-direction:column; gap:12px; font-size:14px; }
.footer-col h2 { font-family:'JetBrains Mono', monospace; font-size:10.5px; font-weight:400; letter-spacing:.16em; color:var(--foot); margin:0 0 4px; }
html body .footer-col a { color:var(--link-2); }
html body .footer-col a:hover { color:var(--purple); }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:16px 40px; font-size:13px; color:var(--foot); }
.footer-bottom .legal { display:flex; gap:24px; }
html body .footer-bottom a { color:var(--foot); }
html body .footer-bottom a:hover { color:var(--purple); }
.footer-note { font-size:12px; line-height:1.5; color:var(--fine); max-width:560px; margin:0; }

/* ---------- Final CTA (shared block) ---------- */
.cta { position:relative; overflow:hidden; background:var(--grad-cta); color:#FFFFFF; display:grid; grid-template-columns:minmax(0,1fr); margin:var(--sec) calc(-1 * var(--pad)) 80px; }
.cta::before { content:''; position:absolute; inset:0; background-image:radial-gradient(circle at 1px 1px, rgba(0,0,0,.14) 1px, transparent 1.6px); background-size:10px 10px; -webkit-mask-image:linear-gradient(to top, #000 0%, transparent 45%); mask-image:linear-gradient(to top, #000 0%, transparent 45%); pointer-events:none; }
.cta-text { position:relative; padding:64px 20px 16px; display:flex; flex-direction:column; justify-content:center; gap:26px; max-width:560px; }
.cta .eyebrow { color:rgba(255,253,249,.72); }
.cta .lede { color:rgba(255,253,249,.84); max-width:400px; }
.cta-actions { display:flex; flex-wrap:wrap; align-items:center; gap:24px; margin-top:6px; }
html body .cta .link-arrow { color:#FFFFFF; font-size:15px; }
html body .cta .link-arrow:hover { color:#FFE3A8; }
.cta-visual { position:relative; height:480px; display:flex; justify-content:center; }
@media (min-width: 720px) { .cta-text { padding:72px 36px 24px; } }
@media (min-width: 1200px) {
  .cta { grid-template-columns:minmax(0,5fr) minmax(0,6fr); border-radius:var(--r-dark); margin:var(--sec) 0 128px; }
  .cta-text { padding:88px 0 88px 72px; }
  .cta-visual { height:660px; justify-content:flex-start; }
}

/* ---------- Motion ---------- */
.js [data-reveal] { opacity:0; transform:translateY(14px); transition:opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay:var(--d, 0s); }
.js [data-reveal].is-in { opacity:1; transform:none; }
.js [data-reveal="fade"] { transform:none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity:1 !important; transform:none !important; transition:none !important; }
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

/* ---------- Breadcrumb ---------- */
.crumbs ol { display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0; font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--label); }
.crumbs li + li::before { content:'/'; margin-right:8px; color:var(--cents); }
html body .crumbs a { color:var(--label); }
html body .crumbs a:hover { color:var(--purple); }
.crumbs [aria-current] { color:var(--ink); }

/* ---------- FAQ (homepage FAQ style, accessible disclosure) ---------- */
.faq { display:grid; grid-template-columns:minmax(0,1fr); gap:40px var(--gap); align-items:start; }
.faq-head { display:flex; flex-direction:column; gap:20px; }
.faq-list { border-top:1px solid var(--line-2); }
.faq-item { border-bottom:1px solid var(--line-2); }
.faq-item h3 { margin:0; }
.faq-item button { width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 0; background:none; border:0; cursor:pointer; text-align:left; font-size:15px; font-weight:600; letter-spacing:-0.01em; color:var(--ink); }
.faq-icon { position:relative; width:32px; height:32px; border-radius:999px; border:1px solid #E0DCD5; flex:none; transition:border-color .15s ease; }
.faq-icon::before, .faq-icon::after { content:''; position:absolute; left:50%; top:50%; width:11px; height:1.4px; margin:-.7px 0 0 -5.5px; background:var(--ink); border-radius:1px; transition:transform .25s var(--ease-out); }
.faq-icon::after { transform:rotate(90deg); }
.faq-item button[aria-expanded="true"] .faq-icon::after { transform:rotate(0deg); }
.faq-item button:hover .faq-icon { border-color:var(--line-strong); }
.faq-a { display:grid; grid-template-rows:0fr; transition:grid-template-rows .3s var(--ease-out); }
.faq-a > div { overflow:hidden; }
.faq-item[data-open] .faq-a { grid-template-rows:1fr; }
.faq-a p { margin:0; font-size:15px; line-height:1.6; color:var(--body); padding:0 56px 24px 0; max-width:720px; }
@media (min-width: 1200px) { .faq { grid-template-columns:minmax(0,4fr) minmax(0,8fr); } }

/* ---------- Compact closing band ---------- */
.band { position:relative; overflow:hidden; background:var(--dark); color:var(--on-dark); display:grid; grid-template-columns:minmax(0,1fr); gap:32px; padding:64px 20px; margin:0 calc(-1 * var(--pad)); }
.band-text { position:relative; display:flex; flex-direction:column; gap:20px; max-width:560px; }
.band-actions { position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:24px; }
@media (min-width: 720px) { .band { padding:72px 36px; } }
@media (min-width: 1200px) { .band { margin:0; border-radius:var(--r-dark); padding:80px 72px; grid-template-columns:minmax(0,7fr) minmax(0,5fr); align-items:end; } .band-actions { justify-content:flex-end; } }

/* ---------- Related pages ---------- */
.related ul { list-style:none; margin:20px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:0 28px; }
html body .related a { position:relative; display:flex; flex-direction:column; gap:6px; padding:20px 32px 22px 0; border-top:1px solid var(--line-2); color:var(--ink); }
.related-t { font-size:17px; font-weight:600; letter-spacing:-0.02em; }
.related-d { font-size:14px; line-height:1.5; color:var(--text-2); }
.related-arrow { position:absolute; right:0; top:20px; transition:transform .2s var(--ease-out); }
html body .related a:hover .related-arrow { transform:translateX(3px); color:var(--purple); }
html body .related a:hover .related-t { color:var(--purple); }

/* ---------- Tables (fees, currencies, payments) ---------- */
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.dtable { width:100%; border-collapse:collapse; font-size:14px; }
.dtable th { text-align:left; font-family:'JetBrains Mono', monospace; font-size:10.5px; font-weight:400; letter-spacing:.14em; text-transform:uppercase; color:var(--label); padding:0 16px 12px 0; border-bottom:1px solid var(--line-2); white-space:nowrap; }
.dtable td { padding:16px 16px 16px 0; border-bottom:1px solid var(--line-3); vertical-align:top; }
.dtable td:last-child, .dtable th:last-child { padding-right:0; }
.dtable .num { text-align:right; white-space:nowrap; }
.tbc { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:var(--label); border:1px dashed var(--line-strong); border-radius:999px; padding:3px 9px; white-space:nowrap; }
.cents { color:var(--cents); }
.p-usd { background:var(--grad-card); color:#FFFFFF; }

/* Page intro spacing shared by level-2/3 pages */
.intro { padding-top:40px; }
@media (min-width: 1200px) { .intro { padding-top:48px; } }

/* ---------- Transfer status screen: timeline fills in (source: Status `progress`) ---------- */
.js [data-animate] .tl-1, .js [data-animate] .tl-2, .js [data-animate] .tl-3 { transform:scaleY(0); transform-origin:top; transition:transform .7s var(--ease-out); }
.js [data-animate].is-in .tl-1 { transform:none; transition-delay:.4s; }
.js [data-animate].is-in .tl-2 { transform:none; transition-delay:1.1s; }
.js [data-animate].is-in .tl-3 { transform:none; transition-delay:1.9s; }
.js [data-animate] .tl-node-2, .js [data-animate] .tl-node-3, .js [data-animate] .tl-now { opacity:.25; transition:opacity .4s ease; }
.js [data-animate].is-in .tl-node-2 { opacity:1; transition-delay:1s; }
.js [data-animate].is-in .tl-node-3, .js [data-animate].is-in .tl-now { opacity:1; transition-delay:1.8s; }


/* ---------- Section heads ---------- */
.split-head { display:grid; grid-template-columns:minmax(0,1fr); gap:28px var(--gap); align-items:end; }
.head-main { display:flex; flex-direction:column; gap:24px; }
.head-side { display:flex; flex-direction:column; gap:20px; max-width:400px; padding-bottom:8px; }
.center-head { display:flex; flex-direction:column; align-items:center; text-align:center; gap:22px; max-width:680px; margin:0 auto; }
.center-head .lede { max-width:520px; }
.stack { display:flex; flex-direction:column; gap:24px; }
@media (min-width: 1200px) { .split-head { grid-template-columns:minmax(0,7fr) minmax(0,5fr); } }
.br-tab { display:none; }
@media (min-width: 720px) { .br-tab { display:inline; } }
.p-accent { color:var(--on-dark-accent); }

/* ---------- Rate chart line (approved chart path) draws in ---------- */
.chart-line { stroke-dasharray:1; stroke-dashoffset:0; }
.js [data-animate] .chart-line { stroke-dashoffset:1; transition:stroke-dashoffset 1.8s var(--ease-draw) .2s; }
.js [data-animate].is-in .chart-line { stroke-dashoffset:0; }
.js [data-animate] .chart-area { opacity:0; transition:opacity 1.2s ease .9s; }
.js [data-animate].is-in .chart-area { opacity:1; }
.cta-canvas { width:640px; height:660px; }
[hidden] { display:none !important; }

/* ---------- Hero system ----------
   A contained hero sits in the page container and uses the homepage dark
   section's internal padding (72px sides at desktop). Three families:
   --dark (A · product), light editorial pages (B · no frame or a light frame),
   --atmos (C · branded). Full-bleed below 1200px, like the homepage dark section. */
.hero-frame { position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr); gap:40px; margin:0 calc(-1 * var(--pad)); padding:56px var(--pad) 0; }
.hero-frame > * { position:relative; }
.hero-frame--dark { background:var(--dark-deep); color:var(--on-dark); }
.hero-frame--atmos { color:#FFFFFF; background:
  radial-gradient(70% 62% at 74% 104%, rgba(255,197,61,.85) 0%, rgba(242,144,58,.72) 16%, rgba(162,75,224,.5) 42%, rgba(97,32,194,0) 72%),
  radial-gradient(70% 80% at 0% 0%, rgba(97,32,194,.45), rgba(97,32,194,0) 62%),
  linear-gradient(180deg, #1B0A3C 0%, #2B0F60 100%); }
.hero-frame--atmos::before { content:''; position:absolute; inset:0; background-image:var(--dots-card); background-size:10px 10px; -webkit-mask-image:linear-gradient(to top, #000 0%, transparent 40%); mask-image:linear-gradient(to top, #000 0%, transparent 40%); pointer-events:none; }
.hero-frame .crumbs ol, html body .hero-frame .crumbs a { color:rgba(255,253,249,.6); }
.hero-frame .crumbs [aria-current] { color:#FFFFFF; }
.hero-frame .crumbs li + li::before { color:rgba(255,253,249,.3); }
.hero-frame--atmos .eyebrow { color:rgba(255,253,249,.72); }
.hero-frame--atmos .lede { color:rgba(255,253,249,.84); }
html body .hero-frame--atmos .link-arrow { color:#FFFFFF; }
html body .hero-frame--atmos .link-arrow:hover { color:#FFE3A8; }
@media (min-width: 720px) { .hero-frame { padding:72px var(--pad) 0; } }
@media (min-width: 1200px) { .hero-frame { margin:0; border-radius:var(--r-dark); padding:0 72px; gap:48px; } }

/* Touch targets: segmented toggles keep their look but get a 44px-tall hit area. */
.seg button { position:relative; }
.seg button::after { content:''; position:absolute; left:0; right:0; top:50%; height:44px; transform:translateY(-50%); }
