/*
 * Orbistocks base.css (owner: shell). Tokens, fonts, reset, type scale and every shared component.
 * Ground and type follow cosign.co (dark #16181b family, Geist, 500-weight headlines at -0.015em), product
 * structure follows useaspan.ink (rounded hero panel, feature rows, four steps, templates table, stat band,
 * four-column footer); the accent is the logo's green. Markup for every component: docs/SHELL.md.
 */

/* ---------------------------------------------------------------- fonts */

@font-face { font-family: 'Geist'; src: url('/fonts/geist-variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/ibm-plex-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------------------------------------------------------------- tokens */

:root {
  --bg: #0f1113;
  --bg-2: #16181b;
  --panel: #1b1e22;
  --panel-2: #202328;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f2f0;
  --text-2: #d4d4d4;
  --muted: #a3a3a3;
  --dim: #8e9297;
  --green: #00f090;
  --green-2: #38f8a8;
  --green-deep: #00c870;
  --green-ink: #06130d;
  --green-glow: rgba(0, 240, 144, 0.18);
  --green-soft: rgba(0, 240, 144, 0.1);
  --up: #38f8a8;
  --down: #ff6b6b;
  --warn: #ffd166;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-sans: 'Geist', -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;

  --gutter: 24px;
  --container: 1280px;
  --nav-h: 56px;

  --fs-hero: 76px;
  --fs-h2: 60px;
  --fs-serif: 52px;
  --fs-h3: 28px;
  --fs-body: 16.8px;
  --fs-small: 13px;
  --fs-mono: 12px;

  --section-y: 112px;
  color-scheme: dark;
}
@media (max-width: 1279px) { :root { --fs-hero: 64px; --fs-h2: 52px; --fs-serif: 46px; --section-y: 96px; } }
@media (max-width: 1023px) { :root { --fs-hero: 54px; --fs-h2: 42px; --fs-serif: 40px; --section-y: 80px; } }
@media (max-width: 767px)  { :root { --fs-hero: 42px; --fs-h2: 32px; --fs-serif: 32px; --fs-h3: 22px; --fs-body: 15px; --gutter: 16px; --section-y: 64px; } }
@media (max-width: 359px)  { :root { --fs-hero: 36px; --fs-h2: 29px; --fs-serif: 29px; } }

/* ---------------------------------------------------------------- reset */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: calc(var(--nav-h) + 16px); scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.55 var(--font-sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled, [aria-disabled='true'] { cursor: default; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--green-ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: var(--green-ink); font: 500 14px/1 var(--font-sans); padding: 12px 14px; border-radius: var(--radius-pill); }
.skip-link:focus { top: 68px; }

/* ---------------------------------------------------------------- layout */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--bg2 { background: var(--bg-2); }
main { display: block; padding-top: var(--nav-h); }
.stack > * + * { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* ---------------------------------------------------------------- type */

.t-hero { font: 500 var(--fs-hero)/1.05 var(--font-sans); letter-spacing: -0.03em; color: var(--text); text-wrap: balance; }
.t-h2 { font: 500 var(--fs-h2)/1.08 var(--font-sans); letter-spacing: -0.015em; color: var(--text); text-wrap: balance; }
.t-serif { font: 500 var(--fs-serif)/1.1 var(--font-serif); letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
.t-h3 { font: 500 var(--fs-h3)/1.2 var(--font-sans); letter-spacing: -0.01em; color: var(--text); }
.t-h4 { font: 500 18px/1.3 var(--font-sans); letter-spacing: -0.005em; color: var(--text); }
.t-title { font: 500 15px/1.3 var(--font-sans); color: var(--text); }
.t-lead { font: 400 clamp(16px, 1.4vw, 19px)/1.5 var(--font-sans); color: var(--text-2); }
.t-body { font: 400 var(--fs-body)/1.55 var(--font-sans); color: var(--muted); }
.t-small { font: 400 var(--fs-small)/1.5 var(--font-sans); color: var(--muted); }
.t-mono { font: 400 var(--fs-mono)/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.t-mono-lg { font: 500 13px/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }
.t-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.t-green { color: var(--green); }
.t-muted { color: var(--muted); }
.t-dim { color: var(--dim); }
.t-up { color: var(--up); }
.t-down { color: var(--down); }
.t-center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--fs-mono)/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px var(--green); }
.eyebrow--quiet { color: var(--dim); }
.eyebrow--quiet::before { box-shadow: none; }
.measure { max-width: 60ch; }
.measure-sm { max-width: 44ch; }
p a, .link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color var(--dur) var(--ease); }
p a:hover, .link:hover { text-decoration-color: var(--green); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--font-sans); color: var(--text); padding: 8px 0; min-height: 40px; text-decoration: none; }
.arrow-link span:first-child { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color var(--dur) var(--ease); }
.arrow-link:hover span:first-child { text-decoration-color: var(--green); }
.arrow-link svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur) var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }
.icon { width: 16px; height: 16px; flex: none; }
code, kbd, pre { font-family: var(--font-mono); }
code { font-size: 0.92em; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--text-2); }
pre { margin: 0; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; font-size: 13px; line-height: 1.6; color: var(--text-2); max-width: 100%; }
pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------------------------------------------------------------- pills, chips, tags */

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--radius-pill);
  font: 500 14px/1 var(--font-sans); white-space: nowrap; color: var(--text);
  border: 1px solid var(--line-2); background: transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
  cursor: pointer; text-decoration: none; min-width: 0;
}
.pill:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.04); }
.pill:active { transform: translateY(1px); }
.pill--primary { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.pill--primary:hover { background: var(--green-2); border-color: var(--green-2); }
.pill--light { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill--light:hover { background: #fff; border-color: #fff; }
.pill--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.pill--lg { height: 48px; padding: 0 24px; font-size: 15px; }
.pill--block { display: flex; width: 100%; }
.pill--icon { width: 40px; padding: 0; }
.pill svg { width: 16px; height: 16px; flex: none; }
.pill:disabled, .pill[aria-disabled='true'] { opacity: 0.6; cursor: default; }
.pill:disabled:hover, .pill[aria-disabled='true']:hover { background: transparent; border-color: var(--line-2); }
.pill--primary:disabled, .pill--primary[aria-disabled='true'] { background: var(--green); border-color: var(--green); opacity: 0.45; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font: 400 13px/1 var(--font-sans); color: var(--text-2); white-space: nowrap; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
a.chip:hover, button.chip:hover { border-color: var(--green); background: var(--green-soft); color: var(--text); }
.chip img, .chip svg { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.chip--delta { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.chip--up { color: var(--up); border-color: rgba(56, 248, 168, 0.3); background: rgba(56, 248, 168, 0.08); }
.chip--down { color: var(--down); border-color: rgba(255, 107, 107, 0.3); background: rgba(255, 107, 107, 0.08); }
.chip--flat { color: var(--muted); }

.tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; font: 500 10px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }
.tag--soon { background: var(--green-soft); color: var(--green); border-color: rgba(0, 240, 144, 0.3); }
.tag--live { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.tag--up { color: var(--up); border-color: rgba(56, 248, 168, 0.3); background: rgba(56, 248, 168, 0.08); }
.tag--down { color: var(--down); border-color: rgba(255, 107, 107, 0.3); background: rgba(255, 107, 107, 0.08); }
.tag--warn { color: var(--warn); border-color: rgba(255, 209, 102, 0.3); background: rgba(255, 209, 102, 0.08); }
.tag--snap { color: var(--dim); }

/* ---------------------------------------------------------------- nav */

.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); background: rgba(15, 17, 19, 0.8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); color: var(--text); }
.nav__row { height: 100%; display: flex; align-items: center; gap: 16px; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; height: 40px; font: 500 16px/1 var(--font-sans); letter-spacing: -0.01em; color: var(--text); flex: none; }
.nav__brand svg, .nav__brand img { width: 22px; height: 22px; color: var(--green); flex: none; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-inline: auto; min-width: 0; }
.nav__link { display: inline-flex; align-items: center; height: 36px; padding: 0 10px; border-radius: 8px; font: 500 14px/1 var(--font-sans); color: var(--muted); white-space: nowrap; transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav__link[aria-current='page'] { color: var(--text); }
.nav__right { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.nav__menu { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; color: var(--text); border: 1px solid var(--line-2); }
.nav__menu svg { width: 18px; height: 18px; }
.nav__menu[aria-expanded='true'] .nav__menu-open, .nav__menu:not([aria-expanded='true']) .nav__menu-close { display: none; }
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__right [data-shell='ca'], .nav__right [data-shell='buy'] { display: none; }
  .nav__menu { display: inline-flex; }
}
@media (max-width: 359px) { .nav__brand span { display: none; } }
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__row { gap: 10px; }
  .nav__link { padding: 0 7px; font-size: 13px; }
  .nav__right { gap: 6px; }
  .nav__right .pill--sm { padding: 0 10px; }
  .nav__right [data-shell='ca'] svg { display: none; }
  .nav__right [data-shell='launch'], .nav__right [data-shell='wallet'] { padding: 0 14px; }
}

/* the mobile sheet opened by the menu button */
.nav-sheet { position: fixed; inset: 0; z-index: 49; background: var(--bg); padding: calc(var(--nav-h) + 16px) var(--gutter) 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.nav-sheet.is-open { opacity: 1; transform: none; pointer-events: auto; }
.nav-sheet__link { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); font: 500 18px/1 var(--font-sans); color: var(--text); }
.nav-sheet__link[aria-current='page'] { color: var(--green); }
.nav-sheet__link svg { width: 16px; height: 16px; color: var(--dim); }
.nav-sheet__coin { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; }
.nav-sheet__coin .pill { flex: 1 1 140px; }
.nav-sheet__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 13px; }
body.nav-open { overflow: hidden; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; margin: 16px var(--gutter) 0; }
@media (min-width: 1024px) { .hero { margin: 16px auto 0; max-width: calc(var(--container) - 2 * var(--gutter)); } }
.hero__panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); min-height: 560px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; isolation: isolate; }
.hero__panel::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--green-glow), transparent 70%); pointer-events: none; z-index: 0; }
.hero__copy { position: relative; z-index: 2; padding: clamp(32px, 6vw, 88px) clamp(20px, 5vw, 72px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; min-width: 0; }
.hero__copy .t-lead { max-width: 52ch; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hero__orbit { position: relative; z-index: 1; align-self: stretch; min-height: 420px; }
.orbit-stage { position: absolute; inset: 0; display: block; }
.orbit-stage::before { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 24px 6px var(--green-glow), 0 0 60px 20px rgba(0, 240, 144, 0.12); }
.orbit-stage::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(circle at 50% 50%, transparent 22%, var(--line) 22.3%, transparent 22.8%),
  radial-gradient(circle at 50% 50%, transparent 34%, var(--line) 34.3%, transparent 34.8%),
  radial-gradient(circle at 50% 50%, transparent 46%, rgba(255, 255, 255, 0.06) 46.3%, transparent 46.8%); }
.orbit-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
@media (max-width: 1023px) {
  .hero__panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__orbit { min-height: 300px; order: 2; }
  .hero__copy { order: 1; padding-bottom: 8px; }
}
@media (max-width: 639px) { .hero__orbit { min-height: 240px; } .hero__actions .pill { flex: 1 1 100%; } }

/* ---------------------------------------------------------------- feature rows */

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.feature--flip .feature__text { order: 2; }
.feature--flip .feature__media { order: 1; }
.feature__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-width: 0; }
.feature__text .t-h2 { max-width: 14ch; }
.feature__text .t-body { max-width: 46ch; }
.feature__media { min-width: 0; }
@media (max-width: 1023px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 40px; }
  .feature--flip .feature__text { order: 1; }
  .feature--flip .feature__media { order: 2; }
  .feature__text .t-h2 { max-width: none; }
}

/* ---------------------------------------------------------------- device card */

.device { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); min-width: 0; }
.device:hover { transform: translateY(-1px); border-color: var(--line-2); }
.device__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.device__title { flex: 1 1 auto; min-width: 0; font: 500 14px/1 var(--font-sans); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device__meta { flex: 0 1 auto; min-width: 0; max-width: 55%; font: 400 11.5px/1 var(--font-mono); letter-spacing: 0.04em; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.device__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 10px; background: var(--panel-2); min-width: 0; }
.device__row--plain { background: transparent; padding-inline: 0; }
.device__cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.device__cell img, .device__cell .logo { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.device__cell > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.device__name { display: block; font: 500 14px/1.2 var(--font-sans); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device__sub { display: block; font: 400 12px/1.3 var(--font-sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device__num { font: 500 13px/1.2 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; text-align: right; }
.device__num small { display: block; font: 400 11px/1.3 var(--font-mono); color: var(--dim); }
.device__bar-fill { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; flex: 1 1 60px; min-width: 40px; }
.device__bar-fill > i { position: absolute; inset: 0 auto 0 0; width: var(--w, 40%); background: var(--green); border-radius: 2px; }
.device__bar-fill--down > i { background: var(--down); }
.device__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px 12px; min-height: 36px; }
.device__dots { display: inline-flex; gap: 5px; margin-left: auto; }
.device__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.device__dots i:first-child { width: 14px; border-radius: 3px; background: rgba(255, 255, 255, 0.4); }
.device__note { font: 400 11.5px/1.4 var(--font-mono); color: var(--dim); letter-spacing: 0.02em; }
.device__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.device__stat { padding: 12px; border-radius: 10px; background: var(--panel-2); min-width: 0; }
.device__stat b { display: block; font: 500 18px/1.1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text); letter-spacing: -0.01em; }
.device__stat span { display: block; margin-top: 4px; font: 400 11px/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.device__levels { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.device__levels i { flex: 1; min-width: 0; border-radius: 3px 3px 0 0; background: var(--green-soft); border: 1px solid rgba(0, 240, 144, 0.25); border-bottom: 0; height: var(--h, 20%); }
@media (max-width: 359px) { .device__meta { display: none; } }
@media (max-width: 414px) {
  .device__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device__row { flex-wrap: wrap; row-gap: 6px; }
  .device__row > .device__cell { flex: 1 1 100%; }
  .device__row > .device__num { flex: 1 1 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 8px; text-align: left; padding-left: 38px; white-space: normal; min-width: 0; }
  .device__row > .device__num small { order: 1; flex: 1 1 100%; overflow-wrap: anywhere; }
  .device__row > .tag, .device__row > .device__bar-fill { margin-left: 38px; }
  .device__row--plain > .device__cell, .device__row--plain > .device__num { flex: 0 1 auto; padding-left: 0; }
}

/* ---------------------------------------------------------------- steps */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step__n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green); font: 500 13px/1 var(--font-mono); }
.step__title { font: 500 22px/1.2 var(--font-sans); letter-spacing: -0.01em; color: var(--text); }
.step__body { font: 400 15px/1.5 var(--font-sans); color: var(--muted); flex: 1; }
.step__foot { padding-top: 14px; border-top: 1px solid var(--line); font: 400 12px/1.3 var(--font-mono); letter-spacing: 0.04em; color: var(--dim); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- table */

.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font: 500 11px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; color: var(--text-2); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--dur) var(--ease); }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.table .is-num, .table th.is-num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.table__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.table__who img, .table__who .logo { width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--panel-2); }
.table__name { display: block; font: 500 14px/1.2 var(--font-sans); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table__note { display: block; font: 400 12.5px/1.3 var(--font-sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table__spark { width: 120px; height: 28px; color: var(--green); display: block; }
.table__spark--down { color: var(--down); }
.table__spark--flat { color: var(--dim); }
.table__arrow { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); }
.table__arrow svg { width: 14px; height: 14px; }
.table__arrow:hover { border-color: var(--green); color: var(--green); }
.table__more { padding: 14px 16px; border-top: 1px solid var(--line); text-align: center; }
@media (max-width: 639px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-rows: auto; gap: 8px 12px; align-items: center; }
  .table tr:last-child { border-bottom: 0; }
  .table td { padding: 0; border: 0; width: auto; }
  .table td[data-label]::before { content: attr(data-label); display: inline-block; margin-right: 8px; font: 500 10px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
  .table td.is-num { text-align: left; }
  .table td.table__lead { grid-column: 1; grid-row: 1; }
  .table td.table__right { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; }
  .table td.table__right::before { display: block; margin: 0 0 2px; text-align: right; }
  .table td.table__action { grid-column: 2; grid-row: 2 / span 2; justify-self: end; align-self: center; }
  .table td.table__action::before { display: none; }
  .table .table__spark { width: 96px; height: 24px; }
}

/* ---------------------------------------------------------------- stat band */

.band { position: relative; margin-inline: var(--gutter); border-radius: var(--radius-lg); background: var(--green); color: var(--green-ink); padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 72px); overflow: hidden; }
@media (min-width: 1024px) { .band { margin-inline: auto; max-width: calc(var(--container) - 2 * var(--gutter)); } }
.band__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 40px; }
.band__head .t-h2 { color: var(--green-ink); }
.band__head p { font: 400 clamp(15px, 1.3vw, 18px)/1.5 var(--font-sans); color: rgba(6, 19, 13, 0.78); max-width: 48ch; }
.band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.band__stat { background: rgba(6, 19, 13, 0.1); border: 1px solid rgba(6, 19, 13, 0.14); border-radius: var(--radius); padding: 24px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; }
.band__num { font: 500 clamp(32px, 3.4vw, 44px)/1 var(--font-sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--green-ink); }
.band__cap { font: 400 12px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(6, 19, 13, 0.7); }
@media (max-width: 1023px) { .band__head { grid-template-columns: minmax(0, 1fr); align-items: start; } .band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .band__grid { grid-template-columns: minmax(0, 1fr); } .band__stat { min-height: 0; } }

/* ---------------------------------------------------------------- cta */

.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta .t-body { max-width: 48ch; }

/* ---------------------------------------------------------------- footer */

.footer { margin: var(--section-y) var(--gutter) 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--text); padding: clamp(40px, 5vw, 72px) clamp(20px, 5vw, 72px) 28px; }
@media (min-width: 1024px) { .footer { margin-inline: auto; max-width: calc(var(--container) - 2 * var(--gutter)); } }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.footer__about { max-width: 44ch; font: 400 15px/1.55 var(--font-sans); color: var(--text-2); display: flex; flex-direction: column; gap: 14px; }
.footer__about small { font-size: 13px; color: var(--muted); }
.footer__coin { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__col h4 { font: 500 15px/1.3 var(--font-sans); color: var(--text); margin-bottom: 14px; }
.footer__col a { display: flex; align-items: center; min-height: 32px; font: 400 14px/1.3 var(--font-sans); color: var(--muted); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__mid { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer__lockup { display: inline-flex; align-items: center; gap: 14px; font: 500 clamp(28px, 3vw, 40px)/1 var(--font-sans); letter-spacing: -0.03em; color: var(--text); }
.footer__lockup svg, .footer__lockup img { width: clamp(40px, 4vw, 52px); height: clamp(40px, 4vw, 52px); color: var(--green); }
.footer__x { gap: 8px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; font: 400 13px/1.4 var(--font-sans); color: var(--muted); }
.footer__bottom nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); }
.footer__bottom a:hover { color: var(--text); }
@media (max-width: 1023px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- fields and forms */

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font: 500 11px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); display: flex; justify-content: space-between; gap: 8px; }
.field__box { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); min-width: 0; }
.field__box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.field__box input, .field__box select, .field__box textarea { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: none; font: 500 15px/1.3 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text); padding: 12px 0; -moz-appearance: textfield; }
.field__box input::-webkit-outer-spin-button, .field__box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field__box input::placeholder { color: var(--dim); }
.field__box select { appearance: none; -webkit-appearance: none; cursor: pointer; font-family: var(--font-sans); }
.field__unit { font: 500 12px/1 var(--font-mono); letter-spacing: 0.04em; color: var(--muted); flex: none; }
.field__hint { font: 400 12px/1.4 var(--font-sans); color: var(--dim); }
.field--error .field__box { border-color: var(--down); }
.field--error .field__hint { color: var(--down); }
.segmented { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); gap: 2px; max-width: 100%; overflow-x: auto; }
.segmented button { min-height: 32px; padding: 0 12px; border-radius: 8px; font: 500 13px/1 var(--font-mono); color: var(--muted); white-space: nowrap; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.segmented button[aria-pressed='true'] { background: var(--panel); color: var(--text); box-shadow: 0 1px 0 var(--line); }
.kv { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; min-height: 28px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { font: 500 14px/1.3 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text); text-align: right; }

/* ---------------------------------------------------------------- panel, empty, toast, sheet */

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.panel--2 { background: var(--panel-2); }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); font-size: 15px; }
.empty--center { align-items: center; text-align: center; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; color: var(--text-2); }
.notice svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--green); }
.notice--warn svg { color: var(--warn); }

.toast-region { position: fixed; left: 50%; bottom: 24px; z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 12px 16px; border-radius: var(--radius-pill); background: var(--text); color: var(--bg); font: 500 14px/1.3 var(--font-sans); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); animation: toast-in var(--dur) var(--ease); pointer-events: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.toast--error { background: var(--down); color: #1a0606; }
.toast--pending { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); }
.toast.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sheet-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--dur) var(--ease); }
.sheet-backdrop.is-open { opacity: 1; }
.sheet { position: fixed; z-index: 91; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.98); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 20px; opacity: 0; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); display: flex; flex-direction: column; gap: 16px; }
.sheet.is-open { opacity: 1; transform: translate(-50%, -50%); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet__title { font: 500 18px/1.2 var(--font-sans); color: var(--text); }
.sheet__close { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); border: 1px solid var(--line); }
.sheet__close:hover { color: var(--text); border-color: var(--line-2); }
.sheet__close svg { width: 16px; height: 16px; }
.sheet__actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.sheet__actions .pill { flex: 1 1 140px; }
@media (max-width: 639px) {
  .sheet { left: 0; right: 0; top: auto; bottom: 0; transform: translateY(16px); width: 100%; max-height: calc(100dvh - 48px); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .sheet.is-open { transform: none; }
  .sheet::before { content: ''; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--line-2); margin: -4px auto 4px; }
}

/* ---------------------------------------------------------------- logos and misc */

.logo { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--panel-2); color: var(--text); font: 500 10px/1 var(--font-mono); letter-spacing: 0.02em; overflow: hidden; flex: none; }
.logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.logo-stack { display: inline-flex; }
.logo-stack .logo { width: 26px; height: 26px; border: 2px solid var(--panel); margin-left: -8px; }
.logo-stack .logo:first-child { margin-left: 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot--pulse { animation: dot-pulse 2s ease-in-out infinite; }
@keyframes dot-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 240, 144, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(0, 240, 144, 0); } }
.skeleton { display: inline-block; min-width: 3ch; height: 1em; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)); background-size: 200% 100%; animation: skeleton 1.4s linear infinite; vertical-align: middle; }
@keyframes skeleton { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.divider { height: 1px; background: var(--line); }
.section-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { align-items: center; text-align: center; }
.section-head .t-body { max-width: 56ch; }
.section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }

/* ---------------------------------------------------------------- reveal on scroll */

html.reveal-on [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
html.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------------------------------------------------------------- page-level guards */

img, svg, canvas, video, pre, table { max-width: 100%; }
.nowrap { white-space: nowrap; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.break { overflow-wrap: anywhere; }
