:root {
  color-scheme: dark;
  --bg: #070a0b;
  --panel: #111617;
  --panel-2: #171d1e;
  --text: #f3f7f6;
  --muted: #a4aeac;
  --line: #2b3433;
  --accent: #37e5b0;
  --accent-ink: #03241b;
  --max: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }
body { margin: 0; background: radial-gradient(circle at 50% -10%, #143027 0, var(--bg) 35rem); color: var(--text); line-height: 1.65; }
a { color: var(--accent); text-underline-offset: 3px; }
.shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7,10,11,.82); backdrop-filter: blur(18px); }
.nav { min-height: 64px; display: flex; align-items: center; gap: 18px; }
.brand { margin-right: auto; color: var(--text); text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.nav a:not(.brand) { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--text); }
.hero { padding: 88px 0 54px; text-align: center; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 14px auto 18px; font-size: clamp(38px, 7vw, 72px); line-height: 1.04; letter-spacing: -.055em; }
.lede { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2.2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text); text-decoration: none; font-weight: 700; }
.button.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 36px auto 76px; }
.demo-grid figure { margin: 0; }
.demo-grid figcaption { margin-top: 10px; color: var(--muted); text-align: center; font-size: 14px; }
.interaction-demo { margin: -30px auto 76px; }
.interaction-demo figure { margin: 0; }
.interaction-demo figcaption { margin-top: 10px; color: var(--muted); text-align: center; font-size: 14px; }
.shot { display: block; width: 100%; height: auto; margin: 0; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.48); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 80px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, var(--panel-2), var(--panel)); }
.card h2, .card h3 { margin: 0 0 8px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); }
.document { max-width: 820px; padding: 64px 0 96px; }
.document h1 { margin: 0 0 12px; font-size: clamp(34px, 6vw, 56px); }
.document h2 { margin: 42px 0 10px; font-size: 24px; line-height: 1.25; }
.document h3 { margin: 28px 0 8px; }
.document p, .document li { color: #c5cecc; }
.document .meta, .language-note { color: var(--muted); }
.language-block { margin-top: 58px; padding-top: 48px; border-top: 1px solid var(--line); }
.notice { margin: 24px 0; padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--panel); }
.notice p { margin: 0; }
.footer { padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer .shell { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer span { margin-right: auto; }
code { padding: 2px 6px; border-radius: 6px; background: var(--panel-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-wrap: wrap; gap: 10px 16px; padding: 14px 0; }
  .brand { flex-basis: 100%; }
  .hero { padding-top: 58px; }
  .grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .interaction-demo { margin-top: -36px; }
  .shot { border-radius: 16px; }
  .document { padding-top: 44px; }
}
