:root {
  --bg: #08090a;
  --bg2: #0e0f11;
  --bg3: #141518;
  --ink: #f4f4f5;
  --soft: #a1a1aa;
  --dim: #71717a;
  --line: rgba(255,255,255,.08);
  --line2: rgba(255,255,255,.14);
  --gold: #e3b341;
  --gold2: #f3d27a;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', monospace;
  --gut: clamp(20px, 5vw, 72px);
  --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
p a, dd a, li a, td a, .sub a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(227,179,65,.6); text-underline-offset: 3px; }
p a:hover, li a:hover, td a:hover { text-decoration-color: var(--gold); }
:target { scroll-margin-top: 96px; }
.gold { background: linear-gradient(100deg, var(--gold2), var(--gold) 55%, #c8902a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grain { display: none; }

/* header */
.bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 36px;
  padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2)); height: 68px;
  background: rgba(8,9,10,.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .02em; white-space: nowrap; font-size: 15px; }
.sq { width: 18px; height: 18px; flex: none; background: linear-gradient(135deg, var(--gold2), var(--gold) 60%, #b07d22); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--soft); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.bar-link { margin-left: auto; text-decoration: none; padding: 8px 16px; border: 1px solid var(--line2); border-radius: 999px; font-weight: 500; transition: border-color .15s, background .15s; }
.bar-link:hover { border-color: var(--gold); background: rgba(227,179,65,.06); }

main { padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2)); }

/* type */
.eyebrow, .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
h1 { font-weight: 600; font-size: clamp(42px, 6vw, 80px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 8px; }
.sub, .lede { color: var(--soft); font-size: 17px; max-width: 58ch; }

/* buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; text-decoration: none;
  background: var(--ink); color: #0a0a0b; font-weight: 600; font-size: 15px; transition: transform .15s, background .15s;
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line2); }
.btn.ghost:hover { border-color: var(--gold); background: rgba(227,179,65,.06); }

/* hero */
.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
}
.hero::before {
  content: ''; position: absolute; inset: -68px calc(-1 * max(var(--gut), calc((100vw - var(--max)) / 2))) 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(227,179,65,.10), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%);
  opacity: .9;
}
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255,255,255,.03); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--soft); margin-bottom: 28px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.15); }
.hero .lede { margin-top: 26px; }
.hero-visual { position: relative; }
#globe { display: block; width: 100%; max-width: 560px; aspect-ratio: 1; margin-left: auto; }
.globe-legend { list-style: none; display: flex; gap: 20px; justify-content: flex-end; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.globe-legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.lg.hq { background: var(--gold); }

/* metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 4px; background: var(--bg2); }
.metrics div { padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 6px; }
.metrics div + div { border-left: 1px solid var(--line); }
.m-n { font-weight: 600; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -.04em; }
.m-n small { font-size: .5em; letter-spacing: -.01em; color: var(--soft); margin-left: 2px; }
.m-t { color: var(--soft); font-size: 14px; }

/* blocks */
.block { padding: clamp(80px, 10vw, 136px) 0 0; }
.block-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.block-head .sub { margin-top: 18px; }

/* capabilities */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.caps article { padding: 32px 28px 8px 0; }
.caps article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.caps svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.caps p { color: var(--soft); font-size: 15px; }

/* platform */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split .block-head { margin-bottom: 0; }
.checks { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--soft); font-size: 15px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(227,179,65,.14); }
.checks li::after { content: ''; position: absolute; left: 5px; top: 8px; width: 6px; height: 3px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.term { background: linear-gradient(180deg, #0f1013, #0a0b0d); border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(227,179,65,.05), 0 0 80px -20px rgba(227,179,65,.18); min-width: 0; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2b30; }
.term-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.term pre { margin: 0; padding: 24px 24px 26px; font-family: var(--mono); font-size: clamp(11.5px, 1.05vw, 13.5px); line-height: 1.8; color: #52525b; overflow-x: auto; }
.c-k { color: var(--ink); }
.c-v { color: var(--gold); }
.c-d { color: var(--dim); }
.c-ok { color: #4ade80; }
.c-okt { color: #86efac; }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--gold); margin-left: 8px; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 0 0; border-top: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .6s; }
.steps li:hover::before { width: 100%; }
.st-n { display: block; font-weight: 600; font-size: 19px; letter-spacing: -.02em; margin-bottom: 10px; }
.st-n::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--gold); letter-spacing: .08em; margin-bottom: 16px; }
.steps p { color: var(--soft); font-size: 14.5px; }

/* markets */
.markets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.mk { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px 28px; background: var(--bg); transition: background .2s; }
.mk:hover { background: var(--bg2); }
.mk-code { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 4px; font-family: var(--mono); font-size: 14px; color: var(--gold); }
.mk h3 { margin-bottom: 2px; }
.mk p { color: var(--soft); font-size: 14px; }
.mk-time { font-family: var(--mono); font-size: 14px; color: var(--soft); font-variant-numeric: tabular-nums; }

/* commitments */
.commit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.commit div { background: var(--bg); padding: 32px 30px; }
.commit p { color: var(--soft); font-size: 15px; }

/* faq */
.faq-split { align-items: start; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--soft); border-bottom: 1.5px solid var(--soft); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.qa details[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--gold); }
.qa details p { color: var(--soft); padding: 0 0 24px; max-width: 64ch; font-size: 15px; }

/* cta band */
.cta-band {
  margin-top: clamp(80px, 10vw, 136px); padding: clamp(40px, 5vw, 64px); border: 1px solid var(--line2); border-radius: 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: radial-gradient(70% 140% at 100% 0%, rgba(227,179,65,.16), transparent 60%), var(--bg2);
}
.cta-band h2 { font-size: clamp(26px, 3vw, 40px); }

/* company */
.company { padding-bottom: clamp(56px, 7vw, 96px); }
.company .block-head { margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.facts dd { font-weight: 500; font-size: 15px; }

/* footer */
.foot { padding: 64px max(var(--gut), calc((100vw - var(--max)) / 2)) 32px; font-size: 14px; border-top: 1px solid var(--line); background: var(--bg2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.foot-co p { color: var(--soft); margin-top: 16px; max-width: 34ch; }
.foot .dim { color: var(--dim); font-size: 13px; }
.foot h3 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-grid > div:not(.foot-co) a { display: block; text-decoration: none; color: var(--soft); padding: 4px 0; transition: color .15s; }
.foot-grid a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* legal + support */
.legal { display: grid; grid-template-columns: 230px 1fr; gap: clamp(36px, 6vw, 104px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(72px, 9vw, 120px); }
.legal-side nav { position: sticky; top: 100px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.legal-side a { text-decoration: none; color: var(--dim); padding: 7px 0 7px 16px; font-size: 14px; margin-left: -1px; border-left: 1px solid transparent; transition: color .15s; }
.legal-side a:hover { color: var(--ink); }
.legal-side a[aria-current] { color: var(--ink); border-left-color: var(--gold); }
.doc { max-width: 74ch; }
.doc h1 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 16px; }
.doc .updated { color: var(--dim); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.02em; margin: 52px 0 14px; scroll-margin-top: 96px; }
.doc h3 { margin: 28px 0 8px; }
.doc p, .doc li { color: var(--soft); margin-bottom: 12px; font-size: 16px; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 12px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .summary { border: 1px solid var(--line2); border-radius: 6px; padding: 22px 26px; margin-bottom: 12px; background: radial-gradient(60% 120% at 0% 0%, rgba(227,179,65,.08), transparent 60%), var(--bg2); }
.doc .summary ul { margin: 0; }
.doc .summary li:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.doc th { color: var(--dim); font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.toc { border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; margin-bottom: 12px; }
.toc summary { cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.toc ol { margin: 14px 0 0; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 5px; font-size: 14px; break-inside: avoid; }
.toc a { text-decoration: none; color: var(--soft); }
.toc a:hover { color: var(--gold); }
.legal-index { list-style: none; padding: 0 !important; border-top: 1px solid var(--line); }
.legal-index li { border-bottom: 1px solid var(--line); margin: 0 !important; }
.legal-index a { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 20px 4px; text-decoration: none; transition: background .15s; }
.legal-index a:hover { background: var(--bg2); }
.legal-index a span:first-child { font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.legal-index a span:last-child { color: var(--gold); }
.legal-index small { display: block; grid-column: 1 / -1; color: var(--dim); font-size: 14px; margin-top: -8px; }

@media (max-width: 1020px) {
  .nav { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  #globe { margin: 0 auto; max-width: 480px; }
  .globe-legend { justify-content: center; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics div:nth-child(3) { border-left: 0; }
  .metrics div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .caps article:nth-child(3) { padding-left: 0; border-left: 0; }
  .caps article:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 24px 0; display: grid; grid-template-columns: 160px 1fr; gap: 20px; }
  .commit { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal-side { display: none; }
}
@media (max-width: 640px) {
  .bar { gap: 16px; height: 60px; }
  .metrics div { padding: 22px 18px; }
  .caps { grid-template-columns: 1fr; }
  .caps article, .caps article + article { padding: 26px 0 4px; border-left: 0; margin-top: 0; }
  .caps article + article { border-top: 1px solid var(--line); }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
  .markets, .commit { grid-template-columns: 1fr; }
  .mk { padding: 20px; gap: 16px; }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .cta-band { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } html { scroll-behavior: auto; } }
