:root {
  --bg: #0a0c10;
  --bg-soft: #0f1218;
  --fg: #e9eaee;
  --muted: #888f9b;
  --line: #1c2128;
  --accent: #5b8cff;
  --accent-dim: #2a3a66;
  --maxw: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(10,12,16,0.72);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; color: var(--fg); }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.brand small { display:block; font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; margin-top: -3px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 22px; transition: color .15s; }
nav a:hover { color: var(--fg); }

/* Hero */
.hero { padding: 96px 0 64px; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 20px 0 24px; font-weight: 600;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: 20px; color: #c4c8d0; line-height: 1.55; max-width: 640px; }

/* inline stats row */
.stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { min-width: 120px; }
.stats b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.stats span { font-size: 13px; color: var(--muted); }

/* Section */
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.section-intro { color: var(--muted); margin-bottom: 32px; max-width: 600px; }

/* Pillars / phases */
.row { display: grid; gap: 2px; }
.item { padding: 22px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: none; }
.item h3 { font-size: 17px; font-weight: 600; margin-bottom: 5px; display: flex; align-items: baseline; gap: 12px; }
.item h3 .k { color: var(--accent); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; }
.item p { color: var(--muted); font-size: 15.5px; }

/* Phase badge */
.phase-tag { font-size: 12px; color: var(--accent); border: 1px solid var(--accent-dim); border-radius: 100px; padding: 2px 10px; margin-left: auto; white-space: nowrap; }

/* Pull quote */
.quote { font-family: var(--serif); font-size: 24px; line-height: 1.45; color: var(--fg); font-style: italic; padding: 8px 0; }
.quote span { color: var(--accent); font-style: normal; }

/* CTA */
.cta { display:inline-block; margin-top: 14px; color: var(--accent); text-decoration: none; font-size: 15px; font-weight: 500; }
.cta:hover { text-decoration: underline; }
.btn { display:inline-block; background: var(--accent); color: #061025; padding: 11px 22px; border-radius: 8px; text-decoration:none; font-weight:600; font-size:15px; transition: opacity .15s; }
.btn:hover { opacity: .9; }

/* Manifesto page */
.doc { padding: 72px 0 40px; }
.doc h1 { font-family: var(--serif); font-size: clamp(30px,5vw,44px); letter-spacing:-0.02em; line-height:1.1; margin-bottom: 8px; }
.doc .sub { color: var(--muted); font-size: 18px; margin-bottom: 40px; }
.doc h2 { font-family: var(--serif); font-size: 22px; margin: 40px 0 10px; }
.doc p { margin-bottom: 18px; color: #cfd3da; }
.doc strong { color: var(--fg); }
.doc .lang { margin-bottom: 28px; font-size: 14px; }
.doc .lang a { color: var(--muted); text-decoration: none; }
.doc .lang a.on { color: var(--accent); }

footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--muted); font-size: 14px; }
footer .wrap { display:flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (max-width: 560px) {
  nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 40px; }
}
