/*
 * clearowe.com home. Layout: split hero over the app's blue, then a pinned phone walkthrough, a
 * sideways pan of balances in plain words, a reminder timeline that draws itself, a ledger line that
 * encrypts as it leaves, a bento of small features, pricing, one language marquee, questions.
 * Radius rule: pills for controls, 28px for large surfaces, 18px for tiles and cards.
 */
* { box-sizing: border-box; }
[data-jump-target]:focus { outline: none; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding-inline: 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
.sub { font-size: 19px; color: var(--text-2); max-width: 52ch; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon svg { width: 100%; height: 100%; display: block; }
.pro { display: inline-block; vertical-align: 0.5em; font: 800 12px/1 var(--body); letter-spacing: 0.06em; color: #fff; background: var(--accent); padding: 5px 8px; border-radius: 999px; margin-left: 10px; }

/* The mark: a closed ring that carves out into the logo, the same move as the app's launch. */
.mark { width: 100%; height: 100%; overflow: visible; }
.mark .ring, .mark .c { fill: none; stroke: var(--mark); stroke-width: 15; }
.mark .piece { fill: none; stroke: #2F6BFF; stroke-width: 15; }
.mark .ring { animation: ring-off 0.24s ease-out 0.5s both; }
.mark .piece { animation: piece-out 0.6s var(--ease) 0.56s both; }
.mark .group { animation: group-out 0.6s var(--ease) 0.56s both; }
@keyframes ring-off { to { opacity: 0; } }
@keyframes piece-out { from { transform: translateX(0); } to { transform: translateX(9px); } }
@keyframes group-out { from { transform: translateX(0); } to { transform: translateX(-4.5px); } }

/* Header: fixed. Clear over the top of the hero; once the page scrolls it becomes a frosted bar, in
   the hero's blue while over the hero and in the page's own colours past it, as on the guide pages.
   The blur sits on a layer behind it, so the phone menu's fixed sheet still measures from the window. */
html { scroll-padding-top: 88px; }
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; isolation: isolate; }
.top::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: color-mix(in srgb, var(--hero-b) 80%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); transition: opacity 0.2s, background-color 0.2s, box-shadow 0.2s; }
.top .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; transition: height 0.2s ease; }
.top.raised { --header-h: 64px; }
.top.raised::before { opacity: 1; }
.top.past::before { background: color-mix(in srgb, var(--bg) 84%, transparent); box-shadow: inset 0 -1px 0 var(--line); }
.top.past .brand { color: var(--text); }
.top.past .brand .disc { box-shadow: inset 0 0 0 1px var(--line); }
.top.past nav a, .top.past .menu > summary { color: var(--text-2); }
.top.past nav a:hover, .top.past .menu > summary:hover, .top.past .menu[open] > summary { color: var(--text); }
.top.past nav a.get { color: #fff; background: var(--hero-b); }
.top.past nav a.get:hover { background: var(--hero-c); }
.top.past .mode { border-color: var(--line); background: var(--surface); color: var(--text-2); }
.top.past .mode:hover { color: var(--text); }
.top.past .menu-mobile > summary { color: var(--text); background: var(--surface); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-hero); text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -0.02em; }
.brand .disc { width: 34px; height: 34px; border-radius: 50%; background: #fff; padding: 6px; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--on-hero-2); text-decoration: none; font-size: 15px; font-weight: 600; transition: color 0.2s; }
.top nav a:hover { color: var(--on-hero); }
.mode { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.mode:hover { background: rgba(255, 255, 255, 0.2); }
.mode .icon { width: 20px; height: 20px; }
.top nav a.get { color: var(--hero-c); background: #fff; padding: 10px 18px; border-radius: 999px; }
.top nav a.get:active { transform: scale(0.98); }
/* The Calculators and Guides menus (base.css), in the hero's colours; one Menu button on smaller screens. */
.top { --header-h: 76px; }
.top .menu > summary { color: var(--on-hero-2); transition: color 0.2s; }
.top .menu > summary:hover, .top .menu[open] > summary { color: var(--on-hero); }
.top .menu-mobile > summary { color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); }
@media (max-width: 1020px) {
  .top nav { gap: 10px; }
  .top nav > a:not(.get), .top nav > .menu { display: none; }
  .top .menu-mobile { display: block; }
}
@media (max-width: 520px) { .top nav a.get { display: none; } }

/* Hero */
.hero { position: relative; color: var(--on-hero); background: linear-gradient(150deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c)); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; overflow: clip; isolation: isolate; }
.hero .glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: -2; }
.hero .glow.a { animation: glow-a 18s ease-in-out infinite alternate; }
.hero .glow.b { animation: glow-b 22s ease-in-out infinite alternate; }
@keyframes glow-a { to { transform: translate(140px, 90px) scale(1.08); } }
@keyframes glow-b { to { transform: translate(-120px, -70px) scale(1.12); } }
/* Money moving between people: the hero's background, drawn by landing.js. */
.hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero .glow.a { width: 980px; height: 980px; left: -320px; top: -480px; background: radial-gradient(closest-side, rgba(150, 192, 255, 0.55), transparent); }
.hero .glow.b { width: 760px; height: 760px; right: -240px; bottom: -420px; background: radial-gradient(closest-side, rgba(90, 225, 255, 0.3), transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px; align-items: center; min-height: min(100dvh, 860px); padding-top: 112px; }
.hero-copy { display: grid; gap: 26px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(42px, 4.7vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 span, .hero h1 em { display: block; }
@media (min-width: 901px) { .hero h1 span { white-space: nowrap; } }
.hero h1 em { font-style: normal; color: #A6F2CF; }
.hero .sub { color: var(--on-hero-2); font-size: 20px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: 999px; background: #fff; color: var(--on-white); text-decoration: none; transition: transform 0.25s var(--ease); }
a.store:hover { transform: translateY(-2px); }
a.store:active { transform: scale(0.98); }
.store.soon { cursor: default; }
.store .icon { width: 22px; height: 22px; color: #2F6BFF; }
.store small { display: block; font-size: 12px; line-height: 1.1; color: var(--on-white-2); }
.store b { display: block; font-size: 16px; line-height: 1.2; }
.stage { position: relative; height: 100%; min-height: 600px; }
.stage .phone { position: absolute; left: 50%; bottom: -96px; translate: -42% 0; width: 300px; }
.stage .disc { position: absolute; width: 132px; height: 132px; border-radius: 50%; background: #fff; padding: 24px; left: -2%; top: 40%; box-shadow: 0 24px 60px rgba(8, 20, 70, 0.35); z-index: 3; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 104px; }
  .hero-copy { padding-bottom: 0; }
  .stage { min-height: 520px; }
  .stage .phone { translate: -50% 0; width: 270px; bottom: -110px; }
  .stage .disc { width: 88px; height: 88px; padding: 16px; left: auto; right: 0; top: 46%; }
}

/* Phones */
.phone { aspect-ratio: 553 / 1200; border-radius: 48px; padding: 10px; background: var(--frame); box-shadow: 0 40px 90px -20px rgba(8, 20, 70, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 39px; overflow: hidden; overflow: clip; background: #F2F4F9; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Pinned walkthrough */
.story { padding-block: 120px 40px; }
.story-pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.story-copy { display: grid; gap: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { grid-area: 1 / 1; display: grid; gap: 14px; }
.step h3 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.025em; }
.step p { color: var(--text-2); font-size: 19px; max-width: 44ch; }
.step .m { display: none; }
.rail { display: flex; gap: 8px; }
.rail i { height: 4px; flex: 1; max-width: 72px; border-radius: 2px; background: var(--line); overflow: hidden; overflow: clip; position: relative; }
.rail i b { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.story-phone { display: grid; place-items: center; }
.story-phone .phone { width: min(340px, 100%); }
.js-pin .step:not(:first-child) { opacity: 0; }
.js-pin .story { padding-block: 40px; }
.js-pin .story-pin { min-height: 100dvh; padding-top: 64px; } /* clear of the header while pinned */
.js-pin .pan { min-height: 100dvh; display: flex; align-items: center; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .story-pin { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 64px; }
  .step { grid-area: auto; opacity: 1 !important; transform: none !important; }
  .step .m { display: block; width: min(280px, 80%); margin: 12px auto 0; }
  .story-phone, .rail { display: none; }
}

/* Plain words: a sideways pan */
.pan { padding-block: 80px; overflow: hidden; overflow: clip; }
.pan-track { display: flex; gap: 20px; align-items: stretch; padding-inline: max(24px, calc((100vw - 1200px) / 2 + 24px)); width: max-content; }
.pan-intro { width: min(440px, 80vw); display: grid; gap: 18px; align-content: center; padding-right: 24px; }
.tile { width: 300px; min-height: 340px; border-radius: var(--r-lg); padding: 26px; display: grid; align-content: space-between; gap: 24px; background: var(--surface); box-shadow: var(--shadow); position: relative; overflow: hidden; overflow: clip; }
.tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(150deg, transparent 35%, var(--tint, transparent)); pointer-events: none; }
.tile > * { position: relative; }
.tile.owed { --tint: var(--owed-tint); }
.tile.owe { --tint: var(--owe-tint); }
.tile.thing { --tint: var(--warn-tint); }
.tile .who { display: flex; align-items: center; gap: 12px; }
.mono { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 16px var(--body); flex: none; }
.tile .who b { font-size: 18px; display: block; }
.tile .who span { font-size: 14px; color: var(--text-2); }
.tile .say { font: 700 30px/1.12 var(--display); letter-spacing: -0.02em; }
.tile .say .amt { display: block; font-size: 46px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile.owed .amt { color: var(--owed); }
.tile.owe .amt { color: var(--owe); }
.tile.thing .amt { color: var(--warn); font-size: 30px; }
.tile .foot { font-size: 14px; color: var(--text-2); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--raised); color: var(--text-2); }
.tag.warn { background: var(--warn-tint); color: var(--warn); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .pan-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 24px; scrollbar-width: none; }
  .pan-track::-webkit-scrollbar { display: none; }
  .tile, .pan-intro { scroll-snap-align: start; flex: none; }
  .tile { width: 270px; }
}

/* Reminder timeline: days pass down the rail while the phone's lock screen gets each day's
   notification. Without script (or with reduced motion) everything shows at once. */
.remind { padding-block: 120px; }
.remind-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.remind .phone { width: min(320px, 100%); justify-self: center; }
.remind-copy { display: grid; gap: 36px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 48px; display: grid; gap: 36px; }
.when { position: relative; display: grid; gap: 6px; transition: opacity 0.45s var(--ease); }
.when::before { content: ''; box-sizing: border-box; position: absolute; z-index: 1; left: -48px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 3px solid var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), inset 0 0 0 4px var(--surface); transition: background-color 0.35s var(--ease), box-shadow 0.45s var(--ease); }
/* The rail runs from this circle's centre to the next one's; --fill (0 to 1) is how far time has got. */
.when:not(:last-child)::after { content: ''; position: absolute; left: -37.5px; top: 14px; width: 3px; height: calc(100% + 36px); border-radius: 2px; background: linear-gradient(var(--accent) 0 calc(var(--fill, 1) * 100%), var(--line) 0); }
.when b { font-size: 19px; line-height: 1.45; }
.when span { color: var(--text-2); max-width: 46ch; }
.remind.stepping .when:not(.on) { opacity: 0.42; }
.remind.stepping .when:not(.on)::before { background: var(--surface); box-shadow: 0 0 0 0 var(--accent-soft), inset 0 0 0 4px var(--surface); }

.phone.lock .screen { display: flex; flex-direction: column; background: radial-gradient(90% 50% at 20% 8%, rgba(150, 190, 255, 0.55), transparent 70%), linear-gradient(170deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c)); color: #fff; }
.lock-time { display: grid; justify-items: center; gap: 2px; padding-top: 22%; }
.lock-date { font: 600 15px/1.3 var(--body); opacity: 0.9; }
.lock-clock { font: 800 74px/1 var(--display); letter-spacing: -0.03em; }
.notes { margin-top: 24px; padding: 0 9px; display: grid; }
.notes .note { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.55s var(--ease), opacity 0.45s var(--ease); }
.notes .note > div { min-height: 0; overflow: hidden; overflow: clip; }
.note-card { display: flex; gap: 9px; margin-top: 7px; padding: 10px 11px; border-radius: 18px; background: rgba(255, 255, 255, 0.88); color: #0D1426; box-shadow: 0 8px 22px -10px rgba(8, 20, 70, 0.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.phone .screen .note-card img { position: static; flex: none; width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.note-card > div { flex: 1; min-width: 0; }
.note-card p { display: flex; justify-content: space-between; gap: 8px; margin: 0; font: 600 12.5px/1.3 var(--body); }
.note-card time { flex: none; font-weight: 400; font-size: 11.5px; color: rgba(60, 60, 67, 0.62); }
.note-card span { display: block; font: 400 12.5px/1.3 var(--body); color: #262B36; }
.tag-pro { display: inline-block; vertical-align: 1px; margin-left: 6px; font: 800 9px/1 var(--body); letter-spacing: 0.04em; font-style: normal; padding: 3px 6px; border-radius: 999px; background: var(--accent); color: #fff; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.remind.stepping .notes .note:not(.show) { grid-template-rows: 0fr; opacity: 0; }
.remind.stepping:not(.priced) .tag-pro { opacity: 0; transform: scale(0.8); }
@media (max-width: 900px) { .remind-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } .remind .phone { order: 2; width: 270px; } }

/* Privacy: the line that encrypts */
.private { padding-block: 80px 120px; display: grid; gap: 40px; justify-items: center; text-align: center; }
.private .sub { margin-inline: auto; }
.cipher { width: min(760px, 100%); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); padding: 30px 34px; display: grid; gap: 14px; text-align: left; }
.cipher .row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-3); }
.cipher output { display: block; font: 600 clamp(22px, 3.2vw, 36px)/1.2 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: -0.01em; color: var(--text); overflow-wrap: anywhere; min-height: 2.4em; }
.cipher output.sealed { color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; width: min(1000px, 100%); text-align: left; }
.fact { display: grid; gap: 8px; }
.fact .icon { width: 28px; height: 28px; color: var(--accent); }
.fact b { font-size: 18px; }
.fact span { color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Bento */
.bento { padding-bottom: 120px; display: grid; gap: 32px; }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cell { border-radius: var(--r-lg); padding: 28px; background: var(--surface); display: grid; gap: 12px; align-content: start; min-height: 230px; position: relative; overflow: hidden; overflow: clip; }
.cell h3 { font-size: 22px; }
.cell p { color: var(--text-2); font-size: 15px; max-width: 40ch; }
.cell.wide { grid-column: span 2; }
.cell.full { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 0; }
.cell.blue { background: linear-gradient(150deg, var(--hero-a), var(--hero-b) 60%, var(--hero-c)); color: #fff; }
.cell.blue p { color: var(--on-hero-2); }
.cell.soft { background: var(--accent-soft); }
.typed { margin-top: 8px; display: grid; gap: 12px; }
.typed .field { font: 600 20px/1.3 ui-monospace, 'SF Mono', Menlo, monospace; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 14px; padding: 14px 16px; min-height: 56px; }
.typed .field::after { content: ''; display: inline-block; width: 2px; height: 1.05em; background: #fff; vertical-align: -0.15em; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.parsed { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; }
.parsed span { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--hero-c); opacity: 0; transform: translateY(6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.parsed span.on { opacity: 1; transform: none; }
.symbols { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.symbols span { font: 700 18px/1 var(--display); padding: 10px 12px; border-radius: 12px; background: var(--raised); font-variant-numeric: tabular-nums; }
.widget-img { border-radius: 22px; width: 100%; max-width: 360px; justify-self: end; box-shadow: var(--shadow); }
@media (max-width: 900px) { .cells { grid-template-columns: minmax(0, 1fr); } .cell.wide { grid-column: auto; } .cell.full { grid-template-columns: minmax(0, 1fr); } .widget-img { justify-self: start; } }

/* Pricing */
.pricing { padding-bottom: 120px; display: grid; gap: 36px; }
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.country { position: relative; display: inline-flex; align-items: center; }
.country select { appearance: none; -webkit-appearance: none; font: 700 15px var(--body); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 11px 44px 11px 18px; cursor: pointer; box-shadow: var(--shadow); }
.country .icon { position: absolute; right: 16px; width: 16px; height: 16px; pointer-events: none; color: var(--text-2); }
.country-label { font-size: 14px; color: var(--text-2); font-weight: 600; }
.pricing-pick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.toggle button { border: 0; background: none; font: 700 14px var(--body); color: var(--text-2); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed='true'] { background: var(--accent); color: #fff; }
.plans { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 16px; }
.plan { border-radius: var(--r-lg); padding: 32px; display: grid; gap: 20px; align-content: start; background: var(--surface); }
.plan.pro-plan { background: linear-gradient(150deg, var(--hero-a), var(--hero-b) 60%, var(--hero-c)); color: #fff; }
.plan .price { font: 700 52px/1 var(--display); letter-spacing: -0.03em; }
.plan .price small { font: 500 16px var(--body); letter-spacing: 0; color: var(--text-2); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.plan li .icon { width: 20px; height: 20px; color: var(--owed); margin-top: 2px; }
.pro-plan li .icon { color: #A6F2CF; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.option { border-radius: var(--r-md); padding: 16px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); display: grid; gap: 2px; }
.option.best { background: #fff; color: var(--on-white); border-color: #fff; }
.option small { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--on-hero-2); }
.option.best small { color: #2F6BFF; }
.option b { font: 700 26px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.option span { font-size: 13px; color: var(--on-hero-2); }
.option.best span { color: var(--on-white-2); }
.plan .note { font-size: 14px; color: var(--on-hero-2); }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .options { grid-template-columns: minmax(0, 1fr); } }

/* Language marquee */
/* min-width 0: a clipping box still asks its grid track for its full content width (8,000px of
   languages), which made phones lay the whole page out at four times their width. */
.langs { padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.marquee { min-width: 0; overflow: hidden; overflow: clip; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { flex: none; font: 700 clamp(22px, 2.6vw, 32px)/1.25 var(--body); padding: 16px 24px; border-radius: var(--r-md); background: var(--surface); white-space: nowrap; }
.marquee-track span em { font-style: normal; color: var(--owed); font-variant-numeric: tabular-nums; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Questions */
.faq { padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq details:first-child { padding-top: 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--text-2); max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Closing */
.closing { margin-inline: 24px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(150deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c)); overflow: hidden; overflow: clip; position: relative; isolation: isolate; }
.closing .wrap { display: grid; justify-items: center; text-align: center; gap: 24px; padding-block: 96px; }
.closing .disc { width: 112px; height: 112px; border-radius: 50%; background: #fff; padding: 20px; box-shadow: 0 20px 50px rgba(8, 20, 70, 0.35); }
.closing p { color: var(--on-hero-2); }
.closing .stores { justify-content: center; }
footer { padding-block: 56px 64px; color: var(--text-3); font-size: 14px; }
footer .wrap { display: grid; gap: 40px; }

/* Reveal on entry (set up by landing.js; without it everything is simply visible). */
.js .reveal { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mark .ring { opacity: 0; }
  .mark .piece { transform: translateX(9px); }
  .mark .group { transform: translateX(-4.5px); }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee-track span[aria-hidden] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .parsed span { opacity: 1; transform: none; }
}
