/* ==================================================================
   PAYDEX — LANDING  ·  light  ·  "Cream & Forest"

   Palette note: the ground is warm cream, never white. Every shadow is
   tinted brown rather than blue-black, because a cool shadow over a
   warm ground is the single fastest way to make a cream page look like
   a white page someone tea-stained by accident.

   Structure: the hero pairs an illustrated scene with a working
   calculator deck; plans are a comparison matrix rather than pricing
   cards; one deep-green slab breaks the page mid-scroll; CTA and
   footer are a single continuous block.

   All artwork is inline SVG drawn against these tokens — no image
   files, so it recolours with the palette and stays sharp at any DPI.
   Bootstrap is deliberately not loaded: it owns .card, .btn, .container.
   ================================================================== */
:root {
    --bg: #F7F2E8;
    --bg-2: #EFE7D8;
    --surface: #FFFCF6;
    --hairline: #E3D9C6;
    --line-2: #D3C6AC;

    --ink: #12241C;
    --t2: #33463C;
    --t3: #4A5B51;
    --t4: #7C8B80;

    --brand: #1B6B4A;
    --brand-2: #2E9E6B;
    --brand-deep: #0E4630;
    --brand-wash: #E4EFE6;
    --accent: #C8873A;
    --accent-wash: #F6E9D5;
    --up: #2E9E6B;
    --down: #C0503C;

    /* deep slab */
    --d-bg: #0E2119;
    --d-2: #16301F;
    --d-line: #24412F;
    --d-t1: #F4F1E6;
    --d-t2: #A7BBAB;
    --d-t3: #728A78;

    /* warm-tinted elevation, two layers each */
    --sh-1: 0 1px 2px rgba(50,35,15,.05), 0 1px 3px rgba(50,35,15,.05);
    --sh-2: 0 4px 12px -2px rgba(50,35,15,.07), 0 14px 32px -10px rgba(50,35,15,.12);
    --sh-3: 0 20px 50px -14px rgba(50,35,15,.20), 0 3px 10px rgba(50,35,15,.06);
    --sh-brand: 0 12px 26px -10px rgba(27,107,74,.55);

    --shell: 1180px;
    --r: 18px;

    --display: 'Fraunces', 'Space Grotesk', ui-serif, Georgia, serif;
    --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--t3);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; }

/* paper grain — cream wants more of it than white does */
body::after {
    content: '';
    position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 28px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ── decorative background artwork ──────────────────────────────── */
.blob { position: absolute; pointer-events: none; z-index: 0; }
.contour {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    color: var(--line-2); opacity: .5;
}

.tag {
    font-family: var(--mono); font-size: .688rem; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
    display: inline-flex; align-items: center; gap: 9px;
}
.tag::before { content: ''; width: 20px; height: 2px; border-radius: 1px; background: var(--accent); flex-shrink: 0; }
.tag.bare::before { display: none; }

.sec { padding: 104px 0; position: relative; overflow-x: clip; }
.sec > .shell { position: relative; z-index: 1; }
.sec-title {
    font-family: var(--display); font-weight: 600; color: var(--ink);
    font-size: clamp(1.875rem, 3.2vw, 2.625rem); letter-spacing: -.022em;
    line-height: 1.12; margin: 18px 0 0; max-width: 20ch;
}
.sec-lede { font-size: .969rem; color: var(--t3); margin: 16px 0 0; max-width: 54ch; }

/* ── buttons ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
    font-size: .875rem; font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: background .16s, border-color .16s, color .16s, box-shadow .16s, transform .16s;
}
.btn-primary { background: var(--brand); color: #FFFCF6; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(18,36,28,.04); }
.btn-accent { background: var(--accent); color: #2A1B09; }
.btn-accent:hover { background: #B4762C; transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .813rem; }
.btn-block { width: 100%; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #FFFCF6; transform: translateY(-1px); }

/* ══ TOPBAR ═══════════════════════════════════════════════════════ */
.topbar { background: var(--d-bg); color: var(--d-t3); font-family: var(--mono); font-size: .688rem; letter-spacing: .05em; position: relative; z-index: 40; }
.topbar .shell { display: flex; align-items: center; gap: 24px; height: 36px; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.topbar b { color: #6FD3A0; font-weight: 500; }
.topbar i { width: 5px; height: 5px; border-radius: 50%; background: #6FD3A0; display: inline-block; margin-right: 8px; vertical-align: 1px; }
.topbar a:hover { color: var(--d-t1); }

/* ══ HEADER ═══════════════════════════════════════════════════════ */
.head {
    position: sticky; top: 0; z-index: 30;
    background: rgba(247,242,232,.85);
    -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid var(--hairline);
}
.head .shell { display: flex; align-items: center; gap: 12px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: 34px; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name { font-family: var(--display); font-size: 1.188rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-size: .875rem; font-weight: 500; color: var(--t3); transition: color .15s; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -26px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.head .acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.burger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); place-items: center; cursor: pointer; }

.drawer { position: fixed; inset: 0; z-index: 60; overflow: hidden; background: rgba(14,33,25,.5); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer.on { opacity: 1; visibility: visible; }
.drawer-panel {
    position: absolute; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--bg);
    padding: 20px; display: flex; flex-direction: column; gap: 2px;
    transform: translateX(100%); transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.drawer.on .drawer-panel { transform: none; }
.drawer-panel a.dl { padding: 14px 12px; font-weight: 500; color: var(--t2); border-bottom: 1px solid var(--hairline); }
.drawer-panel a.dl:hover { color: var(--brand); }
.drawer-head { display: flex; align-items: center; margin-bottom: 12px; }
.drawer-close { margin-left: auto; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--t3); }

/* ══ HERO ═════════════════════════════════════════════════════════ */
.hero { padding: 72px 0 0; position: relative; overflow: hidden; }
.hero .shell { position: relative; z-index: 2; }
.hero-top { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); gap: 48px; align-items: center; }

.hero h1 {
    font-family: var(--display); font-weight: 600; color: var(--ink);
    font-size: clamp(2.375rem, 4.6vw, 3.625rem); letter-spacing: -.028em; line-height: 1.04;
    margin: 20px 0 0;
}
.hero h1 em {
    font-style: italic; color: var(--brand); position: relative; white-space: nowrap;
}
.hero .lede { font-size: 1.031rem; color: var(--t3); margin: 22px 0 0; max-width: 46ch; }
.hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* width:100% matters: with margin:0 auto on narrow screens the box would
   shrink to its content, and an <svg> sized 100% of that falls back to the
   300px default, so every max-width below would silently do nothing. */
.hero-art { position: relative; width: 100%; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.float-a { animation: bobA 7s ease-in-out infinite; }
.float-b { animation: bobA 8.5s ease-in-out infinite 1.1s; }
.float-c { animation: bobA 6.4s ease-in-out infinite .6s; }
.spin-slow { animation: spin 46s linear infinite; transform-origin: 250px 250px; }
@keyframes bobA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── control deck ───────────────────────────────────────────────── */
.deck {
    margin-top: 60px; background: var(--surface);
    border: 1px solid var(--hairline); border-radius: 22px; box-shadow: var(--sh-2);
    overflow: hidden; position: relative; z-index: 2;
}
.deck-grid { display: grid; grid-template-columns: 1fr 1.22fr 1fr; }
.deck-cell { padding: 28px 30px; border-right: 1px solid var(--hairline); }
.deck-cell:last-child { border-right: 0; }
.deck-cell.out { background: var(--d-bg); color: var(--d-t1); position: relative; overflow: hidden; }
.deck-cell.out::before {
    content: ''; position: absolute; inset: 0; opacity: .8;
    background: radial-gradient(380px 200px at 88% 0%, rgba(46,158,107,.34), transparent 70%);
}
.deck-cell.out > * { position: relative; z-index: 1; }

.deck-lbl { font-family: var(--mono); font-size: .656rem; letter-spacing: .16em; text-transform: uppercase; color: var(--t4); margin: 0 0 16px; }
.deck-cell.out .deck-lbl { color: var(--d-t3); }

.amt-wrap { display: flex; align-items: baseline; gap: 5px; border-bottom: 2px solid var(--hairline); padding-bottom: 8px; transition: border-color .16s; }
.amt-wrap:focus-within { border-color: var(--brand); }
.amt-wrap > span { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; color: var(--t4); }
.amt-wrap input {
    border: 0; background: transparent; outline: none; width: 100%; padding: 0;
    font-family: var(--mono); font-size: 1.875rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em;
}
.amt-wrap input::-webkit-outer-spin-button, .amt-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amt-wrap input[type=number] { -moz-appearance: textfield; }
.deck-note { font-family: var(--mono); font-size: .688rem; color: var(--t4); margin: 12px 0 0; }

.segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.seg {
    border: 1px solid var(--hairline); background: var(--bg); border-radius: 13px;
    padding: 12px 10px 11px; text-align: left; cursor: pointer;
    transition: border-color .16s, background .16s, box-shadow .16s;
}
.seg:hover { border-color: var(--line-2); }
.seg.on { border-color: var(--brand); background: var(--brand-wash); box-shadow: 0 0 0 3px rgba(27,107,74,.1); }
.seg b { display: block; font-size: .813rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.seg span { display: block; font-family: var(--mono); font-size: .688rem; color: var(--t4); margin-top: 3px; }
.seg.on span { color: var(--brand); }

.out-big { font-family: var(--mono); font-size: 2.375rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin: 0; color: var(--d-t1); }
.out-rows { display: grid; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--d-line); }
.out-rows > div { display: flex; align-items: center; justify-content: space-between; font-size: .813rem; }
.out-rows > div > span { color: var(--d-t3); }
.out-rows b { font-family: var(--mono); font-weight: 500; color: var(--d-t1); }
.out-rows b.up { color: #6FD3A0; }

/* ── payout tick strip ──────────────────────────────────────────── */
.ticks-bar { border-top: 1px solid var(--hairline); padding: 18px 30px; display: flex; align-items: center; gap: 22px; background: var(--bg); }
.ticks { display: flex; align-items: flex-end; gap: 3px; flex: 1; min-width: 0; height: 28px; }
/* Every tick is one payout, all equal — nothing has elapsed yet, so
   shading a leading portion would be a progress bar that lies. Only
   the final tick differs: that is the one that returns the principal. */
.ticks i {
    flex: 1 1 0; min-width: 2px; background: var(--brand); border-radius: 2px; display: block;
    height: 100%; opacity: .45;
    animation: tickIn .5s cubic-bezier(.2,.7,.3,1) both;
}
.ticks i.last { background: var(--accent); opacity: 1; }
@keyframes tickIn { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.ticks-txt { font-family: var(--mono); font-size: .719rem; color: var(--t4); white-space: nowrap; }
.ticks-txt b { color: var(--ink); font-weight: 500; }

/* ══ SETTLEMENT ═══════════════════════════════════════════════════ */
.settle { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin-top: 96px; background: var(--bg-2); }
.settle .shell { display: flex; align-items: center; gap: 28px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.settle .coins { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-left: auto; }
.settle .c { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .781rem; color: var(--t2); }
.settle .c small { color: var(--t4); font-size: .688rem; }

/* ══ PLAN CARDS ══════════════════════════════════════════════════
   A comparison table was accurate and dull. These carry the same seven
   figures, but the rate leads, the term is drawn as a ring, and the
   payout count is the same tick strip the hero uses — so the page has
   one visual language for "this pays four times a day".
   ═══════════════════════════════════════════════════════════════ */
.plans { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0,1fr)); gap: 22px; margin-top: 52px; align-items: start; }

.plan {
    position: relative; border-radius: 26px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--hairline);
    box-shadow: var(--sh-1);
    display: flex; flex-direction: column;
    transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease, border-color .26s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--line-2); }

/* the featured term inverts: deep green, raised, and it stays raised */
.plan.feat {
    background: var(--d-bg); border-color: var(--brand-deep);
    box-shadow: 0 26px 60px -18px rgba(14,33,25,.55);
    transform: translateY(-14px);
}
.plan.feat:hover { transform: translateY(-20px); box-shadow: 0 34px 72px -18px rgba(14,33,25,.62); }

.plan-head { position: relative; padding: 26px 26px 0; overflow: hidden; }
.plan-head::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(var(--line-2) 1.3px, transparent 1.3px);
    background-size: 18px 18px; opacity: .5;
    -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent);
}
.plan.feat .plan-head::before { background-image: radial-gradient(#2E6B4D 1.3px, transparent 1.3px); opacity: .55; }
.plan-head > * { position: relative; z-index: 1; }

.plan-top { display: flex; align-items: flex-start; gap: 14px; }
.plan-emblem { width: 52px; height: 52px; flex-shrink: 0; }
.plan-name { font-family: var(--display); font-size: 1.375rem; font-weight: 600; color: var(--ink); letter-spacing: -.022em; margin: 0; line-height: 1.1; }
.plan.feat .plan-name { color: var(--d-t1); }
.plan-range { font-family: var(--mono); font-size: .719rem; color: var(--t4); margin: 6px 0 0; }
.plan.feat .plan-range { color: var(--d-t3); }

.plan-ribbon {
    position: absolute; top: 20px; right: 20px; z-index: 2;
    font-family: var(--mono); font-size: .594rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    color: #2A1B09; background: var(--accent); padding: 5px 11px; border-radius: 999px;
}

/* rate, with the term drawn as a ring beside it */
.plan-rate { display: flex; align-items: center; gap: 18px; padding: 24px 26px 22px; }
.plan-rate-n { display: flex; align-items: baseline; gap: 7px; }
.plan-rate-n b {
    font-family: var(--mono); font-size: 2.875rem; font-weight: 600; color: var(--brand);
    letter-spacing: -.05em; line-height: 1;
}
.plan.feat .plan-rate-n b { color: #6FD3A0; }
.plan-rate-n span { font-size: .781rem; color: var(--t4); font-weight: 500; }
.plan.feat .plan-rate-n span { color: var(--d-t3); }
.plan-ring { margin-left: auto; width: 62px; height: 62px; flex-shrink: 0; position: relative; }
.plan-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.plan-ring b {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--mono); font-size: .813rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em;
}
.plan.feat .plan-ring b { color: var(--d-t1); }

/* the payout strip, same language as the hero deck */
.plan-ticks { padding: 0 26px 20px; }
.plan-ticks .ticks { height: 22px; }
.plan-ticks .ticks i { opacity: .38; }
.plan.feat .plan-ticks .ticks i { background: #6FD3A0; opacity: .34; }
.plan.feat .plan-ticks .ticks i.last { background: var(--accent); opacity: 1; }
.plan-ticks p { font-family: var(--mono); font-size: .688rem; color: var(--t4); margin: 10px 0 0; }
.plan.feat .plan-ticks p { color: var(--d-t3); }

.plan-list { list-style: none; margin: 0; padding: 4px 26px 26px; display: grid; gap: 13px; border-top: 1px solid var(--hairline); padding-top: 22px; }
.plan.feat .plan-list { border-top-color: var(--d-line); }
.plan-list li { display: flex; align-items: center; gap: 11px; font-size: .875rem; color: var(--t2); }
.plan.feat .plan-list li { color: var(--d-t2); }
.plan-list svg { flex-shrink: 0; color: var(--up); }
.plan.feat .plan-list svg { color: #6FD3A0; }
.plan-list b { margin-left: auto; font-family: var(--mono); font-weight: 600; font-size: .813rem; color: var(--ink); }
.plan.feat .plan-list b { color: var(--d-t1); }

.plan-foot { margin-top: auto; padding: 0 26px 26px; }
.plan.feat .btn-ghost { border-color: #2F5640; color: var(--d-t1); }
.plan.feat .btn-ghost:hover { border-color: #6FD3A0; background: rgba(111,211,160,.1); }

/* ══ DEEP SLAB ════════════════════════════════════════════════════ */
.band { background: var(--d-bg); color: var(--d-t2); padding: 104px 0; position: relative; overflow: hidden; }
.band::before {
    content: ''; position: absolute; inset: 0; opacity: .75;
    background: radial-gradient(760px 360px at 84% -8%, rgba(46,158,107,.30), transparent 68%),
                radial-gradient(520px 300px at 8% 104%, rgba(200,135,58,.18), transparent 70%);
}
.band .shell { position: relative; z-index: 1; }
.band .tag { color: #6FD3A0; }
.band .tag::before { background: var(--accent); }
.band .sec-title { color: var(--d-t1); }
.band .sec-lede { color: var(--d-t2); }

.flow { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 26px; margin-top: 60px; }
.flow-step { position: relative; }
.flow-art {
    width: 100%; aspect-ratio: 1 / .78; border-radius: 18px; margin-bottom: 20px;
    background: var(--d-2); border: 1px solid var(--d-line); overflow: hidden;
    display: grid; place-items: center; padding: 14px;
}
.flow-art svg { width: 100%; height: 100%; }
.flow-n { font-family: var(--mono); font-size: .719rem; color: var(--accent); letter-spacing: .12em; }
.flow-step h3 { font-family: var(--display); font-size: 1.125rem; font-weight: 600; color: var(--d-t1); letter-spacing: -.02em; margin: 12px 0 9px; }
.flow-step p { font-size: .875rem; color: var(--d-t2); margin: 0; }

/* ══ EDITORIAL LIST ═══════════════════════════════════════════════ */
.editorial { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 72px; align-items: start; }
.editorial-head { position: sticky; top: 112px; }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ed-card {
    background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px;
    padding: 26px 24px 24px; box-shadow: var(--sh-1);
    transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.ed-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--line-2); }
.ed-art { width: 92px; height: 92px; margin-bottom: 18px; }
.ed-card h3 { font-family: var(--display); font-size: 1.063rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin: 0 0 8px; }
.ed-card p { margin: 0; font-size: .875rem; color: var(--t3); }

/* ══ LEDGER STRIP ═════════════════════════════════════════════════ */
.ledger { margin-top: 48px; border: 1px solid var(--hairline); border-radius: 22px; background: var(--surface); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; box-shadow: var(--sh-2); }
.led { padding: 32px 28px; border-right: 1px solid var(--hairline); }
.led:last-child { border-right: 0; }
.led-k { font-family: var(--mono); font-size: .656rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t4); margin: 0 0 14px; }
.led-v { font-family: var(--mono); font-size: 1.875rem; font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.led-d { font-family: var(--mono); font-size: .719rem; color: var(--up); margin: 12px 0 0; display: flex; align-items: center; gap: 6px; }
.led-spark { margin-top: 16px; height: 30px; width: 100%; }

/* ══ AFFILIATE ════════════════════════════════════════════════════ */
.aff { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 64px; align-items: center; }
.tiers { display: grid; gap: 12px; margin-top: 34px; }
.tier {
    display: flex; align-items: center; gap: 18px; padding: 18px 22px;
    background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px;
    box-shadow: var(--sh-1);
}
.tier-badge { width: 44px; height: 44px; flex-shrink: 0; }
.tier-t b { display: block; font-size: .938rem; font-weight: 600; color: var(--ink); }
.tier-t span { display: block; font-size: .844rem; color: var(--t4); }
.tier-p { margin-left: auto; font-family: var(--mono); font-size: 1.625rem; font-weight: 600; color: var(--brand); letter-spacing: -.04em; }
.tier:first-child .tier-p { color: var(--accent); }

/* ══ FAQ ══════════════════════════════════════════════════════════ */
.faq-list { border-top: 1px solid var(--hairline); }
.faq { border-bottom: 1px solid var(--hairline); }
.faq summary {
    list-style: none; cursor: pointer; padding: 22px 0;
    display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
    font-size: .969rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-n { font-family: var(--mono); font-size: .75rem; font-weight: 400; color: var(--accent); }
.faq-x { width: 18px; height: 18px; flex-shrink: 0; position: relative; }
.faq-x::before, .faq-x::after { content: ''; position: absolute; background: var(--t3); transition: transform .24s ease; }
.faq-x::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-x::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq[open] .faq-x::after { transform: rotate(90deg); }
.faq[open] summary { color: var(--brand); }
.faq-a { margin: 0; padding: 0 56px 26px 44px; font-size: .906rem; color: var(--t3); max-width: 70ch; }

/* ══ CLOSING SLAB ═════════════════════════════════════════════════ */
.closing { background: var(--d-bg); color: var(--d-t2); position: relative; overflow: hidden; }
.closing-foot { padding-top: 0; }
.closing-cta::before {
    content: ''; position: absolute; inset: 0 0 auto; height: 560px; opacity: .8;
    background: radial-gradient(820px 400px at 20% 0%, rgba(46,158,107,.30), transparent 66%),
                radial-gradient(640px 340px at 92% 18%, rgba(200,135,58,.20), transparent 70%);
}
.closing .shell { position: relative; z-index: 1; }
.cta-in { padding: 100px 0 88px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.7fr); gap: 56px; align-items: center; }
.cta-in h2 { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 600; color: var(--d-t1); letter-spacing: -.028em; line-height: 1.06; margin: 20px 0 0; max-width: 17ch; }
.cta-in > div > p { color: var(--d-t2); font-size: 1rem; margin: 20px 0 0; max-width: 44ch; }
.cta-acts { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cta-fine { font-family: var(--mono); font-size: .719rem; color: var(--d-t3); margin: 20px 0 0; max-width: 40ch; line-height: 1.75; }
.cta-art svg { width: 100%; height: auto; overflow: visible; }

.foot { border-top: 1px solid var(--d-line); padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot .brand-name { color: var(--d-t1); }
.foot-about { font-size: .875rem; margin: 18px 0 0; max-width: 34ch; color: var(--d-t2); }
.foot h4 { font-family: var(--mono); font-size: .656rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--d-t3); margin: 0 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot ul a { font-size: .875rem; color: var(--d-t2); transition: color .15s; }
.foot ul a:hover { color: var(--d-t1); }
.foot-bot { border-top: 1px solid var(--d-line); padding: 22px 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: .719rem; color: var(--d-t3); }
.socials { margin-left: auto; display: flex; gap: 16px; }
.socials a { color: var(--d-t3); transition: color .15s; }
.socials a:hover { color: var(--d-t1); }

/* ══ MOTION ═══════════════════════════════════════════════════════ */
/* Opt-in, not opt-out: the hidden state only exists once the script
   confirms it can un-hide. No JS, a stalled observer or a missing
   IntersectionObserver all degrade to "no animation" rather than to a
   page of invisible sections. */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s cubic-bezier(.2,.6,.2,1), transform .55s cubic-bezier(.2,.6,.2,1); }
.js-reveal .reveal.on { opacity: 1; transform: none; }

/* ══ RESPONSIVE ═══════════════════════════════════════════════════ */
@media (max-width: 1023px) {
    .sec, .band { padding: 80px 0; }
    .hero { padding-top: 52px; }
    .hero-top { grid-template-columns: 1fr; gap: 40px; }
    .hero-art { max-width: 460px; margin: 0 auto; }
    .hero .lede { max-width: none; }
    .deck { margin-top: 44px; }
    .deck-grid { grid-template-columns: 1fr 1fr; }
    .deck-cell.out { grid-column: span 2; border-top: 1px solid var(--hairline); }
    .editorial { grid-template-columns: 1fr; gap: 40px; }
    .editorial-head { position: static; }
    .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
    .plan, .plan.feat, .plan:hover, .plan.feat:hover { transform: none; }
    .flow { grid-template-columns: 1fr 1fr; gap: 30px; }
    .ledger { grid-template-columns: 1fr 1fr; }
    .led:nth-child(2) { border-right: 0; }
    .led:nth-child(n+3) { border-top: 1px solid var(--hairline); }
    .aff { grid-template-columns: 1fr; gap: 44px; }
    .cta-in { grid-template-columns: 1fr; gap: 40px; }
    .cta-art { max-width: 380px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .burger { display: grid; }
    .head .acts .btn-ghost { display: none; }
    .settle { margin-top: 72px; }
}

@media (max-width: 767px) {
    body { font-size: 14.5px; }
    .shell { padding: 0 18px; }
    .sec, .band { padding: 56px 0; }
    .topbar .shell { height: auto; padding-top: 8px; padding-bottom: 8px; gap: 14px; }
    .topbar .hide-sm { display: none; }

    /* Header: mark and menu only. The CTA was eating half the bar and it
       already appears in the hero and inside the drawer, so a phone was
       being shown the same button three times. */
    .head .shell { height: 62px; }
    .head .acts .btn { display: none; }
    .brand { margin-right: 0; }
    .brand-mark { width: 32px; height: 32px; }
    .brand-name { font-size: 1.063rem; }

    /* ── hero ── */
    .hero { padding-top: 30px; }
    .hero-top { gap: 30px; }
    .hero .tag { font-size: .625rem; letter-spacing: .1em; gap: 7px; }
    .hero .tag::before { width: 14px; }
    .hero h1 { font-size: 2.125rem; margin-top: 16px; max-width: none; }
    .hero .lede { font-size: .969rem; margin-top: 16px; }
    .hero .cta { width: 100%; margin-top: 24px; gap: 10px; flex-direction: column; }
    .hero .cta .btn { width: 100%; }
    /* the second action is a choice, not a peer — it should not carry the
       same visual weight as the one we want tapped */
    .hero .cta .btn-ghost { height: 44px; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
    .hero-art { max-width: 260px; }

    /* ── deck ── */
    .deck { margin-top: 30px; border-radius: 18px; }
    .deck-grid { grid-template-columns: 1fr; }
    .deck-cell { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 20px; }
    .deck-cell.out { grid-column: span 1; border-bottom: 0; }
    .amt-wrap input { font-size: 1.625rem; }
    .segs { gap: 5px; }
    .seg { padding: 10px 8px 9px; border-radius: 11px; }
    .seg b { font-size: .75rem; }
    .seg span { font-size: .625rem; }
    .out-big { font-size: 2rem; }

    /* The strip is this product's signature and it was collapsing to zero
       height: `flex:1` resolves against the MAIN axis, so once .ticks-bar
       turned into a column the basis of 0 became the height. Pin it. */
    .ticks-bar { padding: 16px 20px; flex-direction: column; align-items: stretch; gap: 12px; }
    .ticks { flex: 0 0 auto; width: 100%; height: 24px; }
    .ticks-txt { white-space: normal; line-height: 1.5; }

    /* ── settlement ── */
    .settle { margin-top: 52px; }
    .settle .shell { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
    .settle .coins { margin-left: 0; gap: 10px 16px; }
    .settle .c { font-size: .719rem; gap: 7px; }
    .settle .c svg { width: 15px; height: 15px; }

    /* ── plan cards ── */
    .plans { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
    /* nothing floats on a phone: the raised featured card only opens a gap
       and makes the stack look misaligned */
    .plan, .plan.feat, .plan:hover, .plan.feat:hover { transform: none; }
    .plan-head { padding: 20px 20px 0; }
    .plan-rate { padding: 18px 20px 16px; }
    .plan-rate-n b { font-size: 2.375rem; }
    .plan-ring { width: 54px; height: 54px; }
    .plan-ticks { padding: 0 20px 16px; }
    .plan-ticks .ticks { height: 18px; }
    .plan-list { padding: 18px 20px 20px; gap: 11px; }
    .plan-foot { padding: 0 20px 20px; }

    /* ── steps: art beside the words, not a billboard above them ──
       Four full-width 276px tiles pushed this section past two screens for
       eight lines of copy. Side by side it reads in one. */
    .flow { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
    .flow-step {
        display: grid; grid-template-columns: 64px 1fr; column-gap: 16px;
        align-items: start; padding: 20px 0; border-top: 1px solid var(--d-line);
    }
    .flow-step:first-child { border-top: 0; }
    .flow-art {
        grid-column: 1; grid-row: 1 / span 3;
        width: 64px; height: 64px; aspect-ratio: auto;
        margin: 0; padding: 7px; border-radius: 16px;
    }
    .flow-n { grid-column: 2; }
    .flow-step h3 { grid-column: 2; font-size: 1rem; margin: 5px 0 5px; }
    .flow-step p { grid-column: 2; font-size: .844rem; }

    /* ── what you get: same treatment ── */
    .editorial { gap: 28px; }
    .ed-grid { grid-template-columns: 1fr; gap: 12px; }
    .ed-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 15px; padding: 18px 18px 19px; border-radius: 16px; }
    .ed-art { grid-column: 1; grid-row: 1 / span 2; width: 52px; height: 52px; margin: 0; }
    .ed-card h3 { grid-column: 2; font-size: .969rem; margin-bottom: 5px; }
    .ed-card p { grid-column: 2; font-size: .844rem; }
    .editorial-head > svg { display: none; }

    /* ── ledger: two up, so four figures are one glance not four ── */
    .ledger { grid-template-columns: 1fr 1fr; }
    .led { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 20px 16px; }
    .led:nth-child(2n) { border-right: 0; }
    .led:nth-child(n+3) { border-bottom: 0; }
    .led-k { font-size: .594rem; margin-bottom: 10px; }
    .led-v { font-size: 1.375rem; }
    .led-d { font-size: .656rem; margin-top: 9px; }
    .led-spark { height: 22px; margin-top: 12px; }

    /* ── referrals ── */
    .aff { gap: 28px; }
    .tiers { margin-top: 24px; gap: 10px; }
    .tier { padding: 14px 16px; gap: 13px; border-radius: 14px; }
    .tier-badge { width: 38px; height: 38px; }
    .tier-t b { font-size: .906rem; }
    .tier-t span { font-size: .781rem; }
    .tier-p { font-size: 1.5rem; }

    /* ── faq ── */
    .faq summary { gap: 13px; font-size: .906rem; padding: 17px 0; }
    .faq-a { padding: 0 0 20px 31px; font-size: .875rem; }

    /* ── closing ── */
    .cta-in { padding: 56px 0 48px; gap: 30px; }
    .cta-in h2 { max-width: none; }
    .cta-acts { width: 100%; flex-direction: column; margin-top: 26px; }
    .cta-acts .btn { width: 100%; }
    .cta-art { max-width: 240px; margin: 0 auto; }
    .foot { padding-top: 44px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-bottom: 34px; }
    .foot-grid > div:first-child { grid-column: span 2; }
    .foot-bot { flex-direction: column; align-items: flex-start; gap: 14px; }
    .socials { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ticks i, .float-a, .float-b, .float-c, .spin-slow { animation: none !important; }
    .js-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    * { transition-duration: .01ms !important; }
}

/* ==================================================================
   DECORATION LAYER

   Everything below is ornament: it carries no information and is
   aria-hidden in the markup. It sits at z-index 0 under .shell
   (which every section raises to z-index 1), so no flourish can ever
   swallow a click or cover a line of text.
   ================================================================== */

/* dot field — printed-paper texture, denser than a CSS grid */
.deco-dots {
    position: absolute; pointer-events: none; z-index: 0;
    background-image: radial-gradient(var(--line-2) 1.4px, transparent 1.4px);
    background-size: 22px 22px;
    opacity: .55;
}
.deco-dots.fade-b { -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.deco-dots.fade-r { -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }
.deco-dots.fade-c {
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 72%);
            mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 72%);
}

/* soft colour washes — cream takes these much better than white does */
.deco-wash { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(70px); }
.wash-green { background: radial-gradient(closest-side, rgba(46,158,107,.30), transparent); }
.wash-ochre { background: radial-gradient(closest-side, rgba(200,135,58,.28), transparent); }
.wash-deep  { background: radial-gradient(closest-side, rgba(27,107,74,.20), transparent); }

/* free-floating ornaments: coins, leaves, sparks, arcs */
.deco-svg { position: absolute; pointer-events: none; z-index: 0; overflow: visible; }
.deco-svg.over { z-index: 2; }

.drift-a { animation: driftA 11s ease-in-out infinite; }
.drift-b { animation: driftB 14s ease-in-out infinite; }
.drift-c { animation: driftA 9s ease-in-out infinite 1.4s; }
@keyframes driftA { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(6px,-16px) rotate(7deg); } }
@keyframes driftB { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(-9px,-12px) rotate(-8deg); } }

/* wavy rule used to separate bands — cut from the same cream */
.deco-wave { display: block; width: 100%; height: 26px; color: var(--line-2); }

/* bracket ornaments on a surface, like a ledger page's corner marks */
.framed { position: relative; }
.framed::before, .framed::after {
    content: ''; position: absolute; width: 16px; height: 16px; pointer-events: none;
    border-color: var(--accent); border-style: solid; opacity: .55;
}
.framed::before { top: 14px; left: 14px; border-width: 1.5px 0 0 1.5px; border-radius: 3px 0 0 0; }
.framed::after { bottom: 14px; right: 14px; border-width: 0 1.5px 1.5px 0; border-radius: 0 0 3px 0; }

/* a hand-drawn underline that can sit under gradient-clipped text */
.squig { position: absolute; left: 0; right: 0; bottom: -.2em; height: .22em; overflow: visible; color: var(--accent); }

/* thin ruled band of repeating marks, for section shoulders */
.deco-rule { display: flex; align-items: center; gap: 10px; color: var(--line-2); }
.deco-rule::before, .deco-rule::after { content: ''; height: 1px; background: currentColor; flex: 1; }

@media (max-width: 767px) {
    /* ornament is the first thing to go when space is tight */
    .deco-svg.drop-sm, .deco-dots.drop-sm { display: none; }
    .framed::before, .framed::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .drift-a, .drift-b, .drift-c { animation: none !important; }
}

/* ==================================================================
   PARTICLE FIELD

   A canvas of slow-drifting motes behind the hero and the closing
   slab. Kept deliberately sparse and low-contrast: a dense connected
   "network" reads as a 2015 template and would fight the artwork.

   The canvas is painted by script, pauses itself when scrolled out of
   view, and is never created at all under prefers-reduced-motion — so
   it costs nothing on a phone sitting in a pocket.
   ================================================================== */
.particles {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    width: 100%; height: 100%; display: block;
}

/* ── interaction polish ─────────────────────────────────────────── */

/* one shared focus ring, visible on both grounds */
:where(a, button, input, summary):focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px; border-radius: 6px;
}
.closing :where(a, button):focus-visible,
.band :where(a, button):focus-visible { outline-color: #6FD3A0; }

/* the ochre underline draws itself in when the hero arrives */
.squig path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s cubic-bezier(.3,.7,.3,1) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* coin glyphs in the settlement row lift on hover */
.settle .c { transition: color .16s, transform .16s; }
.settle .c:hover { color: var(--brand); transform: translateY(-2px); }

/* editorial cards get a warm wash creeping in from the corner */
.ed-card { position: relative; overflow: hidden; }
.ed-card::after {
    content: ''; position: absolute; top: -40%; right: -30%; width: 220px; height: 220px;
    border-radius: 50%; background: radial-gradient(closest-side, rgba(200,135,58,.16), transparent);
    opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.ed-card:hover::after { opacity: 1; }

/* ledger columns respond too, so the strip does not read as an image */
.led { transition: background .2s ease; }
.led:hover { background: #FCF8F0; }

@media (prefers-reduced-motion: reduce) {
    .squig path { stroke-dashoffset: 0; animation: none; }
    .settle .c:hover, .plan:hover, .plan.feat:hover { transform: none; }
}

/* ── anchor landings ─────────────────────────────────────────────
   The header is sticky, so a jump to #books used to park the heading
   underneath it. Reserve the header's height plus a little air. */
section[id] { scroll-margin-top: 88px; }
@media (max-width: 767px) { section[id] { scroll-margin-top: 74px; } }

/* ── one loud action per block ───────────────────────────────────
   On a phone both CTAs became full-width bars of equal weight, which
   asks the reader to choose instead of pointing at the thing we want
   tapped. The hero already resolves this; the closing block should
   read the same way rather than inventing a second pattern. */
@media (max-width: 767px) {
    .cta-acts .btn-accent {
        background: transparent; color: var(--accent);
        height: 44px; border-color: transparent;
        text-decoration: underline; text-underline-offset: 4px;
    }
    .cta-acts .btn-accent:hover { background: transparent; transform: none; }
    /* the hero artwork was floating in a pocket of dead space */
    .hero-art { margin-top: -6px; }
}

/* ── touch targets ───────────────────────────────────────────────
   Footer links and social icons were rendering at their text height,
   about 17px. That is fine for a cursor and genuinely awkward for a
   thumb, so on touch widths they get a real box to hit. The visual
   rhythm is kept by trading the list gap for padding inside the link
   rather than just making everything taller. */
.socials a { display: grid; place-items: center; width: 40px; height: 40px; margin: -10px; }
.socials { gap: 4px; }

@media (max-width: 767px) {
    .foot ul { gap: 0; }
    .foot ul a { display: flex; align-items: center; min-height: 42px; }
    .foot h4 { margin-bottom: 8px; }
    .topbar a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 4px; }
}

@media (max-width: 767px) {
    /* three link columns in a two-column grid leaves the last one alone
       with a hole beside it — let it span and split its own list instead */
    .foot-grid > div:last-child { grid-column: span 2; }
    .foot-grid > div:last-child ul { grid-template-columns: 1fr 1fr; }
}

/* ==================================================================
   PIECES THE LAYOUT RENDERS THAT THE MOCKUP HAD NO STAND-IN FOR
   ================================================================== */

/* The coin disc comes from partials/bento_landing_coin, whose <svg> carries a
   viewBox and no intrinsic size — without a rule here it collapses to 0×0 and
   only the currency name survives. */
.coin {
    width: 20px; height: 20px; flex-shrink: 0;
    display: grid; place-items: center; border-radius: 50%; overflow: hidden;
}
.coin svg { width: 100%; height: 100%; display: block; }

/* GDPR card. The layout renders this whenever cookie.data is switched on, so
   it needs to exist in this stylesheet or it lands as a bare block of text at
   the foot of the page. */
.lp-cookie {
    position: fixed; left: 20px; bottom: 20px; z-index: 80;
    width: min(340px, calc(100vw - 40px));
    background: var(--surface); border: 1px solid var(--hairline);
    border-radius: 18px; padding: 20px; box-shadow: var(--sh-3);
    transform: translateY(calc(100% + 32px)); opacity: 0;
    transition: transform .4s cubic-bezier(.2,.7,.3,1), opacity .4s ease;
}
.lp-cookie.on { transform: none; opacity: 1; }
.lp-cookie-ic {
    width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
    background: var(--accent-wash); color: var(--accent); margin-bottom: 14px;
}
.lp-cookie p { margin: 0 0 16px; font-size: .844rem; color: var(--t3); }

@media (max-width: 767px) {
    .lp-cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-cookie { transition: none; }
}

/* ══ FLOATING TELEGRAM ═════════════════════════════════════════════
   Bottom right, clear of the cookie card on the left. The icon keeps
   Telegram's own blue so it reads as Telegram at a glance; the pill
   around it is cut from the page's paper so it does not shout. On a
   phone it shrinks to the round icon alone.
   ══════════════════════════════════════════════════════════════════ */
.tg-float {
    position: fixed; z-index: 50; right: 18px; bottom: 18px;
    display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px;
    border-radius: 999px; background: rgba(255,252,246,.94); border: 1px solid var(--hairline);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--sh-3);
    transition: transform .2s ease, border-color .2s ease;
}
.tg-float:hover { transform: translateY(-2px); border-color: #2AABEE; }
.tg-float:focus-visible { outline: 2px solid #2AABEE; outline-offset: 3px; }
.tg-float-ic {
    position: relative; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(160deg, #37BBFE, #1E96D1);
    box-shadow: 0 10px 22px -10px rgba(42,171,238,.8);
}
.tg-float-ic svg { margin-left: -2px; }
/* one slow ring is the only motion */
.tg-float-ic::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid rgba(42,171,238,.5); animation: tgRing 2.6s ease-out infinite;
}
@keyframes tgRing { 0% { transform: scale(.92); opacity: 1; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.tg-float-txt { display: grid; line-height: 1.25; font-family: var(--display); font-size: .875rem; font-weight: 600; color: var(--ink); }
.tg-float-txt small { font-family: var(--mono); font-size: .625rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #1E96D1; }
@media (max-width: 767px) {
    .tg-float { right: 14px; bottom: 14px; padding: 5px; }
    .tg-float-txt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .tg-float { transition: none; }
    .tg-float-ic::after { animation: none; opacity: 0; }
}

/* ══ HERO: STAKING SCENE ═══════════════════════════════════════════
   Motion here is all ambient and slow: the ring round the token turns,
   the reward orbit's dashes flow, the pool's rim breathes, the validator
   lights blink in sequence and a few sparks lift off the stack. None of
   it carries information, so reduced motion simply stops all of it. */
.stk-spin  { animation: spin 26s linear infinite; transform-box: fill-box; transform-origin: center; }
.stk-flow  { stroke-dasharray: 4 10; animation: stkFlow 1.6s linear infinite; }
.stk-pulse { animation: stkPulse 3.2s ease-in-out infinite; }
.stk-led   { animation: stkLed 2.4s ease-in-out infinite; }
.stk-rise  { animation: stkRise 3.6s ease-in infinite; transform-box: fill-box; }
@keyframes stkFlow  { to { stroke-dashoffset: -28; } }
@keyframes stkPulse { 0%, 100% { opacity: .3; } 50% { opacity: .95; } }
@keyframes stkLed   { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes stkRise  { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .95; } 100% { transform: translateY(-74px); opacity: 0; } }

@media (max-width: 767px) {
    /* the scene carries live figures on its cards; at 260px they drop
       below reading size */
    .hero-art { max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    .stk-spin, .stk-flow, .stk-pulse, .stk-led, .stk-rise { animation: none !important; }
    .stk-rise { opacity: 0; }
}

/* ==================================================================
   THE DASHBOARD'S LANGUAGE, ON THE LANDING PAGE

   The member area was rebuilt around a deep band with aurora light,
   ink cards, and a plan card that is a lit head over paper. Everything
   below brings that vocabulary out here, so signing in is not a change
   of site. The tokens keep the names the member stylesheet uses.
   ================================================================== */
:root {
    --night: #0E2119;
    --night-2: #16301F;
    --deep: #0E4630;
    --deep-2: #0C3A28;
    --deep-3: #08291C;
    --on-deep: #FFFFFF;
    --on-deep-2: #CFE3D6;
    --on-deep-line: rgba(255, 255, 255, .14);
    --on-deep-fill: rgba(255, 255, 255, .07);
    --on-deep-fill-2: rgba(255, 255, 255, .12);
    --mint: #8EE0B4;
    --mint-hi: #A6EBC5;
    --emerald: #3FB980;
    --gold: #E8B268;
    --gold-soft: #F2C98A;
    --glass: rgba(255, 255, 255, .08);
    --glass-line: rgba(255, 255, 255, .20);
    --glass-hi: rgba(255, 255, 255, .28);
    --shine: rgba(255, 255, 255, .55);
    --aurora-1: rgba(63, 185, 128, .55);
    --aurora-2: rgba(232, 178, 104, .30);
    --aurora-3: rgba(142, 224, 180, .35);
    --glow: rgba(142, 224, 180, .22);
    --glow-emerald: rgba(63, 185, 128, .55);
    --ochre-glow: rgba(200, 135, 58, .22);
    --scrim: rgba(8, 41, 28, .55);
    --surface-2: #FAF6EE;
    --sh-lift: 0 2px 6px rgba(50, 35, 15, .06), 0 24px 48px -20px rgba(50, 35, 15, .30);
    --sh-card: 0 1px 2px rgba(50, 35, 15, .04), 0 12px 32px -16px rgba(50, 35, 15, .18);
    --r-md: 12px;
    --r-lg: 18px;
    --pill: 999px;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── the deep slab ────────────────────────────────────────────────
   The header, the hero, the steps, the referral card, the closing
   call and the footer are all the same piece of forest green. */
.slab {
    position: relative; isolation: isolate; overflow: hidden; color: var(--on-deep-2);
    background:
        radial-gradient(70% 90% at 88% 0%, var(--aurora-1), transparent 62%),
        radial-gradient(52% 70% at 8% 96%, var(--aurora-3), transparent 68%),
        radial-gradient(40% 60% at 60% 110%, var(--aurora-2), transparent 66%),
        linear-gradient(165deg, var(--deep) 0%, var(--night) 62%, var(--deep-3) 100%);
}
/* The slab isolates, so everything decorative sits at z-index -1: above its
   own background, below every word on it, and no layout of its own. */
.slab::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: var(--grain); opacity: .10; mix-blend-mode: overlay;
}
.slab > .particles { z-index: -1; }
.slab .sec-title, .slab h2, .slab h3 { color: var(--on-deep); }
.slab .sec-lede { color: var(--on-deep-2); }
.slab .tag { color: var(--mint); }
.slab .tag::before { background: var(--gold); }
.band-rings { position: absolute; top: -190px; right: -140px; z-index: -1; width: 840px; height: 840px; color: var(--on-deep-fill-2); pointer-events: none; }
.band-rings circle, .band-rings path { fill: none; stroke: currentColor; }
/* the light behind the slab, drifting slowly enough to be felt, not watched */
.aurora {
    position: absolute; z-index: -1; inset: -25%; pointer-events: none; opacity: .75;
    background:
        radial-gradient(38% 46% at 72% 24%, var(--aurora-1), transparent 62%),
        radial-gradient(32% 40% at 24% 78%, var(--aurora-3), transparent 66%),
        radial-gradient(26% 34% at 56% 96%, var(--aurora-2), transparent 64%);
    animation: lpDrift 34s ease-in-out infinite alternate;
}
@keyframes lpDrift {
    from { transform: translate3d(-3%, 1%, 0) scale(1); }
    to   { transform: translate3d(4%, -3%, 0) scale(1.12); }
}

/* ── the running strip and the header, both on the slab ──────────── */
.ticker { position: relative; z-index: 2; border-bottom: 1px solid var(--on-deep-line); color: var(--on-deep-2); font-family: var(--mono); font-size: .688rem; letter-spacing: .05em; }
.ticker .shell { display: flex; align-items: center; gap: 24px; height: 34px; }
.ticker .right { display: flex; gap: 22px; margin-left: auto; }
.ticker a { color: inherit; }
.ticker a:hover { color: var(--on-deep); }
.ticker b { color: var(--mint); font-weight: 500; }
.ticker i { display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--mint); vertical-align: 1px; animation: lpPulse 2.6s ease-in-out infinite; }
@keyframes lpPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--glow-emerald); }
    70%      { box-shadow: 0 0 0 7px rgba(63, 185, 128, 0); }
}
.slab .head { position: relative; z-index: 2; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.slab .head .shell { height: 62px; }
.slab .brand-name { color: var(--on-deep); }
.slab .nav a { color: var(--on-deep-2); }
.slab .nav a:hover { color: var(--on-deep); }
.slab .nav a::after { background: var(--mint); }
.slab .burger { border-color: var(--glass-line); background: var(--glass); color: var(--on-deep); }
.btn-glass { border: 1px solid var(--glass-line); background: var(--glass); color: var(--on-deep); }
.btn-glass:hover { background: var(--on-deep-fill-2); color: var(--on-deep); }
.btn-mint {
    position: relative; overflow: hidden; border-color: transparent; color: var(--night);
    background: linear-gradient(180deg, var(--mint-hi) 0%, var(--mint) 100%);
    box-shadow: inset 0 1px 0 var(--shine), 0 12px 30px -12px var(--glow-emerald);
}
.btn-mint:hover { color: var(--night); }
/* a light runs across the main button under the pointer */
.btn-mint::after {
    content: ''; position: absolute; inset: 0; transform: translateX(-130%);
    background: linear-gradient(110deg, transparent 32%, var(--shine) 50%, transparent 68%);
}
.btn-mint:hover::after { transform: translateX(130%); transition: transform .75s ease; }

/* ── the hero ─────────────────────────────────────────────────────
   Four blocks, so a phone can reorder them: the words, the buttons,
   the picture, then the facts. */
.hero-new { position: relative; z-index: 1; padding: 42px 0 200px; }
.hero-new .shell { position: relative; z-index: 2; }
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr);
    grid-template-areas: "text preview" "cta preview" "chips preview";
    column-gap: 56px; align-content: center;
}
.hero-text { grid-area: text; }
.hero-cta { grid-area: cta; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.preview { grid-area: preview; position: relative; align-self: center; perspective: 1600px; }
.hero-new h1 {
    margin: 26px 0 0; color: var(--on-deep); font-family: var(--display);
    font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.04; letter-spacing: -.035em;
}
.hero-new h1 em {
    font-style: italic; color: transparent;
    background: linear-gradient(120deg, var(--mint-hi) 0%, var(--gold-soft) 100%);
    -webkit-background-clip: text; background-clip: text;
}
.hero-new .lede { max-width: 46ch; margin: 22px 0 0; color: var(--on-deep-2); font-size: 1.031rem; }
.hero-new .tag { color: var(--mint); }

/* the four facts: one panel split four ways, never a wrapping row of pills */
.chips {
    grid-area: chips; display: grid; grid-template-columns: 1fr 1fr; max-width: 480px; margin-top: 30px; overflow: hidden;
    border: 1px solid var(--on-deep-line); border-radius: 16px; background: var(--on-deep-fill);
}
.chip-fact { display: flex; align-items: center; gap: 9px; padding: 13px 16px; color: var(--on-deep); font-size: .813rem; font-weight: 500; }
.chip-fact:nth-child(odd) { border-right: 1px solid var(--on-deep-line); }
.chip-fact:nth-child(-n+2) { border-bottom: 1px solid var(--on-deep-line); }
.chip-fact svg { flex: none; width: 15px; height: 15px; color: var(--mint); }

/* the dashboard, tilted in its frame */
.preview-frame {
    overflow: hidden; border: 1px solid var(--glass-line); border-radius: 20px; background: var(--night);
    box-shadow: 0 50px 90px -40px rgba(4, 20, 14, .9), 0 0 0 1px var(--on-deep-fill);
    transform: rotateY(-13deg) rotateX(5deg) rotate(.6deg) scale(1.02); transform-origin: left center;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.preview:hover .preview-frame { transform: rotateY(-9deg) rotateX(3deg) rotate(.3deg) scale(1.04); }
.pv-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--on-deep-line); background: var(--deep-3); }
.pv-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--on-deep-fill-2); }
.pv-url { margin-left: 8px; padding: 3px 12px; border-radius: var(--pill); background: var(--on-deep-fill); color: var(--on-deep-2); font-family: var(--mono); font-size: .625rem; }
.pv-body { padding: 18px; background: linear-gradient(170deg, var(--night-2) 0%, var(--night) 100%); }
.pv-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pv-card { padding: 14px 16px; border: 1px solid var(--on-deep-line); border-radius: 14px; background: var(--on-deep-fill); }
.pv-card.wide { grid-column: 1 / -1; background: radial-gradient(70% 80% at 100% 0%, var(--glow), transparent 70%), var(--on-deep-fill); }
.pv-lbl { margin: 0; color: var(--on-deep-2); font-size: .688rem; }
.pv-num { margin: 4px 0 0; color: var(--on-deep); font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.pv-num.mint { color: transparent; background: linear-gradient(135deg, var(--mint-hi), var(--emerald)); -webkit-background-clip: text; background-clip: text; }
.pv-sub { margin: 3px 0 0; color: var(--on-deep-2); font-size: .688rem; }
.pv-bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; margin-top: 10px; }
.pv-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--mint) 0%, var(--emerald) 100%); opacity: .85; transform-origin: bottom; animation: lpGrow 1s cubic-bezier(.2, .8, .2, 1) both; }
.pv-bars i:nth-child(1) { animation-delay: .05s; }
.pv-bars i:nth-child(2) { animation-delay: .12s; }
.pv-bars i:nth-child(3) { animation-delay: .19s; }
.pv-bars i:nth-child(4) { animation-delay: .26s; }
.pv-bars i:nth-child(5) { animation-delay: .33s; }
.pv-bars i:nth-child(6) { animation-delay: .40s; }
.pv-bars i:nth-child(7) { animation-delay: .47s; }
@keyframes lpGrow { from { transform: scaleY(.04); opacity: 0; } to { transform: scaleY(1); opacity: .85; } }
.pv-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--on-deep-line); color: var(--on-deep-2); font-size: .75rem; }
.pv-line:first-of-type { border-top: 0; }
.pv-line b { color: var(--on-deep); font-weight: 600; }
.pv-pill { padding: 3px 9px; border-radius: var(--pill); background: var(--on-deep-fill-2); color: var(--mint); font-size: .625rem; font-weight: 600; }
.preview-note { margin: 46px 0 0; color: var(--on-deep-2); font-size: .75rem; text-align: center; }

/* cards that float up over the slab's bottom edge, as the dashboard's do */
.lift-up { position: relative; z-index: 3; margin-top: -150px; }

/* ── the plan cards: a lit head over paper ───────────────────────── */
.plan-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan-card {
    position: relative; z-index: 0; display: flex; overflow: hidden; flex-direction: column;
    border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-card);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.plan-card:hover { box-shadow: var(--sh-lift); transform: translateY(-5px); }
.pc-hero { position: relative; isolation: isolate; overflow: hidden; padding: 22px 24px 42px; color: var(--on-deep-2); }
.pc-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; }
.pc-body { position: relative; isolation: isolate; display: flex; flex: 1; flex-direction: column; padding: 8px 24px 24px; }
.pc-body::before {
    content: ''; position: absolute; z-index: -1; top: -30px; right: -10%; left: -10%; height: 56px;
    border-radius: 50% 50% 0 0; background: var(--surface);
}
.pc-head { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pc-name { margin: 0; color: var(--on-deep); font-size: 1.125rem; font-weight: 600; }
.pc-badge {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px;
    border-radius: var(--pill); background: var(--on-deep-fill-2); color: var(--on-deep); font-size: .688rem; font-weight: 600;
}
.pc-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pc-rate { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 18px; }
.pc-rate b { color: var(--on-deep); font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.pc-rate span { color: var(--on-deep-2); font-weight: 500; }
.pc-sub { max-width: 34ch; margin: 8px auto 0; color: var(--on-deep-2); font-size: .875rem; text-align: center; }
.pc-kv { margin: 14px 0 18px; }
.pc-kv > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.pc-kv > div:last-child { border-bottom: 0; }
.pc-kv dt { color: var(--t3); font-size: .875rem; }
.pc-kv dd { margin: 0; color: var(--ink); font-size: .875rem; font-weight: 500; text-align: right; }
/* the note that sells the flexible exit: a lit title, its terms under it */
.pc-note {
    display: flex; gap: 11px; margin-top: auto; padding: 13px 15px; border-radius: 14px;
    background: var(--brand-wash); color: var(--t3);
}
.pc-note svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--brand); }
.pc-note b { display: block; color: var(--brand); font-size: .875rem; font-weight: 600; letter-spacing: -.01em; }
.pc-note small { display: block; margin-top: 3px; font-size: .75rem; letter-spacing: .01em; }
.pc-foot { padding-top: 16px; }
/* the tier ramp: more light, a bigger figure, and gold at the top */
.plan-card[data-tier="0"] .pc-hero { background: radial-gradient(52% 78% at 86% 14%, var(--aurora-3), transparent 68%), linear-gradient(160deg, var(--deep-2) 0%, var(--night) 100%); }
.plan-card[data-tier="1"] .pc-hero { background: radial-gradient(62% 92% at 92% 8%, var(--aurora-1), transparent 66%), radial-gradient(56% 74% at 6% 98%, var(--aurora-3), transparent 70%), linear-gradient(160deg, var(--deep) 0%, var(--deep-3) 100%); }
.plan-card[data-tier="2"] .pc-hero { background: radial-gradient(64% 96% at 94% 6%, var(--aurora-2), transparent 62%), radial-gradient(52% 72% at 74% 96%, var(--aurora-1), transparent 66%), radial-gradient(46% 64% at 2% 40%, var(--glow), transparent 70%), linear-gradient(160deg, var(--night-2) 0%, var(--deep-3) 100%); }
.plan-card[data-tier="1"] .pc-rate b { font-size: 3.5rem; }
.plan-card[data-tier="2"] .pc-rate b { font-size: 4rem; }
.plan-card[data-tier="1"] .pc-rate b, .plan-card[data-tier="2"] .pc-rate b {
    color: transparent; background: linear-gradient(135deg, var(--mint-hi) 0%, var(--emerald) 100%);
    -webkit-background-clip: text; background-clip: text;
}
.plan-card[data-tier="2"] .pc-rate b { background-image: linear-gradient(135deg, var(--gold-soft) 0%, var(--mint-hi) 68%); }
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan-card[data-tier="2"] {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        conic-gradient(from var(--spin), var(--mint), transparent 30%, var(--gold) 50%, transparent 70%, var(--mint)) border-box;
    box-shadow: var(--sh-lift), 0 36px 72px -30px var(--glow-emerald);
    animation: lpSpin 7s linear infinite;
}
@keyframes lpSpin { to { --spin: 360deg; } }
@media (min-width: 900px) {
    .plan-card[data-tier="2"] { transform: translateY(-14px); }
    .plan-card[data-tier="2"]:hover { transform: translateY(-20px); }
}
/* the tier's own mark: one bar lit for the entry term, three for the top */
.tier-mark { display: flex; flex: none; align-items: flex-end; gap: 3px; width: 34px; height: 34px; padding: 8px; border: 1px solid var(--on-deep-line); border-radius: 10px; background: var(--on-deep-fill); }
.tier-mark i { width: 4px; border-radius: 2px; background: var(--on-deep-line); }
.tier-mark i:nth-child(1) { height: 7px; }
.tier-mark i:nth-child(2) { height: 12px; }
.tier-mark i:nth-child(3) { height: 17px; }
.plan-card[data-tier="0"] .tier-mark i:nth-child(-n+1),
.plan-card[data-tier="1"] .tier-mark i:nth-child(-n+2),
.plan-card[data-tier="2"] .tier-mark i:nth-child(-n+3) { background: var(--mint); }

/* ── the coins a term settles in ─────────────────────────────────── */
.coin-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.coin-chip {
    display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--hairline);
    border-radius: var(--pill); background: var(--surface); color: var(--t2); font-size: .813rem; font-weight: 600; box-shadow: var(--sh-1);
}
.coin-chip .coin { display: inline-flex; width: 20px; height: 20px; }
.coin-chip .coin svg { width: 100%; height: 100%; }
.coin-chip small { color: var(--t4); font-size: .75rem; font-weight: 500; }

/* ── the calculator: paper on the left, the answer on the dark ──── */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); overflow: hidden; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-card); }
.calc-in { padding: 30px 32px; }
.calc-out { padding: 30px 32px; color: var(--on-deep-2); background: radial-gradient(60% 80% at 100% 0%, var(--glow), transparent 70%), linear-gradient(160deg, var(--night-2) 0%, var(--night) 100%); }
.field-lbl { display: block; margin: 0 0 8px; color: var(--t3); font-size: .813rem; font-weight: 500; }
.amt-row { display: flex; align-items: baseline; gap: 6px; padding-bottom: 10px; border-bottom: 2px solid var(--hairline); }
.amt-row > span { color: var(--t4); font-family: var(--mono); font-size: 1.5rem; }
.amt-row input { width: 100%; flex: 1; border: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 2rem; font-weight: 500; letter-spacing: -.02em; outline: none; }
.amt-row:focus-within { border-bottom-color: var(--brand); }
.seg-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; padding: 5px; border-radius: 14px; background: var(--bg-2); }
.seg-row button { flex: 1 1 90px; height: 46px; border: 0; border-radius: 10px; background: transparent; color: var(--t3); font: inherit; cursor: pointer; }
.seg-row button b { display: block; font-size: .875rem; font-weight: 600; }
.seg-row button span { display: block; font-family: var(--mono); font-size: .688rem; opacity: .8; }
.seg-row button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.calc-hint { margin: 16px 0 0; color: var(--t4); font-size: .813rem; }
.calc-big { margin: 0 0 6px; font-size: .813rem; }
.calc-big b {
    display: block; margin-top: 4px; color: transparent; font-size: 2.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--mint-hi), var(--emerald)); -webkit-background-clip: text; background-clip: text;
}
.calc-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--on-deep-line); font-size: .875rem; }
.calc-line:last-of-type { border-bottom: 0; }
.calc-line b { color: var(--on-deep); font-size: 1rem; font-weight: 600; }
.calc-out .ticks-bar { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--on-deep-line); }
.calc-out .ticks i { background: var(--on-deep-fill-2); }
.calc-out .ticks i.last { background: var(--gold); }
.calc-out .ticks-txt { margin: 10px 0 0; color: var(--on-deep-2); font-family: var(--mono); font-size: .688rem; }

/* a slab that sits inside the page rather than spanning it */
.slab-round { margin: 0 28px; border-radius: 28px; }

/* ── the steps, and the four facts ───────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.step-card { position: relative; padding: 24px; border: 1px solid var(--on-deep-line); border-radius: var(--r-lg); background: var(--on-deep-fill); color: var(--on-deep-2); }
.step-n { position: absolute; top: 18px; right: 20px; color: var(--on-deep-fill-2); font-family: var(--display); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.tile {
    display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--night);
    background: linear-gradient(160deg, var(--mint-hi) 0%, var(--emerald) 100%);
    box-shadow: inset 0 1px 0 var(--glass-hi), 0 14px 26px -12px var(--glow-emerald);
}
.tile.is-gold { background: linear-gradient(160deg, var(--gold-soft) 0%, var(--gold) 100%); box-shadow: inset 0 1px 0 var(--glass-hi), 0 14px 26px -12px var(--ochre-glow); }
.tile svg { width: 22px; height: 22px; }
.step-card h3, .fact-card h3 { margin: 18px 0 8px; font-size: 1rem; font-weight: 600; }
.step-card h3 { color: var(--on-deep); }
.fact-card h3 { color: var(--ink); }
.step-card p, .fact-card p { margin: 0; font-size: .875rem; line-height: 1.6; }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fact-card { padding: 26px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface); color: var(--t3); box-shadow: var(--sh-card); }
.fact-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }

/* ── referrals, questions, the closing call ──────────────────────── */
.ref-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; border-radius: 24px; }
.ref-levels { display: grid; gap: 12px; }
.ref-level { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--on-deep-line); border-radius: 14px; background: var(--on-deep-fill); }
.ref-level .tier-t { display: grid; color: var(--on-deep); font-weight: 600; }
.ref-level .tier-t span { color: var(--on-deep-2); font-size: .75rem; font-weight: 400; }
.ref-level .tier-p { margin-left: auto; color: transparent; background: linear-gradient(135deg, var(--mint-hi), var(--emerald)); -webkit-background-clip: text; background-clip: text; font-size: 1.5rem; font-weight: 700; }
.faq-stack { display: grid; gap: 10px; }
.faq-item { overflow: hidden; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface); }
.faq-item summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; margin-left: auto; color: var(--t4); font-size: 1.25rem; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--t3); font-size: .938rem; line-height: 1.65; }
.faq-n { flex: none; color: var(--t4); font-family: var(--mono); font-size: .75rem; }
.cta-band { padding: 90px 28px; border-radius: 28px; text-align: center; }
.cta-band h2 { margin: 0; color: var(--on-deep); font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.cta-band p { max-width: 52ch; margin: 18px auto 0; color: var(--on-deep-2); }
.cta-band .cta-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta-band .cta-fine { max-width: 46ch; margin: 20px auto 0; color: var(--on-deep-2); font-size: .813rem; text-align: center; }

/* ── the footer ──────────────────────────────────────────────────── */
.site-foot { padding: 64px 0 34px; color: var(--on-deep-2); }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-cols h3 { margin: 0 0 16px; color: var(--on-deep); font-family: var(--mono); font-size: .688rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
/* a heading that is there for the reading order, not for the eye */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.foot-cols ul { margin: 0; padding: 0; list-style: none; }
.foot-cols li { margin-bottom: 10px; }
.foot-cols a { color: var(--on-deep-2); font-size: .875rem; }
.foot-cols a:hover { color: var(--mint); }
.foot-cols .brand-name { color: var(--on-deep); }
.foot-about { max-width: 34ch; margin: 16px 0 0; font-size: .875rem; line-height: 1.65; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--on-deep-line); font-family: var(--mono); font-size: .688rem; letter-spacing: .04em; }
.foot-base .socials { display: flex; gap: 8px; margin-left: auto; }
.foot-base .socials a {
    display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--on-deep-line);
    border-radius: 50%; background: var(--on-deep-fill); color: var(--on-deep-2);
}
.foot-base .socials a:hover { border-color: var(--mint); color: var(--mint); }

/* ── smaller screens ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .fact-split, .calc, .ref-card { grid-template-columns: minmax(0, 1fr); }
    .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "cta" "preview" "chips"; row-gap: 26px; }
    .hero-cta, .chips { margin-top: 0; }
    .preview-frame, .preview:hover .preview-frame { transform: none; }
    .plan-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-new { padding-bottom: 170px; }
    .ref-card { gap: 28px; }
}
@media (max-width: 640px) {
    .plan-grid, .steps-grid, .facts-grid { grid-template-columns: minmax(0, 1fr); }
    .calc-in, .calc-out, .ref-card { padding: 24px 20px; }
    .ticker .right { display: none; }
    .hero-new { padding: 30px 0 128px; }
    .hero-new h1 { font-size: clamp(2.05rem, 8.8vw, 2.6rem); }
    .hero-new .lede { margin-top: 16px; font-size: .938rem; }
    .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-cta .btn { width: 100%; padding: 0 10px; font-size: .813rem; }
    .chips { max-width: none; }
    .chip-fact { padding: 12px 13px; font-size: .75rem; line-height: 1.3; }
    .chip-fact svg { width: 14px; height: 14px; }
    /* the account button stays out here on a phone */
    .slab .head .acts .btn-mint { display: inline-flex; height: 36px; padding: 0 14px; font-size: .75rem; }
    .slab .head .shell { height: 56px; }
    .preview-frame { border-radius: 16px; }
    .pv-body { padding: 13px; }
    .pv-row { gap: 9px; }
    .pv-card { padding: 12px 13px; }
    .pv-num { font-size: 1.25rem; }
    .preview-note { margin-top: 22px; }
    .lift-up { margin-top: -96px; }
    .pc-hero { padding: 18px 18px 34px; }
    .pc-body { padding: 8px 18px 20px; }
    .pc-rate b, .plan-card[data-tier="1"] .pc-rate b { font-size: 2.6rem; }
    .plan-card[data-tier="2"] .pc-rate b { font-size: 3rem; }
    .coin-row { gap: 8px; }
    .coin-chip { padding: 8px 13px; font-size: .75rem; }
    .cta-band { padding: 62px 20px; }
    .slab-round { margin: 0 14px; }
    .step-card, .fact-card { padding: 20px; }
    .calc-big b { font-size: 2.1rem; }
    .site-foot { padding: 46px 0 28px; }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
    .foot-cols > div:first-child { grid-column: span 2; }
    .foot-base .socials { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .aurora, .ticker i, .pv-bars i, .plan-card[data-tier="2"] { animation: none !important; }
    .pv-bars i { transform: none; opacity: .85; }
}
