/* The design system: FIELD ALMANAC (late-summer field at golden hour, a serious finance product; never a farm cartoon).
   Warm oat ground #efe6d0, deep pine ink #173126, ripe wheat gold #d9a441 = tokens waiting in a ladder, harvest ember #e0662f =
   SOL harvested, deep loam #13241b for the dark pieces. Piazzolla (headlines + every number, tabular figures) + Teachers (text, UI),
   both self-hosted in /fonts. Hairline rules, near-square corners, printed-almanac labels. The product name never appears here:
   it comes from the brand (/api/brand, {{name}} in the HTML). Base layout below, the ALMANAC block at the end sets the look. */
@font-face { font-family: "Piazzolla"; src: url(/fonts/piazzolla.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Teachers"; src: url(/fonts/teachers.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root { --wrap: 1240px; --hdr: 64px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
/* NO STOCK SCROLLBARS: owner rule (10-22, 11-11, 11-17: "never ever leave these fucking bare html cancer scrollbars in my UI's").
   Paste into the site's BASE CSS before anything ships. Every scroller gets a thin bar, transparent track, no arrows.
   Set --sb-thumb to the site's own line colour (light thumb on dark, dark thumb on paper); the fallback is a neutral
   translucent grey that reads on both. A swipe strip that needs no bar: add class .no-sb (or its own scrollbar-width: none).
   NEVER set the standard scrollbar-color / scrollbar-width: thin outside the @supports block: Chrome 121+ then ignores
   every ::-webkit-scrollbar rule below and draws its own bar again. */
:root { color-scheme: light; --sb-thumb: rgba(20, 26, 60, .22); --sb-thumb-hover: rgba(20, 26, 60, .38); }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--sb-thumb, rgba(140, 140, 150, .35)); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover, rgba(160, 160, 170, .6)); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) {
  * { scrollbar-width: thin; scrollbar-color: var(--sb-thumb, rgba(140, 140, 150, .35)) transparent; }
}
.no-sb { scrollbar-width: none; }
.no-sb::-webkit-scrollbar { display: none; }
::selection { background: var(--sol-soft); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.is-hidden { display: none !important; }
.num, .mono { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── header ─────────────────────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: rgba(250,250,248,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -.015em; font-stretch: 96%; flex: none; }
.mark { width: 26px; height: 26px; flex: none; }
.brand-name { min-width: 76px; opacity: 0; transition: opacity .18s; }
.brand-name.is-set { opacity: 1; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { padding: 7px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: background .15s, color .15s; white-space: nowrap; }
.nav a:hover { background: var(--sunk); color: var(--ink); }
.nav a.is-on { color: var(--ink); background: var(--sunk-2); }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.net-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; background: var(--sunk); border: 1px solid var(--line); color: var(--ink-2); font-size: 12.5px; font-weight: 550; white-space: nowrap; }
.net-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.ca-pill { display: inline-flex; align-items: center; gap: 0; height: 34px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); overflow: hidden; font-size: 13px; }
.ca-pill .ca-lab { padding: 0 10px; color: var(--muted); font-weight: 600; border-right: 1px solid var(--line); height: 100%; display: flex; align-items: center; }
.ca-pill .ca-addr { border: 0; background: none; height: 100%; padding: 0 10px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; max-width: 220px; }
.ca-pill .ca-addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-pill .ca-copy { font-style: normal; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--sol); }
.ca-pill .ca-link { padding: 0 10px; height: 100%; display: flex; align-items: center; border-left: 1px solid var(--line); color: var(--ink-2); font-weight: 550; }
.ca-pill .ca-link:hover, .ca-pill .ca-addr:hover { background: var(--sunk); }
.x-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); display: grid; place-items: center; transition: background .15s; }
.x-btn:hover { background: var(--sunk); }
.x-btn svg { width: 14px; height: 14px; }
.burger { display: none; width: 38px; height: 38px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; cursor: pointer; place-items: center; }
.burger i, .burger i::before, .burger i::after { display: block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.burger i::before { position: absolute; top: -5px; } .burger i::after { position: absolute; top: 5px; }
.mnav { display: none; }

/* ── buttons, chips, cards ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15.5px; letter-spacing: -.005em; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-ink { background: var(--ink); color: var(--on-ink); box-shadow: 0 1px 2px rgba(23,49,38,.2), inset 0 1px 0 rgba(255,255,255,.08); }
.btn-ink:hover { background: #22412f; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line-3); background: var(--surface); box-shadow: var(--sh-1); }
.btn-sol { background: var(--sol); color: var(--on-ink); }
.btn-sol:hover { background: var(--sol-2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(2px); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 550; color: var(--ink-2); cursor: pointer; transition: all .15s; white-space: nowrap; }
.chip:hover { border-color: var(--line-3); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chip .b { font-family: var(--mono); font-size: 12px; opacity: .75; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.tag-sim { background: #fbf3e4; color: #8a5a12; }
.tag-tok { background: var(--tok-soft); color: var(--tok-2); }
.tag-sol { background: var(--sol-soft); color: var(--sol-2); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .005em; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tok); box-shadow: 0 0 0 4px var(--tok-soft); }
.kicker { font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--sol); }
.sec-h { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -.028em; font-weight: 620; font-stretch: 88%; margin: 12px 0 0; max-width: 26ch; }
.sec-p { font-size: 18px; color: var(--muted); max-width: 60ch; margin: 16px 0 0; line-height: 1.55; }
.legend { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.legend .lt i { background: var(--tok); } .legend .ls i { background: var(--sol); }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); display: flex; align-items: center; padding: 28px 0 40px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 520px at 78% 38%, rgba(106,82,245,.07), transparent 65%), radial-gradient(700px 420px at 62% 85%, rgba(13,138,99,.06), transparent 60%); pointer-events: none; }
.hero-in { position: relative; width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); grid-template-areas: "copy stage" "stats stage"; grid-template-rows: auto auto; column-gap: 64px; row-gap: 0; align-items: center; align-content: center; }
.hero-copy { grid-area: copy; align-self: end; } .hero-stats { grid-area: stats; align-self: start; max-width: 580px; } .stage { grid-area: stage; }
.hero-copy { max-width: 580px; }
.hero h1 { font-size: clamp(42px, 4.3vw, 70px); line-height: 1.02; letter-spacing: -.034em; font-weight: 640; font-stretch: 86%; margin: 22px 0 0; }
.hero h1 .soft { color: var(--faint); }
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 22px 0 0; max-width: 48ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.strip { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 18px; gap: 18px; }
.strip .k { font-size: 12.5px; color: var(--muted); font-weight: 550; white-space: nowrap; }
.strip .v { font-family: var(--mono); font-size: 21px; font-weight: 520; letter-spacing: -.02em; margin-top: 4px; white-space: nowrap; }
.strip-note { margin-top: 12px; font-size: 12.5px; color: var(--faint); display: flex; gap: 8px; align-items: center; }

.stage { position: relative; }
.panel { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-3); overflow: hidden; }
.panel-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.coin-av { width: 34px; height: 34px; border-radius: 50%; background: var(--sunk-2); flex: none; object-fit: cover; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); overflow: hidden; }
.coin-av img { width: 100%; height: 100%; object-fit: cover; }
.panel-top .t1 { font-weight: 650; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-top .t2 { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-top .grow { min-width: 0; flex: 1; }
.clock { text-align: right; flex: none; }
.clock .k { font-size: 11.5px; color: var(--faint); font-weight: 550; }
.clock .v { font-family: var(--mono); font-size: 15px; font-weight: 520; }
.chart-box { position: relative; height: clamp(320px, 46vh, 470px); }
.chart-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.panel-foot { display: flex; align-items: center; gap: 18px; padding: 13px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.panel-foot .grow { flex: 1; }

.pos { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pos-meter { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--tok); display: flex; }
.pos-meter b { display: block; height: 100%; background: var(--sol); width: 0; }
.pos-c { padding: 15px 18px 14px; border-left: 1px solid var(--line); min-width: 0; }
.pos-c:first-of-type { border-left: 0; }
.pos-stake { border-left: 0; }
.pos-h { display: flex; align-items: center; gap: 9px; min-width: 0; }
.pos-h .coin-av { width: 24px; height: 24px; font-size: 10px; }
.pos-h .amt { font-weight: 650; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos .rule { font-size: 12.5px; color: var(--muted); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos .k { font-size: 12px; color: var(--muted); font-weight: 550; white-space: nowrap; }
.pos .v { font-family: var(--mono); font-size: 16px; font-weight: 530; margin-top: 4px; white-space: nowrap; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; }
.pos .s { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 1px; white-space: nowrap; }
.pos-fee .v { color: var(--sol-2); font-size: 22px; font-weight: 600; margin-top: 1px; letter-spacing: -.03em; }
.pos-end .v { color: var(--faint); transition: color .3s; }
.pos-end.is-done .v { color: var(--tok-2); }
.foot-r { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── sections ──────────────────────────────────────────────────────────── */
section.sec { padding: 120px 0; }
section.sec.tight { padding: 88px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.step { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
section.alt .step { background: var(--bg); }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.step h3 { font-size: 21px; letter-spacing: -.018em; font-weight: 620; margin: 14px 0 8px; font-stretch: 94%; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step svg { width: 100%; height: 112px; margin-top: 22px; display: block; }
.outs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.out { padding: 26px 26px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
section.alt .out { background: var(--bg); }
.out svg { width: 100%; height: 96px; display: block; margin-bottom: 18px; }
.out h4 { font-size: 17.5px; letter-spacing: -.012em; margin: 0 0 6px; font-weight: 620; }
.out p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.out .big { font-family: var(--mono); font-size: 34px; font-weight: 520; letter-spacing: -.03em; margin-top: 18px; }
.out .big small { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0; font-weight: 500; margin-left: 6px; }
.out.warn .big { color: var(--ink); }

.mtable-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ctrls { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 36px; }
.ctrls .lab { font-size: 13px; color: var(--muted); font-weight: 550; margin-right: 2px; }
.seg { display: inline-flex; background: var(--sunk); border: 1px solid var(--line); border-radius: 11px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; font-weight: 550; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.tbl-wrap { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: right; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 14px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl td { text-align: right; padding: 18px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 15px; white-space: nowrap; }
.tbl td:first-child { font-family: var(--sans); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .pname { font-weight: 620; font-size: 15.5px; }
.tbl .psub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tbl .hl { color: var(--tok-2); }
.tbl .sl { color: var(--sol-2); }
.tbl-note { font-size: 13px; color: var(--faint); margin-top: 14px; line-height: 1.55; max-width: 92ch; }

.rw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.rw { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
section.alt .rw { background: var(--bg); }
.rw .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sunk); margin-bottom: 18px; }
.rw .ic svg { width: 18px; height: 18px; }
.rw h4 { font-size: 16.5px; margin: 0 0 6px; font-weight: 620; letter-spacing: -.01em; }
.rw p { margin: 0; font-size: 14.5px; color: var(--muted); }
.tiers { margin-top: 40px; padding: 26px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
section.alt .tiers { background: var(--bg); }
.tiers-h { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.tiers-h b { font-size: 16.5px; font-weight: 620; }
.tiers-h span { font-size: 13.5px; color: var(--muted); }
.tier-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 22px; align-items: end; }
.tier { display: flex; flex-direction: column; gap: 8px; }
.tier .bar { border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--sol-mid), var(--sol-soft)); min-height: 8px; }
.tier:first-child .bar { background: var(--sunk-2); }
.tier .b { font-family: var(--mono); font-size: 15px; font-weight: 560; }
.tier .l { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.devband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.lockprev { padding: 26px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.lockprev .lp-h { display: flex; align-items: center; gap: 10px; }
.lockprev .lp-h b { font-size: 16px; font-weight: 640; }
.lockprev .lp-line { font-size: 15px; color: var(--ink-2); margin: 16px 0 18px; line-height: 1.5; }
.lockprev .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.lockprev .kv div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lockprev .kv .k { font-size: 12.5px; color: var(--muted); }
.lockprev .kv .v { font-family: var(--mono); font-size: 15px; margin-top: 2px; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--tok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%230a7353' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.ledger { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.lg-row { display: grid; grid-template-columns: 92px 104px minmax(0, 1fr) 150px; gap: 16px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.lg-row:last-child { border-bottom: 0; }
.lg-row .t { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.lg-row .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.lg-row .lk { text-align: right; font-size: 13px; white-space: nowrap; }
.lg-row .lk a { color: var(--sol-2); font-weight: 550; }
.lg-row .lk a:hover { text-decoration: underline; }
.lg-kind { font-size: 12px; font-weight: 600; height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 6px; background: var(--sunk); color: var(--ink-2); text-transform: capitalize; }
.lg-kind.k-stake, .lg-kind.k-place, .lg-kind.k-escrow, .lg-kind.k-devlock, .lg-kind.k-lock { background: var(--tok-soft); color: var(--tok-2); }
.lg-kind.k-harvest, .lg-kind.k-distribute, .lg-kind.k-deposit, .lg-kind.k-sync, .lg-kind.k-claim, .lg-kind.k-cut, .lg-kind.k-burn { background: var(--sol-soft); color: var(--sol-2); }
.lg-empty { padding: 34px 20px; color: var(--muted); font-size: 14.5px; text-align: center; }

.fee-tbl td:nth-child(2), .fee-tbl th:nth-child(2) { color: var(--ink); font-weight: 600; }
.fee-tbl td { font-family: var(--sans); font-size: 14.5px; }
.fee-tbl tr td:first-child { color: var(--muted); }

.cta-band { padding: 96px 0; text-align: center; }
.cta-band h2 { font-size: clamp(34px, 3.6vw, 54px); letter-spacing: -.03em; font-weight: 630; font-stretch: 86%; margin: 0; line-height: 1.04; }
.cta-band p { color: var(--muted); font-size: 18px; margin: 16px auto 0; max-width: 52ch; }
.cta-band .hero-cta { justify-content: center; }

/* ── footer ────────────────────────────────────────────────────────────── */
.ftr { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.ftr-in { max-width: 1440px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr h5 { margin: 0 0 12px; font-size: 13px; color: var(--ink); font-weight: 620; }
.ftr a { display: block; padding: 4px 0; color: var(--muted); }
.ftr a:hover { color: var(--ink); }
.ftr .fbrand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 16px; }
.ftr .fline { margin-top: 12px; max-width: 34ch; line-height: 1.5; }
.ftr-base { max-width: 1440px; margin: 40px auto 0; padding: 22px 32px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.ftr-base .prog { font-family: var(--mono); font-size: 12.5px; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; }
  .hero-in { padding: 0 32px; } .hdr-in { padding: 0 32px; }
  .nav a { padding: 7px 9px; }
}
@media (max-width: 1080px) {
  .nav, .hdr-r .ca-pill, .net-pill { display: none !important; }
  .burger { display: grid; }
  .mnav.is-open { display: block; position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 49; padding: 18px 24px; overflow-y: auto; }
  .mnav a { display: block; padding: 16px 4px; font-size: 20px; font-weight: 580; border-bottom: 1px solid var(--line); }
  .mnav .ca-m { margin-top: 18px; }
  .hero { min-height: 0; padding: 36px 0 56px; }
  .hero { overflow: hidden; }
  .hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "stats"; row-gap: 36px; }
  .hero-stats .strip { margin-top: 0; }
  .hero-copy { max-width: 640px; }
  .steps, .outs { grid-template-columns: 1fr; }
  .rw-grid { grid-template-columns: 1fr 1fr; }
  .devband { grid-template-columns: 1fr; gap: 40px; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .hero-in, .hdr-in, .ftr-in { padding-left: 18px; padding-right: 18px; }
  .hdr-in { gap: 12px; }
  .hdr-r .btn-sm { padding: 0 12px; }
  .hero { padding: 26px 0 44px; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .hero-cta .btn { flex: 1; }
  .strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 16px; margin-top: 32px; }
  .hero-cta { flex-wrap: nowrap; } .hero-cta .btn { padding: 0 14px; min-width: 0; }
  .strip .v { font-size: 19px; }
  .panel { border-radius: 18px; }
  .panel-top { padding: 12px 14px; }
  .chart-box { height: 340px; }
  .panel-foot { padding: 11px 14px; font-size: 12px; gap: 12px; }
  .pos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pos-stake { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .pos-c { padding: 12px 14px; }
  .pos-c:nth-child(3), .pos-c:nth-child(5) { border-left: 0; }
  .pos-c:nth-child(3), .pos-c:nth-child(4) { border-bottom: 1px solid var(--line); }
  .pos-fee .v { font-size: 19px; }
  .foot-r { display: none; }
  section.sec { padding: 72px 0; } section.sec.tight { padding: 56px 0; }
  .sec-p { font-size: 16.5px; }
  .rw-grid { grid-template-columns: 1fr; }
  .lg-row { grid-template-columns: 70px minmax(0, 1fr); row-gap: 4px; }
  .lg-row .lk { grid-column: 2; text-align: left; }
  .lg-row .lg-k { display: none; }
  .tier .l { font-size: 11px; } .tier .b { font-size: 13px; }
  .ftr-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ── hero fx layer, end row ───────────────────────────────────────────── */
.stage > .fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }

/* ── toast ────────────────────────────────────────────────────────────── */
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); opacity: 0; background: var(--ink); color: var(--on-ink); padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 550; box-shadow: var(--sh-3); z-index: 120; transition: opacity .2s, transform .2s; pointer-events: none; }
#toast.is-on { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--down); }

/* ── wallet (wp-* only) ───────────────────────────────────────────────── */
#wallet-btn.is-conn { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); gap: 8px; }
#wallet-btn img { width: 18px; height: 18px; border-radius: 5px; }
.wp-scrim { position: fixed; inset: 0; background: rgba(23,49,38,.32); backdrop-filter: blur(3px); z-index: 110; display: none; align-items: center; justify-content: center; padding: 20px; }
.wp-scrim.is-on { display: flex; }
.wp-box { width: 100%; max-width: 400px; background: var(--surface); border-radius: 20px; box-shadow: var(--sh-3); padding: 20px; }
.wp-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wp-h b { font-size: 17px; font-weight: 640; }
.wp-x { width: 32px; height: 32px; border-radius: 9px; border: 0; background: var(--sunk); font-size: 20px; line-height: 1; cursor: pointer; }
.wp-list { display: grid; gap: 8px; }
.wp-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; text-align: left; font-weight: 600; font-size: 15px; }
.wp-row:hover { border-color: var(--line-3); background: var(--surface); }
.wp-row img, .wp-row .wp-ph { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.wp-row .wp-ph { display: grid; place-items: center; background: var(--sunk-2); font-size: 13px; }
.wp-row i { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 550; }
.wp-foot { margin: 14px 2px 0; font-size: 12.5px; color: var(--muted); }
.wp-menu { position: fixed; top: calc(var(--hdr) - 4px); right: 24px; width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); padding: 6px; z-index: 105; }
.wp-menu .wp-me { display: flex; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 14px; }
.wp-menu .wp-me img { width: 22px; height: 22px; border-radius: 6px; }
.wp-menu a, .wp-menu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 9px; border: 0; background: none; font-size: 14px; cursor: pointer; }
.wp-menu a:hover, .wp-menu button:hover { background: var(--sunk); }

/* ── app pages (stake, coin, lock, portfolio, dev) ─────────────────────── */
.page { padding: 40px 0 96px; }
.pg-h h1 { font-size: 40px; letter-spacing: -.03em; font-weight: 640; font-stretch: 88%; margin: 0; line-height: 1.05; }
.pg-h p { margin: 10px 0 0; color: var(--muted); font-size: 16px; max-width: 54ch; }
.stk-in { max-width: 1600px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: minmax(380px, 470px) minmax(0, 1fr); gap: 40px; align-items: start; }
.stk-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: 28px; position: sticky; top: calc(var(--hdr) + 20px); }
.stk-side { display: grid; gap: 20px; min-width: 0; }
.fld { margin-top: 24px; }
.fl-l { display: block; font-size: 13px; font-weight: 620; color: var(--ink-2); margin-bottom: 8px; }
.fl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fl-row .fl-l { margin-bottom: 8px; }
.fl-r { font-size: 12.5px; color: var(--muted); font-family: var(--mono); white-space: nowrap; }
.fl-sub { margin-top: 8px; font-size: 13px; color: var(--muted); font-family: var(--mono); }
.fl-help { font-size: 13px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.coin-pick { position: relative; }
.search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 13px; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px rgba(23,49,38,.06); }
.search svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 500 15.5px var(--sans); color: var(--ink); }
.search input::placeholder { color: var(--faint); }
.coin-sel { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 12px 0 10px; border: 1px solid var(--line-2); border-radius: 13px; background: var(--surface); cursor: pointer; }
.coin-sel:hover { border-color: var(--line-3); }
.coin-sel .coin-av { width: 36px; height: 36px; }
.coin-sel b { font-size: 16px; font-weight: 650; display: block; }
.coin-sel small { font-size: 12.5px; color: var(--muted); }
.coin-sel .chg { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 550; }
.coin-res { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); z-index: 20; max-height: 420px; overflow-y: auto; padding: 6px; }
.cr { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.cr:hover, .cr.is-act { background: var(--sunk); }
.cr .coin-av { width: 32px; height: 32px; }
.cr .n { min-width: 0; } .cr .n b { font-weight: 640; font-size: 14.5px; } .cr .n span { color: var(--muted); font-size: 13px; margin-left: 6px; }
.cr .n div { font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--mono); }
.cr .m { text-align: right; font-family: var(--mono); font-size: 13px; } .cr .m div { font-size: 11.5px; color: var(--faint); }
.cr.no { opacity: .55; cursor: not-allowed; }
.cr-h { font-size: 11.5px; font-weight: 650; color: var(--faint); letter-spacing: .05em; text-transform: uppercase; padding: 8px 10px 4px; }
.cr-empty { padding: 18px 12px; color: var(--muted); font-size: 14px; }
.amt-box { display: flex; align-items: center; height: 58px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 13px; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.amt-box:focus-within { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px rgba(23,49,38,.06); }
.amt-box input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 520 24px var(--mono); letter-spacing: -.02em; color: var(--ink); }
.amt-sym { font-weight: 620; color: var(--ink-2); font-size: 15px; }
.pcts { display: flex; gap: 6px; }
.pcts button { height: 26px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface); font: 600 12px var(--sans); color: var(--ink-2); cursor: pointer; }
.pcts button:hover { border-color: var(--line-3); color: var(--ink); }
.lock-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lock-chips .chip { height: 36px; }
.lock-chips .chip.flex-chip.is-on { background: var(--ink); }
.pre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pre { text-align: left; padding: 14px 14px 13px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pre:hover { border-color: var(--line-3); }
.pre.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pre b { display: block; font-size: 14.5px; font-weight: 650; }
.pre .x { font-family: var(--mono); font-size: 13px; color: var(--tok-2); margin-top: 3px; }
.pre p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.custom { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.custom label { display: flex; align-items: center; gap: 8px; }
.xin { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; background: var(--surface); }
.xin input { width: 52px; border: 0; outline: none; font: 520 15px var(--mono); background: none; }
.xin i { font-style: normal; color: var(--muted); }
.sum { margin-top: 24px; border-top: 1px solid var(--line); }
.sum .r { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.sum .r .k { color: var(--muted); white-space: nowrap; }
.sum .r .v { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.btn-big { width: 100%; height: 54px; margin-top: 20px; font-size: 16px; border-radius: 14px; }
.go-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 0 0; min-height: 18px; }
.go-note.bad { color: var(--down); }
.cpanel .chart-box { height: clamp(320px, 44vh, 460px); }
.cpanel .seg button { height: 26px; padding: 0 10px; font-size: 12.5px; }
.meas { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 26px; }
.meas-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.meas-cell { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.meas-line { font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin: 12px 0 0; line-height: 1.35; }
.meas-line2 { font-size: 15px; color: var(--ink-2); margin: 6px 0 0; }
.meas-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.meas-grid > div { padding: 14px 16px; border-left: 1px solid var(--line); }
.meas-grid > div:first-child { border-left: 0; }
.meas-grid .k { font-size: 12px; color: var(--muted); }
.meas-grid .v { font-family: var(--mono); font-size: 20px; font-weight: 530; margin-top: 4px; letter-spacing: -.02em; }
.meas-own { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.meas-own b { color: var(--ink); font-weight: 620; }
.done-box { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--tok-soft); color: var(--tok-2); font-size: 14px; }
.done-box a { font-weight: 650; text-decoration: underline; }
@media (max-width: 1080px) {
  .stk-in { grid-template-columns: minmax(0, 1fr); padding: 0 24px; }
  .stk-form { position: static; }
  .stk-side { order: -1; }
}
@media (max-width: 640px) {
  .page { padding: 20px 0 64px; }
  .stk-in { padding: 0 14px; gap: 18px; }
  .stk-form { padding: 20px 16px; border-radius: 18px; }
  .pg-h h1 { font-size: 32px; }
  .meas { padding: 18px; }
  .meas-grid { grid-template-columns: 1fr 1fr; }
  .meas-grid > div:nth-child(3) { border-left: 0; }
  .meas-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cpanel .chart-box { height: 280px; }
  .cpanel .panel-top .seg { display: none; }
}
.fl-r { font-family: var(--sans); }
.lock-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lock-chips .chip { justify-content: center; padding: 0 8px; }
.meas-h { flex-wrap: wrap; } .meas-cell { font-family: var(--sans); }
@media (max-width: 1080px) {
  .stk-side { display: contents; }
  .stk-in { display: flex; flex-direction: column; }
  .cpanel { order: -1; width: 100%; } .stk-form { width: 100%; } .meas { order: 1; width: 100%; }
}
@media (max-width: 640px) { .lock-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── list pages ───────────────────────────────────────────────────────── */
.wrap.wide { max-width: 1440px; padding: 0 40px; }
.pg-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.kpis > div { padding: 20px 22px; border-left: 1px solid var(--line); min-width: 0; }
.kpis > div:first-child { border-left: 0; }
.kpis .k { font-size: 12.5px; color: var(--muted); font-weight: 550; white-space: nowrap; }
.kpis .v { font-family: var(--mono); font-size: 26px; font-weight: 520; letter-spacing: -.025em; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis .s { font-size: 12.5px; color: var(--faint); margin-top: 4px; font-family: var(--mono); min-height: 22px; }
.tb-bar { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.tb-note { font-size: 12.5px; color: var(--faint); }
.tbl .sm { font-size: 12px; color: var(--faint); }
.tbl td.up { color: var(--up); } .tbl td.dn { color: var(--down); }
.tbl td .btn-sm { font-family: var(--sans); }
.cc { display: inline-flex; align-items: center; gap: 12px; }
.cc .coin-av { width: 32px; height: 32px; }
.cc b { display: block; font-weight: 640; font-size: 15px; }
.cc small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.cc:hover b { text-decoration: underline; }
.mk td { padding: 14px 20px; }
.empty-card { margin-top: 28px; padding: 28px; border-radius: var(--r-lg); border: 1px dashed var(--line-3); background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.empty-card b { font-size: 17px; font-weight: 640; } .empty-card span { color: var(--muted); font-size: 15px; max-width: 70ch; }
.sub-h { font-size: 18px; font-weight: 640; letter-spacing: -.01em; margin: 40px 0 0; }
.coin-av { position: relative; }
.coin-av > img { position: absolute; inset: 0; }
@media (max-width: 1080px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis > div:nth-child(3) { border-left: 0; } .kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); } .wrap.wide { padding: 0 24px; } }
@media (max-width: 640px) { .wrap.wide { padding: 0 14px; } .kpis .v { font-size: 20px; } .kpis > div { padding: 14px 16px; } }

/* ── coin page ────────────────────────────────────────────────────────── */
.coin-hd { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.coin-av.big { width: 64px; height: 64px; font-size: 18px; }
.coin-hd .grow { flex: 1; min-width: 220px; }
.coin-hd h1 { font-size: 40px; letter-spacing: -.03em; font-weight: 640; font-stretch: 88%; margin: 0; line-height: 1.05; }
.c-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.c-act { display: flex; gap: 10px; }
.kpis-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.coin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; margin-top: 20px; align-items: start; }
.side-cards { display: grid; gap: 20px; }
.card.pad { padding: 22px 24px; border-radius: var(--r-xl); }
.rc-state { margin-top: 12px; }
.rc-p { font-size: 14px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.card .btn-sm { margin-top: 14px; }
.own { margin-top: 12px; display: grid; }
.own-r { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.own-r .num { font-size: 13px; color: var(--muted); } .own-r b { color: var(--sol-2); font-weight: 600; font-size: 14px; min-width: 64px; text-align: right; }
.own .sm, .card .sm { font-size: 13px; color: var(--faint); }
td.emp { text-align: left !important; font-family: var(--sans) !important; color: var(--muted); font-size: 14.5px !important; padding: 22px 20px !important; }
td.emp a { color: var(--ink); font-weight: 620; text-decoration: underline; }
@media (max-width: 1280px) { .kpis-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kpis-6 > div:nth-child(4) { border-left: 0; } .kpis-6 > div:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 1080px) { .coin-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .kpis-6 { grid-template-columns: 1fr 1fr; } .kpis-6 > div { border-left: 1px solid var(--line) !important; border-top: 1px solid var(--line); } .kpis-6 > div:nth-child(odd) { border-left: 0 !important; } .kpis-6 > div:nth-child(-n+2) { border-top: 0; } .coin-hd h1 { font-size: 30px; } .coin-av.big { width: 48px; height: 48px; } .c-act { width: 100%; } .c-act .btn { flex: 1; } }

/* ── portfolio ────────────────────────────────────────────────────────── */
.pf-off { margin-top: 32px; padding: 48px 32px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pf-off b { font-size: 20px; font-weight: 640; letter-spacing: -.01em; } .pf-off span { color: var(--muted); } .pf-off .btn { margin-top: 12px; }
.kpis .v.sol, .st .v.sol { color: var(--sol-2); }
.stakes { display: grid; gap: 16px; margin-top: 24px; }
.st { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; scroll-margin-top: 90px; }
.st-h { display: flex; align-items: center; gap: 14px; padding: 18px 22px; flex-wrap: wrap; }
.st-h .coin-av { width: 40px; height: 40px; }
.st-h .grow { flex: 1; min-width: 200px; }
.st-h b { font-size: 17px; font-weight: 650; display: block; letter-spacing: -.01em; }
.st-h small { color: var(--muted); font-size: 13px; } .st-h small a { text-decoration: underline; }
.st-meter { height: 3px; background: var(--tok); display: flex; } .st-meter b { display: block; background: var(--sol); height: 100%; }
.st-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-grid > div { padding: 16px 22px; border-left: 1px solid var(--line); min-width: 0; }
.st-grid > div:first-child { border-left: 0; }
.st-grid .k { font-size: 12px; color: var(--muted); font-weight: 550; }
.st-grid .v { font-family: var(--mono); font-size: 18px; font-weight: 530; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.015em; }
.st-grid .s { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-act { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--bg); }
.st-wd { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.st-wd .lab { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.st-wd .chip { height: 30px; padding: 0 10px; font-size: 13px; }
.chip[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 760px) { .st-grid { grid-template-columns: 1fr 1fr; } .st-grid > div:nth-child(3) { border-left: 0; } .st-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } .st-grid > div { padding: 12px 14px; } .st-h, .st-act { padding-left: 14px; padding-right: 14px; } }

/* ── lock + dev ───────────────────────────────────────────────────────── */
.lk-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.back { color: var(--muted); font-size: 14px; font-weight: 550; } .back:hover { color: var(--ink); }
.lk-share { display: flex; gap: 8px; }
.lk-hero { margin-top: 20px; }
.lk-coin { display: flex; align-items: center; gap: 18px; }
.lk-coin h1 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.03em; font-weight: 640; font-stretch: 88%; margin: 4px 0 0; line-height: 1.05; }
.lk-coin .eyebrow a { text-decoration: underline; }
.lk-line { font-size: 20px; color: var(--ink-2); margin: 18px 0 0; max-width: 60ch; line-height: 1.45; }
.vest { margin-top: 18px; }
.vest:empty { display: none; }
.vest-h { display: flex; justify-content: space-between; font-size: 14px; } .vest-h span { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.vest-bar { position: relative; height: 8px; border-radius: 6px; background: var(--sunk-2); margin-top: 10px; overflow: visible; }
.vest-bar b { display: block; height: 100%; border-radius: 6px; background: var(--tok); }
.vest-bar i { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--ink); }
.vest-l { position: relative; display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin-top: 6px; font-family: var(--mono); height: 16px; }
.vest-l span[style] { position: absolute; transform: translateX(-50%); }
.facts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.facts li { font-size: 14px; color: var(--ink-2); line-height: 1.5; padding-left: 16px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--tok); }
.chain { margin-top: 10px; } .ch-r { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); } .ch-r a, .ch-r .num { color: var(--ink); font-size: 13px; } .ch-r a:hover { color: var(--sol-2); }
.dev-tabs { margin-top: 28px; }
.dev-grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 32px; margin-top: 20px; align-items: start; }
.dev-form { position: static; }
.dev-side { display: grid; gap: 20px; }
.f-h { font-size: 24px; letter-spacing: -.02em; font-weight: 640; margin: 0; }
.f-p { color: var(--muted); font-size: 15px; margin: 8px 0 0; line-height: 1.5; }
.dur { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--line-2); border-radius: 13px; background: var(--bg); overflow: hidden; }
.dur.sm { height: 38px; border-radius: 10px; }
.dur input { width: 90px; border: 0; background: none; outline: none; font: 520 18px var(--mono); padding: 0 14px; }
.dur.sm input { width: 56px; font-size: 15px; padding: 0 10px; }
.dur select { height: 100%; border: 0; border-left: 1px solid var(--line); background: var(--surface); font: 550 14.5px var(--sans); padding: 0 12px; outline: none; }
.tick { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); cursor: pointer; margin-top: 16px; }
.tick input { width: 18px; height: 18px; accent-color: var(--ink); }
.vest-f { margin-top: 12px; } .vest-f label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.radio { display: grid; gap: 8px; }
.radio label { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 13px; cursor: pointer; background: var(--surface); }
.radio label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.radio input { margin-top: 3px; accent-color: var(--ink); }
.radio b { display: block; font-size: 14.5px; } .radio small { color: var(--muted); font-size: 13px; }
.range { width: 100%; accent-color: var(--sol); height: 28px; }
.perm { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: #fbf3e4; color: #6b4610; font-size: 14px; line-height: 1.5; }
.perm b { color: #4a300a; }
@media (max-width: 1080px) { .dev-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .lk-line { font-size: 17px; } .lk-share .btn { padding: 0 10px; } }

/* ── stats + docs + 404 ───────────────────────────────────────────────── */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.lb { margin-top: 10px; }
.docs-in { max-width: 1240px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
.toc { position: sticky; top: calc(var(--hdr) + 28px); align-self: start; display: grid; gap: 2px; padding-top: 8px; }
.toc a { font-size: 14px; color: var(--muted); padding: 6px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); background: var(--sunk); }
.toc a.is-on { color: var(--ink); font-weight: 600; border-left-color: var(--sol); border-radius: 0 8px 8px 0; }
.doc { max-width: 780px; min-width: 0; }
.doc h1 { font-size: 48px; letter-spacing: -.035em; font-weight: 640; font-stretch: 86%; margin: 0; line-height: 1.04; }
.doc .lead { font-size: 20px; color: var(--ink-2); line-height: 1.5; margin: 18px 0 0; }
.doc h2 { font-size: 26px; letter-spacing: -.022em; font-weight: 630; margin: 64px 0 0; scroll-margin-top: 90px; font-stretch: 92%; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.doc p { margin: 14px 0 0; }
.doc b { color: var(--ink); font-weight: 620; }
.doc-ol, .doc-ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.doc .ctrls { margin-top: 22px; }
.doc .tbl td, .doc .tbl th { padding: 13px 16px; }
.doc-chain { margin-top: 16px; padding: 4px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.doc-chain .ch-r:first-child { border-top: 0; }
.nf { text-align: center; padding: 140px 20px; }
.nf h1 { font-size: 56px; letter-spacing: -.035em; margin: 0; font-weight: 640; font-stretch: 86%; }
.nf p { color: var(--muted); font-size: 18px; margin: 12px 0 28px; }
@media (max-width: 1080px) { .two { grid-template-columns: 1fr; } .docs-in { grid-template-columns: minmax(0, 1fr); padding: 0 24px; } .toc { display: none; } }
@media (max-width: 640px) { .docs-in { padding: 0 16px; } .doc h1 { font-size: 36px; } .doc h2 { font-size: 22px; margin-top: 48px; } .doc .lead { font-size: 18px; } }
.wp-row .wp-wc { background: var(--sunk); }
.pcts { visibility: hidden; }

/* ── capture mode (launch clip) ───────────────────────────────────────── */
html.capture { scrollbar-width: none; } html.capture ::-webkit-scrollbar { display: none; }
html.capture, html.capture * { cursor: none !important; }
.cap-cur { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; transition: opacity .3s; will-change: transform; filter: drop-shadow(0 2px 3px rgba(0,0,0,.18)); }
.cap-cur svg { transition: transform .1s; transform-origin: 5px 3px; }
.cap-cur.is-down svg { transform: scale(.82); }
.cap-end { position: fixed; inset: 0; z-index: 190; background: var(--bg); display: grid; place-items: center; opacity: 0; transition: opacity .6s ease; }
.cap-end.is-on { opacity: 1; }
.cap-end-in { text-align: center; display: grid; justify-items: center; gap: 18px; }
.cap-end-in b { font-size: 64px; letter-spacing: -.035em; font-weight: 650; font-stretch: 86%; line-height: 1; }
.cap-end-in p { margin: 0; font-size: 24px; color: var(--ink-2); }
.cap-end-in span { font-family: var(--mono); font-size: 18px; color: var(--muted); }
@media (max-width: 640px) { .dev-tabs { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; } .dev-tabs::-webkit-scrollbar { display: none; } .dev-tabs button { flex: none; } }
.doc .tbl td, .doc .tbl th { padding: 12px 12px; } .doc .tbl td { font-size: 13.5px; } .doc .tbl th { font-size: 12px; }
.sum .r.warn .k { color: #8a5a12; }
.fund-btn { border: 0; background: none; padding: 0; font: 600 12.5px var(--sans); color: var(--sol-2); cursor: pointer; text-decoration: underline; }
.vest-bar { overflow: hidden; } .vest-bar s { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, var(--sunk-2), var(--sunk-2) 4px, #e2e1da 4px, #e2e1da 8px); border-radius: 6px 0 0 6px; }
.vest-bar b { position: absolute; top: 0; bottom: 0; border-radius: 0; }
.vest-bar i { position: absolute; top: 0; width: 2px; height: 100%; } .vest-bar i.cl { background: var(--ink); } .vest-bar i.nw { background: var(--sol); width: 3px; }
.vest-l .m { position: absolute; transform: translateX(-50%); color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.vest-h { flex-wrap: wrap; gap: 6px 16px; }
.cpanel .panel-top .t2 { white-space: normal; }
@media (max-width: 640px) { .kpis-6 .v { white-space: normal; } .kpis .s { white-space: normal; } }
.vest-h span { font-family: var(--sans) !important; font-size: 14px !important; color: var(--ink-2) !important; }
@media (max-width: 640px) { .vest-l span:first-child { visibility: hidden; } .vest-bar { height: 10px; } }

/* ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   FIELD ALMANAC (2026-11-25, SPEC §5): the look. Everything above is layout; this block sets palette, type and surfaces.
   ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #efe6d0; --surface: #f7f1e3; --sunk: #e8dec6; --sunk-2: #ddd0b2;
  --line: #d8cbad; --line-2: #c9ba98; --line-3: #b2a27e;
  --ink: #173126; --ink-2: #2f4639; --muted: #5b685c; --faint: #887e68; --on-ink: #f4ecd9;
  --tok: #d9a441; --tok-2: #8a5f12; --tok-soft: #f1e2bd; --tok-mid: #e6c37c;
  --sol: #e0662f; --sol-2: #b2441a; --sol-soft: #f5dccb; --sol-mid: #eea47f;
  --up: #2e7a4e; --down: #b23a2a; --warn: #a8701c;
  --loam: #13241b; --loam-2: #1c3428; --loam-line: rgba(244,236,217,.12);
  --r-sm: 3px; --r: 5px; --r-lg: 6px; --r-xl: 8px;
  --sh-1: 0 1px 0 rgba(23,49,38,.05);
  --sh-2: 0 1px 0 rgba(23,49,38,.05), 0 12px 26px -16px rgba(23,49,38,.22);
  --sh-3: 0 1px 0 rgba(23,49,38,.06), 0 22px 44px -22px rgba(23,49,38,.32);
  --sans: "Teachers", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Piazzolla", Georgia, "Times New Roman", serif;
  --mono: "Piazzolla", Georgia, serif;
  --sb-thumb: rgba(23,49,38,.26); --sb-thumb-hover: rgba(23,49,38,.44);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; font-stretch: normal; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1200px 560px at 72% -8%, rgba(217,164,65,.20), transparent 62%), radial-gradient(900px 500px at 8% 108%, rgba(224,102,47,.06), transparent 60%); }
::selection { background: var(--tok-soft); color: var(--ink); }
.num, .mono { font-family: var(--mono); font-feature-settings: "tnum" 1, "lnum" 1; letter-spacing: 0; }

/* type: Piazzolla headlines (optical sizes on), Teachers everywhere else */
.hero h1, .sec-h, .pg-h h1, .coin-hd h1, .lk-coin h1, .doc h1, .doc h2, .cta-band h2, .nf h1, .cap-end-in b, .f-h, .step h3, .sub-h,
.pf-off b, .empty-card b, .meas-line, .lk-line {
  font-family: var(--display); font-weight: 500; font-stretch: normal; font-optical-sizing: auto; letter-spacing: -.018em; }
.hero h1 { font-size: clamp(40px, 3.9vw, 64px); line-height: 1.04; letter-spacing: -.026em; }
.hero h1 .soft { color: var(--tok-2); }
.sec-h { font-size: clamp(32px, 3.1vw, 48px); line-height: 1.06; letter-spacing: -.024em; }
.pg-h h1, .coin-hd h1 { font-size: 44px; letter-spacing: -.024em; }
.doc h1 { font-size: 52px; } .doc h2 { font-size: 28px; }
.step h3 { font-size: 23px; letter-spacing: -.015em; }
.sub-h { font-size: 22px; } .meas-line { font-size: 21px; } .lk-line { font-size: 21px; color: var(--ink-2); }
b, strong { font-weight: 650; }
.strip .v, .kpis .v, .out .big, .meas-grid .v, .pos .v, .st-grid .v, .tier .b, .clock .v, .amt-box input, .dur input, .xin input, .tbl td, .lockprev .kv .v,
.fl-r, .fl-sub, .cr .m, .cr .n div, .lg-row .t, .ca-pill .ca-addr, .ftr-base .prog, .cc small, .meas-cell, .vest-l, .chip .b, .pre .x, .own-r .num, .ch-r .num, .step .n {
  font-family: var(--mono); font-feature-settings: "tnum" 1, "lnum" 1; letter-spacing: 0; }
.strip .v { font-size: 25px; font-weight: 500; }
.kpis .v { font-size: 29px; font-weight: 500; }
.out .big { font-size: 44px; font-weight: 450; letter-spacing: -.02em; }
.meas-grid .v { font-size: 22px; font-weight: 500; }
.st-grid .v { font-size: 19px; font-weight: 500; }
.amt-box input { font-size: 27px; font-weight: 500; }
.tbl td { font-size: 15.5px; } .tbl td:first-child { font-family: var(--sans); }
.fee-tbl td { font-family: var(--sans); }
.tbl th { font-family: var(--sans); font-size: 11.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--sunk); }
section.alt .tbl th { background: var(--bg); }

/* printed-almanac labels: small caps with a rule; the landing's sections are numbered */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sol-2); }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
main { counter-reset: sec; }
main > section.sec { counter-increment: sec; }
main > section.sec .kicker::before { content: "No. " counter(sec, decimal-leading-zero); width: auto; height: auto; background: none; opacity: 1;
  font-family: var(--mono); font-feature-settings: "tnum" 1; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--faint);
  padding-right: 12px; border-right: 1px solid var(--line-2); }
.eyebrow { font-weight: 600; color: var(--ink-2); }
.eyebrow .dot { background: var(--sol); box-shadow: 0 0 0 4px rgba(224,102,47,.16); }
.eyebrow .eb-sep { margin: 0 7px; color: var(--faint); }
.eyebrow .eb-tick { color: var(--sol-2); font-weight: 650; }

/* header */
.hdr { background: rgba(239,230,208,.92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); }
.hdr.is-scrolled { border-bottom-color: var(--line-2); }
.brand { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.015em; gap: 9px; }
.mark { width: 28px; height: 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: var(--r-sm); }
.nav a:hover { background: transparent; color: var(--ink); }
.nav a.is-on { background: transparent; color: var(--ink); box-shadow: inset 0 -2px 0 var(--sol); border-radius: 0; }
.brand-tick { display: inline-flex; align-items: center; height: 21px; padding: 0 7px; margin-left: 2px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--sol-2); background: transparent; }
.fbrand .brand-tick { margin-left: 8px; }
.net-pill { border-radius: var(--r-sm); background: var(--sunk); border-color: var(--line-2); font-weight: 600; }
.ca-pill, .x-btn, .burger { border-radius: var(--r); background: var(--surface); border-color: var(--line-2); }
.ca-pill .ca-copy { color: var(--sol-2); }
@media (max-width: 640px) { .hdr .brand-tick { display: none; } }

/* buttons, chips, tags */
.btn { border-radius: var(--r); font-weight: 650; font-size: 15px; letter-spacing: .005em; }
.btn-sm { border-radius: var(--r); font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--on-ink); box-shadow: 0 1px 0 rgba(23,49,38,.25), inset 0 1px 0 rgba(255,255,255,.06); }
.btn-ink:hover { background: #22412f; }
.btn-ghost { background: transparent; border-color: var(--line-3); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }
.btn-sol { background: var(--sol); color: #fff8ee; } .btn-sol:hover { background: var(--sol-2); }
.chip { border-radius: var(--r-sm); background: var(--surface); border-color: var(--line-2); font-weight: 600; }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.tag { border-radius: var(--r-sm); font-weight: 650; background: var(--sunk); }
.tag-sim { background: #f2e1bb; color: #6f4b0c; }
.tag-tok { background: var(--tok-soft); color: var(--tok-2); }
.tag-sol { background: var(--sol-soft); color: var(--sol-2); }
.seg { background: var(--sunk); border-color: var(--line); border-radius: var(--r); }
.seg button { border-radius: var(--r-sm); font-weight: 600; }
.seg button.is-on { background: var(--surface); box-shadow: 0 1px 0 rgba(23,49,38,.08), 0 0 0 1px var(--line-2); }
.pcts button, .xin, .dur, .search, .amt-box, .coin-sel, .pre, .radio label, .wp-row, .wp-x { border-radius: var(--r); }
.pcts button { background: var(--surface); }

/* surfaces: oat paper sheets with hairlines (hairlines, no blur) */
.panel, .card, .step, .out, .rw, .tiers, .tbl-wrap, .kpis, .st, .stk-form, .meas, .ledger, .empty-card, .pf-off, .lockprev, .doc-chain, .coin-res, .wp-box, .wp-menu {
  background: var(--surface); border-color: var(--line); }
section.alt { background: var(--surface); border-color: var(--line); }
section.alt .step, section.alt .out, section.alt .rw, section.alt .tiers, section.alt .tbl-wrap, section.alt .ledger, section.alt .lockprev { background: var(--bg); }
.panel { box-shadow: var(--sh-3); }
.stk-form, .lockprev { box-shadow: var(--sh-2); }
.step .n { font-size: 15px; color: var(--sol-2); }
.rw .ic { background: var(--sol-soft); border-radius: var(--r); }
.tier .bar { border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--tok), var(--tok-soft)); }
.tier:first-child .bar { background: var(--sunk-2); }
.ticks li::before { background: var(--tok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%238a5f12' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.toc a.is-on { border-left-color: var(--sol); }
.lg-row .lk a, .fund-btn { color: var(--sol-2); }
.done-box { background: rgba(217,164,65,.16); color: #5f420c; border: 1px solid rgba(217,164,65,.45); border-radius: var(--r); }
.perm { background: rgba(224,102,47,.08); color: #7a3512; border: 1px solid rgba(224,102,47,.26); border-radius: var(--r); }
.perm b { color: #5a250b; }
#toast { background: var(--ink); color: var(--on-ink); border-radius: var(--r); }
#toast.bad { background: var(--down); }
.wp-scrim { background: rgba(19,36,27,.42); }
.hero::before { background: radial-gradient(900px 520px at 76% 34%, rgba(217,164,65,.16), transparent 65%), radial-gradient(700px 420px at 62% 88%, rgba(224,102,47,.07), transparent 60%); }

/* dark pieces: deep loam (the closing band and the footer) */
.cta-band { position: relative; background: var(--loam); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 360px at 50% 120%, rgba(217,164,65,.22), transparent 70%); }
.cta-band h2 { color: var(--on-ink); }
.cta-band p { color: rgba(244,236,217,.68); }
.cta-band .btn-ink { background: var(--tok); color: var(--loam); } .cta-band .btn-ink:hover { background: #e6b45a; }
.cta-band .btn-ghost { border-color: rgba(244,236,217,.32); color: var(--on-ink); } .cta-band .btn-ghost:hover { background: rgba(244,236,217,.06); border-color: var(--on-ink); }
.ftr { background: var(--loam); border-top: 0; color: rgba(244,236,217,.58); }
.ftr h5 { color: var(--on-ink); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; }
.ftr a { color: rgba(244,236,217,.62); } .ftr a:hover { color: var(--on-ink); }
.ftr .fbrand { color: var(--on-ink); font-family: var(--display); font-weight: 600; font-size: 21px; }
.ftr .brand-tick { border-color: rgba(244,236,217,.22); color: var(--tok); }
.ftr-base { border-top-color: var(--loam-line); }

/* kept from the copied layout */
.stk-form { position: sticky; top: calc(var(--hdr) + 20px); }
.dev-form { position: relative; top: 0; }
@media (max-width: 1080px) { .stk-form { position: relative; top: 0; } }
.tbl td .tag { font-size: 12px; }
.hero > .hero-in { z-index: 1; }
section.sec { position: relative; isolation: isolate; } section.sec > .wrap { position: relative; z-index: 1; }
.hero .pos { grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 1fr)); }
.hero .pos-c { padding-left: 14px; padding-right: 12px; }
.hero .pos .v { font-size: 16px; } .hero .pos-fee .v { font-size: 22px; }
.legend > span { white-space: nowrap; }
@media (max-width: 1500px) { .hero .panel-foot .foot-r { display: none; } }
.hero #sc-pre { display: none; }
.hero .pos-h { gap: 7px; } .hero .pos-h .coin-av { width: 22px; height: 22px; }
.hero .pos .rule { white-space: normal; line-height: 1.35; overflow: visible; }
.strip > div { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.strip .k { white-space: normal; line-height: 1.3; }
.stage > .panel { position: relative; z-index: 1; }
.step { position: relative; }
.cta-band > .wrap { position: relative; z-index: 1; }
.page { min-height: calc(100vh - var(--hdr) - 340px); }
.mark { border-radius: 50%; object-fit: cover; }

/* ── THE FIRST SCREEN: today's harvest (SPEC §0; js/today.js) ───────────────────────────────────────────────────────── */
.today { padding: 28px 0 44px; }
.today-in { position: relative; z-index: 1; width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 48px; display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: 64px; align-items: center; }
.today h1 { font-size: clamp(36px, 3.15vw, 56px); line-height: 1.05; margin: 18px 0 0; max-width: 16ch; }
.today .hero-cta { margin-top: 28px; }
.td-num { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.td-k { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.td-kl { font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sol-2); }
.td-day { font-family: var(--mono); font-size: 14px; color: var(--muted); white-space: nowrap; }
.td-big { display: flex; align-items: baseline; gap: 14px; margin-top: 10px; white-space: nowrap; }
.td-v { font-family: var(--display); font-weight: 400; font-size: clamp(72px, 6.8vw, 132px); line-height: .95; letter-spacing: -.035em; color: var(--ink);
  font-feature-settings: "tnum" 1, "lnum" 1; }
.td-u { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.1vw, 38px); color: var(--sol); letter-spacing: -.01em; }
.td-sub { margin-top: 14px; font-size: 15px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-src { margin: 16px 0 0; padding-left: 12px; border-left: 2px solid var(--tok); font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 58ch; min-height: 2.9em; }
.td-model { margin: 6px 0 0 14px; font-size: 12.5px; color: var(--faint); min-height: 1.5em; }

/* the field: a deep loam plate, the busiest pool on top, one row per pool like rows of a crop */
.field { --fd-cols: minmax(0, 1.25fr) 148px 78px minmax(0, 1.5fr) 100px; --oat-a: rgba(244,236,217,.58);
  background: var(--loam); color: var(--on-ink); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 1px 0 rgba(23,49,38,.08), 0 30px 60px -30px rgba(19,36,27,.55), inset 0 0 0 1px rgba(244,236,217,.06); }
.fd-best { padding: 18px 22px 6px; }
.fb-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fb-top .grow { flex: 1; min-width: 0; }
.field .coin-av { background: rgba(244,236,217,.10); color: rgba(244,236,217,.7); }
.fb-av { width: 34px; height: 34px; }
.fb-k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--oat-a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-k b { color: var(--on-ink); letter-spacing: .01em; text-transform: none; font-size: 15px; font-weight: 650; }
.fb-r { font-size: 13px; color: var(--oat-a); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-h { font-size: 15px; color: var(--tok); white-space: nowrap; flex: none; }
.fd-chart { position: relative; height: clamp(160px, 25vh, 250px); margin-top: 8px; }
.fd-chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fd-best.is-empty .fb-top, .fd-best.is-empty .fd-chart { visibility: hidden; }
.fd-head, .fd-row { display: grid; grid-template-columns: var(--fd-cols); gap: 16px; align-items: center; padding: 0 22px; }
.fd-head { padding-top: 10px; padding-bottom: 8px; border-top: 1px solid var(--loam-line); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,236,217,.42); white-space: nowrap; }
.fd-head .fd-ruler { display: flex; justify-content: space-between; height: auto; } .fd-ruler b { font-weight: 700; }
.fd-head .fd-size, .fd-head .fd-sol { text-align: right; }
.fd-row { height: 46px; border-top: 1px solid var(--loam-line); color: var(--on-ink); transition: background .15s; }
a.fd-row:hover { background: rgba(244,236,217,.04); }
.fd-coin { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fd-coin .coin-av { width: 26px; height: 26px; font-size: 10px; }
.fd-coin > span:last-child { min-width: 0; display: flex; flex-direction: column; line-height: 1.18; }
.fd-coin b { font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-coin small { font-size: 12px; color: rgba(244,236,217,.48); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-pre { min-width: 0; overflow: hidden; }
.field .tag { background: rgba(217,164,65,.14); color: #ebc679; } .field .tag-sol { background: rgba(224,102,47,.2); color: #f4a379; }
.fd-size { text-align: right; font-size: 14px; color: rgba(244,236,217,.7); white-space: nowrap; }
.fd-strip { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; height: 26px; align-items: end; }
.fd-strip i { display: block; height: var(--h, 0); background: linear-gradient(180deg, #ee7a43, var(--sol)); border-radius: 1px 1px 0 0; }
.fd-strip i.z { height: 2px; background: rgba(244,236,217,.16); }
.fd-strip i.f { height: 2px; background: repeating-linear-gradient(90deg, rgba(244,236,217,.13) 0 2px, transparent 2px 4px); }
.fd-row.is-empty .fd-strip i { height: 2px; background: rgba(244,236,217,.07); }
.fd-sol { display: flex; flex-direction: column; align-items: flex-end; text-align: right; line-height: 1.1; white-space: nowrap; }
.fd-sol b { font-weight: 500; font-size: 17px; color: var(--on-ink); } .fd-sol small { font-size: 11.5px; color: var(--sol-mid); }
.fd-foot { display: flex; align-items: center; gap: 16px; padding: 12px 22px; border-top: 1px solid var(--loam-line); font-size: 13px; }
.fd-foot .legend { color: var(--oat-a); } .fd-foot .grow { flex: 1; }
.fd-foot a { color: var(--tok); font-weight: 650; white-space: nowrap; } .fd-foot a:hover { color: #ebc679; }
/* shown once, complete: live pieces stay hidden until the first answer (js adds .hv-ready; 3 s CSS fallback) */
@keyframes hvShow { to { visibility: visible; } }
html:not(.hv-ready) .today .td-v, html:not(.hv-ready) .today .td-u, html:not(.hv-ready) #td-day, html:not(.hv-ready) #td-sub, html:not(.hv-ready) #td-src,
html:not(.hv-ready) #td-model, html:not(.hv-ready) .fd-rows, html:not(.hv-ready) .fd-best { visibility: hidden; animation: hvShow 0s 3s forwards; }
@media (max-width: 1440px) { .field { --fd-cols: minmax(0, 1.2fr) 136px 72px minmax(0, 1.4fr) 96px; } .today-in { gap: 48px; padding: 0 36px; } }
@media (max-width: 1280px) { .field { --fd-cols: minmax(0, 1.15fr) 0 0 minmax(0, 1.4fr) 92px; } .fd-pre, .fd-size { visibility: hidden; } .field .fd-head, .field .fd-row { column-gap: 14px; } }
@media (max-width: 1080px) { .today { min-height: 0; } .today-in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 0 24px; }
  .today h1 { max-width: 20ch; } .field { --fd-cols: minmax(0, 1.2fr) 140px 72px minmax(0, 1.4fr) 96px; } .fd-pre, .fd-size { visibility: visible; } }
@media (max-width: 760px) { .field { --fd-cols: minmax(0, 1fr) 0 0 minmax(0, 1.05fr) 82px; } .fd-pre, .fd-size { visibility: hidden; } .field .fd-head, .field .fd-row { column-gap: 10px; } }
@media (max-width: 640px) { .today { padding: 22px 0 40px; } .today-in { padding: 0 14px; } .today h1 { font-size: 34px; }
  .td-num { margin-top: 32px; } .td-v { font-size: 64px; } .td-sub { white-space: normal; } .fd-head, .fd-row, .fd-best, .fd-foot { padding-left: 14px; padding-right: 14px; }
  .fd-coin small { display: none; } .fd-sol b { font-size: 15px; } .fb-h { display: none; } .fd-foot .legend { display: none; } }
/* seasons */
.tbl.se td.se-rk { text-align: left; width: 72px; color: var(--sol-2); font-size: 17px; }
.tbl.se th:nth-child(2), .tbl.se td:nth-child(2) { text-align: left; }
.tbl.se .se-w { font-family: var(--mono); font-feature-settings: "tnum" 1; text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.tbl.se .se-pools { font-family: var(--sans); font-size: 13.5px; color: var(--muted); max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.tbl.se tbody tr:nth-child(-n+3) td.se-rk { font-weight: 600; }
/* pools: today's field as a table (light paper version of the hourly strip) */
.pl-today { margin-top: 40px; }
.pl-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pl-h .sub-h { margin: 0; }
.tbl.pl td { padding: 12px 18px; } .tbl.pl th { padding: 13px 18px; }
.tbl.pl td.pl-strip { width: 220px; min-width: 160px; }
.fd-strip.lt { width: 100%; height: 24px; } .fd-strip.lt i.z { background: var(--line-2); } .fd-strip.lt i.f { background: repeating-linear-gradient(90deg, var(--line-2) 0 2px, transparent 2px 4px); }
.tbl.pl th.pl-strip-h { text-align: left; }
/* portfolio: harvested so far (a 5th cell on every stake + a 5th kpi) */
.kpis-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.st-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) { .kpis-5 { grid-template-columns: 1fr 1fr; } .kpis-5 > div:nth-child(odd) { border-left: 0; } .kpis-5 > div:nth-child(n+3) { border-top: 1px solid var(--line); } .kpis-5 > div:nth-child(even) { border-left: 1px solid var(--line); } }
@media (max-width: 760px) { .st-grid > div:nth-child(odd) { border-left: 0; } .st-grid > div:nth-child(even) { border-left: 1px solid var(--line); } .st-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.my-hv:empty { display: none; } .my-hv a { text-decoration: underline; } .my-hv .num { color: var(--sol-2); }
/* today: live vs paper (lead 10:37): the kind tag by the date, the split under the number, live rows marked */
.td-kr { display: inline-flex; align-items: center; gap: 12px; }
.td-kind { height: 21px; font-size: 11.5px; }
.td-split { margin-top: 12px; min-height: 1.5em; font-size: 15px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-split b { color: var(--sol-2); font-weight: 600; }
.td-split + .td-sub { margin-top: 4px; }
html:not(.hv-ready) #td-kind, html:not(.hv-ready) #td-split { visibility: hidden; animation: hvShow 0s 3s forwards; }
.fd-row.is-live { background: rgba(224,102,47,.07); box-shadow: inset 2px 0 0 var(--sol); }
a.fd-row.is-live:hover { background: rgba(224,102,47,.11); }
.tbl.pl tr.is-live td { background: rgba(224,102,47,.06); } .tbl.pl tr.is-live td:first-child { box-shadow: inset 2px 0 0 var(--sol); }
/* coin page: today's harvest card */
.tc-v { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.tc-v b { font-family: var(--display); font-weight: 450; font-size: 40px; letter-spacing: -.02em; line-height: 1; }
.tc-v > span:not(.tag) { font-family: var(--display); font-size: 18px; color: var(--sol); }
.tc-v .tag { margin-left: auto; align-self: center; }
.tc-strip { display: grid; height: 34px; margin-top: 14px; }
.tc-ruler { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--faint); }
.tc-ruler b { font-weight: 700; }
