/* Billion Beacon design system. One hand-written stylesheet. Light only.
   The one signature: a single gold light that only ever marks you. */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

:root {
  --white: #fff; --mist: #f5f5f7; --hair: #e8e8ed; --line: #d2d2d7; --edge: #86868b;
  --ink: #1d1d1f; --ink-2: #5e5e63;
  --pine-900: #05211a; --pine-700: #0f4434; --pine: #0a2e24;
  --gold: #f3c551; --gold-soft: #fbf6e6; --gold-ink: #6e5200;
  --emerald: #0b6b4f; --coral: #b8402d;
  --on-dark: #fff; --on-dark-2: rgba(255,255,255,.76); --on-dark-3: rgba(255,255,255,.64); --on-dark-line: rgba(255,255,255,.14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22,.8,.24,1);
  --r-field: 12px; --r-btn: 16px; --r-card: 22px; --r-hero: 30px;
  --pad: 24px; --section: 96px;
  --shadow-float: 0 30px 60px -20px rgba(5,33,26,.28), 0 8px 20px -8px rgba(5,33,26,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: var(--emerald); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; border-radius: 6px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--gold); }
::selection { background: #f9e2a6; color: var(--ink); }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -.045em; line-height: 1.06; }
h2 { font-size: clamp(26px, 3.8vw, 40px); letter-spacing: -.04em; line-height: 1.1; }
h3 { font-size: clamp(21px, 2vw, 23px); letter-spacing: -.025em; line-height: 1.2; }
h4 { font-size: 17px; letter-spacing: -.012em; }
.h3 { font-size: clamp(21px, 2vw, 23px); letter-spacing: -.025em; line-height: 1.2; }
.display { font-size: clamp(46px, 8.6vw, 96px); letter-spacing: -.062em; line-height: .99; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.42; letter-spacing: -.012em; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 15px; line-height: 1.47; }
.fine { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(1080px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.wrap-text { max-width: calc(680px + var(--pad) * 2); }
.wrap-form { max-width: calc(460px + var(--pad) * 2); }
.section { padding-block: var(--section); }
.section-tight { padding-block: 48px; }
.section-mist { background: var(--mist); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 14px; }
.stack > * + * { margin-top: 16px; }
.stack-s > * + * { margin-top: 8px; }
.stack-l > * + * { margin-top: 32px; }
.between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.between .num { margin-left: auto; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cluster-center { justify-content: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* for two or three cards: stays centred however many there are */
.grid-fit { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.grid-fit > * { flex: 1 1 280px; max-width: 360px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pine); color: #fff; padding: 12px 16px; border-radius: 12px; }
.skip:focus { top: 8px; }

/* ---------------------------------------------------------------- icons */
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-s { width: 18px; height: 18px; }
.ico-l { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- header, menu, tabs, footer */
.topbar { position: sticky; top: 0; z-index: 40; height: 52px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.07); view-transition-name: topbar; }
.topbar-in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.025em; min-height: 44px; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-mark .glow { transform-origin: center; transform-box: fill-box; animation: breathe 3.6s ease-in-out infinite; }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topnav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 14.5px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; opacity: .86; }
.topnav .btn { white-space: nowrap; padding: 0 16px; font-size: 14px; }
.topnav a:not(.btn):hover, .topnav a[aria-current="page"] { opacity: 1; }
.topnav a[aria-current="page"] { font-weight: 600; }
.menu-btn { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; border-radius: 12px; padding: 0; margin-right: -10px; }
.plan-chip { margin-left: 6px; }
.sheet { position: fixed; z-index: 60; inset: 0; background: rgba(5,33,26,.28); display: flex; justify-content: flex-end; animation: fadein .25s var(--ease); }
.sheet-panel { background: var(--white); width: min(380px, 100%); height: 100%; overflow-y: auto; padding: 8px var(--pad) 40px; box-shadow: var(--shadow-float); animation: slidein .4s var(--ease); }
.sheet-head { display: flex; justify-content: flex-end; height: 44px; }
.sheet nav a, .sheet nav button { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 54px; border: 0; border-bottom: 1px solid var(--hair); background: none; padding: 0; font: 700 21px/1.2 var(--display); letter-spacing: -.025em; color: var(--ink); text-decoration: none; cursor: pointer; text-align: left; }
.sheet nav .sheet-minor { font: 400 17px/1.2 var(--font); letter-spacing: 0; }
.sheet .btn { margin-top: 24px; }
.tabbar { display: none; }
.foot { background: var(--mist); padding: 56px 0 40px; margin-top: 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot h2 { font: 700 13px/1.4 var(--font); letter-spacing: 0; margin-bottom: 6px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); text-decoration: none; }
.foot li a:hover { color: var(--ink); text-decoration: underline; }
.foot-fine { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; }
/* A link on a line of its own is a button to a thumb: give it a full tap height. */
.solo { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.link-list { list-style: none; padding: 0; }
.link-list li { margin: 0; }
.foot-ccy { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 16px; }
.foot-ccy label { color: var(--ink-2); }
.foot-ccy select { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 12px; font: inherit; color: var(--ink); max-width: 100%; }

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15.5px/1.2 var(--font); letter-spacing: -.008em; text-decoration: none; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .2s var(--ease), background-color .2s, border-color .2s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 56px; border-radius: var(--r-btn); padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-700); color: #fff; }
.btn-gold { background: var(--gold); color: var(--pine-900); }
.btn-gold:hover { background: #f7d174; color: var(--pine-900); }
.btn-snug { padding-left: 12px; padding-right: 12px; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-soft { background: var(--mist); color: var(--ink); }
.btn-soft:hover { background: var(--hair); color: var(--ink); }
.on-dark .btn-ghost { border-color: rgba(255,255,255,.34); color: #fff; }
.on-dark .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-danger { background: #fff; border-color: var(--coral); color: var(--coral); }
.btn-text { background: none; border: 0; padding: 0; min-height: 44px; color: var(--emerald); font: 400 15px/1.3 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.on-dark .btn-text { color: var(--on-dark); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(243,197,81,.55) 50%, transparent 80%); transform: translateX(-100%); animation: sweep 1.1s var(--ease) infinite; }

/* ---------------------------------------------------------------- fields */
.field { display: block; margin-bottom: 16px; }
.field > label, .label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.input, .select, textarea.input { width: 100%; min-height: 52px; border: 1px solid var(--edge); border-radius: var(--r-field); background: #fff; color: var(--ink); font: 400 17px/1.3 var(--font); padding: 12px 16px; -webkit-appearance: none; appearance: none; }
textarea.input { min-height: 110px; resize: vertical; }
.select { background: #fff url("../icons/chevron.svg") no-repeat right 14px center / 12px; padding-right: 40px; }
.input:focus, .select:focus { border-color: var(--emerald); outline: 3px solid rgba(11,107,79,.22); outline-offset: 0; }
.input[aria-invalid="true"] { border-color: var(--coral); }
.money-field { position: relative; }
.money-field .sym { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.money-field .input { padding-left: 52px; font-variant-numeric: tabular-nums; }
.hint { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.error-msg { color: var(--coral); font-size: 14.5px; margin-top: 6px; }
.alert { border-radius: var(--r-field); padding: 14px 16px; background: #fbeeeb; color: #8d2e1f; font-size: 15px; margin-bottom: 16px; }
.alert-ok { background: #e7f3ee; color: #08553f; }
.alert-note { background: var(--gold-soft); color: var(--gold-ink); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; min-height: 44px; padding: 8px 0; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--pine); }
.radio-list { border: 0; margin: 0 0 16px; padding: 0; }
.radio-list legend { font-weight: 600; font-size: 15px; margin-bottom: 4px; padding: 0; }

/* The rank form: one rounded grey card */
.capsule { background: var(--mist); border-radius: var(--r-hero); padding: 22px; text-align: left; }
.capsule-amount label { display: block; font-size: 15px; color: var(--ink-2); }
.amount-line { display: flex; align-items: baseline; gap: 4px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.amount-line:focus-within { border-bottom-color: var(--emerald); }
.amount-sym { font: 700 clamp(40px, 6vw, 48px)/1.2 var(--display); color: var(--ink-2); letter-spacing: -.04em; white-space: nowrap; }
.amount-input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 4px 0; font: 700 clamp(40px, 6vw, 48px)/1.2 var(--display); letter-spacing: -.045em; color: var(--ink); font-variant-numeric: tabular-nums; outline: 0; }
.amount-input::placeholder { color: #86868c; }
.capsule-rule { height: 1px; background: var(--line); margin: 14px 0; }
.capsule-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 12px; }
.capsule-row .select { padding-left: 14px; padding-right: 34px; background-position: right 12px center; text-overflow: ellipsis; }
.capsule-row .field { margin: 0; }
.capsule-row label { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.we-think { color: var(--ink-2); }
.capsule .btn { margin-top: 16px; }
.preview { min-height: 66px; display: grid; gap: 2px; justify-items: center; align-content: center; margin: 14px 0 0; text-align: center; }
.preview p { margin: 0; font-size: 17px; color: var(--ink-2); }
.preview strong { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 21px; letter-spacing: -.02em; }
.preview-empty { visibility: hidden; min-height: 12px; height: 12px; overflow: hidden; }

details.more { border-bottom: 1px solid var(--hair); }
details.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-weight: 600; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ""; width: 9px; height: 9px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); transition: transform .3s var(--ease); flex: none; margin-right: 4px; }
details.more[open] > summary::after { transform: rotate(225deg) translate(-2px,-2px); }
details.more > .more-body { padding: 4px 0 20px; color: var(--ink-2); }
details.quiet { border: 0; }
details.quiet > summary { justify-content: center; font-weight: 400; font-size: 15px; color: var(--emerald); }

/* ---------------------------------------------------------------- controls */
.segmented { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 3px; gap: 2px; max-width: 100%; }
.segmented button, .segmented a { min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 600 14px/1 var(--font); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s var(--ease); white-space: nowrap; }
.segmented [aria-pressed="true"], .segmented [aria-current="page"] { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.14); }
.on-dark .segmented { background: rgba(255,255,255,.1); }
.on-dark .segmented button { color: #fff; }
.on-dark .segmented [aria-pressed="true"] { background: #fff; color: var(--pine-900); }
.switch { width: 52px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; flex: none; display: inline-grid; place-items: center; }
.switch span { width: 51px; height: 31px; border-radius: 999px; background: var(--edge); position: relative; transition: background-color .3s var(--ease); }
.switch span::after { content: ""; position: absolute; width: 27px; height: 27px; border-radius: 50%; background: #fff; left: 2px; top: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.switch[aria-pressed="true"] span { background: var(--emerald); }
.switch[aria-pressed="true"] span::after { transform: translateX(20px); }
.list { list-style: none; margin: 0; padding: 0; background: var(--mist); border-radius: var(--r-card); overflow: hidden; }
.list > li + li { border-top: 1px solid var(--hair); }
.list-white { background: #fff; border: 1px solid var(--hair); }
.row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 18px; color: var(--ink); text-decoration: none; width: 100%; }
a.row:hover { background: var(--hair); text-decoration: none; }
.row-main { flex: 1; min-width: 0; }
.row-main strong { display: block; font-weight: 600; }
.row-main span { display: block; font-size: 14px; color: var(--ink-2); }
.row-open { display: flex; flex-direction: column; justify-content: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.row-open:hover { text-decoration: none; }
.row-open:hover strong { text-decoration: underline; }
.row-end { color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.chev { color: #8e8e93; width: 16px; height: 16px; }
.bar { height: 6px; border-radius: 999px; background: var(--hair); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--pine); transition: width 1.1s var(--ease); }
.on-dark .bar { background: rgba(255,255,255,.14); }
.on-dark .bar > i, .bar-gold > i { background: var(--gold); }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 3px 12px; border-radius: 999px; background: var(--mist); font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.chip-gold { background: var(--gold-soft); color: var(--gold-ink); }
.on-dark .chip { background: rgba(255,255,255,.1); color: #fff; }
.on-dark .chip-gold { background: rgba(243,197,81,.16); color: var(--gold); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(243,197,81,.28); flex: none; }
.verified { display: inline-flex; align-items: center; gap: 6px; }
.tag-sim { display: inline-block; font-size: 12.5px; color: var(--gold-ink); background: var(--gold-soft); border-radius: 999px; padding: 2px 10px; }
.on-dark .tag-sim { color: var(--gold); background: rgba(243,197,81,.14); }
.tag-live { display: inline-block; font-size: 12.5px; color: #0b5c3c; background: #e2f4ea; border-radius: 999px; padding: 2px 10px; }
.on-dark .tag-live { color: #9fe3c0; background: rgba(120,220,170,.14); }
.tile { container-type: inline-size; background: var(--mist); border-radius: var(--r-card); padding: 22px; }
.tile h3 { font-size: 15px; font-weight: 600; font-family: var(--font); letter-spacing: 0; color: var(--ink-2); margin-bottom: 8px; }
.tile .big { display: block; font: 700 clamp(30px, 3.6vw, 40px)/1.05 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-bottom: 6px; overflow-wrap: anywhere; }
.tile .big.is-long { font-size: min(36px, 11cqw); }
.tile .big.is-vlong { font-size: min(32px, 9cqw); }
.tile .big.is-huge { font-size: min(28px, 7.2cqw); }
.tile p { font-size: 15px; color: var(--ink-2); }
.on-dark .tile { background: rgba(255,255,255,.07); }
.on-dark .tile h3, .on-dark .tile p { color: var(--on-dark-2); }

/* ---------------------------------------------------------------- panels */
.on-dark { color: var(--on-dark); }
.on-dark .muted, .on-dark .fine, .on-dark .lead { color: var(--on-dark-2); }
.on-dark a:not(.btn) { color: #fff; }
.hero-dark { background: radial-gradient(120% 90% at 50% -10%, var(--pine-700) 0%, var(--pine-900) 70%); border-radius: var(--r-hero); padding: 32px; }
.panel { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-card); padding: 24px; }
.panel-mist { background: var(--mist); border: 0; }
.panel-gold { background: var(--gold-soft); border: 0; }
.index-switch strong, .index-switch .small { color: var(--gold-ink); }
.panel-pine { background: var(--pine); color: #fff; border: 0; }
.panel > h2, .panel > h3 { margin-bottom: 10px; }
.panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 15px; }
.source { font-size: 12.5px; color: var(--ink-2); margin-top: 10px; }
.blurred { filter: blur(9px); user-select: none; }
.welcome-mark { width: 72px; height: 72px; margin: 0 auto 16px; }
.quiet-panel { border: 0; }
.panel .h3 + p { margin-top: 8px; }
.panel-h .h3 { margin: 0; }
.on-dark .source { color: var(--on-dark-3); }

/* ---------------------------------------------------------------- home */
.home-hero { position: relative; padding: 64px 0 40px; text-align: center; isolation: isolate; }
.orb { position: absolute; z-index: -1; left: 50%; top: -52px; width: min(720px, 130vw); aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; }
.orb-wrap { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.orb i { position: absolute; inset: 0; border-radius: 50%; display: block; }
.orb .glow { background: radial-gradient(circle, rgba(243,197,81,.5) 0%, rgba(243,197,81,.2) 20%, rgba(243,197,81,0) 52%); animation: breathe 3.6s ease-in-out infinite; }
.orb .lens { inset: 12%; border: 1px solid rgba(110,82,0,.11); -webkit-mask: linear-gradient(#000 35%, transparent 72%); mask: linear-gradient(#000 35%, transparent 72%); }
.orb .lens + .lens { inset: 22%; border-color: rgba(110,82,0,.13); }
.orb .lens + .lens + .lens { inset: 32%; border-color: rgba(110,82,0,.15); }
.home-hero h1 { margin-bottom: 14px; }
.home-hero .lead { max-width: 560px; margin: 0 auto 32px; }
.home-form { max-width: 520px; margin: 0 auto; }
.home-under { max-width: 520px; margin: 4px auto 0; }
.last-seen { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; justify-content: center; font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.morning { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.morning ul { list-style: none; padding: 0; margin: 28px 0 0; }
.morning li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); }
.reason { padding: 28px 24px; border-radius: var(--r-card); background: var(--mist); }
.reason .ico-l { color: var(--emerald); margin-bottom: 16px; }
.reason h3 { margin-bottom: 8px; }
.reason p { color: var(--ink-2); font-size: 15.5px; }
.index-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px; background: var(--gold-soft); border-radius: var(--r-hero); }
.index-band p, .index-band .muted { color: var(--gold-ink); }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-card); border: 1px solid var(--hair); }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--hair); }
td.r, th.r { text-align: right; white-space: nowrap; }
thead th { font-size: 13.5px; color: var(--ink-2); font-weight: 600; background: var(--mist); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }
tbody th a { display: inline-flex; min-height: 24px; align-items: center; }
tr.is-you { background: var(--gold-soft); }

/* Phone mock-up */
.phone { container-type: inline-size; width: 300px; max-width: 100%; margin: 0 auto; border-radius: 48px; background: #101012; padding: 10px; box-shadow: var(--shadow-float); }
.phone-screen { border-radius: 39px; background: #fff; overflow: hidden; position: relative; padding: 44px 12px 20px; }
.phone-screen::before { content: ""; position: absolute; top: 11px; left: 50%; width: 88px; height: 24px; border-radius: 999px; background: #101012; transform: translateX(-50%); }
.phone .hero-dark { border-radius: 24px; padding: 18px; }
.phone-rank { font: 700 16.5cqw/1 var(--display); letter-spacing: -.062em; margin: 18px 0 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone .dash-amount { font-size: 11cqw; }
.phone .dash-amount.is-long { font-size: 8cqw; }
.phone .dash-amount.is-vlong { font-size: 6cqw; }
.phone .dash-amount.is-huge { font-size: 4.6cqw; }
.phone-rank em { font-style: normal; color: var(--gold); text-shadow: 0 0 24px rgba(243,197,81,.6); }
.phone-card { border: 1px solid var(--hair); border-radius: 18px; padding: 14px; margin-top: 10px; font-size: 13px; }
.phone-card .between { font-weight: 600; margin-bottom: 8px; }
.phone-rise { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.phone-rise.is-in { opacity: 1; transform: none; }
html:not(.js) .phone-rise { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- the reveal */
.reveal { background: radial-gradient(110% 70% at 50% 8%, var(--pine-700) 0%, var(--pine-900) 62%); padding: 56px 0 64px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.beam { position: absolute; z-index: -1; left: 50%; top: 190px; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, rgba(243,197,81,0) 320deg, rgba(243,197,81,.13) 354deg, transparent 360deg); opacity: 0; pointer-events: none; }
.reveal.play .beam { animation: beam 2.4s var(--ease) .1s 1 both; }
.reveal-kicker { font-size: clamp(17px, 2.2vw, 21px); color: var(--on-dark-2); margin: 0 auto 6px; max-width: 680px; }
.rank-big { font: 700 clamp(56px, 18.4vw, 176px)/.98 var(--display); letter-spacing: -.065em; margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank-big em { font-style: normal; color: var(--gold); text-shadow: 0 0 34px rgba(243,197,81,.55), 0 0 90px rgba(243,197,81,.3); }
.rank-big .rank-n { display: inline-block; }
.rank-big.is-words { font-size: clamp(52px, 11vw, 112px); white-space: normal; color: var(--gold); text-shadow: 0 0 40px rgba(243,197,81,.35); }
.rank-big.is-long { font-size: clamp(44px, 13.6vw, 150px); }
.reveal-line { font-size: clamp(19px, 2.4vw, 24px); letter-spacing: -.015em; max-width: 680px; margin: clamp(18px, 3vw, 36px) auto 0; }
.reveal-sub { color: var(--on-dark-2); font-size: 15px; max-width: 560px; margin: 10px auto 0; }
.curve-fig { margin: 40px auto 0; max-width: 820px; }
.curve-box { position: relative; }
.curve { display: block; width: 100%; height: clamp(150px, 30vw, 250px); overflow: visible; }
.curve-line { fill: none; stroke: rgba(255,255,255,.62); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.curve-area { fill: url(#goldfade); }
.curve-base { stroke: rgba(255,255,255,.2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.curve-plot { position: relative; }
.curve-over { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.you-dot { fill: var(--gold); filter: drop-shadow(0 0 8px rgba(243,197,81,.95)); }
.you-halo { fill: rgba(243,197,81,.24); }
.you-label { fill: var(--gold); font: 700 14px var(--font); }
.ticks { display: block; width: 100%; height: 24px; overflow: visible; }
.ticks text { fill: var(--on-dark-3); font: 400 12.5px var(--font); font-variant-numeric: tabular-nums; }
figcaption { font-size: 13.5px; color: var(--on-dark-3); margin-top: 8px; }
.reveal.play .curve { animation: wipe 1.8s var(--ease) .35s both; }
.reveal.play .curve-area { opacity: 0; animation: fadein 1.2s var(--ease) 1.3s forwards; }
.reveal.play .you { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .7s var(--ease) 1.5s forwards; }
.reveal-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 40px; text-align: left; }
.keep { margin: 44px auto 0; max-width: 460px; }
.keep h2 { margin-bottom: 8px; }
.keep p { color: var(--on-dark-2); }
.keep .btn { margin-top: 12px; }
.reveal.play .seq { opacity: 0; animation: rise .8s var(--ease) forwards; }
.reveal.play .seq-1 { animation-delay: 1.45s; } .reveal.play .seq-2 { animation-delay: 1.6s; } .reveal.play .seq-3 { animation-delay: 1.75s; } .reveal.play .seq-4 { animation-delay: 1.95s; }

.sharebox { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.sharecard { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 20px; box-shadow: var(--shadow-float); background: var(--pine-900); }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--pine) var(--fill, 50%), var(--hair) var(--fill, 50%)); }
.range::-moz-range-track { height: 6px; border-radius: 999px; background: var(--hair); }
.range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--pine); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: 1px solid var(--edge); box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--edge); box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.range-marks { display: flex; justify-content: space-between; gap: 4px; margin-top: 4px; }
.range-marks button { background: none; border: 0; min-height: 44px; min-width: 44px; font: 600 13.5px/1.2 var(--font); color: var(--ink-2); cursor: pointer; padding: 0 4px; }
.readout { font: 700 clamp(30px, 5vw, 44px)/1.1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.readout.is-long { font-size: clamp(25px, 6.6vw, 40px); }
.readout.is-vlong { font-size: clamp(20px, 5.4vw, 36px); }
.readout.is-huge { font-size: clamp(16px, 4.4vw, 28px); }

/* ---------------------------------------------------------------- join, code, auth */
.auth { padding: 48px 0 80px; text-align: center; min-height: calc(100vh - 52px); }
.auth form { text-align: left; margin-top: 24px; }
.auth h1 { margin: 16px 0 10px; font-size: clamp(32px, 4.6vw, 46px); }
.auth .after-code, .auth .after-code form { text-align: center; }
.promises { list-style: none; margin: 32px 0 0; padding: 0; text-align: left; }
.promises li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); }
.promises .ico { color: var(--emerald); margin-top: 1px; }
.round-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: inline-grid; place-items: center; }
.code { position: relative; display: block; max-width: 360px; margin: 8px auto 0; }
.code-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.code-boxes span { aspect-ratio: 4 / 5; border-radius: var(--r-field); border: 1px solid var(--edge); background: #fff; display: grid; place-items: center; font: 700 28px/1 var(--display); font-variant-numeric: tabular-nums; }
.code input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 24px; letter-spacing: 1em; border: 0; }
.code input:focus ~ .code-boxes span.is-active { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(11,107,79,.22); }
html:not(.js) .code input { position: static; opacity: 1; border: 1px solid var(--line); border-radius: 12px; height: 60px; text-align: center; }
html:not(.js) .code-boxes { display: none; }
.code.is-wrong { animation: shake .5s var(--ease); }
.code.is-wrong .code-boxes span { border-color: var(--coral); }

/* ---------------------------------------------------------------- welcome */
.welcome { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 12px 0 24px; }
.welcome-top { display: flex; justify-content: flex-end; }
.welcome-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; align-items: stretch; }
.welcome-track::-webkit-scrollbar { display: none; }
.wcard { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 4px var(--pad); max-width: 100%; }
.wcard-in { max-width: 420px; width: 100%; margin: 0 auto; }
.wcard .art .rank-big { font-size: clamp(48px, 20cqw, 96px); margin: 6px 0 14px; }
.wcard .art .rank-big.is-long { font-size: clamp(36px, 15cqw, 76px); }
.wcard .art .rank-big.is-words { font-size: clamp(36px, 14cqw, 68px); }
.wcard .art { container-type: inline-size; border-radius: var(--r-hero); padding: 28px; margin-bottom: 28px; text-align: left; min-height: 280px; display: flex; flex-direction: column; justify-content: center; }
.wcard h2 { margin-bottom: 10px; }
.wcard-in > p { color: var(--ink-2); }
.on-dark .rank-big { color: #fff; }
.wcard .art p:not(.rank-big):not(.level-sm):not(.mid-figure) { margin-bottom: 8px; }
.wcard .on-dark p.muted { color: var(--on-dark-2); }
.dots { display: flex; justify-content: center; gap: 2px; margin: 12px 0; }
.dots button { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .35s var(--ease), background-color .35s; }
.dots button[aria-current="step"]::before { width: 22px; background: var(--pine); }
html:not(.js) .welcome-track { display: block; }
html:not(.js) .dots, html:not(.js) [data-next] { display: none; }

/* ---------------------------------------------------------------- My number */
.app { background: var(--mist); padding: 20px 0 64px; min-height: calc(100vh - 52px); }
.app-col { max-width: calc(720px + var(--pad) * 2); }
.app .panel { border: 0; }
.dash-hero { text-align: center; padding: 24px 24px 28px; }
.dash-meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--on-dark-2); text-align: left; }
.dash-greet { font: 700 clamp(21px, 3vw, 26px)/1.2 var(--display); letter-spacing: -.025em; margin: 18px 0 4px; }
.dash-hero .rank-big { font-size: clamp(52px, 16.4vw, 144px); margin: 10px 0 14px; }
.dash-hero .rank-big.is-long { font-size: clamp(40px, 12vw, 124px); }
.dash-hero .rank-big.is-words { font-size: clamp(44px, 11vw, 92px); }
.dash-of { color: var(--on-dark-2); }
.dash-hero .segmented { margin-top: 18px; }
.dash-change { margin-top: 18px; font-size: 15px; color: var(--on-dark-2); }
.dash-figure { margin-top: 20px; border-top: 1px solid var(--on-dark-line); padding-top: 20px; }
.dash-figure-label { font-size: 14px; color: var(--on-dark-2); }
.dash-figure-row { display: flex; align-items: center; justify-content: center; gap: 4px; }
.dash-figure { container-type: inline-size; }
.dash-amount { font: 700 clamp(36px, 7vw, 52px)/1.15 var(--display); font-size: min(52px, 13cqw); letter-spacing: -.045em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
/* Large-number currencies: shrink to stay on one line rather than break a figure in two. */
.dash-amount.is-long { font-size: min(44px, 9cqw); }
.dash-amount.is-vlong { font-size: min(36px, 7cqw); }
.dash-amount.is-huge { font-size: min(28px, 5.2cqw); }
.eye { width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; border-radius: 12px; }
.eye .eye-off { display: none; }
.eye[aria-pressed="true"] .eye-on { display: none; }
.eye[aria-pressed="true"] .eye-off { display: block; }
html.amounts-hidden .amt { filter: blur(.42em); user-select: none; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.dash-actions .btn { flex: 1 1 200px; max-width: 280px; }
.cards { display: grid; gap: 14px; margin-top: 14px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-2 > .span-2 { grid-column: 1 / -1; }
.up { color: var(--emerald); } .down { color: var(--coral); }
.on-dark .up { color: #7fe0bb; } .on-dark .down { color: #ffaa9a; }
.mid-figure { font: 700 clamp(30px, 5vw, 40px)/1.1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.made li { margin-top: 14px; }
.made { list-style: none; padding: 0; margin: 0; }
.made .between { font-size: 15px; margin-bottom: 6px; }
.spark { display: block; width: 100%; height: 110px; overflow: visible; }
.spark-line { fill: none; stroke: var(--emerald); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.spark-area { fill: url(#greenfade); }
.spark-dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(243,197,81,.3); }
.chart-box { position: relative; }
.chart-axis { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 56px 24px; }
.empty .btn { margin-top: 20px; }

/* ---------------------------------------------------------------- My plan and tools */
.plan-head { padding: 12px 4px 4px; }
.plan-head h1 { font-size: clamp(32px, 5vw, 48px); margin: 6px 0 10px; }
.rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.rates div { background: #fff; border-radius: 16px; padding: 14px; }
.rates dt { font-size: 13px; color: var(--ink-2); min-height: 2.6em; }
.rates dd { margin: 4px 0 0; font: 700 24px/1.1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.slider-card .readout { margin: 4px 0; }
.actions { list-style: none; margin: 0; padding: 0; }
.actions > li + li { border-top: 1px solid var(--hair); }
.actions .row { padding-left: 0; padding-right: 0; }
.actions a.row:hover { background: none; }
.actions a.row:hover strong { text-decoration: underline; }
.act-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--emerald); flex: none; }
.toolgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tool { background: #fff; border-radius: 18px; padding: 18px; color: var(--ink); text-decoration: none; min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; transition: transform .3s var(--ease); }
.tool:hover { transform: translateY(-2px); text-decoration: none; }
.tool .ico { color: var(--emerald); }
.tool strong { font-size: 15.5px; line-height: 1.3; }
.results { background: var(--mist); border-radius: var(--r-card); padding: 22px; }
.app .results { background: #fff; }
.results dl { margin: 0; }
.results dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.results dl > div:last-child { border-bottom: 0; }
.results dd { margin: 0 0 0 auto; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.signpost { font-size: 14px; color: var(--ink-2); padding: 20px 4px 0; }

/* ---------------------------------------------------------------- Index */
.index-top { text-align: center; padding-top: 28px; padding-bottom: 8px; }
.level { font: 700 clamp(72px, 17vw, 128px)/1 var(--display); letter-spacing: -.065em; font-variant-numeric: tabular-nums; margin-bottom: 0; }
.level-sm { font: 700 clamp(48px, 9vw, 72px)/1 var(--display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.deltas { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; margin-top: 8px; font-variant-numeric: tabular-nums; }
.linechart { display: block; width: 100%; height: 220px; overflow: visible; }
.join-row { display: flex; align-items: center; gap: 16px; }
.join-row .row-main strong { font-size: 18px; }
.countbar { max-width: 360px; margin: 20px auto 0; }

/* ---------------------------------------------------------------- content pages */
.page-head { padding-top: 64px; padding-bottom: 32px; text-align: center; }
.page-head p { margin-top: 14px; }
.prose { padding-bottom: var(--section); }
.prose h2 { margin: 48px 0 14px; font-size: clamp(24px, 3vw, 30px); }
.prose h3 { margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .tbl-scroll { margin: 20px 0; }
.tbl-wrap th, .tbl-wrap td { white-space: normal; vertical-align: top; }
.facts { margin: 0; }
.facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.formula { font: 400 17px/1.9 var(--font); background: var(--mist); border-radius: var(--r-field, 14px); padding: 16px 20px; overflow-x: auto; }
.countrylist { columns: 4 180px; column-gap: 24px; list-style: none; padding: 0; margin-top: 12px; }
.countrylist a { display: flex; align-items: center; min-height: 44px; break-inside: avoid; }
.country-hero h1, .shared-hero h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.orb-small .orb { width: min(520px, 110vw); top: -90px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; border-radius: var(--r-card); background: var(--mist); padding: 26px; color: var(--ink); text-decoration: none; }
.guide-card:hover { background: var(--hair); text-decoration: none; }
.guide-card span { color: var(--ink-2); font-size: 15px; }
.guide-featured { background: var(--pine); color: #fff; padding: 40px; }
.guide-featured:hover { background: var(--pine-700); }
.guide-featured span { color: var(--on-dark-2); }
.price { font: 700 clamp(36px, 6vw, 52px)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.tick-list { list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.tick-list li { display: flex; gap: 12px; padding: 8px 0; }
.tick-list .ico { color: var(--emerald); flex: none; margin-top: 2px; }
.on-dark .tick-list .ico { color: var(--gold); }
.error-page { text-align: center; padding-top: 120px; padding-bottom: 120px; }

/* ---------------------------------------------------------------- member forms */
.app-narrow { max-width: 720px; }
.app-narrow > form, .app-narrow form[data-number], .app-narrow form[data-accounts] { display: block; }
.app-narrow section.panel, .app-narrow form.panel, .app-narrow fieldset.panel, .app-narrow .results { margin-bottom: 16px; }
.span-2 { grid-column: 1 / -1; }
.modes { display: flex; gap: 4px; border: 0; margin: 0 0 16px; padding: 4px; background: #e8e8ed; border-radius: 999px; }
.modes label { flex: 1; position: relative; }
.modes input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.modes span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background-color .3s var(--ease); }
.modes input:checked + span { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.modes input:focus-visible + span { outline: 3px solid var(--emerald); outline-offset: 2px; }
.running { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; padding: 16px 22px; border-radius: var(--r-card); background: var(--pine-900); color: #fff; box-shadow: 0 12px 30px rgba(5,33,26,.28); }
.has-tabs .running { bottom: calc(80px + env(safe-area-inset-bottom)); }
.running { flex-wrap: wrap; }
.running strong { margin-left: auto; font: 700 clamp(20px, 6vw, 28px)/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: right; }
.account { min-width: 0; }
.result-head { font-size: clamp(20px, 6vw, 34px); margin-bottom: 12px; overflow-wrap: anywhere; }
.qr { width: 220px; height: 220px; border: 1px solid var(--hair); border-radius: var(--r-card); }
.secret { font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--ink); }
.giftcode { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.wrap-any { overflow-wrap: anywhere; min-width: 0; }

/* ---------------------------------------------------------------- founding */
.founding-hero { background: radial-gradient(120% 90% at 50% -10%, var(--pine-700) 0%, var(--pine-900) 70%); padding: 72px 0 56px; }
.founding-hero .lead { color: var(--on-dark-2); margin: 14px auto 0; max-width: 520px; }
.founding-count { margin-top: 32px; font-size: 19px; }
.founding-count strong { font: 700 56px/1 var(--display); letter-spacing: -.05em; color: var(--gold); margin-right: 6px; }
.tier.is-current { border: 2px solid var(--pine); }
.price small { font: 400 15px/1 var(--font); letter-spacing: 0; color: var(--ink-2); }
.on-dark .price small { color: var(--on-dark-2); }
.price.price-soon { font-size: clamp(22px, 3vw, 28px); line-height: 52px; letter-spacing: -.02em; color: var(--ink-2); }
.on-dark .price.price-soon { color: var(--on-dark-2); }
.error-mark { width: 56px; height: 56px; margin-bottom: 20px; }

/* ---------------------------------------------------------------- widget */
.code-sample { background: var(--mist); border-radius: var(--r-field); padding: 16px; overflow-x: auto; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.embed-preview { max-width: 100%; border: 1px solid var(--hair); border-radius: var(--r-card); }
.embed-by { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.embed-by .brand-mark { width: 22px; height: 22px; flex: none; }

/* ---------------------------------------------------------------- admin */
.admin h2 { font-size: 22px; margin: 36px 0 12px; }
.admin .tile .big { font-size: 28px; }
.status { display: inline-block; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 2px 10px; background: var(--mist); }
.status-ok { background: #e7f3ee; color: #08553f; }
.status-no { background: #fbeeeb; color: #8d2e1f; }

/* Embed widget */
.embed { max-width: 440px; margin: 0 auto; padding: 14px; }
.embed .capsule { border-radius: 22px; padding: 18px; }

/* Early access */
.early { max-width: 460px; margin: 24px auto 0; text-align: left; }
.inline-form { display: flex; gap: 8px; }
.inline-form .input { flex: 1; min-width: 0; }

/* Opt-in fields hidden from people, there to catch bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- motion */
.rise { animation: rise .8s var(--ease) both; }
.d1 { animation-delay: .04s; } .d2 { animation-delay: .1s; } .d3 { animation-delay: .16s; } .d4 { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: .68; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes sweep { to { transform: translateX(100%); } }
@keyframes wipe { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }
@keyframes pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes beam { 0% { opacity: 0; transform: rotate(-110deg); } 25% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; transform: rotate(110deg); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@view-transition { navigation: auto; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1068px) {
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-band { grid-template-columns: 1fr; padding: 32px; }
}

/* ---------------------------------------------------------------- home: the beacon */
.home-dark .topbar { background: rgba(6,35,31,.97); border-bottom-color: rgba(255,255,255,.1); }
.home-dark .topbar .brand, .home-dark .topbar .menu-btn, .home-dark .topnav a:not(.btn) { color: #fff; }
.home-dark .topnav .btn-pine { background: #ffd48a; color: #1b1503; }
.home-dark .topbar :focus-visible { outline-color: #ffd48a; }
.beacon-hero { position: relative; overflow: hidden; padding-top: 32px; background: radial-gradient(900px 620px at 76% 66%, #1c6a55 0%, #0b3a31 45%, #06231f 100%); }
.beacon-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 468px); grid-template-areas: "words card" "extras card"; grid-template-rows: auto 1fr; column-gap: 56px; align-items: start; position: relative; z-index: 2; }
.beacon-words { grid-area: words; }
.beacon-extras { grid-area: extras; margin-top: 16px; }
.beacon-top > .beacon-card { grid-area: card; }
.beacon-title { font-size: clamp(50px, 8.4vw, 100px); line-height: .98; letter-spacing: -.05em; margin-bottom: 24px; }
.beacon-words .lead { max-width: 540px; }
details.beacon-more > summary { justify-content: flex-start; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.beacon-more > .more-body { color: var(--on-dark-2); max-width: 540px; font-size: 15px; }
.beacon-card { max-width: none; width: 100%; background: #f7f8f4; color: var(--ink); border-radius: 28px; padding: 22px 26px; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.on-dark .beacon-card a:not(.btn) { color: var(--emerald); }
.beacon-card .muted, .beacon-card .fine { color: var(--ink-2); }
.beacon-card :focus-visible { outline-color: var(--emerald); }
.beacon-card .btn-text { color: var(--emerald); }
.beacon-card .capsule { background: transparent; padding: 0; border-radius: 0; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.beacon-card .amount-sym, .beacon-card .amount-input { font-size: 38px; }
.beacon-card .capsule-rule { margin: 8px 0 12px; }
.beacon-card .input, .beacon-card .select { min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
.beacon-card .capsule .btn { margin-top: 12px; min-height: 52px; }
.beacon-chip { display: inline-block; border: 1px solid #55635e; border-radius: 999px; padding: 2px 12px; font-size: 13px; color: #33443e; }
.beacon-result { container-type: inline-size; }
.beacon-big { font: 700 76px/1.04 var(--display); font-size: min(76px, 19cqw); letter-spacing: -.05em; margin: 6px 0 2px; white-space: nowrap; font-variant-numeric: tabular-nums; color: #0b241f; }
.beacon-big.is-words { font-size: min(56px, 14cqw); }
.beacon-line { margin: 0; color: #35504a; font-size: 16.5px; }
.beacon-chart { position: relative; height: clamp(220px, calc(100vh - 496px), 420px); margin: -40px 14px 0; }
.beacon-chart svg { display: block; width: 100%; height: 100%; max-width: none; }
.beacon-chart rect { transition: y .7s var(--ease), height .7s var(--ease); }
.beacon-chart .past { fill: url(#bar-past); }
.beacon-chart .ahead { fill: url(#bar-ahead); }
.beacon-chart .you-bar { fill: url(#bar-you); }
.bars { transform-box: view-box; transform-origin: 0 100%; animation: bar-rise 1s var(--ease) backwards; }
.bars.g1 { animation-delay: .07s; } .bars.g2 { animation-delay: .14s; } .bars.g3 { animation-delay: .21s; } .bars.g4 { animation-delay: .28s; }
.bars.g5 { animation-delay: .35s; } .bars.g6 { animation-delay: .42s; } .bars.g7 { animation-delay: .49s; } .bars.g8 { animation-delay: .56s; } .bars.g9 { animation-delay: .63s; }
@keyframes bar-rise { from { transform: scaleY(0); } }
.beacon-mark { display: none; position: absolute; left: var(--x, 50%); top: var(--y, 80%); width: 0; height: 0; pointer-events: none; transition: left .9s var(--ease), top .9s var(--ease); }
.js .beacon-mark { display: block; animation: sweep-in 1.8s var(--ease) backwards; }
@keyframes glimmer { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes sweep-in { from { left: 0; opacity: 0; } 20% { opacity: 1; } }
.beacon-ray { position: absolute; left: -70px; bottom: 0; width: 140px; height: 520px; background: linear-gradient(to top, rgba(255,212,138,.52), rgba(255,212,138,0)); clip-path: polygon(0 0, 100% 0, 52% 100%, 48% 100%); animation: glimmer 3.6s ease-in-out infinite; }
.beacon-lamp { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #fff6e2; box-shadow: 0 0 18px 10px rgba(255,200,110,.75), 0 0 54px 26px rgba(255,184,77,.3); }
.beacon-mark span { position: absolute; right: 24px; bottom: 22px; white-space: nowrap; background: #ffd48a; color: #1b1503; border-radius: 12px; padding: 9px 15px; font-weight: 700; font-size: 15px; }
.beacon-mark.flip span { right: auto; left: 24px; }
.beacon-mark.low span { bottom: auto; top: 14px; }
.beacon-axis { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 30px; font-size: 14px; color: var(--on-dark-2); position: relative; }
.beacon-axis p { margin: 0; text-align: center; max-width: 620px; }
.beacon-axis > span { white-space: nowrap; }
@media (min-width: 961px) and (max-height: 760px) {
  .beacon-hero { padding-top: 14px; }
  .beacon-card { padding-top: 14px; padding-bottom: 14px; }
  .beacon-big { font-size: min(60px, 15cqw); margin-top: 2px; }
  .beacon-big.is-words { font-size: min(48px, 12cqw); }
  .beacon-card .amount-sym, .beacon-card .amount-input { font-size: 30px; }
  .beacon-card .capsule { margin-top: 8px; padding-top: 8px; }
  .beacon-card .capsule-rule { margin: 4px 0 8px; }
  .beacon-card .input, .beacon-card .select { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  .beacon-card .capsule .btn { margin-top: 10px; min-height: 46px; }
}
@media (max-width: 960px) {
  .beacon-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "words" "card" "extras"; grid-template-rows: auto; row-gap: 24px; }
  .beacon-extras { text-align: center; margin-top: -4px; }
  .beacon-card { max-width: 520px; justify-self: center; }
  .beacon-words { text-align: center; }
  .beacon-words .lead, .beacon-more > .more-body { margin-left: auto; margin-right: auto; margin-bottom: 0; }
  details.beacon-more > summary { justify-content: center; }
  .beacon-chart { height: clamp(230px, 40vw, 360px); margin-top: 20px; }
}
@media (max-width: 734px) {
  .beacon-hero { padding-top: 32px; }
  .beacon-title { margin-bottom: 14px; }
  .beacon-card { padding: 20px; }
  .beacon-ray { height: 260px; left: -40px; width: 80px; }
  .beacon-axis { flex-wrap: wrap; font-size: 13px; }
  .beacon-axis p { order: 3; width: 100%; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 734px) {
  :root { --pad: 20px; --section: 64px; }
  .topnav a.navlink { display: none; }
  .home-hero { padding: 40px 0 24px; }
  .capsule { padding: 18px; border-radius: 28px; }
  .btn-phone-block, .keep .btn { width: 100%; }
  .grid-2, .grid-3, .morning, .sharebox, .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .morning { gap: 40px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-dark { padding: 24px 18px; }
  .guide-featured { padding: 28px; }
  .inline-form { flex-direction: column; }
  .has-tabs { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .has-tabs .tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); view-transition-name: tabbar; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; font-size: 11px; letter-spacing: -.01em; white-space: nowrap; font-weight: 600; color: var(--ink-2); text-decoration: none; }
  .tabbar a[aria-current="page"] { color: var(--pine); }
  .tabbar a[aria-current="page"] .ico { stroke-width: 2.3; }
  .rates { gap: 6px; }
  .rates div { padding: 12px 10px; }
  .rates dd { font-size: 20px; }
  .tbl-compact th, .tbl-compact td { padding: 12px 10px; font-size: 14px; }
  .hide-phone { display: none; }
  .foot li a { min-height: 44px; min-width: 44px; }
  .tbl-scroll td a, .tbl-scroll th a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .tbl-scroll tbody tr:has(a) > * { padding-top: 2px; padding-bottom: 2px; }
}
@media (max-width: 360px) {
  .capsule-row { grid-template-columns: minmax(0, 1fr); }
  .topbar .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .topbar .brand { min-width: 44px; }
  .topbar-in { gap: 8px; }
  .topnav .btn { padding: 0 14px; }
  .segmented button { padding: 0 10px; }
  .code-boxes { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .phone-rise, .reveal.play .seq, .reveal.play .curve-area, .reveal.play .you { opacity: 1 !important; transform: none !important; }
  .beam { display: none; }
  @view-transition { navigation: none; }
}
@media print { .topbar, .tabbar, .foot, .beam { display: none !important; } }

/* income comparisons */
.household { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; align-items: end; }
.household .field { margin: 0; }
.household .span-all { grid-column: 1 / -1; }
.income-out p { margin-top: 12px; }
.income-out p:first-child { margin-top: 20px; font-size: 1.0625rem; }
.income-out .source { font-size: .8125rem; }

/* Spacing helpers come last, so a component's own margin never cancels them. */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.idx-invite { font: 700 clamp(22px, 3vw, 26px)/1.2 var(--display); letter-spacing: -.03em; margin-bottom: 6px; }

/* ---------------------------------------------------------------- display settings (Account, saved on the device) */
html.t-large body { zoom: 1.15; }
html.t-contrast { --ink-2: #2c2c30; --edge: #4a4a4f; --line: #6e6e73; --hair: #b8b8bd; --on-dark-2: rgba(255,255,255,.95); --on-dark-3: rgba(255,255,255,.9); }
html.t-contrast .muted, html.t-contrast .source, html.t-contrast .fine { color: var(--ink-2); }
html.t-contrast a { text-decoration-thickness: 2px; }
html.t-still *, html.t-still *::before, html.t-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 14px; margin: 20px 0 12px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.passkey-in[hidden], [data-passkey-box] [hidden] { display: none; }
.switches .check { min-height: 40px; }
