:root {
  --ink: #0d0f0e;
  --paper: #f7f7f4;
  --paper-2: #f1f1ed;
  --accent: #14e0a3;
  --body: #35352f;
  --muted: #6c6c66;
  --muted-dark: #b6b6ae;
  --rule-light: #d8d8d1;
  --rule-dark: #2a2c2a;
  --input-border: #c9c9c2;
  --placeholder: #9b9b95;

  --gutter: clamp(20px, 5vw, 64px);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); }
html { scroll-behavior: smooth; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink); opacity: 0.55; }
::selection { background: var(--accent); color: var(--ink); }
input:focus { outline: none; }
input::placeholder { color: var(--placeholder); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.15; } }

.page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'JetBrains Mono', monospace; }
.container { max-width: 1180px; margin: 0 auto; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--ink);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 5;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-name { font-size: 14px; letter-spacing: 0.02em; font-weight: 500; }
.brand-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: blink 2.4s steps(1, end) infinite;
}
.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  padding: clamp(56px, 11vw, 132px) var(--gutter) clamp(40px, 7vw, 84px);
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.hero-inner { display: grid; gap: clamp(28px, 5vw, 52px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 0.7s var(--ease-out) both;
}
.eyebrow-rule { display: inline-block; width: 34px; height: 1px; background: var(--ink); }
.hero-title {
  margin: 0;
  font-size: clamp(46px, 10.5vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
  animation: rise 0.9s var(--ease-out) 0.06s both;
}
.highlight { position: relative; display: inline-block; z-index: 0; }
.highlight-bar {
  position: absolute;
  left: -2px; right: -2px;
  bottom: 0.1em;
  height: 0.16em;
  background: var(--accent);
  z-index: -1;
  transform-origin: left;
  animation: wipe 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.8s both;
}
.hero-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  animation: rise 0.9s var(--ease-out) 0.18s both;
}
.hero-lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--body);
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 2px;
  transition: background-color 0.15s, color 0.15s;
}
.btn:hover { opacity: 1; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--ink); }
.btn-outline { border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* Ticker */
.ticker { border-bottom: 1px solid var(--ink); background: var(--paper-2); }
.ticker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.metric {
  padding: 22px clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--rule-light);
  display: grid;
  gap: 7px;
}
.metric-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.metric-value { font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; letter-spacing: -0.02em; }

/* Manifesto */
.manifesto {
  padding: clamp(56px, 10vw, 128px) var(--gutter);
  background: var(--ink);
  color: var(--paper);
}
.manifesto-inner { display: grid; gap: clamp(34px, 5vw, 60px); }
.manifesto-kicker { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.manifesto-statement {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  max-width: 24ch;
  text-wrap: pretty;
}
.manifesto-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--rule-dark);
  padding-top: clamp(24px, 4vw, 40px);
}
.manifesto-col { display: grid; gap: 18px; max-width: 46ch; align-content: start; }
.manifesto-col p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted-dark); text-wrap: pretty; }
.manifesto-col p.lead { font-size: 17px; line-height: 1.6; color: var(--paper); }

/* Join */
.join { padding: clamp(56px, 9vw, 112px) var(--gutter); border-bottom: 1px solid var(--ink); }
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}
.join-copy { display: grid; gap: 16px; }
.join-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}
.join-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); max-width: 44ch; text-wrap: pretty; }
.email-link {
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--accent);
  justify-self: start;
  padding-bottom: 2px;
}

.newsletter {
  display: grid;
  gap: 14px;
  border: 1px solid var(--ink);
  padding: clamp(22px, 3vw, 32px);
  border-radius: 3px;
  background: var(--paper-2);
}
.newsletter-kicker { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.newsletter p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input {
  flex: 1 1 180px;
  min-width: 0;
  font-size: 13px;
  padding: 13px 14px;
  border: 1px solid var(--input-border);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
}
.subscribe-form input:focus { border-color: var(--ink); }
.subscribe-form button {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 20px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.subscribe-form button:hover { background: var(--accent); color: var(--ink); }

/* Footer */
.site-footer {
  padding: 26px var(--gutter);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
