/* PALETTE PROVENANCE (never invented; all sampled from brand/ pixels, see scripts/make-assets.py)
   --bg          #10120d  brand/LOGO CONFIQ PNG.png, opaque background pixel (16,18,13)
   --accent      #c2f85d  brand/LOGO CONFIQ PNG...png, rim highlight pixel (194,248,93,252)
   --accent-mid  #57781c  most frequent disc pixel, brand/LOGO CONFIQ PNG.png
   --accent-deep #4b671a  most frequent dark-disc pixel, same file
   --ink         #f5fbd4  lightest disc pixel, same file
   Panels, lines and muted text are mixes of these five, computed with color-mix, no new hexes.
   EXCEPTION, client-mandated and NOT sampled from brand/: --up #16a34a and --down #dc2626, used only for
   price-change up/down states (rows, own row, ticker, value-change flash). No other colour marks up/down.
   LAYOUT TOKENS measured off the reference stylesheet: 1320 max width, 16/24 gutters, 64 header,
   14 panel radius, 8 button radius, 44 button height, 11px/.16em labels, .2,.8,.2,1 easing,
   .25s button transitions, .45s underline, 60s marquee. */
:root {
  --bg: #10120d;
  --accent: #c2f85d;
  --accent-mid: #57781c;
  --accent-deep: #4b671a;
  --ink: #f5fbd4;
  --panel: color-mix(in srgb, var(--ink) 4%, var(--bg));
  --panel-2: color-mix(in srgb, var(--ink) 7%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 9%, transparent);
  --line-2: color-mix(in srgb, var(--ink) 16%, transparent);
  --ink-2: color-mix(in srgb, var(--ink) 72%, transparent);
  --mute: color-mix(in srgb, var(--ink) 44%, transparent);
  --glow: color-mix(in srgb, var(--accent) 35%, transparent);
  --up: #16a34a;
  --down: #dc2626;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --gutter: 16px;
  --top-h: 112px;
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); -webkit-tap-highlight-color: transparent; }
body { font-family: var(--font); line-height: 1.5; background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100dvh; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.display { font-weight: 700; letter-spacing: -.06em; line-height: .86; }
.panel { background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; border-radius: 14px; }

/* progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent-mid), var(--accent)); box-shadow: 0 0 12px var(--glow); }

/* top stack: CA bar + header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.ca-bar { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--accent) 5%, transparent); }
.ca-inner { display: flex; align-items: center; gap: 12px 16px; min-height: 48px; padding-block: 6px; }
.ca-label { flex: none; }
.ca-slot { min-width: 0; flex: 1; display: flex; }
.ca-btn, .ca-idle { font-family: var(--mono); font-size: clamp(14px, 2.1vw, 22px); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; text-align: left; overflow-wrap: anywhere; word-break: break-all; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 12px; border-radius: 10px; max-width: 100%; }
.ca-btn { color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent) inset; transition: background .25s, transform .25s, box-shadow .25s; position: relative; }
.ca-btn:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); transform: translateY(-1px); }
.ca-btn:active { transform: translateY(1px); }
.ca-btn .ca-ico { flex: none; width: 18px; height: 18px; }
.ca-btn.is-copied { background: var(--accent); color: var(--bg); }
.ca-idle { color: var(--mute); box-shadow: 0 0 0 1px var(--line) inset; border-style: dashed; cursor: default; user-select: none; }
.ca-idle .dots { letter-spacing: .2em; white-space: nowrap; overflow: hidden; }
.ca-note { white-space: nowrap; font-size: 12px; color: var(--mute); margin-left: 4px; font-family: var(--font); font-weight: 500; letter-spacing: 0; }
.ca-toast { position: absolute; right: 8px; top: -30px; background: var(--accent); color: var(--bg); font: 600 12px var(--font); padding: 4px 10px; border-radius: 6px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.ca-btn.is-copied .ca-toast { opacity: 1; transform: none; }

.head-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; transition: opacity .2s; flex: none; }
.brand:hover { opacity: .75; }
.brand img { border-radius: 50%; }
.brand-word { font-size: 20px; font-weight: 700; letter-spacing: -.045em; }
.nav { display: none; align-items: center; gap: 28px; font-size: 14px; color: var(--ink-2); margin-right: auto; margin-left: 40px; }
.link { position: relative; display: inline-flex; align-items: center; min-height: 44px; transition: color .25s; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.link:hover, .link.is-current { color: var(--ink); }
.link:hover::after, .link.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }
.head-right { display: flex; align-items: center; gap: 4px; }
.socials { display: flex; align-items: center; }
.soc { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-2); transition: color .3s, transform .3s; }
a.soc:hover { color: var(--accent); transform: translateY(-2px); }
.soc svg { width: 20px; height: 20px; fill: currentColor; }
.soc.is-inert { color: var(--mute); cursor: not-allowed; opacity: .75; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; box-shadow: 0 0 0 1px var(--line-2) inset; margin-right: 6px; }
.burger { position: relative; width: 16px; height: 10px; display: block; }
.burger i { position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:first-child { top: 0; } .burger i:last-child { top: 8.5px; }
.menu-btn[aria-expanded="true"] .burger i:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:last-child { top: 4px; transform: rotate(-45deg); }
.mnav { display: grid; padding: 4px var(--gutter) 14px; border-top: 1px solid var(--line); }
.mnav[hidden] { display: none; }
.mnav a { display: flex; align-items: center; min-height: 48px; font-size: 17px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn, .mnav { display: none !important; } }

/* section rail */
.rail { display: none; position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 40; flex-direction: column; gap: 2px; }
.rail a { display: flex; align-items: center; gap: 10px; min-height: 28px; font: 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.rail a i { width: 14px; height: 1px; background: currentColor; transition: width .45s var(--ease), background .25s; }
.rail a span { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .45s var(--ease); order: 2; }
.rail a:hover span, .rail a.is-on span { opacity: 1; transform: none; }
.rail a.is-on { color: var(--accent); } .rail a.is-on i { width: 28px; }
@media (min-width: 1500px) { .rail { display: flex; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; height: 2.75rem; min-width: 44px; padding: 0 1.15rem; border-radius: 8px; font-size: 15px; font-weight: 560; letter-spacing: -.01em; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s, transform .25s; }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-solid { background: var(--accent); color: var(--bg); }
.btn-solid:hover { background: var(--ink); box-shadow: 0 0 30px var(--glow); }
.btn-line { box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-line:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.link-quiet { font-size: 15px; color: var(--ink-2); }

/* pills + live dot */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; font: 12px/1 var(--mono); letter-spacing: .06em; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
.pill.is-err .live-dot, .pill.is-err .live-dot::after { background: var(--mute); animation: none; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* hero */
main { position: relative; z-index: 10; padding-top: var(--top-h); }
.hero { position: relative; min-height: 100svh; margin-top: calc(var(--top-h) * -1); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg > * { will-change: transform; }
.mesh { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.m1 { width: 56vmax; height: 56vmax; left: -14vmax; top: -10vmax; background: radial-gradient(circle, var(--accent-mid), transparent 62%); }
.m2 { width: 48vmax; height: 48vmax; right: -12vmax; top: 6vmax; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 70%, transparent), transparent 60%); opacity: .32; animation-duration: 23s; animation-delay: -6s; }
.m3 { width: 40vmax; height: 40vmax; left: 30%; bottom: -22vmax; background: radial-gradient(circle, var(--accent-deep), transparent 62%); animation-duration: 27s; animation-delay: -11s; }
@keyframes drift { from { translate: 0 0; scale: 1; } to { translate: 6vmax 4vmax; scale: 1.18; } }
.hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; mix-blend-mode: screen; }
.hero-mark { position: absolute; right: -10vmin; top: 12%; width: min(58vmin, 560px); height: auto; opacity: .42; filter: drop-shadow(0 0 60px var(--glow)); animation: float 9s ease-in-out infinite alternate; }
@keyframes float { to { translate: 0 -18px; rotate: 3deg; } }
.grid-lines { position: absolute; inset: -10%; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 40%, var(--bg) 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, var(--bg) 20%, transparent 70%); opacity: .7; }
.hero-fade { position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, var(--bg)); }
.hero-inner { display: flex; flex-direction: column; gap: 40px; padding-top: calc(var(--top-h) + 40svh); padding-bottom: 40px; }
@media (min-width: 768px) { .hero-inner { padding-top: calc(var(--top-h) + 80px); } }
@media (min-width: 1024px) { .hero-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-bottom: 56px; } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.display { font-size: clamp(30px, 9vw, 148px); }
.hero-copy .display { margin-top: 22px; }
.line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.1em; }
.line-in { display: block; white-space: nowrap; }
.lede { margin-top: 28px; max-width: 29rem; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.cta { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-stat { text-align: left; } @media (min-width: 1024px) { .hero-stat { text-align: right; } }
.big-num { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font-size: clamp(72px, 9vw, 128px); line-height: 1; } @media (min-width: 1024px) { .big-num { justify-content: flex-end; } }
.big-num .unit { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.04em; color: var(--mute); }
.big-num span:first-child { font-variant-numeric: tabular-nums; color: var(--accent); }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 108px; }
.tile-v { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile-v.slot { color: var(--mute); }
[data-spot] { position: relative; overflow: hidden; }
[data-spot]::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 65%); }
[data-spot]:hover::before { opacity: 1; }
[data-spot] > * { position: relative; }

/* ticker */
.ticker { margin-top: 28px; overflow: hidden; border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, var(--bg) 6%, var(--bg) 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, var(--bg) 6%, var(--bg) 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; font: 13px var(--mono); white-space: nowrap; border-right: 1px solid var(--line); }
.tk b { font-weight: 600; color: var(--ink); } .tk .up { color: var(--up); } .tk .dn { color: var(--down); }
.tk.sk i { display: block; width: 120px; height: 10px; border-radius: 5px; }

/* sections */
.sec { padding-top: 96px; }
@media (min-width: 640px) { .sec { padding-top: 144px; } }
.sec-head { margin-bottom: 40px; max-width: 56rem; }
.h2 { margin-top: 14px; font-size: clamp(36px, 6vw, 88px); font-weight: 700; letter-spacing: -.05em; line-height: .94; scroll-margin-top: 96px; }
.h3 { font-size: 22px; font-weight: 650; letter-spacing: -.03em; line-height: 1.15; }
.sub { margin-top: 18px; max-width: 36rem; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* board */
.board { padding: 6px; }
.board-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 10px; }
.rows { display: grid; align-items: center; grid-template-columns: 36px minmax(0, 2.4fr) repeat(4, minmax(0, 1fr)) 44px; gap: 8px; padding: 0 12px; }
.head-row { height: 36px; font: 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); }
.r { text-align: right; }
.row { position: relative; overflow: hidden; min-height: 68px; border-bottom: 1px solid var(--line); border-radius: 0; transition: background .3s; font-variant-numeric: tabular-nums; }
.row:last-child { border-bottom: 0; }
.row::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 65%); }
.row:hover::before { opacity: 1; }
.row > * { position: relative; }
.row .rank { font: 12px var(--mono); color: var(--mute); }
.tok { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tok-t { min-width: 0; line-height: 1.2; }
.tok-t b { display: block; font-weight: 650; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tok-t small { display: block; color: var(--mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logo { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2); }
.tile-l { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--accent); background: color-mix(in srgb, var(--accent-deep) 55%, var(--bg)); box-shadow: 0 0 0 1px var(--line-2); text-transform: uppercase; }
.cell { text-align: right; font-size: 14px; border-radius: 6px; padding: 2px 4px; margin: -2px -4px; }
.cell::before { content: attr(data-l); display: none; }
.cell.up { color: var(--up); } .cell.dn { color: var(--down); }
.cell.flash-up { animation: flashUp 1s var(--ease); } .cell.flash-dn { animation: flashDn 1s var(--ease); }
@keyframes flashUp { from { background: color-mix(in srgb, var(--up) 34%, transparent); } to { background: transparent; } }
@keyframes flashDn { from { background: color-mix(in srgb, var(--down) 34%, transparent); } to { background: transparent; } }
.copy { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--mute); transition: color .25s, background .25s; }
.copy:hover { color: var(--accent); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.copy.is-copied { color: var(--accent); }
.copy[disabled] { opacity: .3; cursor: not-allowed; }
.row.in { animation: rowIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.row.own { border-left: 2px solid var(--accent); animation: ownPulse 2.4s ease-in-out infinite; background: color-mix(in srgb, var(--accent) 4%, transparent); }
.row.own.in { animation: rowIn .7s var(--ease) both, ownPulse 2.4s ease-in-out .7s infinite; animation-delay: calc(var(--i, 0) * 55ms), 0s; }
@keyframes ownPulse { 0%, 100% { box-shadow: inset 0 0 0 0 transparent, 0 0 0 0 transparent; background-color: color-mix(in srgb, var(--accent) 3%, transparent); } 50% { box-shadow: inset 24px 0 40px -26px var(--glow), 0 0 22px -12px var(--glow); background-color: color-mix(in srgb, var(--accent) 8%, transparent); } }
.row.own .own-tag { font: 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bg); background: var(--accent); border-radius: 4px; padding: 2px 6px; margin-left: 8px; vertical-align: 2px; }
.row.idle .cell { color: var(--mute); cursor: default; user-select: none; white-space: nowrap; }
.row.err .cell { color: var(--mute); }
.row.err .err-note { grid-column: 3 / -1; text-align: right; font-size: 12px; color: var(--mute); }

.skel { position: relative; overflow: hidden; background: color-mix(in srgb, var(--ink) 7%, transparent); border-radius: 6px; }
.skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 10%, transparent), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skel.c { width: 36px; height: 36px; border-radius: 50%; }
.skel.t1, .skel.t2 { display: block; } .skel.t1 { width: 110px; height: 12px; } .skel.t2 { width: 56px; height: 9px; margin-top: 6px; }
.skel.n { width: 70%; height: 12px; margin-left: auto; }

@media (max-width: 899px) {
  .head-row { display: none; }
  .rows { grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr) 44px; grid-template-areas: "rank tok tok copy" ". price chg ." ". vol liq ."; row-gap: 6px; padding: 12px 8px 10px; }
  .row { min-height: 0; }
  .row .rank { grid-area: rank; } .row .tok { grid-area: tok; } .row .copy { grid-area: copy; }
  .cell { text-align: left; font-size: 13px; }
  .cell::before { display: block; font: 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }
  .cell.price { grid-area: price; } .cell.chg { grid-area: chg; } .cell.vol { grid-area: vol; } .cell.liq { grid-area: liq; }
  .row.err .err-note { grid-column: 2 / -1; text-align: left; }
}

/* mechanics */
.mech { display: grid; gap: 12px; }
@media (min-width: 1024px) { .mech { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.steps { display: grid; gap: 12px; list-style: none; }
.step { display: flex; gap: 20px; padding: 24px; }
.step-n { flex: none; font: 12px var(--mono); letter-spacing: .16em; color: var(--accent); padding-top: 6px; }
.step p { margin-top: 10px; color: var(--ink-2); line-height: 1.6; max-width: 32rem; }
.legs-card { padding: 24px; display: grid; gap: 22px; }
.legs { display: grid; gap: 14px; }
.leg { display: grid; grid-template-columns: 84px 1fr 96px; align-items: center; gap: 14px; font: 13px var(--mono); }
.leg b { text-align: right; font-weight: 600; }
.bar { height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 7%, transparent); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent-mid), var(--accent)); animation: grow .9s var(--ease) both; transform-origin: 0 50%; }
.bar.neg i { background: linear-gradient(90deg, var(--accent-deep), var(--ink-2)); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.leg.net { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.leg.net.acc b { color: var(--accent); }

/* estimator */
.est { display: grid; gap: 12px; }
@media (min-width: 900px) { .est { grid-template-columns: 1.1fr 1fr; } }
.est-in { padding: 24px; display: grid; gap: 6px; align-content: start; }
.est-amt { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -.05em; line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 4px; }
.range { appearance: none; -webkit-appearance: none; cursor: pointer; background: transparent; width: 100%; height: 44px; margin: 4px 0 6px; }
.range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) 0 var(--p, 50%), color-mix(in srgb, var(--ink) 16%, transparent) var(--p, 50%) 100%); }
.range::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--ink) 0 var(--p, 50%), color-mix(in srgb, var(--ink) 16%, transparent) var(--p, 50%) 100%); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 3px; background: var(--ink); transition: transform .2s; }
.range:hover::-webkit-slider-thumb { transform: scale(1.2); }
.range::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 3px; background: var(--ink); }
.period { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.period button { position: relative; min-width: 44px; min-height: 44px; padding: 0 8px; font: 15px var(--mono); color: var(--mute); transition: color .25s; }
.period button:hover { color: var(--ink-2); } .period button[aria-checked="true"] { color: var(--ink); }
.period-ink { position: absolute; bottom: 8px; left: 0; height: 1px; width: 0; background: var(--ink); transition: transform .45s var(--ease), width .45s var(--ease); }
.est-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.est-wide { grid-column: 1 / -1; }

/* cards */
.cards { display: grid; gap: 12px; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 799px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
.card { padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 210px; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card p { color: var(--ink-2); line-height: 1.6; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 56rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 22px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--accent); transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.ans { padding: 0 22px 22px; color: var(--ink-2); line-height: 1.65; max-width: 44rem; animation: fadeUp .45s var(--ease); }

/* footer */
.foot { margin-top: 140px; border-top: 1px solid var(--line); padding: 56px 0 48px; position: relative; z-index: 10; background: linear-gradient(transparent, color-mix(in srgb, var(--accent-deep) 14%, var(--bg))); }
.foot-inner { display: grid; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 10px; } .foot-brand img { border-radius: 50%; }
.chain { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
@media (min-width: 900px) { .chain { grid-template-columns: repeat(5, auto); justify-content: start; gap: 20px 56px; } }
.chain dd { margin-top: 6px; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.foot-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot-msg { font-size: 13px; color: var(--mute); }
.fine { font-size: 12px; color: var(--mute); }

/* reveal */
.js [data-reveal], .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in, .js .reveal.in { opacity: 1; transform: none; }
.js .line-in { transform: translateY(105%); transition: transform 1.05s var(--ease); }
.js .hero.go .line:nth-child(2) .line-in { transition-delay: 110ms; }
.js .hero.go .line-in { transform: none; }
.js .row.in, .js .pill.reveal.in { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .line-in { transform: none !important; }
  .hero-bg > * { transform: none !important; translate: none !important; rotate: none !important; scale: none !important; }
  [data-spot]::before, .row::before { display: none !important; }
  .ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-track { transform: none !important; }
  .live-dot::after { display: none; }
  .skel::after { display: none; }
  .bar i { transform: none !important; }
  .row.in { opacity: 1 !important; transform: none !important; }
}
}

@media (max-width: 519px) { .ca-idle .ca-note { display: none; } .ca-idle { font-size: 14px; } }
.nav .link, .foot .link { min-width: 44px; justify-content: center; }

/* limits */
.two { display: grid; gap: 12px; }
@media (min-width: 800px) { .two { grid-template-columns: 1fr 1fr; } }
.lim { padding: 26px; display: grid; gap: 18px; align-content: start; }
.lim ul { display: grid; gap: 14px; list-style: none; }
.lim li { position: relative; padding-left: 28px; color: var(--ink-2); line-height: 1.5; }
.lim li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
.lim.no li::before { width: 12px; height: 1.5px; border: 0; background: var(--mute); transform: none; top: .85em; }

/* closing */
.join-in { padding: clamp(28px, 6vw, 72px); display: grid; gap: 8px; justify-items: start; }
.join .cta { margin-top: 26px; }
@media (min-width: 1500px) and (max-width: 1699px) { .rail a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
