/* Jolt: shared tokens, chrome, and pages.
   Dark obsidian canvas, crisp Archivo typography, high-contrast legibility,
   and disciplined volt (#e4ff3a) accents. */
@font-face { font-family: "Anybody"; src: url(/assets/anybody-italic.woff2) format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(/assets/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --bg: #090a0c;
  --surface: #111317;
  --raised: #181b21;
  --hover: #21252d;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #f3f4f6;
  --text-2: #d3d7df;
  --muted: #a2a8b4;
  --faint: #7d8492;
  --volt: #e4ff3a;
  --volt-dim: #cbe62c;
  --volt-ink: #111304;
  --volt-wash: rgba(228, 255, 58, 0.08);
  --danger: #ff8a7a;
  --display: "Anybody", "Archivo", ui-sans-serif, system-ui, sans-serif;
  --sans: "Archivo", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
::selection { background: var(--volt); color: var(--volt-ink); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w { display: inline-block; }
.wind { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* --- buttons -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: none;
  color: var(--text);
  font: 600 14px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease);
}
.btn:active:not(:disabled) { transform: scale(.985); }
.btn-primary { background: var(--volt); color: var(--volt-ink); }
.btn-primary:hover:not(:disabled) { background: #ecff66; }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: var(--raised); border-color: rgba(255, 255, 255, 0.28); }
.btn-quiet { color: var(--muted); padding: 0 12px; }
.btn-quiet:hover:not(:disabled) { color: var(--text); background: var(--raised); }
.btn-danger { color: var(--danger); border-color: rgba(255, 138, 122, 0.35); background: rgba(255, 138, 122, 0.06); }
.btn-danger:hover:not(:disabled) { background: rgba(255, 138, 122, 0.14); border-color: rgba(255, 138, 122, 0.55); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-sm.btn-quiet { padding: 0 10px; }
.btn:disabled { opacity: .45; cursor: default; }

/* --- nav ------------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 10, 12, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font: italic 800 19px/1 var(--display);
  font-stretch: 120%;
  letter-spacing: -0.01em;
}
.brand svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color .15s, background-color .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current] { color: var(--text); background: var(--raised); }
.nav-links a.nav-mobile-only { display: none; }
.nav-end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 720px) {
  .nav .wrap { gap: 12px; flex-wrap: wrap; height: auto; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-end { order: 2; }
  .nav-end .btn-quiet { display: none; }
  .nav-links {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 6px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 15px; }
  .nav-links a.nav-mobile-only { display: block; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--text); }
}

/* --- type ----------------------------------------------------------------------- */
.eyebrow {
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--volt-dim);
  margin: 0;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: -0.015em;
  word-spacing: 0.04em;
  line-height: 1.15;
  color: var(--text);
}
.display {
  font-weight: 700;
  font-size: clamp(38px, 6.2vw, 76px);
  letter-spacing: -0.02em;
  word-spacing: 0.04em;
  line-height: 1.06;
}
.h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.018em;
  word-spacing: 0.04em;
  line-height: 1.14;
}
.lede {
  font-size: 18px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.6;
  margin: 0;
}

/* --- home: hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: min(calc(100vh - 65px), 780px);
  min-height: min(calc(100svh - 65px), 780px);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 65% 80% at 24% 48%, rgba(9, 10, 12, 0.84) 0%, rgba(9, 10, 12, 0.4) 65%, transparent 100%);
}
.hero > .wind { z-index: -2; }
.hero > .wrap { position: relative; z-index: 1; width: 100%; }
.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { margin: 18px 0 0; }
.hero .lede { margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fast em { font-style: normal; color: var(--volt); }

.streamer {
  position: absolute;
  z-index: -1;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(62vw, 820px);
  height: auto;
  opacity: .88;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  mask-image: linear-gradient(to right, transparent 0%, #000 22%);
}
@media (max-width: 960px) {
  .streamer { width: 92vw; right: -22%; opacity: .45; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-main { padding-top: 48px; padding-bottom: 48px; }
  .streamer { opacity: .28; width: 120vw; right: -30%; }
}

@media (prefers-reduced-motion: no-preference) {
  .streamer { animation: sway 11s ease-in-out infinite alternate; }
}
@keyframes sway {
  from { transform: translateY(-50%) rotate(-.4deg); }
  to { transform: translateY(-50%) rotate(.5deg) scaleY(1.02); }
}

section.block { padding: 88px 0; border-bottom: 1px solid var(--line); }
.block-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.block-head .h2 { margin-top: 12px; }
.block-head p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); max-width: 560px; font-size: 16px; line-height: 1.6; }
@media (max-width: 640px) { section.block { padding: 64px 0; } .block-head { margin-bottom: 28px; } }

/* --- home: models lineup -------------------------------------------------------- */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .2s;
}
.model:hover { border-color: var(--line-strong); }
.model.live { border-color: rgba(228, 255, 58, .42); }
.model.live:hover { border-color: rgba(228, 255, 58, .68); }
.model > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: .88;
}
.model .tag { position: absolute; top: 18px; left: 18px; }
.model-body {
  padding: 84px 24px 24px;
  background: linear-gradient(to top, rgba(9, 10, 12, .96) 36%, rgba(9, 10, 12, .72) 68%, rgba(9, 10, 12, 0) 100%);
}
.model h3 { font-weight: 700; font-size: 28px; line-height: 1.15; letter-spacing: -0.025em; }
.model h3 small {
  display: block;
  margin-bottom: 4px;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.model p { margin: 10px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(9, 10, 12, .88);
  backdrop-filter: blur(8px);
  font: 500 11.5px/1 var(--mono);
  color: var(--text-2);
}
.model.live .tag { background: var(--volt); border-color: transparent; color: var(--volt-ink); font-weight: 600; }
@media (max-width: 860px) { .lineup { grid-template-columns: 1fr; } .model { min-height: 320px; } }

/* --- stat tiles ----------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.stat .eyebrow { color: var(--muted); letter-spacing: 0.04em; text-transform: none; font-size: 13px; font-family: var(--sans); font-weight: 500; }
.stat .v {
  font: 700 40px/1.1 var(--sans);
  letter-spacing: -0.03em;
  margin: 12px 0 8px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.stat .v small {
  font: 500 15px/1 var(--mono);
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 6px;
}
.stat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.stat.lead { border-color: rgba(228, 255, 58, .38); background: linear-gradient(180deg, rgba(228, 255, 58, .05), var(--surface) 75%); }
.stat.lead .v { color: var(--volt); }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr; } }

/* --- CTA & footer --------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(228, 255, 58, 0.06), transparent 72%);
}
.cta .wrap { position: relative; z-index: 1; }
.cta .display { font-size: clamp(32px, 5vw, 56px); }
.cta .btn { margin-top: 28px; }

footer.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--faint); font-size: 14px; }
footer.foot .wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
footer.foot nav { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
footer.foot a { color: var(--muted); text-decoration: none; transition: color .15s; }
footer.foot a:hover { color: var(--text); }

/* --- inner page header ---------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 50% 90% at 15% 0%, rgba(228, 255, 58, 0.05), transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .display { font-size: clamp(34px, 5vw, 56px); margin: 14px 0 16px; }
.bench { padding-top: 44px; padding-bottom: 96px; }

/* --- charts --------------------------------------------------------------------- */
.chart-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 28px 28px 24px;
}
.chart-card + .chart-card { margin-top: 20px; }
.chart-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.chart-head h3 { font-size: 20px; font-weight: 600; }
.chart-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.legend i.line { width: 16px; height: 2px; border-radius: 2px; background: var(--volt); opacity: .75; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--sans); }
.chart .grid line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.chart .axis text { fill: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.chart .axis-title { fill: var(--text-2); font-size: 13px; font-weight: 500; }
.chart .dot { fill: #8b92a1; stroke: var(--surface); stroke-width: 2; }
.chart .dot.jolt { fill: var(--volt); }
.chart .dot-halo { fill: rgba(228, 255, 58, 0.16); }
.chart .lbl { fill: var(--muted); font-size: 12.5px; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.chart .lbl.jolt { fill: var(--text); font-weight: 600; font-size: 13.5px; paint-order: stroke; stroke: var(--surface); stroke-width: 5px; stroke-linejoin: round; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .frontier { fill: none; stroke: var(--volt); stroke-width: 2; stroke-linejoin: round; opacity: .65; }

/* Horizontal bar list (clean & readable on desktop and mobile) */
.bars { display: grid; gap: 4px; }
.bar-row {
  display: grid;
  grid-template-columns: minmax(150px, 230px) 1fr 56px;
  align-items: center;
  gap: 16px;
  min-height: 32px;
  font-size: 14px;
  border-radius: var(--r-sm);
  padding: 4px 10px;
  transition: background-color .12s;
}
.bar-row:hover { background: var(--raised); }
.bar-row .name { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row .track {
  display: block;
  height: 10px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
}
.bar-row .fill { display: block; height: 100%; border-radius: 999px; background: #5c6372; min-width: 4px; }
.bar-row .val {
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}
.bar-row.jolt { background: var(--volt-wash); }
.bar-row.jolt:hover { background: rgba(228, 255, 58, 0.12); }
.bar-row.jolt .name { color: var(--text); font-weight: 600; }
.bar-row.jolt .val { color: var(--volt); font-weight: 600; }
.bar-row.jolt .fill { background: var(--volt); }
@media (max-width: 600px) {
  .chart-card { padding: 20px 18px; }
  .bar-row { grid-template-columns: 136px 1fr 48px; gap: 10px; font-size: 13px; padding: 4px 6px; }
}

.tip {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  background: #0d0f13;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .6);
  max-width: 260px;
}
.tip b { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 2px; }
.tip span { color: var(--muted); font-variant-numeric: tabular-nums; }

details.table-view { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
details.table-view summary { cursor: pointer; color: var(--text-2); font-size: 14px; font-weight: 500; user-select: none; }
details.table-view summary:hover { color: var(--text); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
table.data th, table.data td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
table.data thead th { color: var(--muted); font-weight: 600; font-size: 12.5px; background: rgba(255, 255, 255, 0.02); }
table.data td.n, table.data th.n { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
table.data tr.jolt td { color: var(--volt); font-weight: 600; background: var(--volt-wash); }
.footnote { color: var(--muted); font-size: 13.5px; margin-top: 24px; line-height: 1.65; max-width: 780px; }

/* --- API page code ------------------------------------------------------------- */
.panel code { font: 0.9em var(--mono); color: var(--text); }
.panel > p code { background: var(--raised); border: 1px solid var(--line); padding: 2px 6px; border-radius: 5px; }
.code-pre { position: relative; }
.code-pre pre {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 76px 18px 20px;
  overflow-x: auto;
  font: 13px/1.7 var(--mono);
  color: var(--text-2);
}
.code-pre pre code { font: inherit; color: inherit; }
.code-pre .copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--muted);
  font: 500 12px var(--sans);
  padding: 5px 10px;
  cursor: pointer;
  transition: color .15s, background-color .15s;
}
.code-pre .copy-btn:hover { color: var(--text); background: var(--hover); }
@media (max-width: 560px) { .code-pre pre { padding: 48px 16px 16px; font-size: 12px; } }

/* --- forms ---------------------------------------------------------------------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.input {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: 15px var(--sans);
  outline: 0;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--faint); }
.input:focus { border-color: var(--volt-dim); box-shadow: 0 0 0 3px var(--volt-wash); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 13.5px; min-height: 0; margin: 0; }
.form-error:empty { display: none; }

/* --- auth ----------------------------------------------------------------------- */
.auth { min-height: calc(100dvh - 65px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-card { align-self: center; justify-self: center; width: 100%; max-width: 420px; padding: 48px 24px; }
.auth-card h1 { font-weight: 700; font-size: 32px; margin-bottom: 10px; letter-spacing: -0.03em; }
.auth-card > p { color: var(--muted); margin: 0 0 32px; font-size: 15.5px; }
.auth-card form { display: grid; gap: 18px; }
.auth-card .btn { width: 100%; margin-top: 6px; }
.auth-card > .auth-alt { margin: 24px 0 0; font-size: 14.5px; text-align: center; color: var(--muted); }
.auth-alt a { color: var(--text); text-underline-offset: 3px; }
.auth-art { position: relative; overflow: hidden; border-left: 1px solid var(--line); background: var(--surface); }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; opacity: .9; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* --- 404 ------------------------------------------------------------------------ */
.lost {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100dvh - 65px);
  display: grid;
  place-items: center;
  padding: 48px 24px;
  text-align: center;
}
.lost > div { position: relative; display: grid; justify-items: center; max-width: 520px; }
.lost img {
  position: relative;
  z-index: -1;
  width: min(360px, 80vw);
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: 50% 24%;
  margin-bottom: 12px;
  opacity: .9;
}
.lost h1 { font-weight: 700; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 14px 0 14px; }
.lost p:not(.eyebrow) { color: var(--muted); margin: 0 0 28px; font-size: 16px; }

/* --- account -------------------------------------------------------------------- */
.page { padding: 52px 0 96px; }
.page > .wrap { max-width: 820px; }
.page h1 { font-weight: 700; font-size: 36px; margin-bottom: 32px; letter-spacing: -0.03em; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 28px;
  margin-bottom: 20px;
}
.panel h2 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.panel > p { color: var(--muted); margin: 0 0 22px; font-size: 14.5px; }
.panel > p a { color: var(--volt-dim); text-underline-offset: 3px; }
.panel-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.panel-row .field { flex: 1; min-width: 200px; }
.keys { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 22px; }
.keys th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12.5px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.keys td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.keys td:first-child { color: var(--text); font-weight: 500; }
.keys td.hint { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.keys tr:last-child td { border-bottom: 0; }
.keys .empty { color: var(--muted); text-align: center; padding: 28px; }
.reveal {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--r);
  border: 1px solid rgba(228, 255, 58, .4);
  background: var(--volt-wash);
}
.reveal p { margin: 0 0 12px; font-size: 13.5px; color: var(--text); }
.reveal .copyline { display: flex; gap: 10px; align-items: center; }
.reveal code {
  flex: 1;
  font: 13px var(--mono);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  overflow-x: auto;
  white-space: nowrap;
}
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 12px 16px; font-size: 15px; margin: 16px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--text); }
@media (max-width: 560px) {
  .panel { padding: 20px; }
  .kv { grid-template-columns: 1fr; gap: 4px; }
  .kv dd { margin-bottom: 10px; }
  .key-list th:nth-child(3), .key-list td:nth-child(3), .key-list th:nth-child(4), .key-list td:nth-child(4) { display: none; }
}

/* --- use cases ------------------------------------------------------------------ */
.cases { padding-top: 12px; padding-bottom: 88px; }
.cases .footnote { margin-top: 28px; }
.case {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.case:first-child { border-top: 0; }
.case-meta { padding-top: 2px; }
.case h3 {
  font-weight: 700;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.case-meta p { margin: 10px 0 0; color: var(--muted); max-width: 380px; font-size: 15.5px; line-height: 1.6; }

.ask {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.case .ask p { max-width: none; margin: 0; }
.ask .q {
  padding: 16px 20px;
  background: var(--raised);
  border-bottom: 1px solid var(--line);
  font: 14px/1.6 var(--sans);
  color: var(--text);
}
.ask .q span { display: block; }
.ask .q span::before { content: "\203A"; margin-right: 8px; color: var(--volt); font-weight: 700; }
.ask .a {
  padding: 18px 20px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}
.ask .a b {
  display: block;
  margin-bottom: 10px;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.03em;
  color: var(--volt-dim);
}
.ask .a code {
  font: .88em var(--mono);
  background: var(--raised);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text);
}
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
}

/* --- dashboard: tabs, usage, admin ----------------------------------------------- */
.page h1 + .tabs { margin-top: -16px; }
.tabs { display: flex; gap: 4px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 10px 14px; margin-bottom: -1px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; border-bottom: 2px solid transparent; transition: color .12s, border-color .12s; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--volt); }
.tabs a[hidden] { display: none; }
.keys .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.keys td.n.low { color: var(--danger); }
.panel.balance { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.panel.balance .big { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 8px; font: 700 44px/1.1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.panel.balance .big small { font: 500 15px var(--mono); color: var(--muted); letter-spacing: 0; }
.panel.balance p { margin: 0; font-size: 14px; }
.panel.balance .out { color: var(--danger); max-width: 300px; }
.days { position: relative; display: grid; grid-template-columns: repeat(30, 1fr); align-items: end; gap: 3px; height: 120px; margin-top: 18px; padding-bottom: 24px; border-bottom: 0; }
.days i { display: block; height: max(var(--h), 2px); background: var(--volt); border-radius: 2px 2px 0 0; opacity: .9; }
.days i[style*="--h:0.0%"] { background: var(--line-strong); }
.days i:hover { opacity: 1; filter: brightness(1.15); }
.days .axis { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--faint); border-top: 1px solid var(--line); padding-top: 6px; }
.field.narrow { flex: 0 1 140px; min-width: 110px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.accounts .hint { font-size: 12.5px; }
@media (max-width: 560px) {
  .tasks th:nth-child(3), .tasks td:nth-child(3), .examples th:nth-child(2), .examples td:nth-child(2) { display: none; }
  .panel.balance .big { font-size: 36px; }
  .accounts th:nth-child(3), .accounts td:nth-child(3) { display: none; }
  .accounts th, .accounts td { padding-left: 8px; padding-right: 8px; }
  .accounts td:first-child { overflow-wrap: anywhere; }
  .accounts .hint { font-size: 12px; }
  #credit-form .field, #credit-form .field.narrow { flex: 1 1 100%; }
}
