:root {
  --bg: #000;
  --text: #fff;
  --muted: #8b93a1;
  --dim: #5d6470;
  --accent: #4d8dff;
  --accent-soft: rgba(77, 141, 255, .14);
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .035);
  --glass: rgba(6, 12, 22, .72);
  --radius: 14px;
  --wrap: 1160px;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--accent); }
code { font: 500 .88em var(--mono); color: #cfe9ff; }

#vortex { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 820px; text-align: center; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 38px; font-size: 14.5px; font-weight: 500; }
.nav-links a { opacity: .9; transition: opacity .2s, color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--accent); opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 16px; border-radius: 999px;
  background: rgba(10, 12, 16, .85); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; transition: border-color .2s;
}
.pill:hover { border-color: rgba(77, 141, 255, .5); }
.pill-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .1); line-height: 1; }
.burger { display: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10, 12, 16, .85); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 21px; }

/* type */
h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; text-align: center; }
h3 { font-size: 16px; font-weight: 600; letter-spacing: -.005em; }
.eyebrow { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.eyebrow.upper { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.sub { max-width: 620px; margin: 22px auto 0; text-align: center; color: var(--muted); }
.sub.left { margin-left: 0; text-align: left; }
.more { display: inline-block; margin-top: 18px; color: var(--accent); font-size: 14.5px; font-weight: 500; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more.center { display: block; text-align: center; margin-top: 26px; }

section { padding: 120px 0; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.glass { background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: rgba(120, 190, 255, .16); }
.card p, .card li { color: var(--muted); font-size: 14.5px; }
.card p a { color: var(--accent); }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero-inner { width: 100%; }
.hero-copy { max-width: 540px; }
.badge { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: #c8d2e0; margin-bottom: 26px; }
.badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.lede { margin-top: 24px; color: var(--muted); font-size: 16.5px; }

.chat { margin-top: 32px; }
.ask { display: flex; gap: 8px; padding: 6px; border-radius: 12px; background: rgba(8, 10, 14, .8); border: 1px solid var(--line); transition: border-color .2s; }
.ask:focus-within { border-color: rgba(77, 141, 255, .55); }
.ask input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 10px 12px; font-size: 15px; }
.ask input::placeholder { color: var(--dim); }
.ask button { border: 0; border-radius: 8px; padding: 10px 20px; background: var(--accent); color: #001524; font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: filter .2s, opacity .2s; }
.ask button:hover { filter: brightness(1.1); }
.ask button:disabled { opacity: .5; cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips button { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13px; color: #c8d2e0; cursor: pointer; transition: border-color .2s, color .2s; }
.chips button:hover { border-color: rgba(77, 141, 255, .5); color: #fff; }
.chat-meta { margin-top: 14px; font-size: 13px; color: var(--dim); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 10px #3ddc97; display: inline-block; flex: none; }
.chat-log { margin-bottom: 10px; max-height: 300px; overflow-y: auto; padding: 14px; border-radius: 12px; background: rgba(8, 10, 14, .85); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.chat-log[hidden] { display: none; }
.msg { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.user { align-self: flex-end; background: var(--accent-soft); border: 1px solid rgba(77, 141, 255, .25); padding: 7px 12px; border-radius: 12px 12px 2px 12px; max-width: 88%; }
.msg.bot { color: #dbe3ee; }
.msg.err { color: #ff9c8a; }
.msg small { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; }
.msg.pending::after { content: "▍"; color: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* numbers */
.numbers { min-height: 100vh; display: flex; align-items: center; }
.orbit-stage { display: grid; grid-template-columns: 1fr minmax(260px, 42vh) 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.stage-gap { height: 46vh; }
.stat-col { display: grid; gap: 14px; }
.stat-col:first-child { justify-items: end; }
.stat { width: 100%; max-width: 250px; padding: 16px 18px; }
.stat b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.stat > span { color: var(--muted); font-size: 13.5px; line-height: 1.45; display: block; margin-top: 2px; }

/* roles */
.roles { min-height: 100vh; display: flex; align-items: center; padding: 160px 0; }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.role { display: flex; flex-direction: column; }
.role h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.role svg, .round svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.role ul { display: grid; gap: 9px; flex: 1; }
.role li { position: relative; padding-left: 14px; line-height: 1.5; color: #a9b4c4; }
.role li::before { content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* flow */
.flow { min-height: 100vh; display: flex; align-items: center; }
.flow-copy { max-width: 500px; }
.flow h2, .flow .eyebrow { text-align: left; }
.steps { margin-top: 44px; display: grid; gap: 30px; position: relative; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 26px; align-items: start; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 22.5px; top: 50px; bottom: -26px; width: 1px; background: var(--line); }
.num { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; font-weight: 500; font-size: 15px; background: rgba(0, 0, 0, .5); }
.steps h3 { font-size: 17px; margin: 2px 0 4px; }
.steps p { color: var(--muted); font-size: 14.5px; }
.note { margin-top: 36px; font-size: 13.5px; color: var(--dim); }
.note a { color: var(--accent); }

/* prices */
.price-card { margin-top: 50px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px 36px; align-items: end; padding: 30px; }
.price-pick label, .price-num > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.price-pick select { width: 100%; background: #07090d; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 15px; outline: 0; }
.price-pick select:focus { border-color: rgba(77, 141, 255, .55); }
.seg { display: inline-flex; margin-top: 12px; padding: 3px; gap: 3px; border: 1px solid var(--line); border-radius: 10px; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; font-size: 13px; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: #000; font-weight: 500; }
.price-route { margin-top: 12px; font-size: 13px; color: var(--dim); }
.price-num b { display: block; font-size: clamp(34px, 4.6vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-num.accent b { color: var(--accent); }
.price-num small { color: var(--dim); font-size: 13px; }
.price-num i { font-style: normal; }
.price-bar { grid-column: 2 / 4; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.price-bar div { height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.price-verdict { grid-column: 2 / 4; font-size: 14px; font-weight: 500; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.why-grid h3 { margin-bottom: 8px; }

/* switch */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split h2, .split .eyebrow { text-align: left; }
.code { position: relative; padding: 0; background: #05070a; }
.code pre { margin: 0; padding: 44px 22px 26px; font: 400 14px/1.9 var(--mono); overflow-x: auto; color: #dbe3ee; }
.code .k { color: #9ad8ff; } .code .s { color: #8ce0b4; } .code .c { color: var(--dim); }
.copy { position: absolute; top: 10px; right: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 7px; padding: 4px 10px; font-size: 12px; color: var(--muted); cursor: pointer; }
.copy:hover { color: #fff; }

/* privacy */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.tier h3 { margin: 14px 0 8px; }
.tag { display: inline-block; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag.on { color: var(--accent); border-color: rgba(77, 141, 255, .4); background: var(--accent-soft); }

/* live */
.live { padding: 0 0 120px; }
.live-card { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; padding: 22px 28px; }
.live-title { display: flex; align-items: center; gap: 9px; color: #fff !important; font-weight: 600; }
.live-card dl { display: flex; gap: 38px; flex: 1; flex-wrap: wrap; }
.live-card dt { font-size: 12.5px; color: var(--dim); }
.live-card dd { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.live-card .more { margin: 0; }

/* faq */
.faq-list { margin-top: 44px; display: grid; gap: 10px; text-align: left; }
details { border: 1px solid var(--line); border-radius: 10px; background: var(--card); transition: border-color .2s; }
details[open] { border-color: rgba(77, 141, 255, .35); }
summary { list-style: none; cursor: pointer; padding: 17px 20px; font-weight: 500; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s; flex: none; }
details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* cta */
.cta { padding-bottom: 140px; }
.cta-ask { max-width: 460px; margin: 34px auto 0; }
.cta-links { margin-top: 16px; font-size: 13.5px; color: var(--dim); }
.cta-links a { color: var(--muted); margin: 0 6px; }
.cta-links a:hover, .fine a:hover { color: var(--accent); }
.fine { max-width: 600px; margin: 34px auto 0; font-size: 12.5px; color: var(--dim); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 54px 0 26px; background: #000; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr .7fr auto; gap: 30px; }
.foot-brand p { margin-top: 12px; color: var(--muted); font-size: 13.5px; max-width: 280px; }
.footer h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.foot-grid > div > a:not(.brand):not(.round) { display: block; color: var(--muted); font-size: 13.5px; padding: 3px 0; }
.foot-grid > div > a:hover { color: #fff; }
.round { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); }
.round svg { stroke: #fff; width: 15px; height: 15px; }
.copyright { text-align: center; color: var(--dim); font-size: 12.5px; margin-top: 44px; padding: 0 20px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
/* above the fold: never wait on JS to show the headline */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero .reveal:nth-child(2) { animation-delay: .08s; }
.hero .reveal:nth-child(3) { animation-delay: .16s; }
.hero .reveal:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 1000px) {
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .tier-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  section { padding: 84px 0; }
  .wrap { padding: 0 20px; }
  .nav { padding: 14px 20px; }
  .burger { display: block; }
  .nav-links { position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; gap: 0; padding: 8px; background: rgba(6, 8, 12, .96); border: 1px solid var(--line); border-radius: 14px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .hero { align-items: flex-start; padding-top: 110px; }
  .orbit-stage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stage-gap { grid-column: 1 / -1; grid-row: 1; height: 38vh; }
  .stat-col:first-child { justify-items: stretch; }
  .stat { max-width: none; }
  .stat { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .stat b { font-size: 21px; }
  .roles { padding: 100px 0; }
  .price-card { grid-template-columns: 1fr 1fr; padding: 22px; }
  .price-pick { grid-column: 1 / -1; }
  .price-bar, .price-verdict { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .why-grid, .tier-grid { grid-template-columns: 1fr; }
  .live-card dl { gap: 22px 30px; }
}
@media (max-width: 560px) {
  .role-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pill { font-size: 13px; padding-left: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .reveal { animation: none; }
}

/* ------------------------------------------------------------------ */
/* Sub-pages                                                           */
/* ------------------------------------------------------------------ */
.btn { display: inline-block; padding: 10px 18px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; font-weight: 500; transition: border-color .2s, filter .2s; }
.btn:hover { border-color: rgba(77, 141, 255, .55); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #00122b; font-weight: 600; }
.btn.primary:hover { filter: brightness(1.1); }

.page-hero { padding: 170px 0 60px; text-align: center; }
.page-hero.tall { min-height: 100vh; display: flex; align-items: center; padding: 120px 0; }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 64px); }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.anchor-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.anchor-chips a, .prose .x-chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; color: #c8d2e0; transition: border-color .2s, color .2s; }
.anchor-chips a:hover, .prose .x-chip:hover, .prose .x-chip.x-on { border-color: rgba(77, 141, 255, .55); color: #fff; }
.wrap.narrow.left, .fine.left { text-align: left; }
.fine.left { margin-left: 0; max-width: none; }
.fine a { color: var(--muted); }

/* live data pages */
.data { padding: 46px 0; scroll-margin-top: 70px; }
.data-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.data-head h2 { font-size: 26px; text-align: left; }
.data-head span, .small-note { color: var(--dim); font-size: 13px; }
.small-note { margin-top: 12px; }
.small-note a { color: var(--accent); }
.block-title { margin: 30px 0 12px; font-size: 14px; color: var(--muted); font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { padding: 18px; }
.tile span { display: block; font-size: 13px; color: var(--muted); }
.tile b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.tile small { color: var(--dim); font-size: 12.5px; }
.tiles + .tblwrap, .tiles + .card { margin-top: 12px; }
.nodes-card { display: grid; gap: 12px; }
.nodes-card b { font-size: 18px; font-weight: 600; display: block; }
.nodes-card small { color: var(--muted); font-size: 13.5px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.card.flush { padding: 0; }
.tblwrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 500; color: var(--dim); padding: 12px 16px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 16px; color: #c8d2e0; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.tbl tr:last-child td { border-bottom: 0; }
.kv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kv h3 { margin-bottom: 12px; }
.kv dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { font-variant-numeric: tabular-nums; text-align: right; }
.method { margin-top: 30px; display: grid; gap: 10px; }
.method p { font-size: 13px; color: var(--dim); }
.method b { color: var(--muted); font-weight: 500; }
.list { padding: 4px 22px; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.list-row:last-child { border-bottom: 0; }
.list-row b { display: block; font-weight: 500; }
.list-row small { color: var(--dim); font-size: 13px; }
.state { font-size: 13px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.state.ok { color: #3ddc97; border-color: rgba(61, 220, 151, .35); }
.state.warn { color: #ffb547; border-color: rgba(255, 181, 71, .4); }
.state.bad { color: #ff7a6b; border-color: rgba(255, 122, 107, .4); }
.state.idle { color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 60px; }
.bars i { flex: 1; background: rgba(255, 255, 255, .1); border-radius: 2px; min-height: 3px; }
.bars i.hit { background: #ff7a6b; }
.bars-axis { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--dim) !important; }

/* captured pages (docs, API, download, legal): classes carry an x- prefix */
.prose { max-width: 1080px; padding-bottom: 80px; }
.prose section { padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.prose [id] { scroll-margin-top: 90px; }
.prose .x-hero { border-top: 0; padding: 170px 0 50px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.prose h1 { font-size: clamp(36px, 5.6vw, 64px); }
.prose .x-lede { color: var(--muted); max-width: 640px; font-size: 16.5px; }
.prose .x-chips, .prose .x-dl-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.prose .x-eyebrow { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.prose .x-sec-head { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 36px; align-items: start; }
.prose .x-sec-head > .x-eyebrow, .prose .x-tagnav { position: sticky; top: 90px; }
.prose .x-stack { display: grid; gap: 18px; min-width: 0; }
.prose .x-stack.x-sm { gap: 8px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); text-align: left; line-height: 1.25; letter-spacing: -.02em; }
.prose h3 { font-size: 17px; margin-top: 10px; }
.prose .x-muted, .prose .x-dim { color: var(--muted); }
.prose .x-small { font-size: 13.5px; }
.prose p, .prose li { color: #b4bdcb; font-size: 15px; }
.prose p a, .prose li a, .prose td a { color: var(--accent); }
.prose b { color: #fff; font-weight: 600; }
.prose ul:not(.x-plain) { display: grid; gap: 10px; }
.prose ul:not(.x-plain) > li { position: relative; padding-left: 16px; }
.prose ul:not(.x-plain) > li::before { content: ""; position: absolute; left: 0; top: .68em; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.prose code { font-size: .86em; background: rgba(255, 255, 255, .06); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.prose pre { margin: 0; padding: 16px 18px; background: #05070a; border: 1px solid var(--line); border-radius: 12px; font: 400 13px/1.75 var(--mono); color: #dbe3ee; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose pre .x-c { color: var(--dim); }
.prose .x-tabset { display: grid; gap: 10px; }
.prose .x-tabpane::before { content: attr(data-tab); display: block; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.prose .x-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.prose .x-bigrow, .prose .x-notice, .prose .x-dl-card, .prose .x-ep, .prose .x-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.prose .x-bigrow { display: grid; gap: 6px; align-content: start; }
.prose .x-display.x-d-l { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.prose .x-display.x-d-s { font-size: 17px; font-weight: 600; margin: 0; }
.prose .x-desc { font-size: 13.5px; }
.prose .x-notice { border-left: 2px solid var(--accent); color: #b4bdcb; font-size: 14.5px; }
.prose .x-clause { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding-top: 14px; }
.prose .x-clause > .x-eyebrow { font-size: 14px; color: var(--accent); padding-top: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.prose .x-tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose th { text-align: left; font-weight: 500; color: var(--dim); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose td { padding: 9px 14px; color: #c8d2e0; border-bottom: 1px solid rgba(255, 255, 255, .05); vertical-align: top; }
.prose td b, .prose td code { display: block; }
.prose .x-schema td { padding: 8px 10px 8px 0; }
.prose .x-schema td code { display: inline; }
.prose .x-req { margin-left: 8px; font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.prose .x-mono { font-family: var(--mono); font-size: .9em; }
.prose .x-faq { display: grid; gap: 10px; }
.prose details p { padding-top: 0; }
/* roadmap */
.prose .x-roadmap { display: grid; gap: 30px; }
.prose .x-roadmap-items { display: grid; gap: 10px; margin-top: 14px; }
.prose .x-roadmap-item { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: start; }
.prose .x-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); width: max-content; }
.prose .x-done .x-pill, .prose .x-dl-meta .x-pill:not(.x-off) { color: #3ddc97; border-color: rgba(61, 220, 151, .35); }
.prose .x-next .x-pill { color: var(--accent); border-color: rgba(77, 141, 255, .45); }
.prose .x-roadmap-text b, .prose .x-roadmap-text .x-muted { display: block; }
.prose .x-roadmap-text .x-muted { font-size: 14px; }
/* API reference */
.prose .x-toc { display: grid; gap: 4px; font-size: 13px; }
.prose .x-toc a { display: flex; gap: 8px; align-items: baseline; color: var(--muted); overflow-wrap: anywhere; }
.prose .x-toc a:hover { color: #fff; }
.prose .x-method { font: 500 11px var(--mono); padding: 2px 6px; border-radius: 5px; background: rgba(77, 141, 255, .15); color: #8db5ff; }
.prose .x-method.x-get { background: rgba(61, 220, 151, .13); color: #3ddc97; }
.prose .x-method.x-delete { background: rgba(255, 122, 107, .14); color: #ff7a6b; }
.prose .x-method.x-patch { background: rgba(255, 181, 71, .14); color: #ffb547; }
.prose .x-eps { display: grid; gap: 14px; }
.prose .x-ep { padding: 0; }
.prose .x-ep-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.prose .x-ep-sig { display: flex; gap: 10px; align-items: center; min-width: 0; }
.prose .x-ep-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 18px; }
.prose .x-ep-text, .prose .x-ep-code { align-content: start; }
.prose .x-md { display: grid; gap: 10px; }
.prose .x-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.prose .x-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prose .x-step { display: grid; gap: 6px; align-content: start; }
/* download */
.prose .x-nodesteps { display: grid; gap: 12px; }
.prose .x-nodesteps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.prose .x-n { font: 500 13px var(--mono); color: var(--accent); padding-top: 2px; }
.prose .x-dl-card { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.prose .x-dl-card-main, .prose .x-dl-sha { display: grid; gap: 8px; align-content: start; min-width: 0; }
.prose .x-dl-hash { overflow-wrap: anywhere; }
.prose .x-btn { display: inline-block; padding: 9px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; color: #fff; }
.prose .x-btn.x-primary { background: var(--accent); border-color: var(--accent); color: #00122b; font-weight: 600; }

.prose .x-tabset > *, .prose .x-stack > *, .prose .x-ep-body > *, .prose .x-sec-head > *, .data .wrap > *, .kv-grid > *, .tiles > * { min-width: 0; }
html { overflow-x: clip; }
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .kv-grid { grid-template-columns: 1fr; }
  .prose .x-ep-body, .prose .x-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .page-hero, .prose .x-hero { padding-top: 120px; }
  .prose .x-sec-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .prose .x-sec-head > .x-eyebrow, .prose .x-tagnav { position: static; }
}

/* pre-launch notice and contract address */
.prelaunch-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; margin: 0; padding: 9px 20px; text-align: center; font-size: 13px; color: #c8d2e0; background: rgba(4, 8, 16, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(77, 141, 255, .3); }
.prelaunch-bar b { color: var(--accent); font-weight: 600; }
body.prelaunch .footer { padding-bottom: 70px; }
.ca { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ca code { background: rgba(255, 255, 255, .06); padding: 4px 8px; border-radius: 6px; overflow-wrap: anywhere; }
.ask input:disabled { cursor: not-allowed; }
.foot-min { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-min p { color: var(--muted); font-size: 13.5px; max-width: 520px; }

/* film mode (index.html?film): the page plays itself for a screen recording */
html.film { scroll-behavior: auto; cursor: none; }
html.film * { cursor: none !important; }
html.film .prelaunch-bar { display: none; }
html.film ::-webkit-scrollbar { display: none; }
.film-caption { position: fixed; left: 0; right: 0; bottom: 7vh; z-index: 40; text-align: center; padding: 0 24px; font-size: clamp(22px, 2.5vw, 38px); font-weight: 600; letter-spacing: -.015em; color: #fff; text-shadow: 0 2px 22px #000, 0 0 60px #000, 0 0 4px #000; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.film-caption.on { opacity: 1; transform: none; }
.film-cursor { position: fixed; left: 0; top: 0; z-index: 50; width: 22px; height: 22px; pointer-events: none; transition: transform 1s cubic-bezier(.3, .7, .2, 1); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.film-outro { position: fixed; inset: 0; z-index: 60; background: radial-gradient(60% 60% at 50% 45%, #0b1a3d 0%, #020409 70%, #000 100%); display: grid; place-content: center; justify-items: center; gap: 14px; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.film-outro.on { opacity: 1; }
.film-outro > * { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.film-outro.s1 svg, .film-outro.s1 b, .film-outro.s2 i, .film-outro.s3 small { opacity: 1; transform: none; }
.film-outro svg { width: 150px; height: 150px; color: #fff; filter: drop-shadow(0 0 30px rgba(77, 141, 255, .7)); }
.film-outro b { font-size: 76px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.film-outro i { font-style: normal; font-size: 26px; color: var(--accent); }
.film-outro small { font-size: 19px; color: var(--muted); margin-top: 8px; }
html.film .steps li.hl .num { border-color: var(--accent); box-shadow: 0 0 24px rgba(77, 141, 255, .6); }
html.film .steps li.hl h3 { color: var(--accent); }
html.film .role.hl, html.film .tier.hl { border-color: rgba(77, 141, 255, .7); }
html.film .steps li, html.film .role, html.film .tier, html.film .num { transition: border-color .4s, box-shadow .4s, color .4s; }
.film-scrim { position: fixed; left: 0; right: 0; bottom: 0; height: 26vh; z-index: 39; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .75) 45%, transparent 100%); }
