
:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --bg-soft: #11151a;
  --surface: #151a20;
  --surface-2: #1b2128;
  --text: #edf2f7;
  --muted: #9aa6b2;
  --line: #29313a;
  --accent: #69e6a5;
  --accent-2: #8bb8ff;
  --danger: #ff8b8b;
  --code: #0a0d10;
  --shadow: 0 20px 60px rgba(0,0,0,.32);
  --radius: 18px;
  --max: 1180px;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f6f4;
  --bg-soft: #ecefeb;
  --surface: #ffffff;
  --surface-2: #f0f2ef;
  --text: #18201b;
  --muted: #5f6b64;
  --line: #d7ddd8;
  --accent: #16844d;
  --accent-2: #326bb3;
  --danger: #b13b3b;
  --code: #111612;
  --shadow: 0 18px 50px rgba(24,32,27,.10);
}
* { 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;
  background: radial-gradient(circle at 75% 0%, rgba(105,230,165,.08), transparent 30rem), var(--bg);
  color: var(--text); line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
header {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav { height: 72px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:11px; font-weight:800; letter-spacing:-.03em; }
.logo {
  width:34px; height:34px; border:1px solid var(--line); border-radius:10px; display:grid; place-items:center;
  color:var(--accent); background:var(--surface); font-family:ui-monospace, monospace; font-size:14px;
}
.navlinks { display:flex; align-items:center; gap:22px; color:var(--muted); font-size:.95rem; }
.navlinks a:hover { color:var(--text); }
.actions { display:flex; align-items:center; gap:8px; }
.btn, .iconbtn {
  border:1px solid var(--line); background:var(--surface); color:var(--text); border-radius:10px; padding:9px 13px;
  cursor:pointer; font:inherit;
}
.btn.primary { background:var(--accent); color:#07120c; border-color:var(--accent); font-weight:750; }
.btn:hover, .iconbtn:hover { transform:translateY(-1px); border-color:var(--accent); }
.hero { padding: 105px 0 90px; }
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:70px; align-items:center; }
.eyebrow { color:var(--accent); font-family:ui-monospace, monospace; font-size:.83rem; text-transform:uppercase; letter-spacing:.16em; }
h1 { font-size:clamp(3.2rem, 8vw, 6.7rem); line-height:.92; letter-spacing:-.07em; margin:16px 0 25px; }
h2 { font-size:clamp(2rem, 4vw, 3.1rem); line-height:1.05; letter-spacing:-.045em; margin:0 0 16px; }
h3 { margin:0 0 8px; font-size:1.15rem; }
.lead { color:var(--muted); font-size:1.2rem; max-width:650px; }
.cta { display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.codewindow {
  background:var(--code); border:1px solid var(--line); border-radius:20px; overflow:hidden; box-shadow:var(--shadow);
  transform:rotate(1deg);
}
.codebar { padding:12px 16px; display:flex; gap:7px; border-bottom:1px solid #20262d; }
.dot { width:8px; height:8px; border-radius:50%; background:#667; }
pre { margin:0; padding:25px; overflow:auto; color:#d9e6dc; font: 14px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.kw { color:#8bb8ff; } .fn { color:#69e6a5; } .str { color:#e9c46a; } .comment { color:#68757f; }
section { padding:90px 0; border-top:1px solid var(--line); }
.sectionhead { display:flex; justify-content:space-between; gap:30px; align-items:end; margin-bottom:32px; }
.sectionhead p { max-width:600px; color:var(--muted); margin:0; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card {
  background:linear-gradient(145deg, var(--surface), var(--bg-soft)); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; transition:.18s ease;
}
.card:hover { transform:translateY(-3px); border-color:color-mix(in srgb, var(--accent) 50%, var(--line)); }
.card p { color:var(--muted); margin-bottom:0; }
.manifesto { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.quote { padding:38px; border:1px solid var(--line); background:var(--surface); border-radius:var(--radius); }
.quote strong { display:block; font-size:1.65rem; line-height:1.2; letter-spacing:-.03em; }
.quote span { color:var(--muted); }
.pipeline { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:30px; }
.step { padding:12px 15px; border:1px solid var(--line); background:var(--surface); border-radius:10px; font:13px ui-monospace, monospace; }
.arrow { color:var(--accent); }
.docs { display:grid; grid-template-columns:260px 1fr; gap:45px; padding:55px 0 100px; }
.sidebar { position:sticky; top:100px; height:max-content; }
.sidebar a { display:block; padding:7px 0; color:var(--muted); }
.sidebar a:hover { color:var(--text); }
article { max-width:800px; }
article p, article li { color:var(--muted); }
article h1 { font-size:clamp(2.5rem,5vw,4.5rem); }
article h2 { margin-top:45px; font-size:2rem; }
.notice { padding:18px 20px; border-left:3px solid var(--accent); background:var(--surface); margin:24px 0; }
footer { border-top:1px solid var(--line); padding:35px 0; color:var(--muted); }
.footergrid { display:flex; justify-content:space-between; gap:20px; }
.tag { display:inline-block; font:12px ui-monospace,monospace; color:var(--accent); border:1px solid var(--line); padding:4px 8px; border-radius:99px; margin-bottom:15px; }
.mobile { display:none; }
@media (max-width: 850px) {
  .navlinks { display:none; } .mobile { display:block; }
  .hero-grid, .manifesto, .docs { grid-template-columns:1fr; }
  .hero { padding:70px 0; } .codewindow { transform:none; }
  .grid-3 { grid-template-columns:1fr; } .sidebar { position:static; }
  .sectionhead, .footergrid { align-items:flex-start; flex-direction:column; }
}
