:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --surface: #0e0e0e;
  --ink: #ffffff;
  --ink-2: #a3a3a3;
  --ink-3: #6f6f6f;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.2);
  --glaze: #ffffff;
  --glaze-ink: #000000;
  --glaze-soft: rgba(255, 255, 255, 0.06);
  --mint: #ffffff;
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  --rim-a: rgba(255, 255, 255, 0.6);
  --rim-b: rgba(255, 255, 255, 0.24);
  --hl: rgba(255, 255, 255, 0.24);
  --amb: rgba(255, 255, 255, 0.055);
  --gloss: rgba(255, 255, 255, 0.1);
  --spot: rgba(255, 255, 255, 0.13);
  --dot: rgba(255, 255, 255, 0.1);
  --glow: rgba(255, 255, 255, 0.16);
  --sheen-a: #ffffff;
  --sheen-b: #7d7d7d;
  --btn-a: #ffffff;
  --btn-b: #cfcfcf;
  --btn-ink: #000000;
  --code-bg: #000000;
  --code-ink: #f2f2f2;
  --code-dim: #8a8a8a;
  --code-key: #ffffff;
  --code-str: #a8a8a8;
  --code-num: #dcdcdc;
  --display: "Nunito", "Avenir Next Rounded", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f4f5;
  --bg-2: #ebebed;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #55555b;
  --ink-3: #8b8b92;
  --line: rgba(0, 0, 0, 0.09);
  --line-2: rgba(0, 0, 0, 0.22);
  --glaze: #0a0a0a;
  --glaze-ink: #ffffff;
  --glaze-soft: rgba(0, 0, 0, 0.05);
  --mint: #0a0a0a;
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.6));
  --rim-a: #ffffff;
  --rim-b: rgba(0, 0, 0, 0.14);
  --hl: rgba(255, 255, 255, 0.95);
  --amb: rgba(0, 0, 0, 0.05);
  --card-shadow: inset 0 1px 0 #ffffff, 0 30px 60px -36px rgba(0, 0, 0, 0.28);
  --gloss: rgba(0, 0, 0, 0.03);
  --spot: rgba(0, 0, 0, 0.07);
  --dot: rgba(0, 0, 0, 0.12);
  --glow: rgba(0, 0, 0, 0.25);
  --sheen-a: #0a0a0a;
  --sheen-b: #77777d;
  --btn-a: #2c2c2c;
  --btn-b: #000000;
  --btn-ink: #ffffff;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

/* Shared glass surface */
.feature, .board, .plan, .route, .faq details, .callout, .cta-card, table.cmp {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  position: relative;
}
.feature::before, .board::before, .plan::before, .cta-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 70% at 0% 0%, var(--gloss), transparent 55%);
}

/* Header: floating glass pill */
.site-header { position: sticky; top: 0; z-index: 30; padding: 14px 0; pointer-events: none; }
.bar {
  pointer-events: auto; display: flex; align-items: center; gap: 16px; min-height: 58px;
  padding: 0 10px 0 22px; border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--card-shadow);
}
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); text-decoration: none; }
.brand img { height: 28px; width: auto; }
.brand span { font-weight: 900; font-size: 24px; letter-spacing: -0.01em; font-style: italic; }
:root[data-theme="light"] .brand img { filter: invert(1); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a {
  text-decoration: none; padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .15s, background .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--glaze-soft); }
.theme-btn {
  border: 1px solid var(--line); background: var(--glaze-soft); color: var(--ink);
  width: 38px; height: 38px; border-radius: 999px; cursor: pointer; font-size: 15px;
  display: grid; place-items: center; margin-left: 6px; transition: border-color .15s;
}
.theme-btn:hover { border-color: var(--line-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  font-weight: 600; font-size: 16px; padding: 13px 26px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--glaze-soft); color: var(--ink);
  transition: transform .15s, border-color .15s, box-shadow .15s; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn.primary {
  background: linear-gradient(180deg, var(--btn-a), var(--btn-b)); color: var(--btn-ink); border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 34px -12px var(--glow);
}
.btn.primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 16px 44px -10px var(--glow); }
.btn[aria-disabled="true"] { opacity: .6; cursor: default; pointer-events: none; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 14px; }
.sheen {
  background: linear-gradient(180deg, var(--sheen-a) 25%, var(--sheen-b) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker {
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .16em; margin-bottom: 14px;
}
.sub { color: var(--ink-2); font-size: 18px; max-width: 38em; margin: 0 0 40px; }

/* Hero */
.hero { position: relative; padding: 48px 0 72px; text-align: center; isolation: isolate; overflow: visible; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -140px 0 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 70% at 50% 18%, transparent 25%, var(--bg) 75%),
    radial-gradient(900px 540px at 50% 0%, var(--spot), transparent 70%),
    radial-gradient(var(--dot) 1px, transparent 1.5px) 0 0 / 26px 26px;
}
.swoosh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: var(--ink); opacity: .5; pointer-events: none; }
.logo-tile {
  width: 124px; height: 124px; display: block; margin: 0 auto 26px;
  filter: drop-shadow(0 24px 44px var(--glow));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-7px); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px; background: var(--glaze-soft); color: var(--ink-2); border: 1px solid var(--line);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--glaze-soft); }
h1 { font-size: clamp(40px, 6vw, 74px); margin: 26px auto 22px; }
h1 span { display: block; text-wrap: balance; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 33em; margin: 0 auto 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fineprint { font-size: 13.5px; color: var(--ink-3); margin: 22px auto 0; max-width: 44em; }

/* Console */
.console {
  margin: 60px auto 0; max-width: 860px; text-align: left; border-radius: 22px; overflow: hidden;
  background: #000; color: var(--code-ink); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 60px 120px -50px var(--glow), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  font-family: var(--mono); font-size: 13.5px; line-height: 1.7; position: relative;
}
.console::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 60% at 0% 0%, rgba(255, 255, 255, 0.1), transparent 55%);
}
.console-bar {
  display: flex; align-items: center; gap: 16px; padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09); position: relative;
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.console-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.console-tabs::-webkit-scrollbar { display: none; }
.console-tabs button {
  font: inherit; font-size: 12.5px; color: var(--code-dim); background: transparent; border: 1px solid transparent;
  padding: 5px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.console-tabs button:hover { color: var(--code-ink); }
.console-tabs button[aria-selected="true"] { color: #000; background: #fff; }
.pane { position: relative; }
.pane[hidden] { display: none; }
.req { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 20px 0; color: var(--code-dim); }
.req .verb { color: #000; background: #fff; font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 6px; }
.req .path { color: var(--code-ink); word-break: break-all; }
.req .kind { margin-left: auto; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); }

/* Code cards */
.code-card {
  background: var(--code-bg); color: var(--code-ink); border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 50px -30px rgba(0, 0, 0, 0.7);
  font-family: var(--mono); font-size: 13.5px; line-height: 1.65;
}
.code-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09); color: var(--code-dim); font-size: 12.5px;
}
.code-head .verb { color: var(--code-ink); font-weight: 600; }
.code-head .copy { margin-left: auto; }
.copy {
  background: transparent; color: var(--code-dim); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px; padding: 3px 12px; font: inherit; font-size: 12px; cursor: pointer;
}
.copy:hover { color: var(--code-ink); border-color: var(--code-ink); }
pre { margin: 0; padding: 16px 20px 20px; overflow-x: auto; }
pre code { font-family: inherit; }
.j-key { color: var(--code-key); }
.j-str { color: var(--code-str); }
.j-num { color: var(--code-num); }
.j-lit { color: #ffffff; font-style: italic; }

/* Sections */
section.block { padding: 96px 0; position: relative; }
section.block::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(1120px, 100% - 32px); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { border-radius: 24px; padding: 28px; transition: transform .2s, border-color .2s; }
.feature:hover, .route:hover { transform: translateY(-2px); border-color: var(--line-2); }
.feature .glyph {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--glaze-soft); border: 1px solid var(--line); color: var(--ink);
}
.feature .glyph svg { width: 22px; height: 22px; }
.feature h3 { font-size: 24px; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }
.feature code, .board-note code, .doc p code, .doc li code, td code, .callout code, .sub code {
  font-family: var(--mono); font-size: .88em; background: var(--glaze-soft); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 6px; color: var(--ink);
}

.two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.route-list { display: grid; gap: 10px; }
.route {
  display: grid; grid-template-columns: 58px 1fr; gap: 4px 14px; align-items: baseline;
  border-radius: 16px; padding: 15px 20px; text-decoration: none; transition: transform .2s, border-color .2s;
}
.route .m { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); }
.route .p { font-family: var(--mono); font-size: 15px; font-weight: 600; word-break: break-all; }
.route .d { grid-column: 2; color: var(--ink-2); font-size: 15px; }
.route.soon { border-style: dashed; background: transparent; box-shadow: none; }
.route.soon .p { color: var(--ink-2); }

.steps { counter-reset: s; display: grid; gap: 22px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.steps li::before {
  content: counter(s); font-family: var(--display); font-weight: 900; font-size: 19px;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--card-shadow);
}
.steps b { display: block; font-family: var(--display); font-weight: 900; font-size: 21px; letter-spacing: -.02em; }
.steps span { color: var(--ink-2); }

.callout { border-radius: 16px; padding: 14px 18px; font-size: 15px; color: var(--ink-2); }
.callout b {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; margin-right: 10px;
  color: var(--glaze-ink); background: var(--glaze); padding: 2px 8px; border-radius: 6px; font-weight: 700;
}

.cta-card { border-radius: 32px; padding: clamp(36px, 6vw, 72px) 24px; text-align: center; overflow: hidden; }
.cta-card h2 { margin-bottom: 12px; }
.cta-card .sub { margin: 0 auto 30px; }
.cta-card img { width: 64px; height: 64px; margin-bottom: 18px; filter: drop-shadow(0 14px 26px var(--glow)); }

/* Market boards */
.market-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: stretch; }
.board { border-radius: 24px; padding: 24px; min-width: 0; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; position: relative; }
.board-head h3 { font-size: 25px; }
.badge {
  font-family: var(--mono); font-size: 11.5px; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--glaze-soft); border: 1px solid var(--line); color: var(--ink-2);
}
.table-scroll { overflow-x: auto; position: relative; }
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 18px; overflow: hidden; font-size: 15.5px; }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp tbody tr { transition: background .15s; }
table.cmp tbody tr:hover { background: var(--glaze-soft); }
.board-table { border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
.board-table th, .board-table td { padding: 11px 8px !important; }
.board-table th.r, .board-table td.r { text-align: right; font-variant-numeric: tabular-nums; }
.board-table td.r { font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.board-table td:first-child { font-weight: 600; white-space: nowrap; }
.board-table td:nth-child(2) { color: var(--ink); }
.ico {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 12px; border-radius: 9px;
  background: var(--glaze-soft); border: 1px solid var(--line-2); color: var(--ink);
  font-family: var(--display); font-weight: 900; font-size: 14px; vertical-align: middle;
}
.board-note { font-size: 13.5px; color: var(--ink-3); margin: 16px 0 0; position: relative; }
.rank { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; gap: 8px; position: relative; }
.rank li {
  counter-increment: r; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px;
}
.rank li::before { content: counter(r); font-family: var(--display); font-weight: 900; font-size: 17px; text-align: center; color: var(--ink-3); }
.rank.ghost { -webkit-mask-image: linear-gradient(180deg, #000 15%, transparent 96%); mask-image: linear-gradient(180deg, #000 15%, transparent 96%); }
.rank.ghost .gbar { height: 10px; border-radius: 999px; background: var(--glaze-soft); border: 1px solid var(--line); }
.rank.ghost li:nth-child(1) .gbar:first-of-type { width: 62%; } .rank.ghost li:nth-child(2) .gbar:first-of-type { width: 48%; }
.rank.ghost li:nth-child(3) .gbar:first-of-type { width: 70%; } .rank.ghost li:nth-child(4) .gbar:first-of-type { width: 40%; }
.rank.ghost li:nth-child(5) .gbar:first-of-type { width: 55%; }
.rank.ghost .gbar:last-of-type { width: 54px; }
.soon-text { color: var(--ink-2); margin: 18px 0 0; font-size: 15.5px; position: relative; }

/* Price history chart */
.chart-board { padding: 26px; }
.chart-top { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; position: relative; }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--glaze-soft); border: 1px solid var(--line); }
.tabs button {
  font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 0; background: transparent; color: var(--ink-2); transition: color .15s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--glaze); color: var(--glaze-ink); }
.chart-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; position: relative; }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.stat .down { color: var(--ink-2); }
.chart-wrap { position: relative; height: 300px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); }
#chart { width: 100%; height: 100%; display: block; cursor: crosshair; }
#chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
#chart .line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--glow)); }
#chart .cursor { stroke: var(--ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 3; }
.tip {
  position: absolute; top: 12px; pointer-events: none; background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 12.5px;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; transform: translateX(-50%);
}
.axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 10px; position: relative; }

/* Pricing */
.page-head { padding: 56px 0 88px; text-align: center; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); margin: 0 auto 16px; }
.page-head .sub { margin: 0 auto 28px; }
.page-head .callout { display: inline-block; text-align: left; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-top: 40px; text-align: left; }
.plan { border-radius: 28px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--line-2); box-shadow: var(--card-shadow), 0 0 80px -30px var(--glow); }
.plan .tag {
  position: absolute; top: 22px; right: 22px; background: var(--glaze); color: var(--glaze-ink);
  font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase;
}
.plan h3 { font-size: 24px; }
.price { font-family: var(--display); font-weight: 900; font-size: 62px; letter-spacing: -.05em; margin: 18px 0 0; line-height: 1; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan .for { color: var(--ink-2); margin: 12px 0 22px; font-size: 15.5px; min-height: 3.2em; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 0 0 28px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15.5px; }
.plan li::before {
  content: ""; width: 14px; height: 8px; margin-top: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) scale(.8); transform-origin: left center;
}
.plan .btn { margin-top: auto; }
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }

/* Docs */
.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: 40px 0 96px; }
.toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; font-size: 15px; }
.toc .grp { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 6px; }
.toc .grp:first-child { margin-top: 0; }
.toc a { text-decoration: none; padding: 6px 12px; border-radius: 10px; color: var(--ink-2); font-family: var(--mono); font-size: 13.5px; }
.toc a:hover, .toc a.on { background: var(--glaze-soft); color: var(--ink); }
.doc h1 { font-size: clamp(38px, 5vw, 60px); margin: 0 0 20px; max-width: none; }
.doc h2 { font-size: 32px; margin: 0 0 12px; }
.doc section { padding: 44px 0; border-top: 1px solid var(--line); }
.doc section:first-of-type { border-top: 0; }
.doc p { color: var(--ink-2); max-width: 46em; }
.endpoint { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-family: var(--mono); margin-bottom: 14px; }
.endpoint .m { background: var(--glaze); color: var(--glaze-ink); font-weight: 700; font-size: 11.5px; padding: 3px 9px; border-radius: 6px; }
.endpoint .p { font-size: 17px; font-weight: 600; word-break: break-all; }
.doc .code-card { margin: 14px 0 22px; }
.params { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.params th, .params td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.params th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.params td:first-child { font-family: var(--mono); font-weight: 600; white-space: nowrap; color: var(--ink); }
.params td { color: var(--ink-2); }
.label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 20px 0 0; }

/* Footer */
.site-footer { padding: 40px 0 56px; color: var(--ink-3); font-size: 14px; position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(1120px, 100% - 32px); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.foot { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.foot p { margin: 0; }
.foot p:last-child { text-align: right; }
.foot a { margin-left: 18px; text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { padding: 28px 0 56px; }
  .two-col, .foot { grid-template-columns: 1fr; gap: 32px; }
  .foot p:last-child { text-align: left; } .foot a { margin: 0 18px 0 0; }
  .feature-grid, .plans, .market-grid { grid-template-columns: 1fr; }
  .plan .for { min-height: 0; }
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 20px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .toc .grp { display: none; }
  .toc a { border: 1px solid var(--line); }
  section.block { padding: 64px 0; }
  .console { margin-top: 44px; font-size: 12.5px; }
}
@media (max-width: 700px) {
  .chart-stats { grid-template-columns: repeat(2, 1fr); }
  .chart-wrap { height: 220px; }
  .board, .chart-board { padding: 18px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .bar { padding-left: 16px; gap: 8px; }
  .nav a { padding: 8px 10px; }
  .logo-tile { width: 100px; height: 100px; }
  .req .kind { margin-left: 0; }
  .btn { padding: 12px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-tile { animation: none; }
  .btn, .feature, .route { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Liquid glass, CSS only: ambient light behind, translucent surfaces, specular rim.
   Backdrop blur is kept to the few small floating elements so it stays cheap. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 420px at 10% 28%, var(--amb), transparent 70%),
    radial-gradient(760px 520px at 90% 72%, var(--amb), transparent 70%);
}
.bar { position: relative; }
.bar::after, .feature::after, .board::after, .plan::after, .cta-card::after, .route::after, .console::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, var(--rim-a) 0%, transparent 28%, transparent 68%, var(--rim-b) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.route.soon::after { display: none; }
.btn:not(.primary), .eyebrow, .tabs, .theme-btn, .badge {
  -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: inset 0 1px 0 var(--hl), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}
.tabs button[aria-selected="true"] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 14px -4px var(--glow); }
@media (max-width: 560px) {
  .board-head { flex-wrap: wrap; }
  .board-table th:nth-child(4), .board-table td:nth-child(4) { display: none; }
  .board-table td { font-size: 14px; }
  .board-table th, .board-table td { padding: 10px 4px !important; }
  .board-table th { font-size: 10px; letter-spacing: .04em; }
  .board-table td.r { font-size: 13px; }
  .board-table td:first-child { white-space: normal; }
  .ico { width: 26px; height: 26px; margin-right: 9px; font-size: 12.5px; }
}

/* Header: fade the page out under the floating bar once scrolled */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, transparent 100%);
}
.site-header.scrolled::before { opacity: 1; }
.site-header.scrolled .bar { background: color-mix(in srgb, var(--bg) 86%, transparent); }

/* Baltop fills its card */
#baltop { display: flex; flex-direction: column; }
#baltop .rank { flex: 1; align-content: start; }
#baltop .soon-text { margin-top: auto; padding-top: 18px; }
.rank.ghost li:nth-child(6) .gbar:first-of-type { width: 66%; } .rank.ghost li:nth-child(7) .gbar:first-of-type { width: 44%; }
.rank.ghost li:nth-child(8) .gbar:first-of-type { width: 58%; }
@media (max-width: 900px) { .rank.ghost li:nth-child(n+6) { display: none; } }

/* Item icons and search */
img.ico { padding: 3px; object-fit: contain; image-rendering: pixelated; }
.tico { width: 18px; height: 18px; margin-right: 7px; vertical-align: -4px; image-rendering: pixelated; object-fit: contain; }
.board-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; position: relative; }
.search {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 42px; border-radius: 999px;
  background: var(--glaze-soft); border: 1px solid var(--line); color: var(--ink-3);
  box-shadow: inset 0 1px 0 var(--hl), inset 0 -1px 0 rgba(0, 0, 0, 0.12); transition: border-color .15s;
}
.search:focus-within { border-color: var(--line-2); color: var(--ink); }
.search svg { width: 16px; height: 16px; flex: none; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.count { font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.btn.more { display: flex; margin: 14px auto 0; padding: 9px 20px; font-size: 14px; position: relative; }
.btn.more[hidden] { display: none; }
img.ico { width: 36px; height: 36px; padding: 4px; border-radius: 10px; }
@media (max-width: 560px) { img.ico { width: 30px; height: 30px; padding: 3px; } }

/* Logo aura: a bright beam runs around the edge of the tile, with a tight blurred glow that
   follows it. One blurred layer only, promoted to its own GPU layer; the wide halo is static. */
.logo-aura { position: relative; width: 124px; height: 124px; margin: 0 auto 30px; animation: float 7s ease-in-out infinite; }
.logo-aura .logo-tile { position: relative; margin: 0; animation: none; filter: none; display: block; }
.logo-aura::before {
  content: ""; position: absolute; inset: 0; border-radius: 29%; pointer-events: none;
  box-shadow: 0 0 46px 8px color-mix(in srgb, var(--ink) 26%, transparent);
}
.logo-aura .ring { position: absolute; inset: -4px; border-radius: 29%; overflow: hidden; pointer-events: none; }
.logo-aura .ring::before {
  content: ""; position: absolute; inset: -50%; will-change: transform;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 80deg, var(--ink) 168deg, var(--ink) 180deg, transparent 180deg, transparent 260deg, var(--ink) 348deg, var(--ink) 360deg);
  animation: spin 2.6s linear infinite;
}
.logo-aura .ring:not(.glow) { box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--ink) 28%, transparent); }
.logo-aura .ring.glow { inset: -10px; filter: blur(12px); transform: translateZ(0); }
.logo-aura .ring.glow.far { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { .logo-aura { width: 100px; height: 100px; } }
@media (prefers-reduced-motion: reduce) { .logo-aura, .logo-aura .ring::before { animation: none; } }

/* Docs: prompt for AI agents */
.agent-card {
  display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; margin: 22px 0 8px; padding: 24px 26px;
  border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--card-shadow), 0 0 70px -34px var(--glow);
}
.agent-card h3 { font-size: 22px; margin-bottom: 6px; }
.agent-card p { margin: 0; font-size: 15.5px; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 380px; }
.agent-actions .btn { padding: 9px 16px; font-size: 14px; }
.agent-actions .plain { font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin-left: 6px; }
.doc h2 .badge { vertical-align: middle; margin-left: 8px; letter-spacing: 0; }
@media (max-width: 900px) { .agent-card { grid-template-columns: 1fr; } .agent-actions { max-width: none; } }

/* Dashboard */
.dash { padding: 36px 0 96px; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.dash h1 { font-size: clamp(36px, 5vw, 58px); margin: 0; }
.acct { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.acct .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--glaze); color: var(--glaze-ink); font-family: var(--display); font-weight: 900; font-size: 18px; }
.acct b { display: block; font-size: 14.5px; line-height: 1.25; }
.acct span:not(.avatar) { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.dash-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.d-key { grid-column: span 7; } .d-usage { grid-column: span 5; }
.d-chart { grid-column: span 8; } .d-plan { grid-column: span 4; }
.d-quick { grid-column: span 5; } .d-recent { grid-column: span 7; }
.dash .board > * { position: relative; }
.btn.sm { padding: 8px 16px; font-size: 14px; }
.keybox {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 16px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.keybox code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; color: #f2f2f2; overflow-wrap: anywhere; letter-spacing: .02em; }
.keybox .btn:not(.primary) { color: #fff; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.07); }
.keybox .btn.primary { background: linear-gradient(180deg, #fff, #cfcfcf); color: #000; }
.key-actions { display: flex; gap: 8px; flex: none; }
.key-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.confirm { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.confirm[hidden], .btn[hidden] { display: none; }
.bignum { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 16px; }
.bignum b { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 60px); letter-spacing: -.04em; line-height: 1; }
.bignum span { font-family: var(--mono); font-size: 13.5px; color: var(--ink-3); }
.meter { height: 10px; border-radius: 999px; background: var(--glaze-soft); border: 1px solid var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 0 14px var(--glow); transition: width .8s ease; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.mini .stat b { font-size: 24px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 190px; padding-top: 8px; }
.bars i { flex: 1; min-width: 0; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 30%, transparent)); opacity: .82; transition: opacity .15s; }
.bars i:hover { opacity: 1; }
.planname { font-family: var(--display); font-weight: 900; font-size: 44px; letter-spacing: -.04em; line-height: 1; margin: 4px 0 18px; }
.limits { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 0; }
.limits li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.limits b { font-family: var(--mono); font-weight: 600; }
.limits span { color: var(--ink-2); }
.d-quick .code-card { margin-top: 4px; }
.d-quick .board-note a { color: var(--ink-2); }
.recent td { font-family: var(--mono); font-size: 13px !important; color: var(--ink-2); white-space: nowrap; }
.recent td.route-cell { color: var(--ink); white-space: normal; overflow-wrap: anywhere; font-weight: 400 !important; }
.recent td:first-child { font-weight: 400 !important; color: var(--ink-3); }
.code { display: inline-block; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); }
.code.s4, .code.s5 { background: var(--glaze); color: var(--glaze-ink); border-color: transparent; font-weight: 700; }
@media (max-width: 900px) {
  .dash-grid > * { grid-column: 1 / -1; }
  .bars { height: 150px; gap: 3px; }
}
@media (max-width: 560px) {
  .keybox { flex-direction: column; align-items: stretch; padding: 14px; }
  .key-actions .btn { flex: 1; }
  .recent th:nth-child(4), .recent td:nth-child(4) { display: table-cell; }
  .recent th:nth-child(1), .recent td:nth-child(1) { display: none; }
}
@media (max-width: 480px) {
  .nav a { padding: 8px 7px; font-size: 14px; }
  .brand span { font-size: 21px; } .brand img { height: 24px; }
  .theme-btn { width: 34px; height: 34px; margin-left: 2px; }
}

/* Dashboard: stat tiles and activity heatmap */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.tile { border-radius: 22px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; min-height: 132px; }
.tile > * { position: relative; }
.tile .t-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tile b { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.04em; line-height: 1; margin-top: auto; }
.tile .t-sub { font-size: 13.5px; color: var(--ink-2); }
.tiles + .dash-grid { margin-top: 18px; }
.d-heat { grid-column: 1 / -1; }
.heat-scroll { overflow-x: auto; padding-bottom: 6px; }
.heat, .heat-months { --sq: 13px; --gap: 4px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--sq); gap: var(--gap); width: max-content; }
.heat { grid-template-rows: repeat(7, var(--sq)); }
.heat-months { grid-template-rows: auto; margin-bottom: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); grid-template-columns: repeat(53, var(--sq)); }
.heat-months span { white-space: nowrap; }
.heat i, .heat-legend i { width: 13px; height: 13px; border-radius: 3.5px; display: block; background: var(--ink); }
.heat i.pad { visibility: hidden; }
.heat i.l0, .heat-legend i.l0 { background: var(--glaze-soft); box-shadow: inset 0 0 0 1px var(--line); }
.heat i.l1, .heat-legend i.l1 { opacity: .22; } .heat i.l2, .heat-legend i.l2 { opacity: .45; }
.heat i.l3, .heat-legend i.l3 { opacity: .72; } .heat i.l4, .heat-legend i.l4 { opacity: 1; box-shadow: 0 0 8px var(--glow); }
.heat i:hover { outline: 1.5px solid var(--ink); outline-offset: 1px; }
.heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.heat-legend span:first-child { margin-right: 4px; } .heat-legend span:last-child { margin-left: 4px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .tile { min-height: 112px; padding: 16px 18px; } }

/* Nav: dashboard link with its icon */
.nav .nav-dash { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); background: var(--glaze-soft); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hl); margin-left: 4px; }
.nav .nav-dash:hover, .nav .nav-dash[aria-current="page"] { border-color: var(--line-2); }
.nav .nav-dash svg { width: 15px; height: 15px; flex: none; }
.nav .nav-dash { padding: 0; width: 38px; height: 38px; justify-content: center; border-radius: 50%; }
.nav .nav-dash svg { width: 16px; height: 16px; }
@media (max-width: 480px) { .nav .nav-dash { width: 34px; height: 34px; } }

/* Baltop with real data */
.rank.live li { grid-template-columns: 24px 30px 1fr auto; padding: 8px 12px; }
.rank.live li:nth-child(-n+3) { border-color: var(--line-2); background: var(--glaze-soft); }
.rank.live li:nth-child(-n+3)::before { color: var(--ink); }
.head { width: 30px; height: 30px; border-radius: 8px; image-rendering: pixelated; display: grid; place-items: center; background: var(--glaze-soft); border: 1px solid var(--line-2); font-family: var(--display); font-weight: 900; font-size: 13px; }
.rank.live .who { font-weight: 600; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank.live .amt { color: var(--ink); font-weight: 600; }
#baltop .rank.live { flex: none; }
#baltop .board-note { margin-top: auto; padding-top: 16px; }
.params td { overflow-wrap: anywhere; }
.params td:first-child { overflow-wrap: normal; }

/* Performance pass: gradient borders drawn with backgrounds instead of masked overlays,
   backdrop blur only on the nav bar, no filters on things that repaint. */
:root { --card-solid: linear-gradient(180deg, #1a1a1a, #0b0b0b); }
:root[data-theme="light"] { --card-solid: linear-gradient(180deg, #ffffff, #f8f8f9); }
.feature, .board, .plan, .route, .cta-card {
  border: 1px solid transparent;
  background: var(--card-solid) padding-box, linear-gradient(135deg, var(--rim-a), var(--line) 28%, var(--line) 68%, var(--rim-b)) border-box;
}
.console {
  border: 1px solid transparent;
  background: linear-gradient(#000, #000) padding-box, linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.14) 28%, rgba(255, 255, 255, 0.14) 68%, rgba(255, 255, 255, 0.3)) border-box;
}
.feature::after, .board::after, .plan::after, .cta-card::after, .route::after, .console::after { content: none; }
.btn:not(.primary), .eyebrow, .tabs, .theme-btn, .badge { -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); }
#chart .line { filter: none; }
.heat i.l4, .heat-legend i.l4 { box-shadow: none; }
.js .reveal { transition-duration: .45s; }

/* Chart: data point markers and empty state */
#chart .dot { stroke: var(--ink); stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; fill: none; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); font-size: 15px; }
.chart-empty[hidden] { display: none; }
.pricing-keyless { max-width: 760px; margin: 0 auto; }

/* Live chat */
.chat-ctl { display: flex; align-items: center; gap: 10px; }
.chat-ctl .btn { padding: 6px 14px; font-size: 13px; }
.badge.live { color: var(--ink); }
.badge.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 7px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.chat-feed {
  height: 340px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; position: relative;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; padding: 12px 16px;
  font-family: var(--mono); font-size: 13px; line-height: 1.6; color: #f2f2f2;
}
.msg { display: grid; grid-template-columns: auto 13ch minmax(0, 1fr); gap: 12px; padding: 1px 0; animation: msgin .3s ease; }
.msg time { color: #6f6f6f; }
.msg .who { color: hsl(0 0% var(--l, 70%)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg .txt { overflow-wrap: anywhere; }
@keyframes msgin { from { opacity: 0; transform: translateY(4px); } }
@media (max-width: 560px) { .msg { grid-template-columns: 8ch minmax(0, 1fr); gap: 8px; } .msg time { display: none; } .chat-feed { height: 300px; padding: 10px 12px; font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .msg, .badge.live::before { animation: none; } }

/* Player lookup */
.lookup-board { padding: 26px; }
.lookup-form { display: flex; gap: 10px; position: relative; }
.search.big { height: 54px; padding: 0 20px; }
.search.big input { font-size: 17px; }
.search.big svg { width: 18px; height: 18px; }
.lookup-form .btn { flex: none; padding: 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; font-size: 13.5px; color: var(--ink-3); }
.chips[hidden] { display: none; }
.chips button {
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: var(--glaze-soft); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px;
}
.chips button:hover { border-color: var(--line-2); }
.chips .head { width: 22px; height: 22px; border-radius: 6px; font-size: 11px; }
.lookup-msg { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-2); min-height: 1.6em; }
.lookup-msg.err { color: var(--ink); font-weight: 600; }
.lookup-msg.busy::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 9px; vertical-align: -1px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.player-card { margin-top: 18px; padding: 22px; border-radius: 18px; background: #000; border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); animation: msgin .35s ease; }
.player-card[hidden] { display: none; }
.pc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.pc-head .head { width: 64px; height: 64px; border-radius: 14px; font-size: 26px; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #fff; }
.pc-head b { display: block; font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
.pc-head div span { font-family: var(--mono); font-size: 12px; color: #8a8a8a; }
.pc-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pc-stats .stat span { color: #8a8a8a; }
@media (max-width: 760px) { .pc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .lookup-form { flex-direction: column; } .lookup-form .btn { height: 48px; } .lookup-board { padding: 18px; } .pc-head b { font-size: 24px; } }

/* Status: hero pill and status page */
:root { --ok: #35d07f; --bad: #ff4b4b; }
.status-pill { text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s; }
.status-pill:hover, .status-pill:focus-visible { border-color: var(--line-2); color: var(--ink); }
.status-pill .lbls { display: grid; }
.status-pill .lbl { grid-area: 1 / 1; transition: opacity .18s, transform .18s; }
.status-pill .lbl.b { opacity: 0; transform: translateY(4px); text-align: center; }
.status-pill:hover .lbl.a, .status-pill:focus-visible .lbl.a { opacity: 0; transform: translateY(-4px); }
.status-pill:hover .lbl.b, .status-pill:focus-visible .lbl.b { opacity: 1; transform: none; }
.status-pill::before { background: var(--ink-3); box-shadow: 0 0 0 4px var(--glaze-soft); animation: blink 1.6s ease-in-out infinite; }
.status-pill.ok::before { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent), 0 0 12px var(--ok); animation: none; }
.status-pill.bad::before { background: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 22%, transparent), 0 0 12px var(--bad); animation: blink 1.2s ease-in-out infinite; }
.status-page { padding: 56px 0 96px; max-width: 820px; }
.status-page h1 { font-size: clamp(38px, 6vw, 68px); margin: 0 0 14px; }
.status-page h1.ok { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ok); }
.status-page h1.bad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--bad); }
.st-list { display: grid; gap: 12px; margin: 8px 0 18px; }
.st-row { display: grid; grid-template-columns: 14px 1fr auto; gap: 16px; align-items: center; border-radius: 18px; padding: 18px 22px; }
.st-row > * { position: relative; }
.st-row b { display: block; font-size: 16.5px; }
.st-detail { font-size: 13.5px; color: var(--ink-3); }
.st-val { font-family: var(--mono); font-size: 13px; color: var(--ink-2); text-align: right; }
.st-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); }
.st-row.ok .st-dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.st-row.bad .st-dot { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.st-row.bad .st-val { color: var(--ink); }
@media (max-width: 560px) { .st-row { grid-template-columns: 14px 1fr; } .st-val { grid-column: 2; text-align: left; } }
@media (prefers-reduced-motion: reduce) { .status-pill::before { animation: none; } }
.pc-stats { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 14px; }
@media (max-width: 760px) { .pc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.st-group { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin: 34px 0 12px; }

/* Staff wall */
.block[hidden] { display: none; }
.staff-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; position: relative; }
.staff-num { display: flex; align-items: baseline; gap: 12px; }
.staff-num b { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 64px); line-height: .9; letter-spacing: -.02em; color: var(--ok); text-shadow: 0 0 28px color-mix(in srgb, var(--ok) 45%, transparent); }
.staff-num span { color: var(--ink-2); font-size: 15.5px; }
.staff-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; position: relative; }
.sf { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 0; padding: 16px 6px 13px; border-radius: 16px; border: 1px solid transparent; background: none; color: var(--ink-3); font: inherit; font-size: 12.5px; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.sf .hw { position: relative; display: block; }
.sf .head { width: 52px; height: 52px; border-radius: 13px; font-size: 20px; transition: filter .2s, opacity .2s; }
.sf .nm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.sf.off .head { filter: grayscale(1); opacity: .3; }
.sf.off:hover, .sf.off:focus-visible { color: var(--ink-2); background: var(--glaze-soft); }
.sf.off:hover .head, .sf.off:focus-visible .head { opacity: .7; }
.sf.on { color: var(--ink); background: var(--glaze-soft); border-color: var(--line-2); font-weight: 600; }
.sf.on:hover, .sf.on:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ok) 55%, transparent); }
.sf.on .head { box-shadow: 0 0 0 2px color-mix(in srgb, var(--ok) 70%, transparent), 0 0 22px color-mix(in srgb, var(--ok) 35%, transparent); border-color: transparent; }
.sf.on .hw::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 13px; height: 13px; border-radius: 50%; background: var(--ok); border: 2.5px solid var(--bg); }
.sf .role { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: -4px; }
.sf .role.mod::before, .sf .role.dev::before { content: "\2605"; margin-right: 4px; letter-spacing: 0; }
.sf .role.mod::before { color: var(--ok); }
.sf .role.dev::before { color: #b07cff; }
@media (max-width: 900px) { .staff-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 560px) { .staff-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } .staff-top { flex-direction: column; align-items: flex-start; } .staff-num { flex-direction: column; gap: 6px; } }

/* Chat search */
.chat-search { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; position: relative; }
.chat-search .search { flex: 1; max-width: 440px; }
.chat-count { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.msg .who { background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.msg .who:hover, .msg .who:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.msg mark { background: rgba(255, 255, 255, 0.24); color: #fff; border-radius: 3px; padding: 0 1px; }
.chat-none { margin: 0; color: #8a8a8a; }
@media (max-width: 560px) { .chat-search { flex-direction: column; align-items: stretch; gap: 8px; } .chat-search .search { max-width: none; } }
