:root {
  color-scheme: dark;
  --bg: #090b0a;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.065);
  --text: #f3f5f1;
  --muted: #929a94;
  --mint: #8be0c4;
  --mint-strong: #adf2dc;
  --violet: #9b83ff;
  --orange: #ff9e67;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 52px 52px;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.ambient { position: fixed; z-index: -2; border-radius: 50%; filter: blur(130px); opacity: .2; pointer-events: none; }
.ambient-a { width: 520px; height: 520px; top: -260px; left: 12%; background: #5f46db; }
.ambient-b { width: 440px; height: 440px; top: 420px; right: -220px; background: #3cb997; opacity: .12; }

.nav { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; letter-spacing: -.01em; }
.brand b { color: var(--muted); font-weight: 500; }
.brand-mark { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(139, 224, 196, .5); border-radius: 50%; background: rgba(139, 224, 196, .08); }
.brand-mark::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(139, 224, 196, .28); border-radius: 50%; }
.brand-mark span { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.status { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px currentColor; }
.status.online .status-dot { background: var(--mint); }

.hero { padding: 116px 0 68px; text-align: center; }
.eyebrow { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; }
.eyebrow span, .api-pill { border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: #b0b7b1; padding: 7px 11px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(54px, 8.4vw, 112px); line-height: .88; letter-spacing: -.07em; font-weight: 510; text-wrap: balance; }
.hero-copy { width: min(620px, 100%); margin: 34px auto 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; letter-spacing: -.018em; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 560; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); }
.button-primary { background: var(--text); color: #101210; border-color: var(--text); }
.button-secondary { background: rgba(255,255,255,.04); color: #c8cec9; }

.command { position: relative; width: min(780px, 100%); margin: 82px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: rgba(15, 18, 16, .76); box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.06); backdrop-filter: blur(24px); text-align: left; }
.command::before { content: ""; position: absolute; width: 300px; height: 160px; top: -120px; left: 24%; border-radius: 50%; background: rgba(139,224,196,.16); filter: blur(50px); }
.command-top { display: flex; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 11px; }
.command-key { border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; background: rgba(255,255,255,.04); }
.command > p { margin: 0; min-height: 104px; padding: 30px 25px; color: #e4e8e4; font-size: clamp(15px, 2vw, 18px); }
.prompt-mark { color: var(--mint); margin-right: 10px; }
.command-result { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 12px; margin: 0 11px 11px; padding: 13px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(255,255,255,.035); }
.result-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; background: rgba(139,224,196,.11); color: var(--mint); font-size: 12px; }
.command-result b { display: block; font-size: 12px; font-weight: 570; }
.command-result small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.result-time { color: var(--muted); font-size: 10px; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-soft); }
.metrics article { padding: 28px 20px; text-align: center; }
.metrics article + article { border-left: 1px solid var(--line-soft); }
.metrics strong { display: block; font-size: 24px; font-weight: 510; letter-spacing: -.04em; }
.metrics span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.section { padding: 140px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 42px; }
.section-head.compact { align-items: center; }
.section-head h2, .governance h2 { margin: 9px 0 0; font-size: clamp(38px, 5vw, 62px); line-height: .98; letter-spacing: -.055em; font-weight: 510; }
.section-head > p { width: min(390px, 100%); margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.kicker { color: var(--mint); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.capability { position: relative; min-height: 330px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 17px; background: var(--panel); }
.span-2 { grid-column: span 2; }
.card-number { position: absolute; top: 17px; left: 18px; z-index: 2; color: #69706b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.card-copy { position: absolute; inset: auto 20px 20px; z-index: 2; }
.card-copy h3 { margin: 0; font-size: 15px; font-weight: 570; letter-spacing: -.02em; }
.card-copy p { max-width: 440px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.mini-search { position: absolute; top: 75px; left: 9%; right: 9%; display: flex; align-items: center; gap: 10px; height: 47px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5,7,6,.65); color: #b7beb8; font-size: 11px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.mini-search::after { content: ""; position: absolute; inset: -70px 20% auto; height: 110px; background: rgba(139,224,196,.16); filter: blur(45px); }
.mini-search kbd { margin-left: auto; border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; color: #6f7771; background: rgba(255,255,255,.035); font-family: inherit; font-size: 8px; }
.search-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.shader { position: absolute; inset: 0; background: radial-gradient(circle at 40% 35%, rgba(139,224,196,.55), transparent 25%), radial-gradient(circle at 67% 42%, rgba(155,131,255,.62), transparent 28%), #0d0f0e; filter: saturate(.85); }
.shader::after { content: ""; position: absolute; inset: 0; background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0 12px, rgba(255,255,255,.035) 13px 14px); mix-blend-mode: overlay; }
.shader span { position: absolute; border-radius: 50%; filter: blur(18px); }
.shader span:nth-child(1) { width: 120px; height: 120px; top: 52px; left: 30px; background: rgba(255,158,103,.35); }
.shader span:nth-child(2) { width: 80px; height: 80px; top: 90px; right: 22px; background: rgba(139,224,196,.45); }
.shader span:nth-child(3) { width: 150px; height: 60px; top: 35px; right: 20%; background: rgba(155,131,255,.42); transform: rotate(-25deg); }
.shader-card .card-copy { padding: 35px 0 0; background: linear-gradient(transparent, rgba(9,11,10,.92) 45%); inset: auto 0 0; }
.shader-card .card-copy h3, .shader-card .card-copy p { margin-inline: 20px; }
.shader-card .card-copy p { margin-bottom: 20px; }
.orbit { position: absolute; inset: 35px 0 100px; display: grid; place-items: center; }
.orbit-ring { position: absolute; width: 150px; height: 150px; border: 1px solid rgba(139,224,196,.18); border-radius: 50%; box-shadow: inset 0 0 50px rgba(139,224,196,.04); }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; }
.orbit-ring::after { inset: 48px; }
.orbit-core { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d2fff0, var(--mint) 35%, #23816c 80%); box-shadow: 0 0 50px rgba(139,224,196,.38); }
.orbit-particle { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: orbit 7s linear infinite; }
.code-lines { position: absolute; top: 65px; left: 9%; right: 9%; display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,6,5,.65); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.code-lines span { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); color: #9ea59f; }
.code-lines span:last-child { border: 0; }
.code-lines i { color: var(--mint); font-style: normal; }
.code-lines b { color: #c1b4ff; font-weight: 500; }
.code-lines .code-success { color: #73bca5; }

.component-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.component-item { display: grid; grid-template-columns: auto 1fr; gap: 15px; min-height: 150px; padding: 22px 18px; border-bottom: 1px solid var(--line-soft); }
.component-item:not(:nth-child(3n+1)) { border-left: 1px solid var(--line-soft); }
.component-glyph { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.component-item h3 { margin: 2px 0 0; font-size: 13px; font-weight: 570; }
.component-item p { margin: 8px 0 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px 6px; color: #717973; font-size: 8px; }
.component-skeleton { height: 150px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.025) 45%, transparent 70%); background-size: 200% 100%; animation: shimmer 1.8s linear infinite; }

.governance { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; padding-bottom: 140px; }
.governance-copy > p { max-width: 410px; margin: 25px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.policy-stack { border-top: 1px solid var(--line); }
.policy-stack > div { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; min-height: 77px; border-bottom: 1px solid var(--line-soft); }
.policy-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.policy-icon.ready { background: rgba(139,224,196,.1); color: var(--mint); }
.policy-icon.byol { background: rgba(155,131,255,.1); color: #b6a7ff; }
.policy-icon.upstream { background: rgba(255,158,103,.1); color: #ffb389; }
.policy-icon.tool { background: rgba(255,255,255,.06); color: #a0a6a1; }
.policy-stack p { margin: 0; }
.policy-stack b { display: block; font-size: 11px; font-weight: 560; }
.policy-stack small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.policy-stack em { color: #717973; font-size: 8px; font-style: normal; text-transform: uppercase; letter-spacing: .08em; }

.footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; min-height: 120px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 10px; }
.footer p { text-align: center; }
.footer > a { transition: color .2s ease; }
.footer > a:hover { color: var(--mint); }

@keyframes orbit { from { transform: rotate(0deg) translateX(75px) rotate(0deg); } to { transform: rotate(360deg) translateX(75px) rotate(-360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .component-list { grid-template-columns: repeat(2, 1fr); }
  .component-item:not(:nth-child(3n+1)) { border-left: 0; }
  .component-item:nth-child(even) { border-left: 1px solid var(--line-soft); }
  .governance { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav { height: 72px; }
  .status { font-size: 0; }
  .hero { padding-top: 90px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .metrics article:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .section { padding-top: 100px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .capability-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .component-list { grid-template-columns: 1fr; }
  .component-item:nth-child(even) { border-left: 0; }
  .governance { padding-bottom: 100px; }
  .footer { grid-template-columns: 1fr; padding: 30px 0; text-align: center; }
  .footer .brand { justify-content: center; }
  .footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
