:root {
  color-scheme: light;
  --cream: #f3eee3;
  --cream-2: #eae3d4;
  --paper: #fbf8f1;
  --ink: #0e1016;
  --ink-2: #2a2d36;
  --muted: #6b6a64;
  --faint: #9a968b;
  --line: #d8d0bf;
  --line-2: #c5bca8;
  --cobalt: #2b4bff;
  --cobalt-deep: #1b2cbe;
  --cobalt-soft: #dde3ff;
  --signal: #e8492f;
  --ok: #0f8a5f;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 14px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .92em; }
::selection { background: var(--cobalt); color: var(--cream); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.cobalt { color: var(--cobalt); }
.signal { color: var(--signal); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-cobalt { background: var(--cobalt); color: var(--cream); }
.btn-cobalt:hover { background: var(--cobalt-deep); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--ink); color: var(--cream); }
.copy-btn { background: var(--paper); border: 1px solid var(--line-2); color: var(--ink-2); font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.copy-btn:hover { border-color: var(--cobalt); color: var(--cobalt); }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(243, 238, 227, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.links a:hover, .links a[aria-current="page"] { color: var(--cobalt); }
.bar-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(46px, 7vw, 96px); line-height: .95; letter-spacing: -.035em; margin: 18px 0 24px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--cobalt); }
.hero .lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 32em; margin: 0 0 30px; }
.hero .lede strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* readout: the instrument card in the hero */
.readout { background: var(--ink); color: var(--cream); border-radius: 22px; padding: 26px; box-shadow: 14px 14px 0 var(--cobalt); }
.readout-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #a9adbd; }
.readout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #2a2e3b; border-radius: 12px; overflow: hidden; margin: 18px 0; }
.readout-grid div { background: #151822; padding: 16px; min-width: 0; }
.readout-grid small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8d92a3; }
.readout-grid b { display: block; font-family: var(--mono); font-weight: 600; font-size: 24px; margin-top: 6px; color: var(--cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.readout-grid b.hot { color: #8fa2ff; }
.readout-grid b.burn { color: #ff8a73; }
.readout-note { font-size: 13px; color: #a9adbd; margin: 0; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ---------- tape: the animated block ---------- */
.tape { background: var(--cobalt); color: var(--cream); padding: 34px 0; overflow: hidden; }
.tape-in { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; }
.tape h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; margin: 8px 0 0; letter-spacing: -.02em; }
.tape .eyebrow { color: #c9d2ff; }
.tape svg { width: 100%; height: auto; }
.tape .t-grid { stroke: rgba(243, 238, 227, .16); }
.tape .t-anchor { stroke: var(--cream); stroke-dasharray: 6 6; }
.tape .t-price { fill: none; stroke: var(--cream); stroke-width: 2.5; }
.tape text { fill: var(--cream); font-family: var(--mono); font-size: 12px; }
.tape .t-free { fill: #9fb0ff; }
.tape .t-tax { fill: #ff8a73; }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section + .section { border-top: 1px solid var(--line); }
.head { max-width: 780px; margin-bottom: 56px; }
.head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -.03em; margin: 14px 0 18px; }
.head h2 em { font-style: italic; font-weight: 500; color: var(--cobalt); }
.head p { font-size: 18px; color: var(--ink-2); margin: 0; }

/* chapters: three numbered cards */
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.chapter { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.chapter .n { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: .8; color: var(--cobalt); }
.chapter h3 { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin: 4px 0 0; letter-spacing: -.02em; }
.chapter p { margin: 0; color: var(--ink-2); }
.chapter svg { width: 100%; height: auto; margin-top: auto; }
.chapter .mini-line { fill: none; stroke: var(--ink); stroke-width: 2; }
.chapter .mini-fill { fill: var(--cobalt-soft); }
.chapter .mini-accent { fill: var(--cobalt); }
.chapter .mini-signal { fill: var(--signal); }

/* calculator: a receipt */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.calc-in, .receipt { border-radius: 22px; padding: 30px; }
.calc-in { background: var(--paper); border: 1px solid var(--line); display: grid; gap: 26px; align-content: start; }
.field label { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.field output { font-family: var(--mono); font-weight: 600; color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--cobalt); }
.calc-note { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0; }
.receipt { background: var(--ink); color: var(--cream); font-family: var(--mono); position: relative; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px; background: radial-gradient(circle at 8px 0, transparent 8px, var(--ink) 8.5px) 0 0 / 16px 12px repeat-x; }
.receipt h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a9adbd; margin: 0 0 16px; font-weight: 400; }
.receipt dl { margin: 0; display: grid; grid-template-columns: 1fr auto; row-gap: 12px; column-gap: 12px; }
.receipt dt { color: #c7cad5; }
.receipt dd { margin: 0; text-align: right; font-weight: 600; }
.receipt .rule { grid-column: 1 / -1; border-top: 1px dashed #3a3e4c; }
.receipt .big dd, .receipt .big dt { font-size: 20px; color: var(--cream); }
.split-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #2a2e3b; margin: 22px 0 10px; }
.split-bar span { height: 100%; transition: width .25s; }
.sb-lp { background: #8fa2ff; }
.sb-burn { background: #ff8a73; }
.sb-arb { background: #4a4f60; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: #c7cad5; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }

/* split: donut + steps */
.split { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.donut { position: relative; }
.donut svg { width: 100%; height: auto; transform: rotate(-90deg); }
.donut .d-bg { fill: none; stroke: var(--cream-2); stroke-width: 34; }
.donut .d-lp { fill: none; stroke: var(--cobalt); stroke-width: 34; }
.donut .d-burn { fill: none; stroke: var(--signal); stroke-width: 34; }
.donut-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.donut-label b { display: block; font-family: var(--serif); font-size: 58px; line-height: 1; }
.donut-label span { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--mono); font-weight: 600; }
.flow li.lp::before { background: var(--cobalt); }
.flow li.burn::before { background: var(--signal); }
.flow b { display: block; font-size: 17px; }
.flow span { color: var(--ink-2); font-size: 15px; }

.launch-line { margin: 18px 0 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.launch-line a { color: var(--ink); }
.launch-line a:hover { color: var(--cobalt); }

/* Pons launch path */
.path { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.path li { background: var(--ink); color: var(--cream); border-radius: 18px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.path-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cobalt); font-family: var(--mono); font-weight: 600; font-size: 13px; }
.path b { font-size: 17px; }
.path span:last-child { color: #c7cad5; font-size: 14px; }
@media (max-width: 1000px) { .path { grid-template-columns: 1fr; } }

/* token panel */
.token-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-h h3 { margin: 0; font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; }
.card-h .hint { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.card-b { padding: 22px; }
.facts { margin: 0; display: grid; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; min-width: 0; }
.addr { display: flex; align-items: center; gap: 10px; min-width: 0; }
.addr a { text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.addr a:hover { color: var(--cobalt); }
.addr code { font-size: 13px; }
.empty { color: var(--muted); font-size: 15px; }
.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

.mk-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-nums div { background: var(--cream); border-radius: 14px; padding: 14px; min-width: 0; }
.mk-nums small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mk-nums b { display: block; font-family: var(--mono); font-size: 21px; margin-top: 4px; overflow-wrap: anywhere; }
.mk-nums em { display: block; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.progress { height: 10px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--cobalt); border-radius: 999px; transition: width .3s; }
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream-2); border-radius: 999px; padding: 4px; }
.tabs2 button { height: 38px; border: 0; background: none; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.tabs2 button.on { background: var(--ink); color: var(--cream); }
.amount { display: flex; align-items: center; gap: 12px; background: var(--cream); border-radius: 14px; padding: 12px 16px; }
.amount input { flex: 1; min-width: 0; border: 0; background: none; font-family: var(--mono); font-size: 24px; font-weight: 600; color: var(--ink); outline: none; }
.amount input::placeholder { color: var(--line-2); }
.amount .unit { font-family: var(--mono); font-size: 13px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.quote { display: grid; gap: 6px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.quote div { display: flex; justify-content: space-between; gap: 12px; }
.quote b { color: var(--ink); }
.stack { display: grid; gap: 16px; }

/* contracts */
.ledger { width: 100%; border-collapse: collapse; }
.ledger th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 16px 12px; }
.ledger td { padding: 18px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.ledger td:first-child { font-family: var(--serif); font-size: 20px; font-weight: 600; white-space: nowrap; }
.ledger td.role { color: var(--ink-2); max-width: 420px; }
.table-scroll { overflow-x: auto; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-family: var(--mono); font-size: 22px; color: var(--cobalt); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }
.faq code { color: var(--cobalt); }

/* footer */
.foot { background: var(--ink); color: var(--cream); padding: 70px 0 34px; }
.foot-word { font-family: var(--serif); font-weight: 700; font-size: clamp(80px, 17vw, 230px); line-height: .8; letter-spacing: -.05em; color: var(--cobalt); margin: 0 0 40px; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid #2a2e3b; padding-top: 22px; font-family: var(--mono); font-size: 12px; color: #8d92a3; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: #c7cad5; }
.foot-links a:hover { color: var(--cream); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--cream); font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--signal); }

/* ---------- dashboard ---------- */
.dash-head { padding: 44px 0 0; }
.dash-head h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); letter-spacing: -.03em; line-height: 1; margin: 10px 0 10px; }
.dash-head p { color: var(--ink-2); margin: 0 0 26px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs a { padding: 12px 16px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--cobalt); border-color: var(--cobalt); }
.pane { padding: 30px 0 70px; display: grid; gap: 22px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-width: 0; }
.tile small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile b { display: block; font-family: var(--mono); font-size: 26px; margin-top: 8px; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; margin: 0; font-size: 15px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-family: var(--mono); text-align: right; overflow-wrap: anywhere; }
.kv a { color: var(--cobalt); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 22px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl a { color: var(--ink); }
.tbl a:hover { color: var(--cobalt); }
.pair { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 600; }
.tok-icons { display: inline-flex; }
.tok { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--paper); background: var(--cream-2); display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--ink); overflow: hidden; }
.tok + .tok { margin-left: -8px; }
.tok img, .tok svg { width: 100%; height: 100%; object-fit: cover; }
.pill { font-family: var(--mono); font-size: 11px; color: var(--ink-2); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 999px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.warn { border: 1.5px solid var(--signal); background: #fbe7e2; color: #7a2213; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
.steps-list { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 6px; }
.input { flex: 1; min-width: 240px; height: 44px; background: var(--cream); border: 1.5px solid var(--line-2); color: var(--ink); font-family: var(--mono); font-size: 13px; padding: 0 14px; border-radius: 999px; outline: none; }
.input:focus { border-color: var(--cobalt); }
.hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.wallet-btn.connected { background: transparent; color: var(--cobalt); border-color: var(--cobalt); font-family: var(--mono); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 28px 18px; }
  .links.open { display: flex; }
  .links a { padding: 12px 0; font-size: 17px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .hero-grid, .split, .token-grid, .calc { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .tape-in { grid-template-columns: 1fr; gap: 16px; }
  .faq { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .split .donut { max-width: 320px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 72px 0; }
  .bar-cta .btn { display: none; }
  .readout { box-shadow: 8px 8px 0 var(--cobalt); padding: 20px; }
  .readout-grid b { font-size: 19px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile b { font-size: 20px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .mk-nums { grid-template-columns: 1fr; }
  .ledger thead { display: none; }
  .ledger tr { display: block; border-top: 1px solid var(--line); padding: 16px; }
  .ledger tr:first-child { border-top: 0; }
  .ledger td { display: block; border: 0; padding: 3px 0; }
  .ledger td:first-child { font-size: 19px; }
  .chapter, .calc-in, .receipt { padding: 22px; }
}

/* ---------- CA strip: pinned under the menu once $HOOKFI is live ---------- */
.ca-strip { background: var(--ink); color: var(--cream); position: sticky; top: 72px; z-index: 40; }
.ca-in { display: flex; align-items: center; gap: 12px; min-height: 52px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.ca-live { font-weight: 700; font-size: 14px; }
.ca-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #8d92a3; }
.ca-in code { font-family: var(--mono); font-size: 14px; color: #8fa2ff; overflow-wrap: anywhere; min-width: 0; }
.ca-copy, .ca-buy { font: 600 13px var(--sans); border-radius: 999px; padding: 6px 14px; cursor: pointer; text-decoration: none; }
.ca-copy { background: none; border: 1px solid #3a3e4c; color: var(--cream); }
.ca-copy:hover { border-color: #8fa2ff; }
.ca-buy { background: var(--cobalt); color: var(--cream); margin-left: auto; }
.ca-buy:hover { background: var(--cobalt-deep); }
@media (max-width: 560px) { .ca-in code { font-size: 12px; width: 100%; order: 3; } .ca-buy { margin-left: 0; } }
