/* DISCOUNT TOKENS — site stylesheet. Dark mode only. White + Yahoo-style purple.
   Purple: #592DCA (sampled from the Yahoo-purple reference). */
:root {
  --bg: #0b0a10;
  --bg-2: #0f0d16;
  --surface: #13111b;
  --surface-2: #1a1724;
  --surface-3: #221e2f;
  --border: #2a2638;
  --border-light: #403956;
  --white: #ffffff;
  --text: #f4f2fa;
  --muted: #aaa4bd;      /* 8.0:1 on --bg */
  --dim: #8a84a0;        /* 5.4:1 on --bg (AA body) */
  --purple: #592dca;     /* fills: buttons, bars, badges (white text on it = 7.9:1) */
  --purple-hover: #6a3fe0;
  --purple-deep: #3d1d93;
  --lav: #b9a3ff;        /* purple used as TEXT/lines on dark = 8.4:1 */
  --lav-2: #8f73ff;      /* chart lines (non-text, 5.0:1) */
  --series-2: #e3dcff;   /* second chart series (near-white lavender) */
  --glow: rgba(89, 45, 202, .18);
  --glow-strong: rgba(89, 45, 202, .32);
  --good: #b9a3ff;
  --warn: #ffcf7a;
  --sans: "Space Grotesk", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 10px;
  --radius-lg: 14px;
  --wrap: 1160px;
  --gutter: 24px;
  color-scheme: dark;
}
@media (max-width: 720px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 8px; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eyebrow .hl { color: var(--lav); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lav); display: inline-block; flex: none; }
.accent { color: var(--lav); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.tag-placeholder { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); border: 1px dashed rgba(255,207,122,.5); padding: 2px 7px; border-radius: 4px; vertical-align: middle; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(11,10,16,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 86px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 21px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .t2 { color: var(--lav); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a.link { text-decoration: none; color: var(--text); font-size: 14.5px; opacity: .88; }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--lav); opacity: 1; }
.utc-clock { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border: 0; cursor: pointer; border-radius: 8px; font-weight: 600; transition: background .15s, transform .15s, box-shadow .15s; }
.btn-primary { background: var(--purple); color: var(--white); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; }
.btn-primary:hover { background: var(--purple-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-sm { font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase; padding: 12px 17px; }
.btn-lg { font-size: 16px; padding: 18px 22px; width: 100%; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-light); font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 10px 18px; border-radius: 3px; text-transform: uppercase; }
.btn-outline:hover { border-color: var(--lav); color: var(--lav); }
.menu-btn { display: none; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; font-size: 18px; }
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .nav .link, .nav .utc-clock { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .bar { height: 68px; }
  .brand { font-size: 18px; }
  .mobile-nav[data-open="true"] { display: block; border-bottom: 1px solid var(--border); padding: 8px 0 16px; }
  .mobile-nav a { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--border); }
  .mobile-nav .utc-clock { display: block; padding-top: 12px; }
}
@media (max-width: 400px) { .nav .btn-sm { padding: 11px 12px; font-size: 11.5px; } .brand { font-size: 16.5px; gap: 8px; } .brand svg { width: 26px; height: 26px; } }

/* ---------- hero ---------- */
.hero { padding: 30px 0 34px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 58px); line-height: 1.04; letter-spacing: -.025em; font-weight: 600; margin: 0 0 22px; }
.hero .lead { font-size: 17px; color: var(--muted); margin: 0 0 8px; }
.hero .sub { font-size: 14.5px; color: var(--muted); margin: 0 0 22px; }
.hero .sub strong { color: var(--white); font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: 11px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.checks li::before { content: "✓ "; color: var(--lav); }

/* ---------- market panel ---------- */
.market { display: grid; grid-template-columns: minmax(0, 1fr) 308px; gap: 18px; position: relative; }
.market::before { content: ""; position: absolute; inset: -40px -60px; background: radial-gradient(60% 50% at 40% 40%, var(--glow), transparent 70%); z-index: -1; pointer-events: none; }
.panel { background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel-title { font-size: 17px; margin: 4px 0 0; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 24px; }
.stat { border: 1px solid var(--border-light); border-radius: var(--radius); padding: 16px 15px; background: rgba(255,255,255,.01); min-width: 0; }
.stat.hl { border-color: var(--purple); background: rgba(89,45,202,.08); }
.stat .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: var(--mono); font-size: clamp(30px, 3.4vw, 42px); font-weight: 500; letter-spacing: -.02em; margin: 14px 0 8px; line-height: 1; }
.stat .v.lav { color: var(--lav); }
.stat .s { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.meter { height: 5px; background: var(--surface-3); border-radius: 3px; overflow: hidden; margin: 6px 0 8px; }
.meter > i { display: block; height: 100%; background: var(--series-2); border-radius: 3px; }
.legend { display: flex; gap: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.legend .l1 { color: var(--lav); } .legend .l2 { color: var(--series-2); }
.chart-wrap { margin-top: 10px; position: relative; }
.chart-wrap svg { width: 100%; height: auto; overflow: visible; }
.chart-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin: 14px 0 0; }
.panel-foot { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.side { display: flex; flex-direction: column; background: linear-gradient(180deg, #17122a 0%, var(--bg-2) 70%); }
.countdown { font-family: var(--mono); font-size: clamp(36px, 3.6vw, 44px); color: var(--lav); margin: 16px 0 22px; letter-spacing: .01em; line-height: 1; }
.btn-buy-wide { justify-content: space-between; width: 100%; padding: 16px 16px; font-size: 14.5px; border-radius: 4px; }
.side .fine { font-size: 12px; color: var(--muted); margin: 18px 0 0; line-height: 1.6; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 26px 0 18px; }
.activity { list-style: none; padding: 0; margin: 14px 0 0; }
.activity li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 13px; }
.activity .ico { width: 24px; height: 24px; border-radius: 50%; background: rgba(89,45,202,.25); color: var(--lav); display: grid; place-items: center; font-size: 12px; }
.activity .off { color: var(--lav); font-size: 11px; display: block; }
.activity time { color: var(--muted); font-size: 10.5px; }
.public-note { font-family: var(--mono); font-size: 10px; color: var(--dim); margin: 10px 2px 0; }
@media (max-width: 980px) { .market { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) {
  .panel { padding: 18px 16px; }
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .stat { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .stat .v { margin: 0; grid-row: span 2; grid-column: 2; font-size: 30px; }
  .stat .meter { grid-column: 1 / -1; }
}

/* ---------- sections ---------- */
section.block { padding: 56px 0; border-top: 1px solid var(--border); }
section.block.first { border-top: 0; }
.h2 { font-size: clamp(26px, 3vw, 31px); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 10px; }
.h2-mono { font-family: var(--mono); font-size: 17px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lav); margin: 0 0 22px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.link-arrow { color: var(--lav); text-decoration: none; font-size: 14px; }
.link-arrow:hover { text-decoration: underline; }

.steps { display: grid; grid-template-columns: 1.05fr repeat(3, 1fr); gap: 0; padding: 48px 0; }
.steps .intro h2 { font-size: 28px; font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.step { border-left: 1px solid var(--border); padding: 4px 24px 6px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--lav); }
.step h3 { font-size: 16px; font-weight: 500; margin: 22px 0 12px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; } .step { border-left: 0; border-top: 1px solid var(--border); padding: 18px 0 0; } .step h3 { margin-top: 10px; } }

/* usage chart */
.usage { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 42px; }
.usage-total { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.usage-total .big { font-family: var(--mono); font-size: 34px; }
.bars { display: grid; grid-template-columns: 54px repeat(7, 1fr); gap: 10px; align-items: end; height: 240px; margin-top: 24px; border-bottom: 1px solid var(--border); position: relative; }
.bars .axis { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--dim); padding-bottom: 2px; }
.ubar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.ubar .seg { width: 100%; }
.ubar .seg.a { background: var(--purple); }
.ubar .seg.b { background: var(--lav); }
.ubar .seg.c { background: #5b5470; border-radius: 3px 3px 0 0; }
.bar-labels { display: grid; grid-template-columns: 54px repeat(7, 1fr); gap: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.toplist { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); padding-left: 30px; }
.toplist h3 { font-size: 15px; font-weight: 500; margin: 0 0 18px; }
.toplist li { display: grid; grid-template-columns: 28px 12px 1fr auto; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.toplist .rk { font-family: var(--mono); font-size: 10.5px; color: var(--dim); }
.toplist .sw { width: 7px; height: 7px; border-radius: 1px; }
.toplist .nm { font-size: 14px; }
.toplist .rq { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.toplist .pc { font-family: var(--mono); font-size: 13px; color: var(--lav); }
.flag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; padding: 1px 5px; border-radius: 3px; border: 1px solid var(--border-light); color: var(--muted); margin-left: 6px; vertical-align: 2px; }
.flag.cn { border-color: rgba(185,163,255,.5); color: var(--lav); }
@media (max-width: 860px) { .usage { grid-template-columns: minmax(0, 1fr); } .toplist { border-left: 0; padding-left: 0; } .bars { grid-template-columns: 40px repeat(7, 1fr); gap: 6px; height: 200px; } .bar-labels { grid-template-columns: 40px repeat(7, 1fr); gap: 6px; font-size: 9px; } }

.onekey { padding: 70px 48px; }
.onekey p { font-size: 17px; color: var(--muted); max-width: 720px; margin: 0 0 22px; line-height: 1.6; }
.inline-links { display: flex; gap: 12px 26px; flex-wrap: wrap; font-size: 15px; }
.inline-links a { color: var(--text); text-underline-offset: 5px; }
.inline-links a:hover { color: var(--lav); }
@media (max-width: 720px) { .onekey { padding: 48px 0; } }

.faq { padding: 70px 48px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px; }
.faq-item { border: 1px solid var(--border-light); border-radius: 2px; padding: 26px 28px; background: var(--bg-2); }
.faq-item h3 { font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.faq-item p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
details.faq-item summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--lav); font-family: var(--mono); }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item[open] summary { margin-bottom: 12px; }
@media (max-width: 720px) { .faq { padding: 48px 0; } .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .faq-item { padding: 20px; } }

/* ---------- comparison table ---------- */
.table-shell { border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
table.data th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 18px 20px; background: var(--surface); border-bottom: 1px solid var(--border-light); white-space: nowrap; }
table.data td { padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
table.data .mid { font-family: var(--mono); font-weight: 600; font-size: 14px; }
table.data .sub { display: block; color: var(--muted); font-size: 12.5px; font-family: var(--sans); font-weight: 400; margin-top: 3px; }
table.data .strike { text-decoration: line-through; color: var(--dim); font-size: 12.5px; display: block; }
table.data .today { color: var(--white); }
table.data .best { color: var(--lav); font-weight: 600; }
table.data .na { color: var(--dim); }
table.data tr.group td { background: var(--surface); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lav); padding: 10px 20px; }
.cat { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--lav); }
.chip { display: inline-block; font-family: var(--mono); font-size: 11px; border: 1px solid var(--border-light); color: var(--muted); padding: 2px 7px; margin: 2px 4px 2px 0; border-radius: 2px; }
.src { font-size: 11px; color: var(--dim); text-decoration: none; font-family: var(--mono); }
.src:hover { color: var(--lav); text-decoration: underline; }
sup.s a { font-size: 10px; color: var(--dim); text-decoration: none; margin-left: 2px; }
sup.s a:hover { color: var(--lav); }

/* filters */
.filters { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; margin: 26px 0 16px; }
.seg-group { display: flex; border: 1px solid var(--border-light); border-radius: 3px; overflow-x: auto; max-width: 100%; }
.seg-group button { background: transparent; border: 0; border-right: 1px solid var(--border-light); padding: 11px 15px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg-group button:last-child { border-right: 0; }
.seg-group button[aria-pressed="true"] { background: rgba(89,45,202,.28); color: var(--white); }
.search { flex: 1; min-width: 220px; background: transparent; border: 1px solid var(--border-light); border-radius: 3px; padding: 11px 16px; font-family: var(--mono); font-size: 14px; color: var(--text); }
.search::placeholder { color: var(--dim); }
.count { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0 0 20px; }

/* page hero (inner) */
.ticker { border-bottom: 1px solid var(--border); background: var(--bg-2); }
.ticker .wrap { display: flex; gap: 22px; justify-content: space-between; align-items: center; height: 44px; font-family: var(--mono); font-size: 12px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.ticker strong { color: var(--lav); font-weight: 700; }
.page-hero { padding: 56px 0 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; max-width: 760px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 720px; margin: 0; line-height: 1.6; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); border: 1px solid var(--border-light); border-radius: 2px; }
.kpis > div { padding: 18px 16px; border-right: 1px solid var(--border-light); }
.kpis > div:last-child { border-right: 0; }
.kpis .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpis .v { font-family: var(--mono); font-weight: 700; font-size: 24px; margin-top: 8px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border-light); margin-top: 10px; }
.tabs a { padding: 13px 24px; text-decoration: none; font-size: 15px; color: var(--muted); border-radius: 4px 4px 0 0; }
.tabs a[aria-current="page"] { background: rgba(89,45,202,.25); color: var(--white); border-bottom: 2px solid var(--purple); }
@media (max-width: 860px) { .page-hero { grid-template-columns: minmax(0, 1fr); padding-top: 36px; } .kpis { grid-template-columns: repeat(3, 1fr); } .kpis .v { font-size: 19px; } }

/* ---------- buy page ---------- */
.buy { max-width: 728px; margin: 0 auto; padding: 56px 0 90px; }
.buy h1 { font-family: var(--mono); font-size: clamp(42px, 6vw, 56px); font-weight: 800; color: var(--lav); margin: 0 0 14px; line-height: 1; letter-spacing: -.02em; }
.buy .desc { font-size: 17px; color: var(--muted); margin: 0 0 8px; max-width: 620px; }
.buy .avail { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.buy .avail b { color: var(--lav); font-weight: 600; }
.notice { border: 1px solid var(--border-light); background: var(--bg-2); padding: 11px 16px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 38px 0 22px; }
.notice b { color: var(--lav); font-weight: 600; }
.card { border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--surface); padding: 30px 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.card h2, .card .label { font-size: 14px; font-weight: 600; margin: 0 0 14px; display: block; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-light); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.toggle button { background: transparent; border: 0; padding: 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--purple); color: var(--white); }
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.choice { background: var(--bg-2); border: 1px solid var(--border-light); border-radius: 4px; padding: 14px 8px; text-align: center; cursor: pointer; font-family: var(--mono); }
.choice .a { display: block; font-size: 17px; font-weight: 700; color: var(--white); }
.choice .b { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.choice[aria-pressed="true"] { border-color: var(--purple); background: rgba(89,45,202,.18); }
.choice[aria-pressed="true"] .a, .choice[aria-pressed="true"] .b { color: var(--lav); }
.custom { width: 100%; margin-top: 12px; background: var(--bg-2); border: 1px solid var(--border-light); border-radius: 4px; padding: 14px; font-family: var(--mono); font-size: 15px; }
.hint { font-family: var(--mono); font-size: 11px; color: var(--dim); margin: 8px 0 0; }
.select { width: 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis; background: var(--bg-2); border: 1px solid var(--border-light); border-radius: 4px; padding: 14px 40px 14px 14px; font-family: var(--mono); font-size: 14px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b9a3ff' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.model-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 10px; }
.model-meta b { color: var(--text); font-weight: 500; }
.card hr { border: 0; border-top: 1px solid var(--border-light); margin: 26px 0; }
.result { background: var(--bg-2); padding: 18px 20px; border-radius: 4px; }
.result .line { font-family: var(--mono); font-size: clamp(16px, 2.3vw, 19px); font-weight: 600; }
.result .line b { color: var(--lav); }
.result .line small { color: var(--lav); font-size: 13px; }
.result p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.result .est { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; }
.warnline { text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin: 24px 0 14px; }
.soon { text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin: 14px 0 0; min-height: 18px; }
.soon[data-state="shown"] { color: var(--lav); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.trust div { border: 1px solid var(--border); border-radius: 8px; padding: 14px; font-size: 13px; color: var(--muted); }
.trust b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; font-size: 14px; }
@media (max-width: 620px) { .card { padding: 22px 16px; } .choices { grid-template-columns: repeat(2, 1fr); } .trust { grid-template-columns: minmax(0, 1fr); } .buy { padding-top: 36px; } }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; }
.calc .card { padding: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input[type="number"] { width: 100%; background: var(--bg-2); border: 1px solid var(--border-light); border-radius: 4px; padding: 12px 14px; font-family: var(--mono); font-size: 15px; }
.field input[type="range"] { width: 100%; accent-color: var(--purple); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out .line-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.calc-out .line-item .nm { font-size: 14px; }
.calc-out .line-item .nm small { display: block; color: var(--muted); font-family: var(--mono); font-size: 11px; margin-top: 2px; }
.calc-out .line-item .v { font-family: var(--mono); font-size: 20px; }
.calc-out .save { margin-top: 18px; background: rgba(89,45,202,.16); border: 1px solid var(--purple); border-radius: 8px; padding: 18px; }
.calc-out .save .big { font-family: var(--mono); font-size: clamp(28px, 3.4vw, 38px); color: var(--white); line-height: 1.1; }
.calc-out .save .pc { color: var(--lav); font-family: var(--mono); font-size: 15px; }
.assume { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; padding-left: 18px; }
.assume li { margin: 4px 0; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* bench bars */
.benchbar { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.benchbar i { display: block; height: 6px; border-radius: 3px; background: var(--lav-2); min-width: 2px; }
.benchbar.us i { background: #6d6782; }

/* ---------- docs / legal / generic prose ---------- */
.prose-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 50px 0 80px; }
.toc { position: sticky; top: 110px; align-self: start; font-size: 14px; }
.toc h2 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 500; }
.toc a { display: block; text-decoration: none; color: var(--muted); padding: 6px 0 6px 12px; border-left: 1px solid var(--border); }
.toc a:hover, .toc a[aria-current="page"] { color: var(--lav); border-left-color: var(--purple); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 16px; }
.prose h2 { font-size: 24px; font-weight: 500; margin: 44px 0 12px; letter-spacing: -.01em; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.prose strong { color: var(--text); }
.prose a { color: var(--lav); }
.prose code { font-family: var(--mono); font-size: 13.5px; background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; color: var(--text); }
.prose pre { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: var(--text); }
.prose pre code { background: none; border: 0; padding: 0; }
.callout { border: 1px solid var(--purple); background: rgba(89,45,202,.1); border-radius: var(--radius); padding: 16px 18px; color: var(--muted); font-size: 14.5px; margin: 22px 0; }
.callout b { color: var(--text); }
.doc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 26px 0; }
.doc-card { display: block; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px; text-decoration: none; background: var(--surface); transition: border-color .15s; }
.doc-card:hover { border-color: var(--purple); }
.doc-card b { display: block; font-size: 16px; margin-bottom: 6px; color: var(--text); }
.doc-card span { color: var(--muted); font-size: 14px; }
.prose .doc-card { color: var(--text); }
@media (max-width: 860px) { .prose-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 30px; } .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; } .toc h2 { width: 100%; } .toc a { border-left: 0; padding: 4px 0; } .doc-cards { grid-template-columns: minmax(0, 1fr); } }

/* account / playground */
.narrow { max-width: 760px; margin: 0 auto; padding: 56px 0 90px; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input { flex: 1; min-width: 200px; background: var(--bg-2); border: 1px solid var(--border-light); border-radius: 4px; padding: 14px; font-family: var(--mono); font-size: 14px; }
.form-row .btn { padding: 14px 20px; }
.pg { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; padding: 40px 0 80px; }
.pg .panel textarea { width: 100%; min-height: 160px; background: var(--bg-2); border: 1px solid var(--border-light); border-radius: 6px; padding: 14px; font-family: var(--mono); font-size: 14px; color: var(--text); resize: vertical; }
.pg-out { min-height: 220px; border: 1px dashed var(--border-light); border-radius: 6px; padding: 18px; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) { .pg { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 46px 0 40px; }
.foot-brand { font-family: var(--mono); font-weight: 700; font-size: 19px; text-decoration: none; }
.foot-brand .t2 { color: var(--lav); }
.foot-grid p { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 14px 0 0; max-width: 300px; }
.foot-col h2 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.foot-col a { display: block; font-family: var(--mono); font-size: 14px; text-decoration: none; color: var(--text); opacity: .86; margin-bottom: 12px; }
.foot-col a:hover { color: var(--lav); opacity: 1; }
.foot-bottom { border-top: 1px solid var(--border); padding: 24px 0 34px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.foot-bottom a { color: var(--text); text-decoration: none; }
.foot-bottom a:hover { color: var(--lav); }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.calc > *, .usage > *, .market > *, .prose-layout > *, .pg > * { min-width: 0; }

.table-shell { max-width: 100%; }
.table-scroll { contain: inline-size; width: 100%; position: relative; }
@media (max-width: 980px) { .market::before { inset: -30px 0; } }
table.data td:first-child { min-width: 210px; }
table.data .mid { white-space: nowrap; }
.calc .card { align-self: start; }
/* product picker + agent page */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.product { text-align: left; background: var(--bg-2); border: 1px solid var(--border-light); border-radius: 8px; padding: 16px; cursor: pointer; }
.product b { display: block; font-size: 15px; color: var(--white); }
.product span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; }
.product[aria-pressed="true"] { border-color: var(--purple); background: rgba(89,45,202,.18); }
.product[aria-pressed="true"] b { color: var(--lav); }
[hidden] { display: none !important; }
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 34px; align-items: center; border: 1px solid var(--purple); border-radius: var(--radius-lg); padding: 38px; background: radial-gradient(80% 120% at 100% 0%, rgba(89,45,202,.28), transparent 60%), var(--surface); }
.feature h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 6px; }
.feature .subtitle { font-family: var(--mono); color: var(--lav); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.feature p { color: var(--muted); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { padding-left: 24px; position: relative; color: var(--text); font-size: 15px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--lav); font-family: var(--mono); }
.pdf-mock { aspect-ratio: 3 / 4; max-width: 300px; margin: 0 auto; border-radius: 10px; border: 1px solid var(--border-light); background: linear-gradient(160deg, #241a47 0%, #13111b 60%); box-shadow: 0 40px 80px -30px rgba(89,45,202,.55); padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-3deg); }
.pdf-mock .t { font-family: var(--mono); font-weight: 800; font-size: 22px; line-height: 1.1; color: var(--white); }
.pdf-mock .s { font-family: var(--mono); font-size: 11px; color: var(--lav); letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; }
.pdf-mock .lines i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); margin: 8px 0; }
.price-tag { font-family: var(--mono); font-size: 34px; color: var(--white); margin: 0 0 4px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards3 .doc-card { cursor: default; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); padding: 24px 18px; } .cards3 { grid-template-columns: minmax(0, 1fr); } .products { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1180px) { .nav .utc-clock { display: none; } .nav { gap: 20px; } }
.products.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .products.three { grid-template-columns: minmax(0, 1fr); } }
.pdf-mock.alt { transform: rotate(3deg); background: linear-gradient(160deg, #3a1f8a 0%, #13111b 65%); }
.product-img { width: 100%; max-width: 460px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; align-self: center; margin: 0 auto; border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(89,45,202,.55); }
