:root {
  --bg: #fafafa;
  --paper: #fdfdfd;
  --ink: #1a1718;
  --ink-2: #373737;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --line: #d9e2ef;
  --line-2: #e8edf4;
  --sky: #cfe6f8;
  --sky-2: #e6f2fb;
  --go: #2fbf71;
  --stop: #e5484d;
  --warn: #d98a00;
  --ours: #4b5bd6;
  --mkt: #9aa3b2;
  --radius: 12px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.45; font-weight: 400; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* ---------- nav: floating pills */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; gap: 8px; align-items: center;
}
.nav .group {
  display: flex; gap: 4px; align-items: center; padding: 4px; border-radius: 999px;
  background: rgba(253, 253, 253, 0.82); backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 0.5px solid var(--line);
  box-shadow: 0 1px 10px rgba(30, 40, 70, 0.05);
}
.nav a.item {
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px;
  border-radius: 999px; color: var(--ink-2); white-space: nowrap; transition: background .2s;
}
.nav a.item:hover { background: #eef2f7; }
.nav a.item.on { background: var(--sky-2); color: #2f6fb0; }
.nav .mark { width: 30px; height: 30px; display: grid; place-items: center; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: -0.01em; }
.logo svg { width: 18px; height: 18px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 7px 22px;
  font-size: 17px; font-weight: 300; border: 0.5px solid var(--ink-2); background: transparent;
  color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, transform .1s; white-space: nowrap;
}
.btn:hover { background: #f0f2f5; }
.btn:active { transform: translateY(1px); }
.btn.dark { background: var(--ink-2); color: var(--bg); }
.btn.dark:hover { background: #111; }
.btn.sm { font-size: 14px; padding: 5px 16px; }
.btn .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 3px rgba(47,191,113,.15); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- type */
h1, h2, h3 { margin: 0; font-weight: 200; color: var(--ink-2); }
.h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.025em; }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.022em; }
.h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 300; }
.lede { font-size: clamp(17px, 1.6vw, 20px); font-weight: 300; color: var(--ink-2); line-height: 1.35; }
.eyebrow { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 0.5px solid var(--line);
  color: var(--muted); background: var(--paper); white-space: nowrap;
}
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--go); }
.tag.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }

/* ---------- hero */
.hero { position: relative; padding-top: 128px; text-align: center; }
.hero .copy { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 16px; }
.hero .lede { max-width: 560px; margin: 22px auto 28px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stage { position: relative; height: min(58vw, 600px); margin-top: -90px; }
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stage .fallback {
  position: absolute; left: 50%; bottom: 0; width: 80%; height: 70%; transform: translateX(-50%);
  border-radius: 50% 50% 0 0; background: radial-gradient(60% 80% at 50% 100%, #c9d5ff, #f4d9f2 45%, #dff2ff 70%, transparent 72%);
  filter: blur(8px); opacity: .8;
}
.hero-readout {
  position: absolute; z-index: 3; left: 50%; bottom: 8%; transform: translateX(-50%);
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: min(900px, calc(100% - 32px));
}
.chip {
  display: flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 999px;
  background: rgba(253, 253, 253, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid var(--line); font-size: 13px; color: var(--ink-2); white-space: nowrap; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
}
.chip b { font-weight: 500; font-family: var(--mono); }

/* ---------- sections */
section { position: relative; }
.band-sky { background: linear-gradient(180deg, var(--bg) 0%, var(--sky) 22%, var(--sky) 72%, var(--bg) 100%); padding: 120px 0 120px; }
.grid-paper {
  background-color: var(--bg);
  background-image: linear-gradient(rgba(120, 150, 200, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 150, 200, .07) 1px, transparent 1px);
  background-size: 22px 22px; padding: 110px 0;
}
.center { text-align: center; }
.split { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.split > .side { position: sticky; top: 96px; }
.split > .side p { color: var(--muted); font-weight: 300; font-size: 17px; margin: 16px 0 0; max-width: 300px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } .split > .side { position: static; } }

.card {
  background: var(--paper); border: 0.5px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.card.flat { box-shadow: none; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 900px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 14px; }

.spec-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.spec-card .photo { aspect-ratio: 4/3; background: #e9eef5 center/cover no-repeat; position: relative; }
.spec-card .photo .tag { position: absolute; left: 14px; top: 14px; }
.spec-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.spec-card .body p { margin: 0; color: var(--ink-2); font-size: 15px; font-weight: 300; }
.spec-card .row { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }

.stat { font-size: clamp(44px, 5.4vw, 68px); font-weight: 200; letter-spacing: -0.03em; line-height: 1; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 15px; color: var(--muted); font-weight: 300; margin-top: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* forecast rows */
.fc { display: grid; grid-template-columns: 1fr 210px; gap: 20px; align-items: center; padding: 18px 22px; }
.fc + .fc { border-top: 0.5px solid var(--line-2); }
.fc .q { font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.fc .q small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.fc .meta { display: flex; gap: 8px; margin-bottom: 6px; align-items: center; flex-wrap: wrap; }
@media (max-width: 640px) { .fc { grid-template-columns: 1fr; } }
.bars { display: grid; gap: 6px; }
.bar { display: grid; grid-template-columns: 54px 1fr 44px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.bar .track { height: 6px; border-radius: 6px; background: #edf1f6; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 6px; background: var(--mkt); }
.bar.ours .fill { background: var(--ours); }
.bar .v { font-family: var(--mono); color: var(--ink-2); text-align: right; }
.edge { font-family: var(--mono); font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #e9f8f0; color: #1d7c4a; }
.edge.no { background: #fdeeee; color: #b4232a; }

/* steps */
.step-n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step h3 { margin: 10px 0 8px; }
.step p { margin: 0; color: var(--ink-2); font-weight: 300; }

details.faq { border-top: 0.5px solid var(--line); padding: 18px 0; }
details.faq summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 300; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; color: var(--muted); font-weight: 200; font-size: 24px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--ink-2); font-weight: 300; margin: 12px 0 0; max-width: 760px; }

footer { padding: 64px 0 48px; border-top: 0.5px solid var(--line); color: var(--muted); font-size: 13px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer p { margin: 0 0 10px; font-weight: 300; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.calib svg { width: 100%; height: auto; display: block; }
.hash { font-family: var(--mono); font-size: 12px; color: var(--muted); word-break: break-all; }
.skeleton { background: linear-gradient(90deg, #f0f3f7 0%, #f7f9fb 50%, #f0f3f7 100%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 6px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- phones */
@media (max-width: 560px) {
  .nav { top: 10px; gap: 4px; width: calc(100% - 20px); justify-content: center; }
  .nav a.item { padding: 6px 9px; font-size: 10.5px; letter-spacing: .04em; }
  .nav .hide-xs { display: none; }
  .nav .mark { width: 26px; height: 26px; }
  .hero { padding-top: 96px; }
  .hero-stage { height: 440px; margin-top: 0; }
  .hero-readout { bottom: 4%; }
  .hero-readout .chip:first-child { width: 100%; justify-content: center; }
  .band-sky, .grid-paper { padding: 72px 0; }
  .card { padding: 20px; }
  .split > .side p { max-width: none; }
}
.chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (max-width: 560px) { .hero-readout .chip:first-child { justify-content: flex-start; } }
