/* vist.my — site.css
   Built on the VIST Design System. Every colour, size, radius, line weight and timing is a token
   from assets/tokens.css, which is generated from the design system's tokens.json
   (0-resource/VIST design system/). Do not type a value here: add or change the token.
   Class names here are the component names of the design system.
   hero.js reads --ground, --ink, the --glass-* and --spectrum-* tokens. */

:root { --pad-x: clamp(20px, 6.95vw, var(--gutter)) }   /* the fluid side gutter */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
body { background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background var(--dur-medium), color var(--dur-medium) }
a { color: inherit }
ul { list-style: none }
button { font: inherit; color: inherit }
:focus-visible { outline: var(--border-heavy) solid var(--focus); outline-offset: 3px }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* ---------- pills and buttons (shared by every page) ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; height: var(--control-height); padding: 0 17px; border: var(--border-control) solid var(--ink); border-radius: var(--radius-pill); background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out) }
.pill:hover, .pill.solid { background: var(--ink); color: var(--on-ink) }
.pill.solid:hover { background: transparent; color: var(--ink) }
.pill.icon { width: var(--control-height); padding: 0 }
.pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.pill:disabled, .cta:disabled { border-color: var(--ink-3); background: transparent; color: var(--ink-3); cursor: not-allowed }
.i-sun { display: none }
[data-theme="dark"] .i-sun { display: block }
[data-theme="dark"] .i-moon { display: none }

.cta { flex: none; display: inline-flex; align-items: center; gap: 10px; height: var(--button-height); padding: 0 18px; border: var(--border-control) solid var(--ink); border-radius: var(--radius-control); background: transparent; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out) }
.cta:hover { background: var(--ink); color: var(--on-ink) }
.cta.big { height: var(--button-height-big); padding: 0 28px; font-size: 18px; background: var(--ink); color: var(--on-ink) }
.cta.big:hover { background: transparent; color: var(--ink) }

.link { display: inline-flex; gap: var(--space-2); margin-top: 36px; font-weight: 600; text-decoration: none; border-bottom: var(--border-control) solid var(--ink); padding-bottom: 3px }
.link span { transition: transform var(--dur-fast) var(--ease-out) }
.link:hover span { transform: translateX(5px) }

/* ---------- 1 · hero ---------- */
.hero { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ground) }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y }
#scene.dragging { cursor: grabbing }
.ui { position: absolute; inset: 0; pointer-events: none; z-index: 2 }
.ui a, .ui button { pointer-events: auto }

.nav { position: absolute; top: clamp(20px, 4.2vh, 36px); left: var(--pad-x); right: var(--pad-x); display: flex; align-items: center; gap: var(--space-3) }
.logo { display: flex; align-items: baseline; gap: 14px; margin-right: auto; text-decoration: none }
.logo b { font-size: 26px; font-weight: 900; letter-spacing: -.02em; line-height: 1 }
.logo-full { font-size: 13px; color: var(--ink-2); letter-spacing: .01em }
.nav-links, .nav-end { display: flex; gap: var(--space-2) }
.menu-btn { display: none }

.arrows { position: absolute; top: 19%; right: calc(var(--pad-x) + 44px); display: flex; gap: 14px; transform: translateY(-50%) }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: var(--border-heavy) solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out) }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round }
.arrow:hover { background: var(--ink); color: var(--on-ink) }

.facet { position: absolute; top: calc(19% + 38px); right: calc(var(--pad-x) + 44px); width: 190px; text-align: right; font-size: 14px; line-height: 1.35; color: var(--ink-2); transition: opacity var(--dur-fast) }
.facet b { display: block; margin-top: 6px; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .14em }
.facet.out { opacity: 0 }

.dots { position: absolute; right: calc(var(--pad-x) - 7px); top: 49.4%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 30px }
.dot { width: 14px; height: 14px; border-radius: 50%; border: var(--border-heavy) solid var(--ink); background: var(--ink); cursor: pointer; transition: background var(--dur-fast) var(--ease-out); pointer-events: auto }
.dot.active { background: transparent }

.tagline { position: absolute; left: var(--pad-x); bottom: clamp(40px, 7.5vh, 70px); font-size: clamp(24px, 2.65vw, 44px); line-height: 1.2; font-weight: 300; letter-spacing: -.01em }
.tagline strong { display: block; font-weight: 700 }

.cta-row { position: absolute; left: 45.6%; right: -1vw; top: 88.7%; transform: translateY(-50%); display: flex; align-items: center }
.cta-line { flex: 1; height: var(--border-control); min-width: 40px; background: var(--ink); opacity: .8 }
.count { flex: none; font-size: clamp(140px, 19.8vw, 360px); font-weight: 400; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transform: translateY(6%); user-select: none; font-variant-numeric: tabular-nums }

.loader { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); transition: opacity var(--dur-reveal) }
.loader.done { opacity: 0 }

/* ---------- bands (the sections under the hero; shared by every page) ---------- */
.band { padding: clamp(80px, 13vw, 180px) 0; border-top: var(--border-hair) solid var(--line) }
.band.alt { background: var(--ground-2) }
.band.invert { background: var(--ink); color: var(--on-ink); border-top: 0 }
.band.invert .mark, .band.invert .lead { color: var(--on-ink-2) }
.band.invert :focus-visible, .plan.full :focus-visible { outline-color: var(--on-ink) }
.wrap { padding: 0 var(--pad-x) }
.grid { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 3.4fr); gap: var(--space-6) }
.mark { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ink-2); font-variant-numeric: tabular-nums }
.mark span { display: block; margin-top: 6px; font-weight: 400; letter-spacing: .02em }
.body { max-width: 1040px }

.h-xxl { font-size: clamp(38px, 8.6vw, 148px); font-weight: 900; line-height: .96; letter-spacing: -.035em; margin: 28px 0 0; max-width: 12ch }
.h-xl { font-size: clamp(36px, 5.6vw, 88px); font-weight: 900; line-height: 1; letter-spacing: -.03em; max-width: 16ch }
.h-lg { font-size: clamp(30px, 3.9vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; max-width: 20ch }
.lead { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 58ch; margin-top: 28px }
.lead b { color: var(--ink); font-weight: 600 }

.lines { margin-top: clamp(36px, 5vw, 72px); border-top: var(--border-hair) solid var(--line) }
.lines li { padding: 22px 0; border-bottom: var(--border-hair) solid var(--line); font-size: clamp(18px, 1.7vw, 25px); line-height: 1.4; max-width: 46ch }

.swap { display: flex; align-items: baseline; gap: .22em; font-size: clamp(88px, 15vw, 240px); font-weight: 900; line-height: .9; letter-spacing: -.04em; margin-bottom: clamp(28px, 4vw, 56px) }
.swap s { color: transparent; -webkit-text-stroke: 1.5px var(--ink-2); text-decoration: line-through; text-decoration-color: var(--ink); text-decoration-thickness: .055em }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: clamp(36px, 5vw, 64px) }
.card { display: flex; flex-direction: column; min-height: 320px; padding: var(--space-5); border: var(--border-control) solid var(--ink); border-radius: var(--radius-control); transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out) }
.card:hover { background: var(--ink); color: var(--on-ink) }
.card:hover p { color: var(--on-ink-2) }
.card-n { font-size: 13px; font-weight: 700; letter-spacing: .14em }
.card h3 { margin-top: 44px; font-size: clamp(21px, 1.9vw, 28px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em }
.card p { margin: 14px 0 28px; font-size: 16px; color: var(--ink-2) }
.tag { margin-top: auto; align-self: flex-start; padding: 5px 12px; border: var(--border-control) solid currentColor; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 700; letter-spacing: .14em }

.pull { margin-top: clamp(40px, 5vw, 72px); padding-top: 28px; border-top: var(--border-hair) solid var(--on-ink-2); font-size: clamp(24px, 2.8vw, 42px); font-weight: 300; line-height: 1.2; letter-spacing: -.015em; max-width: 22ch }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: clamp(40px, 5vw, 72px); border-top: var(--border-hair) solid var(--line); padding-top: 28px }
.stats dt { font-size: clamp(40px, 5vw, 76px); font-weight: 900; line-height: 1; letter-spacing: -.03em }
.stats dd { margin-top: 10px; color: var(--ink-2); max-width: 24ch }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: clamp(36px, 5vw, 64px) }
.plan { position: relative; padding: var(--space-6); border: var(--border-control) solid var(--ink); border-radius: var(--radius-control); background: var(--ground) }
.plan.full { background: var(--ink); color: var(--on-ink) }
.plan-flag { position: absolute; top: var(--space-6); right: var(--space-6); padding: 5px 12px; border: var(--border-control) solid currentColor; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase }
.plan h3 { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase }
.plan-line { margin-top: 10px; font-size: clamp(22px, 2.1vw, 30px); font-weight: 300; line-height: 1.2; letter-spacing: -.01em; max-width: 18ch }
.price { margin: 36px 0 28px; font-size: clamp(48px, 5.4vw, 84px); font-weight: 900; line-height: 1; letter-spacing: -.03em }
.price small { font-size: 15px; font-weight: 700; letter-spacing: .14em; vertical-align: top; position: relative; top: .5em }
.price span { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--ink-2) }
.plan.full .price span, .plan.full .plan-gain { color: var(--on-ink-2) }
.plan li { padding: var(--space-3) 0; border-top: var(--border-hair) solid var(--line); font-size: 16px }
.plan.full li, .plan.full .plan-gain { border-top-color: var(--on-ink-2) }
.terms { margin-top: 32px; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.01em }
.terms b { display: inline-block; font-weight: 700; margin-right: .5em }

.close { padding-bottom: clamp(80px, 10vw, 140px) }
.close-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(40px, 6vw, 88px) }
.close-row .lead { margin-top: 0 }

.foot { border-top: var(--border-hair) solid var(--line); padding: 36px 0 44px; font-size: 14px }
.foot-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-4) 40px }
.foot-brand b { font-size: 20px; font-weight: 900; letter-spacing: -.02em; margin-right: 12px }
.foot-brand span, .foot-note { color: var(--ink-2) }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--space-2) 24px; margin-left: auto }
.foot nav a { text-decoration: none }
.foot nav a:hover { text-decoration: underline }
.foot-note { width: 100% }

/* ---------- inner pages (every page but Home) ---------- */
.masthead { position: relative; height: clamp(84px, 12vh, 116px) }
.pill[aria-current="page"] { background: var(--ground-2); font-weight: 700 }
.pill[aria-current="page"]:hover { background: var(--ink) }
.page-top { padding: clamp(40px, 7vw, 110px) 0 clamp(64px, 9vw, 130px) }
.page-top .h-xxl { max-width: 11ch }
.page-top .terms { margin-top: clamp(28px, 4vw, 56px) }

.plans.first { margin-top: 0 }
.plan h2 { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase }
.plan-gain { margin: 24px 0 28px; padding-top: 20px; border-top: var(--border-hair) solid var(--line); font-size: 17px; color: var(--ink-2); max-width: 34ch }
.plan.full .cta { border-color: var(--on-ink); color: var(--on-ink) }
.plan.full .cta:hover { background: var(--on-ink); color: var(--ink) }

.table-scroll { margin-top: clamp(32px, 4vw, 56px); overflow-x: auto }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 17px }
.compare th, .compare td { padding: 18px 16px 18px 0; border-bottom: var(--border-hair) solid var(--line); text-align: left; vertical-align: middle }
.compare thead th { padding-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: var(--border-control) solid var(--ink) }
.compare tbody th { font-weight: 500; width: 52% }
.compare th small { margin-left: 8px; padding: 4px 10px; border: var(--border-hair) solid var(--line); border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); white-space: nowrap }
.compare td { width: 24%; font-weight: 600 }
.compare tfoot th, .compare tfoot td { border-bottom: 0; border-top: var(--border-control) solid var(--ink); font-size: 20px; font-weight: 900; letter-spacing: -.01em }
.yes, .no { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle }
.yes { background: var(--ink) }
.no { width: 16px; height: var(--border-heavy); border-radius: 0; background: var(--ink-3) }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px) }
.owned { margin-top: var(--space-5); border-top: var(--border-hair) solid var(--on-ink-2) }
.owned li { padding: 14px 0; border-bottom: var(--border-hair) solid var(--on-ink-2); font-size: clamp(18px, 1.6vw, 22px) }
.terms-more { margin-top: var(--space-8); padding-top: var(--space-7); border-top: var(--border-hair) solid var(--on-ink-2) }
.heading-md { font: 700 clamp(21px, 1.9vw, 28px)/1.15 var(--font-sans); letter-spacing: -.015em }
.terms-more .lead { margin-top: var(--space-3); font-size: 17px; line-height: 1.55 }   /* body under heading-md: a clear size step (design system: Card) */
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap }

.faq { margin-top: clamp(32px, 4vw, 56px); border-top: var(--border-control) solid var(--ink) }
.faq details { border-bottom: var(--border-hair) solid var(--line) }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: 24px 0; font-size: clamp(19px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; cursor: pointer; list-style: none }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; border-right: var(--border-heavy) solid var(--ink); border-bottom: var(--border-heavy) solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--dur-fast) var(--ease-out) }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px) }
.faq details p { padding: 0 0 28px; max-width: 62ch; font-size: 18px; color: var(--ink-2) }

@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .two { grid-template-columns: 1fr }
}

/* ---------- System page: one part, shown in five steps ---------- */
.part-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px }
.part-head .tag { margin-top: 10px }
.part-sub { margin-top: 14px; font-size: clamp(20px, 2vw, 28px); font-weight: 300; letter-spacing: -.01em; color: var(--ink-2); max-width: 30ch }
.steps { margin-top: clamp(36px, 5vw, 64px); border-top: var(--border-control) solid var(--ink) }
.step { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr); gap: var(--space-4) 32px; padding: 26px 0; border-bottom: var(--border-hair) solid var(--line) }
.step dt { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-top: 5px }
.step dd { font-size: clamp(17px, 1.45vw, 20px); max-width: 60ch }
.step dd p + p { margin-top: 12px }
.parts li { padding: 14px 0; border-top: var(--border-hair) solid var(--line) }
.parts li:first-child { border-top: 0; padding-top: 0 }
.parts b { display: block; font-weight: 700 }
.parts .tag { display: inline-block; margin: 0 0 0 8px; padding: 2px 9px; font-size: 11px; vertical-align: 2px }
.band.invert .steps { border-color: var(--on-ink-2) }

/* ---------- About page ---------- */
.cards.four { grid-template-columns: repeat(2, 1fr) }
.cards.four .card { min-height: 0 }
.cards.four .card h3 { margin-top: 28px }
.cards.four .card p { margin-bottom: 0 }
.glossary { width: 100%; margin-top: clamp(32px, 4vw, 56px); border-collapse: collapse; border-top: var(--border-control) solid var(--ink) }
.glossary th, .glossary td { padding: 18px 20px 18px 0; border-bottom: var(--border-hair) solid var(--line); text-align: left; vertical-align: top; font-size: 17px }
.glossary th { width: 110px; font-weight: 900; letter-spacing: .04em }
.glossary td:nth-child(2) { width: 38%; color: var(--ink-2) }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px }
.field { display: flex; flex-direction: column; gap: var(--space-2) }
.field.wide { grid-column: 1 / -1 }
.field label, .field legend { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase }
.field label i { font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2) }
.field input, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: var(--border-control) solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 19px }
.field textarea { min-height: 120px; resize: vertical }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; border-bottom-width: 3px; padding-bottom: 10.5px }
fieldset.field { border: 0; min-width: 0 }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: 4px }
.choices label { position: relative; letter-spacing: 0; text-transform: none; font-weight: 500 }
.choices input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none }
.choices input:checked + .pill { background: var(--ink); color: var(--on-ink) }
.choices input:focus-visible + .pill { outline: var(--border-heavy) solid var(--focus); outline-offset: 3px }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) 28px }
.form-end .cta { font-family: inherit }
.form-note { font-size: 14.5px; color: var(--ink-2); max-width: 44ch }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3) }
.field.error input, .field.error textarea { border-bottom-color: var(--danger) }
.field-msg { font-size: 14.5px; color: var(--ink-2) }
.field.error .field-msg { color: var(--danger); font-weight: 600 }
.status { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4) 0; border-top: var(--border-control) solid currentColor; font-size: 18px; font-weight: 600 }
.status[hidden] { display: none }
.status svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.status.success { color: var(--success) }
.status.danger { color: var(--danger) }
.status.warning { color: var(--warning) }
.status span { color: var(--ink); font-weight: 400 }
.status b { display: block; color: inherit }
.routes { border-top: var(--border-control) solid var(--ink) }
.routes > div { padding: 22px 0; border-bottom: var(--border-hair) solid var(--line) }
.routes dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2) }
.routes dd { margin-top: 8px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.01em }
.routes dd a { text-decoration: none; border-bottom: var(--border-control) solid var(--ink) }
.routes dd small { display: block; margin-top: 6px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink-2) }

/* ---------- Privacy notice (plain reading text) ---------- */
.prose { max-width: 68ch }
.prose h2 { margin: 48px 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2 }
.prose p, .prose li { font-size: 18px; color: var(--ink-2) }
.prose p + p { margin-top: 12px }
.prose ul { margin: 10px 0 0 1.1em; list-style: disc }
.prose li { padding: 3px 0 }
.prose a { text-decoration: underline; text-underline-offset: 3px }
.prose .stamp { font-size: 14px }

/* ---------- reveal on scroll (site.js adds .js to <html>, .in to each item) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out) }
.js .reveal.in { opacity: 1; transform: none }

/* ---------- small screens ---------- */
@media (max-width: 1180px) { .logo-full { display: none } }
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .menu-btn { display: inline-flex }
  .pill { height: var(--control-height-touch) }
  .pill.icon { width: var(--control-height-touch) }
  .arrow { width: var(--control-height-touch); height: var(--control-height-touch) }
  .nav-links { display: none; position: absolute; top: 56px; right: 0; flex-direction: column; align-items: stretch; padding: 10px; border: var(--border-control) solid var(--ink); border-radius: var(--radius-menu); background: var(--ground) }
  .nav-links.open { display: flex }
  .nav-links .pill { border-color: transparent; justify-content: flex-start }
  .arrows { right: var(--pad-x); top: 15%; gap: var(--space-3) }
  .facet { right: var(--pad-x); top: calc(15% + 34px) }
  .dots { display: none }
  .tagline { bottom: clamp(150px, 20vh, 220px) }
  .cta-row { left: var(--pad-x); right: -3vw; top: auto; bottom: 24px; transform: none }
  .count { font-size: clamp(120px, 22vw, 200px) }
  .loader { display: none }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 28px }
  .cards { grid-template-columns: 1fr }
  .card { min-height: 0 }
  .card h3 { margin-top: 28px }
  .plans { grid-template-columns: 1fr }
  .close-row { flex-direction: column; align-items: flex-start }
  .two { grid-template-columns: 1fr }
  .step { grid-template-columns: minmax(0, 1fr) }
  .cards.four { grid-template-columns: 1fr }
  .contact { grid-template-columns: minmax(0, 1fr) }
  .form { grid-template-columns: minmax(0, 1fr) }
  .glossary td:nth-child(2) { width: auto }
}
@media (max-width: 640px) {
  body { font-size: 16px }
  .pill { padding: 0 15px; font-size: 14px }
  .facet { width: 150px; font-size: 13px }
  .cta-row { right: -8vw }
  .count { font-size: 120px }
  .stats { grid-template-columns: 1fr }
  .plan { padding: 24px }
  .plan-flag { position: static; display: inline-block; margin-bottom: 18px }
  .foot nav { margin-left: 0 }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .js .reveal { opacity: 1; transform: none; transition: none }
}
