:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #5c5c58;
  --line: #e6e4de;
  --accent: #d4ff3a;
  --accent-ink: #141414;
  --max: 1080px;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: ui-rounded, "SF Pro Rounded", var(--font);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --surface: #1a1a1a;
    --ink: #f2f2ee;
    --muted: #a3a39d;
    --line: #2b2b2b;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
}
a { color: inherit; text-underline-offset: 3px; }
img, svg, iframe { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 18px; font-size: 0.95rem; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.hl { background: var(--accent); color: var(--accent-ink); border-radius: 0.18em; padding: 0 0.12em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; }

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none;
  border: 2px solid var(--accent); cursor: pointer; font: inherit; font-weight: 700;
}
.btn.dark { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); margin-top: 8px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn:hover { filter: brightness(0.95); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Sections */
section { padding: 48px 0; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .num { font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--muted); }
.video { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: var(--radius); background: var(--surface); }
.placeholder { display: grid; place-items: center; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.video.placeholder { aspect-ratio: auto; min-height: 160px; }

/* Newsletter */
.signup { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); padding: 36px 28px; }
.signup p { color: inherit; opacity: 0.8; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.signup input[type=email] {
  flex: 1 1 240px; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 2px solid var(--accent-ink); font: inherit;
}
.signup .soon { font-weight: 600; opacity: 1; }

/* Social */
.social { display: flex; gap: 14px; flex-wrap: wrap; }
.social a { text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem; }

/* Prose (legal/about pages) */
.prose { padding: 56px 0; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose ul { padding-left: 1.2em; }
.prose .updated { color: var(--muted); font-size: 0.95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  .hero { padding: 48px 0 36px; }
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
}
