@import url('./financial-preloader.css');
/* ENTAPRIZ landing. Palette and type: ivory, paper, charcoal, gold, amber; Playfair Display + DM Sans.
   Concept: the page is built around the ledger itself. A working double-entry sandbox opens the page,
   one transaction is followed from invoice to statement down a single gold thread, countries are chosen
   and shown honestly, the three price books sit side by side, and the roadmap is a release register. */
:root {
  color-scheme: light;
  --ivory: #f5f2ed; --paper: #fbfaf7; --ivory-2: #ebe6dc; --foot: #efe9df; --line: #ded7c8; --line-2: #cfc6b2;
  --charcoal: #0f1115; --charcoal-2: #171a20; --charcoal-3: #22262e; --line-d: rgba(245,242,237,.12); --line-d2: rgba(245,242,237,.36);
  --ink: #0f1115; --ink-2: #4a4740; --muted: #5e5a52; --muted-d: #a9a49a; --ink-d: #f5f2ed; --soft-d: rgba(245,242,237,.76);
  --gold: #bfa56a; --gold-ink: #8a733d; --gold-text: #786431; --gold-soft: #f1e8d3; --gold-wash: #f7f1e2;
  --amber: #fcb315; --amber-ink: #0f1115; --amber-soft: #fdedc2; --amber-text: #7a5300;
  --sage: #657554; --sage-ink: #56643f; --sage-soft: #e7ebe0;
  --up: #3fb27f; --up-ink: #287052; --up-soft: #e2f1e8; --down: #e0604a; --down-ink: #b4412e; --down-soft: #f9e4df;
  --r: 14px; --r-lg: 22px; --r-sm: 10px; --pill: 999px;
  --shadow: 0 1px 2px rgba(15,17,21,.06), 0 12px 40px -12px rgba(15,17,21,.18);
  --shadow-lg: 0 2px 4px rgba(15,17,21,.06), 0 30px 70px -24px rgba(15,17,21,.35);
  --focus: 0 0 0 2px var(--ivory), 0 0 0 4px var(--gold-text);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px)); --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1200px; --nav-h: 76px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ivory: #0f1115; --paper: #171a20; --ivory-2: #22262e; --foot: #0c0e12; --line: #2e323a; --line-2: #3a3f49;
    --ink: #f5f2ed; --ink-2: #b3aea4; --muted: #a9a49a; --gold-ink: #bfa56a; --gold-text: #bfa56a; --gold-soft: #2a2619; --gold-wash: #1f1c16;
    --amber-soft: #3a2d0c; --amber-text: #fcb315; --sage-ink: #9db086; --sage-soft: #1c2219; --up-soft: #16281f; --down-soft: #33181a; --up-ink: #3fb27f; --down-ink: #e0604a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px -16px rgba(0,0,0,.7); --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 30px 70px -24px rgba(0,0,0,.8);
    --focus: 0 0 0 2px #0f1115, 0 0 0 4px #fcb315; --btn-dark-bg: #f5f2ed; --btn-dark-ink: #0f1115;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ivory: #0f1115; --paper: #171a20; --ivory-2: #22262e; --foot: #0c0e12; --line: #2e323a; --line-2: #3a3f49;
  --ink: #f5f2ed; --ink-2: #b3aea4; --muted: #a9a49a; --gold-ink: #bfa56a; --gold-text: #bfa56a; --gold-soft: #2a2619; --gold-wash: #1f1c16;
  --amber-soft: #3a2d0c; --amber-text: #fcb315; --sage-ink: #9db086; --sage-soft: #1c2219; --up-soft: #16281f; --down-soft: #33181a; --up-ink: #3fb27f; --down-ink: #e0604a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px -16px rgba(0,0,0,.7); --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 30px 70px -24px rgba(0,0,0,.8);
  --focus: 0 0 0 2px #0f1115, 0 0 0 4px #fcb315; --btn-dark-bg: #f5f2ed; --btn-dark-ink: #0f1115;
}

/* ---- base ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; font-optical-sizing: auto; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--ivory); }
img { max-width: 100%; display: block; }
a { color: var(--gold-text); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus); border-radius: var(--r-sm); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: 104px; }
.band { background: var(--charcoal); color: var(--ink-d); position: relative; isolation: isolate; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
.label { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.label svg { width: 14px; height: 14px; }
.band .label { color: var(--gold); }
.head { display: grid; gap: 18px; max-width: 720px; }
.head h2 { margin: 0; font-family: var(--display); font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.head p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.band .head p { color: var(--soft-d); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.icon { width: 22px; height: 22px; flex: none; display: inline-flex; }
.icon svg { width: 100%; height: 100%; }

/* ---- buttons, badges ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--pill); border: 1px solid transparent; font-family: var(--body); font-size: 15px; font-weight: 600; line-height: 1; color: var(--ink); background: transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, transform .15s, filter .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { filter: brightness(1.06); }
.btn-dark { background: var(--btn-dark-bg, var(--charcoal)); color: var(--btn-dark-ink, #f5f2ed); }
.btn-dark:hover { filter: brightness(1.12); }
.band .btn-dark { background: #f5f2ed; color: var(--charcoal); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.band .btn-outline { border-color: var(--line-d2); color: var(--ink-d); }
.band .btn-outline:hover { background: rgba(245,242,237,.08); color: var(--ink-d); }
.btn-quiet { height: 40px; padding: 0 14px; color: var(--ink-2); font-weight: 500; }
.btn-quiet:hover { color: var(--ink); background: var(--ivory-2); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--pill); font-size: 12px; font-weight: 600; line-height: 1; background: var(--ivory-2); color: var(--ink-2); white-space: nowrap; }
.badge-up { background: var(--up-soft); color: var(--up-ink); }
.badge-gold { background: var(--gold-soft); color: var(--gold-text); }
.badge-down { background: var(--down-soft); color: var(--down-ink); }
.badge-sage { background: var(--sage-soft); color: var(--sage-ink); }
.badge-beta { background: var(--amber-soft); color: var(--amber-text); }
.badge-later { background: transparent; color: var(--muted); border: 1px solid var(--line-2); }
.badge-upper { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.band .badge { background: rgba(245,242,237,.08); color: var(--ink-d); }
.band .form .badge { background: var(--amber-soft); color: var(--amber-text); }

/* ---- header ---------------------------------------------------------------------------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(245,242,237,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav { background: rgba(15,17,21,.86); } :root:not([data-theme="light"]) body::before { background: #0f1115; } }
:root[data-theme="dark"] .nav { background: rgba(15,17,21,.86); } :root[data-theme="dark"] body::before { background: #0f1115; }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.wordmark svg { width: 26px; height: 26px; flex: none; }
.band .wordmark { color: var(--ink-d); }
.nav-links { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: inline-flex; align-items: center; height: 38px; padding: 0 11px; white-space: nowrap; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 14.5px; transition: color .15s, background-color .15s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: var(--ivory-2); }
.nav-cta { display: flex; gap: 6px; align-items: center; }
.lang { height: 34px; min-width: 44px; padding: 0 10px; margin-right: 4px; border-radius: var(--pill); border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font-family: var(--body); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; cursor: pointer; transition: color .15s, background-color .15s; }
.lang:hover { color: var(--ink); background: var(--ivory-2); }
.only-menu { display: none; }
.nav-cta .short { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }

/* ---- hero: statement + the ledger sandbox ------------------------------------------------- */
.hero { padding-block: 88px 64px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: "copy ledger" "facts ledger"; gap: 28px 64px; align-items: start; }
.hero-copy { grid-area: copy; display: grid; gap: 26px; justify-items: start; }
.hero .ledger { grid-area: ledger; }
.hero .facts { grid-area: facts; align-self: end; }
.phone-only { display: none; }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(38px, 4.7vw, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--gold-ink); }
.hero-lede { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 0; font-size: 14px; color: var(--muted); max-width: 46ch; }
.hero-note b { color: var(--ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 24px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; width: 100%; }
.facts li { display: grid; gap: 2px; }
.facts b { font-family: var(--display); font-size: 26px; line-height: 1.1; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts span { font-size: 13px; color: var(--muted); line-height: 1.4; }

.ledger { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.ledger-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.ledger-top h3 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 600; }
.ledger-top p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.steps-bar { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.step-btn { display: grid; gap: 2px; padding: 14px 18px; border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; color: var(--muted); font-size: 12px; transition: background-color .15s; }
.step-btn:last-child { border-right: 0; }
.step-btn b { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.step-btn i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ivory-2); color: var(--ink-2); font-size: 11px; font-weight: 700; }
.step-btn i svg { width: 12px; height: 12px; stroke-width: 2.5; }
.step-btn[aria-selected="true"] { background: var(--gold-wash); }
.step-btn[aria-selected="true"] i { background: var(--amber); color: var(--amber-ink); }
.step-btn.is-done i { background: var(--up-soft); color: var(--up-ink); }
.step-btn[disabled] { cursor: not-allowed; opacity: .55; }
.ledger-body { padding: 22px; display: grid; gap: 18px; }
.inputs { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.inp { display: grid; gap: 6px; min-width: 0; }
.inp label { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.inp input, .inp select { width: 100%; min-width: 0; height: 44px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ivory); color: var(--ink); font-variant-numeric: tabular-nums; }
.inp select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.inp input:focus-visible, .inp select:focus-visible { border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(252,179,21,.3); outline: none; }
.journal { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.journal table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.journal th { text-align: left; padding: 10px 14px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--ivory); border-bottom: 1px solid var(--line); }
.journal td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.journal tr:last-child td { border-bottom: 0; }
.journal .acct { font-weight: 600; }
.journal .code { color: var(--muted); font-size: 12px; margin-right: 8px; font-variant-numeric: tabular-nums; }
.journal .amt, .journal th.amt { text-align: right; font-variant-numeric: tabular-nums; }
.journal tfoot td { background: var(--gold-wash); font-weight: 600; }
.journal .ok { color: var(--up-ink); display: inline-flex; align-items: center; gap: 6px; }
.journal .ok .icon { width: 16px; height: 16px; }
.journal .memo { font-size: 12px; color: var(--muted); display: block; }
.readout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ro { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; min-width: 0; background: var(--ivory); }
.ro small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.ro b { display: block; font-family: var(--display); font-size: 20px; line-height: 1.2; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro.hl { background: var(--gold-wash); border-color: var(--line-2); }
.bankline { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ivory-2); font-size: 13px; }
.bankline .d { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.bankline b { font-weight: 600; }
.bankline .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.match { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 13.5px; }
.match.ok { background: var(--up-soft); color: var(--up-ink); }
.match.wait { background: var(--ivory-2); color: var(--ink-2); font-weight: 500; }
.match .icon { width: 18px; height: 18px; }
.trail { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.trail li { display: flex; gap: 10px; align-items: baseline; }
.trail time { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600; min-width: 54px; }
.ledger-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); background: var(--ivory); }
.ledger-foot .actions { display: flex; gap: 8px; }

/* ---- problems as a register (definition rows) ------------------------------------------- */
.rows { margin-top: 48px; border-top: 1px solid var(--line); }
.row2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row2 h3 { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.15; font-weight: 600; }
.row2 h3 small { display: block; font-family: var(--body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 8px; }
.row2 p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.row2 p b { color: var(--ink); font-weight: 600; }
.statement { margin: 56px auto 0; max-width: 820px; text-align: center; font-family: var(--display); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; font-weight: 500; text-wrap: balance; }
.statement em { font-style: italic; color: var(--gold-ink); }

/* ---- the thread: one transaction, four stages ---------------------------------------------- */
.thread { position: relative; margin-top: 56px; display: grid; gap: 0; }
.thread::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--gold), var(--gold) 70%, transparent); }
.stage { display: grid; grid-template-columns: 48px minmax(0, 4fr) minmax(0, 7fr); gap: 0 40px; padding: 36px 0; align-items: center; }
.stage + .stage { border-top: 1px dashed var(--line); }
.node { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); display: grid; place-items: center; color: var(--gold-text); font-family: var(--display); font-size: 18px; font-weight: 600; position: relative; z-index: 1; align-self: start; }
.stage:last-child .node { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.stage-copy { display: grid; gap: 12px; align-content: start; padding-top: 6px; }
.stage-copy h3 { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 600; text-wrap: balance; }
.stage-copy p { margin: 0; color: var(--ink-2); font-size: 16px; }
.stage-copy ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.stage-copy li { display: flex; gap: 10px; align-items: flex-start; }
.stage-copy li .icon { width: 18px; height: 18px; color: var(--up-ink); margin-top: 2px; }
.frag { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; min-width: 0; font-size: 13.5px; }
.frag h4 { margin: 0 0 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.frag .doc { display: grid; gap: 10px; }
.frag .doc-head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-size: 20px; font-weight: 600; }
.frag .doc-head span:last-child { font-family: var(--body); font-size: 12.5px; color: var(--muted); font-weight: 600; }
.frag .line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.frag .line b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.frag .line:last-child { border-bottom: 0; }
.frag .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; }
.frag .total b { font-family: var(--display); font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.prog { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.prog-t { height: 8px; border-radius: 4px; background: var(--ivory-2); overflow: hidden; }
.prog-f { height: 100%; border-radius: inherit; background: var(--gold); }
.prog-f.danger { background: var(--down); }
.prog-v { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.alloc { display: grid; gap: 8px; }
.alloc div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); background: var(--ivory); }
.alloc div b { font-variant-numeric: tabular-nums; font-weight: 600; }
.pl { display: grid; }
.pl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.pl div b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.pl div.sum { background: var(--gold-wash); border-radius: var(--r-sm); padding: 10px 12px; margin-top: 6px; border: 0; }
.pl div.sum span, .pl div.sum b { font-weight: 700; }
.pl div.sum b { color: var(--gold-text); }
.frag .bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin-top: 12px; }
.frag .bars i { flex: 1; background: var(--ivory-2); border-radius: 3px 3px 2px 2px; display: block; }
.frag .bars i.now { background: var(--gold); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- countries ------------------------------------------------------------------------------- */
.countries { margin-top: 44px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.country-list { display: grid; gap: 6px; }
.country-btn { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-d); background: transparent; color: var(--ink-d); text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s; }
.country-btn b { grid-column: 1; font-family: var(--display); font-size: 19px; font-weight: 600; }
.country-btn small { grid-column: 1; font-size: 12.5px; color: var(--muted-d); }
.country-btn .badge { grid-column: 2; grid-row: 1 / span 2; }
.country-btn:hover { background: var(--charcoal-2); }
.country-btn[aria-selected="true"] { background: var(--charcoal-2); border-color: var(--gold); }
.country-panel { background: var(--charcoal-2); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 22px; min-height: 360px; }
.country-panel[hidden] { display: none; }
.country-panel h3 { margin: 0; font-family: var(--display); font-size: 34px; line-height: 1.1; font-weight: 600; }
.country-panel > p { margin: 0; color: var(--soft-d); font-size: 16px; max-width: 64ch; }
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.cgrid dl { margin: 0; padding: 14px 0; border-top: 1px solid var(--line-d); display: grid; gap: 4px; }
.cgrid dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.cgrid dd { margin: 0; font-size: 15px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cnote { margin: 0; font-size: 13px; color: var(--muted-d); padding-top: 14px; border-top: 1px solid var(--line-d); }

/* ---- price books ------------------------------------------------------------------------------ */
.pb-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.seg { display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--pill); gap: 4px; }
.seg button { height: 38px; padding: 0 16px; border-radius: var(--pill); border: 0; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.seg button[aria-pressed="true"] { background: var(--charcoal); color: var(--ink-d); }
.seg .save { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber); padding: 3px 7px; border-radius: var(--pill); font-weight: 700; }
.pb-wrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); }
.pb { width: 100%; border-collapse: collapse; min-width: 760px; }
.pb th, .pb td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.pb thead th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--ivory); }
.pb thead th.cur { text-align: right; }
.pb thead th.cur span { display: block; font-family: var(--display); font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 600; margin-top: 2px; }
.pb tbody tr:last-child td { border-bottom: 0; }
.pb .plan b { font-family: var(--display); font-size: 24px; font-weight: 600; display: block; }
.pb .plan span:not(.badge) { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; max-width: 34ch; }
.pb .plan .badge { display: inline-flex; margin-top: 10px; }
.pb .price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pb .price b { font-family: var(--display); font-size: 30px; font-weight: 600; display: block; line-height: 1; }
.pb .price small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.pb tr.featured td { background: var(--gold-wash); }
.pb tr.planned .price { opacity: .62; }
.pb .from { display: inline-block; font-family: var(--body); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-right: 6px; vertical-align: middle; }
.pb tr.featured .plan b::after { content: "Recommended for the beta"; display: inline-block; margin-left: 10px; vertical-align: middle; font-family: var(--body); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber); padding: 4px 8px; border-radius: var(--pill); font-weight: 700; }
.pb-notes { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.pb-notes li { display: flex; gap: 10px; }
.pb-notes li::before { content: "·"; color: var(--gold); font-weight: 700; }

/* ---- release register ------------------------------------------------------------------------------ */
.reg-controls { margin-top: 32px; display: flex; justify-content: flex-start; }
.reg-controls .when-open { display: none; }
.reg-controls [aria-expanded="true"] .when-open { display: inline; }
.reg-controls [aria-expanded="true"] .when-closed { display: none; }
.reg-controls [aria-expanded="true"] .icon { transform: rotate(180deg); }
.register:not(.is-expanded) .reg-head, .register:not(.is-expanded) .reg-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2.4fr); }
.register:not(.is-expanded) .reg-head span:nth-child(n+3), .register:not(.is-expanded) .reg-row ul:not(.beta) { display: none; }
.register:not(.is-expanded) .reg-row { padding: 18px 24px; align-items: center; }
.register:not(.is-expanded) .reg-row ul.beta { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.register:not(.is-expanded) .reg-row ul.beta li { padding: 6px 12px 6px 24px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--ivory); font-size: 13px; }
.register:not(.is-expanded) .reg-row ul.beta li::before { left: 11px; top: 12px; }
.register:not(.is-expanded) .reg-row ul.beta::before { display: none; }
.register { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.reg-head { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 20px; padding: 16px 24px; background: var(--ivory); border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.reg-head span:nth-child(2) { color: var(--amber-text); }
.reg-row { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.reg-row:last-child { border-bottom: 0; }
.reg-row h3 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.reg-row h3 .icon { width: 20px; height: 20px; color: var(--gold-text); }
.reg-row p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.reg-row ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; align-content: start; color: var(--ink-2); }
.reg-row ul li { padding-left: 14px; position: relative; }
.reg-row ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.reg-row .beta li::before { background: var(--amber); }
.reg-row .beta li { color: var(--ink); }
.reg-row .none { color: var(--muted); font-style: italic; }
.reg-total { padding: 16px 24px; background: var(--ivory); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.reg-total b { color: var(--ink); }

/* ---- trust: the stack diagram ---------------------------------------------------------------- */
.stack { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.layers { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: var(--r); background: var(--charcoal-2); border: 1px solid var(--line-d); }
.layer .icon { width: 56px; height: 56px; border-radius: var(--r-sm); background: rgba(191,165,106,.12); color: var(--gold); display: grid; place-items: center; }
.layer .icon svg { width: 26px; height: 26px; }
.layer b { font-family: var(--display); font-size: 20px; font-weight: 600; display: block; }
.layer span { color: var(--soft-d); font-size: 14px; }
.layer .lock { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; text-align: right; }
.layer.engine { border-color: var(--gold); background: #1a1810; }
.gap-arrow { display: grid; place-items: center; color: var(--gold); height: 10px; }
.gates { display: grid; gap: 14px; }
.gate { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.gate .icon { width: 28px; height: 28px; color: var(--up); }
.gate b { display: block; font-size: 16px; font-weight: 600; }
.gate span { color: var(--soft-d); font-size: 14.5px; }
.gate-note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted-d); font-style: italic; }

/* ---- people -------------------------------------------------------------------------------------- */
.people { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.aud { display: grid; margin-top: 36px; }
.aud-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.aud-row:last-child { border-bottom: 1px solid var(--line); }
.aud-row h3 { margin: 0; font-family: var(--display); font-size: 24px; line-height: 1.2; font-weight: 600; }
.aud-row .lead { margin: 0; color: var(--gold-text); font-weight: 600; }
.aud-row p { margin: 0; color: var(--ink-2); }

/* ---- faq ------------------------------------------------------------------------------------------ */
.qa { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.qa > div { padding: 24px 0; border-top: 1px solid var(--line); }
.qa h3 { margin: 0 0 8px; font-family: var(--display); font-size: 21px; line-height: 1.25; font-weight: 600; }
.qa p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---- close + form -------------------------------------------------------------------------------- */
.close { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.close h2 { margin: 14px 0 0; font-family: var(--display); font-size: clamp(36px, 4.8vw, 60px); line-height: 1.04; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.close .lede { margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: var(--soft-d); max-width: 48ch; }
.close-list { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.close-list li { display: grid; gap: 2px; padding-left: 18px; border-left: 2px solid var(--gold); }
.close-list b { font-size: 16px; }
.close-list span { color: var(--soft-d); font-size: 14.5px; }
.aside-note { margin-top: 36px; font-size: 14.5px; color: var(--soft-d); }
.aside-note a { color: var(--gold); }
.form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 20px; box-shadow: var(--shadow-lg); }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-head h3 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 600; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; height: 48px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ivory); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(252,179,21,.3); outline: none; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field .err { display: none; font-size: 12px; color: var(--down-ink); }
.field.invalid input, .field.invalid select { border-color: var(--down); }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field label.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); font-weight: 400; cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--amber-text); }
.check a { color: var(--gold-text); }
.field.invalid .check { color: var(--down-ink); }
.field.invalid .check input { outline: 2px solid var(--down); outline-offset: 1px; border-radius: 3px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 12.5px; line-height: 1.5; max-width: 34ch; }
.done { display: grid; gap: 16px; }
.done h3 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 600; }
.done .tick { width: 48px; height: 48px; border-radius: var(--pill); background: var(--up-soft); color: var(--up-ink); display: grid; place-items: center; }
.done .tick .icon { width: 26px; height: 26px; }
.done p { margin: 0; color: var(--ink-2); }
.done pre { margin: 0; padding: 16px; border-radius: var(--r-sm); background: var(--ivory); border: 1px solid var(--line); font-family: var(--body); font-size: 13px; line-height: 1.5; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.done .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- footer --------------------------------------------------------------------------------------- */
.footer { background: var(--foot); color: var(--muted); border-top: 1px solid var(--line); padding-block: 56px 36px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer .tagline { margin: 16px 0 0; max-width: 36ch; color: var(--ink-2); }
.footer h4 { margin: 0 0 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.legal p { margin: 0; max-width: 100ch; }

/* ---- responsive ------------------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-links a { padding: 0 8px; font-size: 13.5px; }
  .nav .wrap { gap: 16px; }
}
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; grid-template-areas: "copy" "ledger" "facts"; gap: 36px; }
  .desk-only { display: none; } .phone-only { display: inline; }
  .stage { grid-template-columns: 48px minmax(0, 1fr); }
  .stage .frag { grid-column: 2; margin-top: 20px; }
  .countries { grid-template-columns: 1fr; }
  .country-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .country-list::-webkit-scrollbar { display: none; }
  .country-btn { flex: none; min-width: 220px; }
  .stack, .people, .close { grid-template-columns: 1fr; }
  .photo { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qa { grid-template-columns: 1fr; }
  .reg-head { display: none; }
  .register .reg-row, .register:not(.is-expanded) .reg-row { grid-template-columns: 1fr; gap: 12px; }
  .reg-row ul::before { content: attr(data-col); display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-quiet { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links { display: grid; position: absolute; left: 0; right: 0; top: 100%; gap: 4px; padding: 12px var(--gutter) 16px var(--gutter); background: var(--ivory); border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-links a { height: 44px; }
  .nav.is-open .only-menu { display: block; }
  .nav .wrap { gap: 12px; }
}
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .pb { min-width: 0; }
  .pb thead { display: none; }
  .pb tbody tr { display: grid; grid-template-columns: 1fr 1fr 1.4fr; border-bottom: 1px solid var(--line); }
  .pb tbody tr:last-child { border-bottom: 0; }
  .pb td { border-bottom: 0; }
  .pb td.plan { grid-column: 1 / -1; padding: 20px 18px 8px; }
  .pb td.price { text-align: left; padding: 8px 18px 20px; white-space: normal; }
  .pb td.price::before { content: attr(data-cur); display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
  .pb td.price b { font-size: 20px; }
  .pb td.price small { font-size: 11.5px; }
  .pb td[colspan] { grid-column: 1 / -1; }
  .pb td[colspan]::before { content: none; }
  .pb tr.featured .plan b::after { display: block; width: max-content; margin: 8px 0 0; }
  .section { padding-block: 64px; }
  .hero { padding-block: 48px 40px; }
  .inputs { grid-template-columns: 1fr 1fr; }
  .inputs .inp:first-child { grid-column: 1 / -1; }
  .readout { grid-template-columns: 1fr 1fr; }
  .steps-bar { grid-template-columns: 1fr; }
  .step-btn { border-right: 0; border-bottom: 1px solid var(--line); }
  .step-btn:last-child { border-bottom: 0; }
  .row2 { grid-template-columns: 1fr; gap: 10px; }
  .two { grid-template-columns: 1fr; }
  .cgrid { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .thread::before { left: 19px; }
  .node { width: 40px; height: 40px; font-size: 15px; }
  .stage { grid-template-columns: 40px minmax(0, 1fr); gap: 0 18px; }
}
@media (max-width: 520px) {
  .layer { grid-template-columns: 48px 1fr; gap: 12px 14px; }
  .layer .icon { width: 48px; height: 48px; }
  .layer .lock { grid-column: 2; text-align: left; }
  .nav-cta .long { display: none; } .nav-cta .short { display: inline; }
  .wordmark { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation: none !important; }
}

/* ================================================================================================
   v5 additions: multi-page site, investor-ready positioning
   ================================================================================================ */
/* ---- dark hero ------------------------------------------------------------------------------ */
.hero.band { padding-block: 72px 72px; }
.hero.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 520px at 85% -10%, rgba(191,165,106,.16), transparent 70%); pointer-events: none; z-index: -1; }
.hero.band h1 { color: var(--ink-d); }
.hero.band h1 em { color: var(--gold); }
.hero.band .hero-lede { color: var(--soft-d); }
.hero.band .hero-note { color: var(--muted-d); }
.hero.band .hero-note b { color: var(--ink-d); }
.hero.band .facts { border-top-color: var(--line-d); }
.hero.band .facts b { color: var(--ink-d); }
.hero.band .facts span { color: var(--muted-d); }
.ledger { color: var(--ink); }
.band .ledger .badge { background: var(--amber-soft); color: var(--amber-text); }
.band .ledger .btn-dark { background: var(--charcoal); color: #f5f2ed; }
.band .ledger .btn-quiet { color: var(--ink-2); }
.band .ledger .btn-quiet:hover { color: var(--ink); background: var(--ivory-2); }
.who { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.who a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-d2); color: var(--ink-d); text-decoration: none; font-size: 13.5px; font-weight: 500; transition: background-color .15s, border-color .15s; }
.who a:hover { background: rgba(245,242,237,.08); border-color: var(--gold); }
.who a .icon { width: 16px; height: 16px; color: var(--gold); }
.hero.band .hero-cta .btn-outline { border-color: var(--line-d2); color: var(--ink-d); }
.hero.band .hero-cta .btn-outline:hover { background: rgba(245,242,237,.08); }

/* ---- sub-page hero -------------------------------------------------------------------------- */
.page-hero { padding-block: 72px 48px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.page-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(36px, 4.8vw, 60px); line-height: 1.04; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.page-hero h1 em { font-style: italic; color: var(--gold-ink); }
.page-hero.band h1 em { color: var(--gold); }
.page-hero .lede { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
.page-hero.band .lede { color: var(--soft-d); }
.page-hero .side-cta { display: grid; gap: 12px; justify-items: start; }
.page-hero .label { margin-bottom: 14px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.band .crumbs, .band .crumbs a { color: var(--muted-d); }

/* ---- investor-ready: checklist + forecast widget ------------------------------------------- */
.ready-grid { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.ready { margin: 24px 0 0; padding: 0; list-style: none; display: grid; }
.ready li { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ready li:last-child { border-bottom: 1px solid var(--line); }
.ready li b { font-weight: 600; display: block; }
.ready li span.d { display: block; font-size: 13px; color: var(--muted); }
.fc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.fc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.fc-top h3 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 600; }
.fc-top p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.fc-body { padding: 22px; display: grid; gap: 18px; }
.fc-inputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fc-inputs .inp input[type="range"] { height: 44px; padding: 0; border: 0; background: transparent; accent-color: var(--amber-text); }
.fc-out { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fc-out .ro b { font-size: 22px; }
.fc-out .ro.bad { background: var(--down-soft); border-color: transparent; }
.fc-out .ro.bad b { color: var(--down-ink); }
.fc-out .ro.good { background: var(--up-soft); border-color: transparent; }
.fc-out .ro.good b { color: var(--up-ink); }
.fc-chart { display: grid; gap: 8px; }
.fc-chart svg { width: 100%; height: 150px; display: block; }
.fc-chart .axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.fc-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: var(--ivory); font-size: 12.5px; color: var(--muted); }
.fc-foot b { color: var(--ink); }

/* ---- two sides ------------------------------------------------------------------------------ */
.sides { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: grid; gap: 18px; align-content: start; box-shadow: var(--shadow); }
.side-card .tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.side-card h3 { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.1; font-weight: 600; }
.side-card p { margin: 0; color: var(--ink-2); }
.side-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.side-card li { display: flex; gap: 10px; align-items: flex-start; }
.side-card li .icon { width: 18px; height: 18px; color: var(--up-ink); margin-top: 2px; }
.side-card .btn { justify-self: start; margin-top: 6px; }
.side-card.investor { background: var(--charcoal); color: var(--ink-d); border-color: var(--charcoal); }
.side-card.investor .tag { color: var(--gold); }
.side-card.investor p { color: var(--soft-d); }
.side-card.investor li .icon { color: var(--up); }
.flow { display: grid; align-content: center; justify-items: center; gap: 10px; text-align: center; font-size: 12.5px; color: var(--muted); padding: 10px 0; }
.flow .pipe { width: 2px; flex: 1; min-height: 28px; background: linear-gradient(var(--gold), transparent); }
.flow .chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--pill); background: var(--gold-soft); color: var(--gold-text); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.flow .chip .icon { width: 16px; height: 16px; }
.flow .arrow { color: var(--gold); }
.flow .arrow .icon { width: 22px; height: 22px; }
.scope-note { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; max-width: 72ch; }
.scope-note .icon { width: 18px; height: 18px; color: var(--gold-text); flex: none; margin-top: 2px; }

/* ---- compliance calendar ------------------------------------------------------------------- */
.cal-grid { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.cal { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.cal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.cal-top h3 { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 600; }
.cal-top p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.cal-row { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cal-row:last-child { border-bottom: 0; }
.cal-row b { display: block; font-weight: 600; }
.cal-row small { display: block; color: var(--muted); font-size: 12.5px; }
.cal-row .due { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.cal-row .due.soon { color: var(--down-ink); }
.cal-row .ev { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.cal-row .ev .prog-t { height: 6px; }
.band .cal .badge { background: var(--amber-soft); color: var(--amber-text); }
.band .cal .badge.badge-up { background: var(--up-soft); color: var(--up-ink); }
.band .cal .badge.badge-later { background: transparent; color: var(--muted); border: 1px solid var(--line-2); }
.band .ready li { border-color: var(--line-d); }
.band .ready li span.d { color: var(--muted-d); }
.band .ready li b { color: var(--ink-d); }

/* ---- plan cards (home) ---------------------------------------------------------------------- */
.plan-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.plan-controls .segs { display: flex; gap: 10px; flex-wrap: wrap; }
.plans { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow); position: relative; }
.plan-card.featured { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.plan-card .ribbon { position: absolute; top: -12px; left: 24px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber); padding: 5px 10px; border-radius: var(--pill); font-weight: 700; }
.plan-card h3 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-card .price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.plan-card .price b { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 600; }
.plan-card .price small { color: var(--muted); font-size: 13px; }
.plan-card .price .from { margin-right: 0; }
.plan-card.planned .price { opacity: .62; }
.plan-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.plan-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.plan-card li { display: flex; gap: 10px; align-items: flex-start; }
.plan-card li .icon { width: 16px; height: 16px; color: var(--up-ink); margin-top: 3px; }
.plan-card li.soon { color: var(--muted); }
.plan-card li.soon .icon { color: var(--line-2); }
.plan-card .btn { margin-top: 6px; }
.packs-line { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pack { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 4px; font-size: 14px; background: transparent; }
.pack b { font-family: var(--display); font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pack span { color: var(--ink-2); }
.pack .pr { color: var(--gold-text); font-weight: 600; }
.more-link { margin-top: 20px; font-size: 14.5px; }
.more-link a { color: var(--gold-text); font-weight: 600; }

/* ---- pricing page tables ------------------------------------------------------------------- */
.pb-section { margin-top: 48px; }
.pb-section h3 { margin: 0 0 6px; font-family: var(--display); font-size: 26px; font-weight: 600; }
.pb-section > p { margin: 0 0 16px; color: var(--ink-2); max-width: 70ch; }
.pb .plan .inc { display: block; font-size: 12.5px; color: var(--gold-text); font-weight: 600; margin-top: 6px; }
.pb .price .free { font-family: var(--display); font-size: 30px; font-weight: 600; }

/* ---- trust strip (home) -------------------------------------------------------------------- */
.gates-row { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gates-row .gate { grid-template-columns: 24px 1fr; }
.gates-row .gate .icon { width: 24px; height: 24px; }
.gates-row .gate b { font-size: 15px; }
.gates-row .gate span { font-size: 13.5px; }

/* ---- investors page ------------------------------------------------------------------------- */
.pf-wrap { margin-top: 44px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.pf-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.pf-top h3 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 600; }
.pf-top p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.pf-top .sum { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.pf-top .sum b { display: block; font-family: var(--display); font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pf-scroll { overflow-x: auto; }
.pf { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.pf th { text-align: left; padding: 10px 22px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--ivory); border-bottom: 1px solid var(--line); }
.pf td { padding: 14px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.pf tr:last-child td { border-bottom: 0; }
.pf td.co b { display: block; font-weight: 600; }
.pf td.co small { color: var(--muted); font-size: 12.5px; }
.pf .num { text-align: right; }
.pf th.num { text-align: right; }
.pf .delta { font-size: 12px; font-weight: 600; }
.pf .delta.up { color: var(--up-ink); }
.pf .delta.down { color: var(--down-ink); }
.pf tr.dim td { color: var(--muted); }
.pf tr.dim td.co b { color: var(--ink-2); }
.spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 22px; vertical-align: middle; margin-left: 8px; }
.spark i { width: 4px; background: var(--line-2); border-radius: 1px; display: block; }
.spark i.now { background: var(--gold); }
.steps3 { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step3 { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; }
.step3 .n { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-text); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.step3 h3 { margin: 6px 0 0; font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.step3 p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.band .step3 { background: var(--charcoal-2); border-color: var(--line-d); color: var(--ink-d); }
.band .step3 p { color: var(--soft-d); }
.band .step3 .n { color: var(--gold); }
.not-list { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.not-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.not-list li .icon { width: 24px; height: 24px; color: var(--down); }
.not-list b { display: block; font-weight: 600; }
.not-list span { color: var(--ink-2); font-size: 14px; }
.band .not-list span { color: var(--soft-d); }

/* ---- CTA band for sub-pages --------------------------------------------------------------- */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 600; text-wrap: balance; }
.cta-band p { margin: 14px 0 0; color: var(--soft-d); max-width: 56ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .page-hero .wrap { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .ready-grid, .cal-grid { grid-template-columns: 1fr; gap: 32px; }
  .sides { grid-template-columns: 1fr; }
  .flow { grid-auto-flow: column; justify-content: center; }
  .flow .pipe { width: 28px; height: 2px; min-height: 0; background: linear-gradient(90deg, var(--gold), transparent); }
  .flow .arrow .icon { transform: rotate(-90deg); }
  .gates-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fc-inputs { grid-template-columns: 1fr 1fr; }
  .fc-out { grid-template-columns: 1fr 1fr; }
  .plans, .packs-line, .steps3 { grid-template-columns: 1fr; }
  .not-list { grid-template-columns: 1fr; }
  .cal-row { grid-template-columns: 1fr auto; }
  .cal-row .ev { grid-column: 1 / -1; }
  .gates-row { grid-template-columns: 1fr; }
  .hero.band { padding-block: 44px 40px; }
}
@media (max-width: 520px) {
  .flow { grid-auto-flow: row; }
  .flow .pipe { width: 2px; height: auto; min-height: 20px; background: linear-gradient(var(--gold), transparent); }
  .flow .arrow .icon { transform: none; }
}

/* ---- trust stack on a light section ------------------------------------------------------- */
.stack.light .layer { background: var(--paper); border-color: var(--line); color: var(--ink); }
.stack.light .layer span { color: var(--ink-2); }
.stack.light .layer .lock { color: var(--gold-text); }
.stack.light .layer .icon { background: var(--gold-soft); color: var(--gold-text); }
.stack.light .layer.engine { background: var(--charcoal); border-color: var(--gold); color: var(--ink-d); }
.stack.light .layer.engine span { color: var(--soft-d); }
.stack.light .layer.engine .lock { color: var(--gold); }
.stack.light .layer.engine .icon { background: rgba(191,165,106,.12); color: var(--gold); }
.stack.light .gate .icon { color: var(--up-ink); }
.stack.light .gate span { color: var(--ink-2); }
.stack.light .gate-note { color: var(--muted); }

/* ---- v5 fixes -------------------------------------------------------------------------------- */
.badge { font-family: var(--body); letter-spacing: .02em; }
.fc-out .ro b { white-space: normal; font-size: 20px; line-height: 1.15; }
.side-card.investor .btn-outline { border-color: var(--line-d2); color: var(--ink-d); }
.side-card.investor .btn-outline:hover { background: rgba(245,242,237,.08); color: var(--ink-d); }
.gates-row .gate span { color: var(--ink-2); }
.gates-row .gate .icon { color: var(--up-ink); }

/* ================================================================================================
   v6 polish: ledger-paper hero, reveals, progress bar, gold accents, footer watermark
   ================================================================================================ */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold-ink), var(--gold) 60%, var(--amber)); z-index: 70; transition: width .12s linear; pointer-events: none; }
.nav.is-scrolled { box-shadow: 0 8px 30px -18px rgba(15,17,21,.35); }
.hero.band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; --mx: max(40px, calc(50% - 628px));
  background:
    linear-gradient(90deg, transparent calc(var(--mx) - 1px), rgba(191,165,106,.32) calc(var(--mx) - 1px), rgba(191,165,106,.32) var(--mx), transparent var(--mx)),
    repeating-linear-gradient(180deg, rgba(245,242,237,.045) 0 1px, transparent 1px 30px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.35) 60%, transparent); mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.35) 60%, transparent); }
.hero.band h1 { font-size: clamp(40px, 5vw, 70px); }
.hero.band h1 em { background: linear-gradient(92deg, #e2cf9a, var(--gold) 55%, #f3c35a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero.band .hero-lede { font-size: 19.5px; }
.hero.band .ledger { box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 40px 90px -30px rgba(252,179,21,.22), 0 30px 70px -24px rgba(0,0,0,.6); border-color: rgba(245,242,237,.12); }
.btn-amber { box-shadow: 0 10px 26px -12px rgba(252,179,21,.65); }
.btn-amber:hover { transform: translateY(-1px); }
.btn-amber:active { transform: translateY(1px); }
.label:not(:has(svg))::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; border-radius: 1px; }
.plan-card.featured { border: 1.5px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(135deg, var(--gold), var(--amber)) border-box; }
.statement { position: relative; padding: 28px 0; }
.statement::before, .statement::after { content: ""; display: block; width: 56px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--amber)); margin: 0 auto 26px; }
.statement::after { margin: 26px auto 0; }
.footer { position: relative; overflow: hidden; padding-bottom: 150px; }
.footer::before { content: "ENTAPRIZ"; position: absolute; left: 50%; transform: translateX(-50%); bottom: -0.32em; font-family: var(--display); font-weight: 700; font-size: clamp(110px, 15vw, 230px); line-height: 1; letter-spacing: .06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-2); opacity: .7; pointer-events: none; user-select: none; }
.footer .wrap { position: relative; }
.fc, .cal, .pf-wrap, .side-card, .plan-card, .frag, .ledger { transition: transform .35s ease, box-shadow .35s ease; }
.frag:hover, .plan-card:hover, .side-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* reveal on scroll (classes are added by script; without script everything is visible) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .07s; } .reveal:nth-child(3) { transition-delay: .14s; } .reveal:nth-child(4) { transition-delay: .21s; } .reveal:nth-child(5) { transition-delay: .28s; } .reveal:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .progress { transition: none; }
  .frag:hover, .plan-card:hover, .side-card:hover, .btn-amber:hover { transform: none; }
}
@media (max-width: 760px) {
  .footer { padding-bottom: 90px; }
  .footer::before { font-size: 26vw; }
  .hero.band::before { background: repeating-linear-gradient(180deg, rgba(245,242,237,.045) 0 1px, transparent 1px 30px); }
}

/* ================================================================================================
   v7 layout: breakout hero, proof strip, acts, rail, bento, scrolly thread, matrix, panel, finishers
   ================================================================================================ */
/* ---- type scale 72 / 48 / 32 / 24 / 20, measure 62ch, wide-screen breathing room ----------- */
.hero.band h1 { font-size: clamp(42px, 5.2vw, 72px); max-width: 17ch; }
.head h2 { font-size: clamp(32px, 3.6vw, 48px); }
.head p, .row2 p, .stage-copy p, .side-card p, .page-hero .lede { max-width: 62ch; }
.row2 h3, .side-card h3, .stage-copy h3, .country-panel h3 { font-size: 32px; }
.aud-row h3, .plan-card h3, .step3 h3, .pb .plan b, .pb-section h3, .ledger-top h3, .fc-top h3 { font-size: 24px; }
.qa h3, .reg-row h3, .cal-top h3, .pf-top h3 { font-size: 20px; }
.head { gap: 16px; grid-template-rows: auto auto auto; }
@media (min-width: 1400px) { .section { padding-block: 128px; } .page-hero { padding-block: 96px 64px; } }

/* ---- breakout hero --------------------------------------------------------------------------- */
.hero.band.hero-v2 { padding-block: 72px 300px; }
.hero.band.hero-v2 .wrap { display: block; }
.hero-v2 .hero-copy { gap: 30px; }
.hero-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; width: 100%; }
.hero-side { display: grid; gap: 16px; justify-items: start; }
.hero-side .hero-cta { gap: 10px; }
.hero-demo { position: relative; z-index: 2; margin-top: -250px; padding-bottom: 8px; }
.hero-demo .hero-note { margin: 0 auto 14px; max-width: 1040px; color: var(--muted-d); font-size: 14px; text-align: left; }
.hero-demo .hero-note b { color: var(--ink-d); }
.hero-demo .ledger { max-width: 1040px; margin: 0 auto; }
.hero-demo .inputs { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.hero-demo .ledger-body { padding: 24px 28px; }
.hero-demo .ledger-top, .hero-demo .ledger-foot { padding-inline: 28px; }

/* ---- proof strip ------------------------------------------------------------------------------ */
.proof { background: var(--ivory); padding: 48px 0 8px; }
.proof-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-list li { padding: 26px 22px 26px 0; display: grid; gap: 6px; border-left: 1px solid var(--line); padding-left: 22px; }
.proof-list li:first-child { border-left: 0; padding-left: 0; }
.proof-list b { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.proof-list span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ---- acts + margin line ----------------------------------------------------------------------- */
.act { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.act-n { font-family: var(--display); font-size: 132px; line-height: .8; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--gold); letter-spacing: -.02em; }
.act-k { margin: 0 0 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.act-t { margin: 0; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 600; max-width: 20ch; text-wrap: balance; }
.act-p { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; max-width: 56ch; }
main { position: relative; }
.act-line { position: absolute; left: max(14px, calc(50% - 640px)); width: 2px; background: linear-gradient(var(--gold-ink), var(--gold) 50%, transparent); pointer-events: none; display: none; }
@media (min-width: 1300px) { .act-line { display: block; } }

/* ---- rail (on-page index) --------------------------------------------------------------------- */
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 50; display: none; flex-direction: column; gap: 10px; }
@media (min-width: 1200px) { .rail { display: flex; } }
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; width: 12px; height: 12px; }
.rail a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color .15s, transform .15s; }
.rail a.is-active::before { background: var(--amber); transform: scale(1.35); }
.rail a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--pill); opacity: 0; pointer-events: none; transition: opacity .15s; box-shadow: var(--shadow); }
.rail a:hover span, .rail a:focus-visible span, .rail:hover a.is-active span { opacity: 1; }

/* ---- bento ------------------------------------------------------------------------------------ */
.bento-title { margin: 44px 0 18px; font-size: 24px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(168px, auto); gap: 14px; }
.tile-fc { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 20px 22px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.tile-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tile-top .icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--gold-soft); color: var(--gold-text); display: grid; place-items: center; }
.tile-top .icon svg { width: 20px; height: 20px; }
.tile h3 { margin: 6px 0 0; font-family: var(--display); font-size: 20px; line-height: 1.2; font-weight: 600; }
.tile p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.bento .fc-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento .fc-out { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---- scrolly thread (platform) ------------------------------------------------------------- */
@media (min-width: 1081px) {
  .thread.scrolly { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 56px; align-items: start; }
  .thread.scrolly::before { left: 23px; }
  .thread.scrolly .thread-stages { display: grid; }
  .thread.scrolly .stage { grid-template-columns: 48px minmax(0, 1fr); min-height: 62vh; padding: 48px 0; }
  .thread.scrolly .stage .frag { display: none; }
  .thread.scrolly .stage.is-active .stage-copy h3 { color: var(--ink); }
  .thread.scrolly .stage:not(.is-active) .stage-copy { opacity: .45; transition: opacity .4s; }
  .thread.scrolly .stage.is-active .stage-copy { opacity: 1; transition: opacity .4s; }
  .thread-panel { position: sticky; top: calc(var(--nav-h) + 48px); min-height: 420px; display: grid; }
  .thread-panel .frag { grid-area: 1 / 1; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
  .thread-panel .frag.is-active { opacity: 1; transform: none; pointer-events: auto; }
  .thread-panel .frag::after { content: attr(data-n) " / 5"; position: absolute; top: -28px; right: 0; font-size: 11px; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
  .thread-panel .frag { position: relative; }
}

/* ---- comparison matrix (pricing) ---------------------------------------------------------- */
.cmp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.cmp-head p { margin: 6px 0 0; color: var(--ink-2); max-width: 62ch; }
.cmp-toggle { gap: 10px; }
.cmp-toggle .sw { width: 34px; height: 20px; border-radius: var(--pill); background: var(--line-2); position: relative; transition: background-color .2s; }
.cmp-toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); transition: transform .2s; }
.cmp-toggle[aria-pressed="true"] .sw { background: var(--amber); }
.cmp-toggle[aria-pressed="true"] .sw::after { transform: translateX(14px); }
.cmp-toggle[aria-pressed="true"] .when-closed, .cmp-toggle:not([aria-pressed="true"]) .when-open { display: none; }
.cmp-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); max-height: 80vh; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; font-size: 14px; }
.cmp thead th { position: sticky; top: 0; z-index: 2; background: var(--ivory); padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.cmp thead th:first-child { text-align: left; }
.cmp thead th b { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; }
.cmp thead th small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.cmp thead th.featured { background: var(--gold-wash); }
.cmp td { padding: 13px 20px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp td:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.cmp td:first-child small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.cmp tr.group td { background: var(--ivory); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 20px; text-align: left; }
.cmp td.featured { background: var(--gold-wash); }
.cmp .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--up-soft); color: var(--up-ink); }
.cmp .yes svg { width: 14px; height: 14px; }
.cmp .no { color: var(--line-2); font-size: 18px; line-height: 1; }
.cmp .pack { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cmp.is-pack .pack { color: var(--gold-text); }
.cmp.is-pack .pack .yes { background: var(--gold-soft); color: var(--gold-text); }
.cmp .pack .yes { display: none; }
.cmp.is-pack .pack .yes { display: inline-grid; }
.cmp.is-pack .pack .lbl { display: none; }
.cmp tr.packrow td:first-child::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-left: 8px; vertical-align: middle; opacity: 0; transition: opacity .2s; }
.cmp.is-pack tr.packrow td:first-child::after { opacity: 1; }
.cmp td.val { font-weight: 500; }

/* ---- portfolio panel (investors) ---------------------------------------------------------- */
.pf-row { cursor: pointer; transition: background-color .15s; }
.pf-row:hover td, .pf-row:focus-visible td { background: var(--gold-wash); }
.pf-row.is-open td { background: var(--gold-wash); }
.pf-row.paused td { color: var(--muted); }
.pf-hint { margin: 14px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.pf-hint .icon { width: 16px; height: 16px; color: var(--gold-text); }
.pf-scrim { position: fixed; inset: 0; background: rgba(15,17,21,.35); z-index: 80; }
.pf-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); color: var(--ink); z-index: 81; box-shadow: var(--shadow-lg); border-left: 1px solid var(--line); overflow: auto; padding: 26px 26px 36px; display: grid; gap: 18px; align-content: start; transform: translateX(0); animation: slidein .3s ease; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.pf-panel .ph { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pf-panel h3 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 600; }
.pf-panel .sub { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.pf-panel .x { width: 36px; height: 36px; border-radius: var(--pill); border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.pf-panel .x .icon { width: 18px; height: 18px; }
.pf-panel .metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-panel .sw-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--ivory); border: 1px solid var(--line); }
.pf-panel .sw-row b { display: block; font-size: 14px; }
.pf-panel .sw-row small { color: var(--muted); font-size: 12.5px; }
.switch { position: relative; width: 44px; height: 26px; border-radius: var(--pill); background: var(--line-2); border: 0; cursor: pointer; flex: none; transition: background-color .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--up); }
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.pf-panel h4 { margin: 6px 0 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pf-panel .log { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 13.5px; }
.pf-panel .log li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: baseline; }
.pf-panel .log time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pf-panel .paused-note { margin: 0; font-size: 13px; color: var(--down-ink); }
.pf-panel .pack-badge { justify-self: start; }

/* ---- finishers: theme toggle, back-to-top, mobile bar, 404 ------------------------------- */
.theme { width: 36px; height: 34px; border-radius: var(--pill); border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; display: inline-grid; place-items: center; margin-right: 4px; transition: color .15s, background-color .15s; }
.theme:hover { color: var(--ink); background: var(--ivory-2); }
.theme .icon { width: 16px; height: 16px; }
.totop { position: fixed; right: 18px; bottom: 22px; width: 44px; height: 44px; border-radius: var(--pill); background: var(--charcoal); color: #f5f2ed; display: grid; place-items: center; z-index: 60; box-shadow: var(--shadow-lg); text-decoration: none; transition: opacity .2s, transform .2s; }
.totop .icon { width: 18px; height: 18px; }
.totop[hidden] { display: none; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; gap: 8px; justify-content: space-between; align-items: center; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: rgba(245,242,237,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: transform .25s; }
  .mobile-bar .btn-amber { flex: 1; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .totop { bottom: 84px; right: 12px; }
  body { padding-bottom: 68px; }
  .hero.band.hero-v2 { padding-block: 44px 140px; }
  .hero-demo { margin-top: -110px; }
  .hero-row { grid-template-columns: 1fr; gap: 20px; }
  .proof-list { grid-template-columns: 1fr 1fr; }
  .proof-list li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .proof-list li:nth-child(-n+2) { border-top: 0; }
  .proof-list li:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
  .act { grid-template-columns: 1fr; gap: 6px; margin-bottom: 36px; padding-bottom: 28px; }
  .act-n { font-size: 84px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile-fc { grid-column: auto; grid-row: auto; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .hero.band.hero-v2 { padding-block: 56px 200px; }
  .hero-demo { margin-top: -170px; }
  .hero-row { grid-template-columns: 1fr; gap: 24px; }
  .proof-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof-list li:nth-child(4) { border-left: 0; padding-left: 0; }
  .proof-list li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .act { grid-template-columns: 110px 1fr; }
  .act-n { font-size: 96px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-fc { grid-column: 1 / 3; grid-row: auto; }
}
:root[data-theme="dark"] .mobile-bar { background: rgba(15,17,21,.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mobile-bar { background: rgba(15,17,21,.9); } }
.nf { min-height: 70vh; display: grid; align-items: center; }
.nf .wrap { display: grid; gap: 22px; justify-items: start; max-width: 820px; }
.nf-h { margin: 0; font-family: var(--display); font-size: clamp(40px, 6vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -.015em; }
.nf-p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.nf-links { margin: 8px 0 0; padding: 0; list-style: none; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; }
.nf-links a { color: var(--gold-text); font-weight: 600; }

/* ---- print ------------------------------------------------------------------------------------ */
@media print {
  .nav, .progress, .rail, .totop, .mobile-bar, .footer::before, .btn, .lang, .theme, .reg-controls, .cmp-toggle, .pf-hint, .pf-panel, .pf-scrim, .hero-demo .ledger-foot { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .band, .hero.band, .side-card.investor, .layer.engine { background: #fff !important; color: #000 !important; border: 1px solid #999 !important; }
  .band *, .hero.band *, .side-card.investor * { color: #000 !important; }
  .hero.band h1 em { -webkit-text-fill-color: #000; background: none; color: #000 !important; }
  .section { padding-block: 24pt !important; break-inside: avoid; }
  .register:not(.is-expanded) .reg-head span:nth-child(n+3), .register:not(.is-expanded) .reg-row ul:not(.beta) { display: block !important; }
  .register:not(.is-expanded) .reg-head, .register:not(.is-expanded) .reg-row { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)) !important; }
  .pb-wrap, .cmp-wrap { overflow: visible !important; max-height: none !important; box-shadow: none !important; }
  .pb, .cmp { min-width: 0 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: ""; }
  .hero-demo { margin-top: 0 !important; }
}

/* ---- v7 fixes --------------------------------------------------------------------------------- */
.hero-row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 40px; }
.hero-side .hero-cta { flex-wrap: nowrap; }
.bento .fc-inputs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento .fc-out { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento .fc-chart svg { height: 110px; }
.bento .fc-out .ro b { font-size: 18px; }
.cmp-wrap { overflow: visible; max-height: none; }
.cmp thead th { top: var(--nav-h); }
.cmp .no { color: var(--muted); opacity: .55; font-size: 20px; }
@media (max-width: 900px) { .cmp-wrap { overflow: auto; } .cmp thead th { top: 0; } }
@media (max-width: 1080px) { .hero-row { grid-template-columns: 1fr; } .hero-side .hero-cta { flex-wrap: wrap; } .bento .fc-inputs, .bento .fc-out { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================================================================================================
   v8: chat assistant + investor simulation
   ================================================================================================ */
/* ---- chat launcher + panel ---------------------------------------------------------------- */
.chat-launch { position: fixed; right: 18px; bottom: 22px; z-index: 66; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px; border-radius: var(--pill); border: 0; background: var(--charcoal); color: #f5f2ed; font-family: var(--body); font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .15s, filter .15s; }
.chat-launch .icon { width: 20px; height: 20px; color: var(--amber); }
.chat-launch:hover { transform: translateY(-1px); filter: brightness(1.15); }
.chat-launch[aria-expanded="true"] { display: none; }
.totop { right: 18px; bottom: 82px; }
.chat { position: fixed; right: 18px; bottom: 22px; width: min(400px, calc(100vw - 24px)); max-height: min(640px, calc(100vh - 100px)); z-index: 90; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-rows: auto 1fr auto auto auto; overflow: hidden; animation: slidein .25s ease; }
.chat[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px 18px; background: var(--charcoal); color: var(--ink-d); }
.chat-head h3 { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 600; }
.chat-head p { margin: 3px 0 0; font-size: 12px; color: var(--muted-d); }
.chat-head .x { width: 32px; height: 32px; border-radius: var(--pill); border: 1px solid var(--line-d2); background: transparent; color: var(--ink-d); cursor: pointer; display: grid; place-items: center; }
.chat-head .x .icon { width: 16px; height: 16px; }
.chat-log { overflow: auto; padding: 16px 16px 6px; display: grid; gap: 10px; align-content: start; min-height: 180px; background: var(--ivory); }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.msg.bot { justify-self: start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.user { justify-self: end; background: var(--charcoal); color: var(--ink-d); border-bottom-right-radius: 6px; }
.msg.bot a { color: var(--gold-text); font-weight: 600; }
.msg.bot .src { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.msg.thinking { color: var(--muted); font-style: italic; }
.chat-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 16px 6px; background: var(--ivory); }
.chat-chips button { height: 30px; padding: 0 11px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); font-family: var(--body); font-size: 12.5px; cursor: pointer; transition: background-color .15s, color .15s; }
.chat-chips button:hover { background: var(--gold-soft); color: var(--gold-text); border-color: var(--gold); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 8px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-form input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--ivory); color: var(--ink); font: inherit; font-size: 14px; }
.chat-form input:focus-visible { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(252,179,21,.3); }
.chat-form .btn { width: 42px; height: 42px; padding: 0; border-radius: var(--pill); }
.chat-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-form .btn .icon { width: 18px; height: 18px; }
.chat-foot { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--muted); background: var(--paper); }
@media (max-width: 760px) {
  .chat-launch { bottom: 82px; right: 12px; height: 44px; padding: 0 14px; }
  .chat-launch span { display: none; }
  .chat-launch { width: 48px; justify-content: center; padding: 0; }
  .chat { right: 0; left: 0; bottom: 0; width: 100%; max-height: 85vh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .totop { bottom: 136px; }
}
.lang-links a { color: var(--muted); text-decoration: none; }
.lang-links a.is-on { color: var(--ink); font-weight: 600; }

/* ---- simulation ------------------------------------------------------------------------------ */
.sim { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }
.sim-setup { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 14px; }
.sim-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.sim-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sim-card-head h3 { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 600; }
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim-grid .full { grid-column: 1 / -1; }
.sim-grid .inp input[type="range"] { height: 40px; padding: 0; border: 0; background: transparent; accent-color: var(--amber-text); }
.sim-grid .inp input, .sim-grid .inp select, .sim-setup .inp select { height: 40px; font-size: 14px; }
.sim-grid small { font-size: 11.5px; line-height: 1.4; }
.seg-wrap { flex-wrap: wrap; }
.seg-wrap button { font-size: 13px; padding: 0 12px; height: 34px; }
.sim-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sim-actions .btn-lg { flex: 1 1 100%; }
.sim-view { display: grid; gap: 16px; min-width: 0; }
.sim-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sim-co { margin: 10px 0 0; font-size: 32px; }
.sim-month { display: flex; align-items: baseline; gap: 6px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.sim-month small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-right: 6px; }
.sim-month b { font-family: var(--display); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.sim-timeline { display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; }
.sim-timeline i { height: 6px; border-radius: 3px; background: var(--line); display: block; transition: background-color .3s; }
.sim-timeline i.done { background: var(--gold); }
.sim-timeline i.now { background: var(--amber); }
.sim-timeline i.bad { background: var(--down); }
.sim-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sim-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.sim-panel h4 { margin: 0 0 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.sim-panel .badge { font-size: 10px; }
.sim-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim-metrics .ro b { font-size: 20px; white-space: normal; }
.sim-metrics .ro.locked { background: repeating-linear-gradient(135deg, var(--ivory) 0 6px, var(--ivory-2) 6px 12px); }
.sim-metrics .ro.locked b { color: var(--muted); font-family: var(--body); font-size: 13px; font-weight: 500; }
.sim-pl { margin-top: 12px; }
.sim-pl .pl div { padding: 6px 0; font-size: 13.5px; }
.sim-docs { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; }
.sim-docs li { display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.sim-docs li .icon { width: 16px; height: 16px; color: var(--gold-text); }
.sim-lock { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--gold-wash); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.sim-lock .icon { width: 16px; height: 16px; color: var(--gold-text); flex: none; margin-top: 2px; }
.sim-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.sim-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.sim-stake { display: grid; gap: 10px; }
.sim-stake .big { font-family: var(--display); font-size: 34px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.sim-stake .delta { font-size: 13px; font-weight: 600; }
.sim-stake .delta.up { color: var(--up-ink); } .sim-stake .delta.down { color: var(--down-ink); }
.sim-stake dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13.5px; }
.sim-stake dt { color: var(--muted); } .sim-stake dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.sim-stake .note { font-size: 11.5px; color: var(--muted); margin: 0; }
.sim-feed-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.sim-feed-head h4 { margin: 0; }
.sim-feed { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; max-height: 330px; overflow: auto; font-size: 13.5px; }
.sim-feed li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: var(--r-sm); background: var(--ivory); animation: slidein .25s ease; }
.sim-feed li time { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .06em; padding-top: 2px; }
.sim-feed li b { font-weight: 600; display: block; }
.sim-feed li small { color: var(--muted); font-size: 12px; }
.sim-feed li.alert { background: var(--down-soft); } .sim-feed li.alert b { color: var(--down-ink); }
.sim-feed li.good { background: var(--up-soft); } .sim-feed li.good b { color: var(--up-ink); }
.sim-feed li.consent { background: var(--gold-wash); }
.sim-feed li.update b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; }
.sim-summary { background: var(--charcoal); color: var(--ink-d); border-radius: var(--r-lg); padding: 26px 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sim-summary[hidden] { display: none; }
.sim-summary div { display: grid; gap: 4px; }
.sim-summary small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); font-weight: 600; }
.sim-summary b { font-family: var(--display); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sim-summary span { font-size: 13px; color: var(--soft-d); }
.sim-summary .wide { grid-column: 1 / -1; font-size: 14px; color: var(--soft-d); border-top: 1px solid var(--line-d); padding-top: 14px; }
.sim-notes { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 14px; color: var(--ink-2); }
.sim-notes p { margin: 0; }
.sim-notes b { color: var(--ink); }
.sim-view.paused .sim-metrics .ro:not(.locked) b, .sim-view.paused .sim-pl, .sim-view.paused .sim-docs { filter: blur(5px); opacity: .6; pointer-events: none; }
@media (max-width: 1080px) { .sim { grid-template-columns: 1fr; } .sim-setup { position: static; } .sim-panels { grid-template-columns: 1fr; } .sim-summary { grid-template-columns: 1fr 1fr; } .sim-notes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sim-grid { grid-template-columns: 1fr; } .sim-summary { grid-template-columns: 1fr; } }
