:root {
  color-scheme: dark;
  --bg: #070b15;
  --surface: #0d1425;
  --surface-2: #121c32;
  --text: #f4f7ff;
  --muted: #aeb8cf;
  --line: rgba(193, 211, 255, .14);
  --brand: #82f0cd;
  --brand-2: #8fa8ff;
  --ok: #76e6b6;
  --warn: #f4c978;
  --max: 1160px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(87, 191, 164, .15), transparent 65%),
    radial-gradient(700px 460px at 10% 20%, rgba(96, 120, 222, .11), transparent 65%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
section[id] { scroll-margin-top: 96px; }
img, svg { max-width: 100%; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--brand); color: #07100d; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); background: rgba(7, 11, 21, .76); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .92rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 12px; padding: 8px 12px; font: inherit; }
main { overflow: clip; }
.hero { padding: 108px 0 86px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 76px; align-items: center; }
.eyebrow, .kicker { color: var(--brand); font-size: .77rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin: 15px 0 18px; font-size: clamp(3.4rem, 8.2vw, 7rem); line-height: .91; letter-spacing: -.065em; }
.gradient-text { color: transparent; background: linear-gradient(105deg, var(--brand), #d2fbef 45%, var(--brand-2)); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 660px; color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; font-weight: 720; background: rgba(255,255,255,.035); }
.button.primary { color: #07110e; background: var(--brand); border-color: var(--brand); }
.button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.signal-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(150deg, rgba(18, 28, 50, .96), rgba(10, 16, 31, .94)); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.signal-card::before { content: ""; position: absolute; inset: -50% 10% auto; height: 190px; background: radial-gradient(circle, rgba(130,240,205,.18), transparent 67%); pointer-events: none; }
.signal-top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 30px; color: var(--muted); font-size: .82rem; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px rgba(118,230,182,.1); }
.signal-title { font-size: 1.55rem; font-weight: 740; line-height: 1.2; margin-bottom: 9px; }
.signal-copy { color: var(--muted); font-size: .95rem; }
.principles { display: grid; gap: 12px; margin-top: 28px; }
.principle { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; background: rgba(255,255,255,.035); border-radius: 12px; font-size: .9rem; }
.principle span:last-child { color: var(--brand); }
.section { padding: 86px 0; }
.section.compact { padding: 58px 0; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 54px; margin-bottom: 38px; align-items: end; }
.section h2, .page-hero h1 { margin: 8px 0 0; font-size: clamp(2rem, 5vw, 3.7rem); letter-spacing: -.045em; line-height: 1.05; }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 670px; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,20,37,.74); }
.card h3 { margin: 14px 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--brand); background: rgba(130,240,205,.09); border: 1px solid rgba(130,240,205,.16); font-weight: 760; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { padding: 34px; min-height: 330px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(155deg, rgba(20,30,53,.92), rgba(10,16,29,.86)); }
.feature p { color: var(--muted); }
.feature ul { padding-left: 18px; color: var(--muted); }
.feature li { margin: 8px 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .76rem; }
.tag.ok { color: var(--ok); border-color: rgba(118,230,182,.28); }
.tag.warn { color: var(--warn); border-color: rgba(244,201,120,.28); }
.stage { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; padding: 46px; border: 1px solid rgba(130,240,205,.2); border-radius: 30px; background: linear-gradient(135deg, rgba(130,240,205,.08), rgba(143,168,255,.06)); }
.stage blockquote { margin: 0; font-size: clamp(1.55rem, 4vw, 2.55rem); line-height: 1.22; letter-spacing: -.035em; }
.facts { display: grid; gap: 11px; }
.fact { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border: 0; }
.fact dt { color: var(--muted); }
.fact dd { margin: 0; font-weight: 690; }
.callout { padding: 30px; border-left: 3px solid var(--brand); background: rgba(130,240,205,.055); border-radius: 0 18px 18px 0; }
.callout p { margin: 0; color: var(--muted); }
.page-hero { padding: 90px 0 56px; }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.status-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(13,20,37,.74); }
.status-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 20px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.status-row:last-child { border: 0; }
.status-name { font-weight: 700; }
.status-note { color: var(--muted); font-size: .9rem; }
.status-badge { min-width: 110px; padding: 6px 10px; text-align: center; border-radius: 999px; font-size: .78rem; border: 1px solid rgba(118,230,182,.25); color: var(--ok); background: rgba(118,230,182,.07); }
.status-badge.dev { color: var(--warn); border-color: rgba(244,201,120,.25); background: rgba(244,201,120,.07); }
.release { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.release:last-child { border: 0; }
.release dt { color: var(--muted); }
.release dd { margin: 0 0 8px; }
.docs-nav { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin: 24px 0 50px; }
.docs-nav a { padding: 12px; text-align: center; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--muted); font-size: .86rem; }
.prose { max-width: 820px; }
.prose section { scroll-margin-top: 96px; margin-bottom: 54px; }
.prose h2 { font-size: 1.65rem; }
.prose p, .prose li { color: var(--muted); }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; color: #c7f9e9; }
.contact-card { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.contact-card h2 { margin-top: 0; }
.contact-card p { color: var(--muted); margin-bottom: 0; }
.site-footer { padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 17px; }
.footer-links a { text-decoration: none; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  .hero { padding-top: 76px; }
  .hero-grid, .section-head, .stage { grid-template-columns: 1fr; gap: 34px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .docs-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 72px; left: 14px; right: 14px; padding: 18px; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid var(--line); border-radius: 16px; background: #0b1120; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 9px 8px; }
  .hero { padding: 60px 0; }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: clamp(3.05rem, 17vw, 4.7rem); }
  .grid-2, .grid-3, .split { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .feature, .stage { padding: 26px; }
  .contact-card { display: block; padding: 28px; }
  .contact-card .actions { margin-bottom: 0; }
  .status-row { grid-template-columns: 1fr; gap: 12px; }
  .status-badge { justify-self: start; }
  .release { grid-template-columns: 1fr; gap: 7px; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media (prefers-color-scheme: light) {
  :root { color-scheme: light; --bg: #f5f8fb; --surface: #fff; --surface-2: #eef4f8; --text: #0a1424; --muted: #536176; --line: rgba(20,42,70,.14); --brand: #087e68; --brand-2: #4d67c9; --ok: #08795d; --warn: #8a5c00; }
  body { background: radial-gradient(900px 500px at 80% -10%, rgba(8,126,104,.10), transparent 65%), var(--bg); }
  .site-header { background: rgba(245,248,251,.84); }
  .signal-card, .feature { background: linear-gradient(150deg, #fff, #f0f5fa); box-shadow: 0 28px 80px rgba(31,50,70,.1); }
  .nav-links { background: rgba(245,248,251,.98); }
  .button.primary { color: #fff; }
  .card, .status-list { background: rgba(255,255,255,.88); }
  .gradient-text { background-image: linear-gradient(105deg, var(--brand), var(--brand-2)); }
  code { color: #086c59; }
}
