@font-face {
  font-family: Inter;
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07080a;
  --bg-elev: #0e1014;
  --bg-card: #111318;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f5f6;
  --muted: #9aa0a8;
  --quiet: #848a92;
  --accent: #7ee0c6;
  --accent-dim: rgba(126, 224, 198, 0.12);
  --danger: #f2b8b5;
  --radius: 14px;
  --max: 1080px;
  --header: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  width: 100%;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 0.95rem;
}
.nav { display: flex; gap: 22px; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav a:hover { color: var(--text); }

main { flex: 1; width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.hero { padding-block: 88px 56px; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0 0 20px;
  max-width: 14ch;
}
.hero .lede {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.section { padding-block: 24px 96px; }
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
  margin: 0 0 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .site-header { height: auto; min-height: var(--header); padding: 12px 24px; flex-wrap: wrap; gap: 10px 16px; }
  .nav { gap: 14px; }
  .site-footer { flex-wrap: wrap; }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}
a.card:hover, a.card:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: #15181e;
}
.card h2, .card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .meta { margin-top: auto; padding-top: 14px; color: var(--accent); font-size: 0.85rem; font-weight: 500; }
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero { padding-block: 72px 32px; }
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
  font-weight: 600;
  margin: 0 0 16px;
  max-width: 18ch;
}
.page-hero p { color: var(--muted); margin: 0 0 12px; max-width: 36rem; font-size: 1.05rem; }
.prose { padding-bottom: 40px; }
.prose p { color: var(--muted); max-width: 38rem; }
.benefits { list-style: none; padding: 0; margin: 24px 0 0; }
.benefits li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.benefits li span { display: block; color: var(--muted); font-weight: 400; font-size: 0.92rem; margin-top: 4px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 48px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: #0b0c0e; }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--bg-elev); }

.waitlist {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  margin: 8px 0 36px;
  max-width: 32rem;
}
.waitlist h2 { margin: 0 0 6px; font-size: 1.05rem; letter-spacing: -0.03em; }
.waitlist .hint { color: var(--muted); margin: 0 0 18px; font-size: 0.92rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #0a0b0e;
  color: var(--text);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}
.field input:focus, .field textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line-strong));
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field textarea { min-height: 88px; resize: vertical; }
.form-status { min-height: 1.3em; font-size: 0.88rem; margin: 10px 0 0; color: var(--muted); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }

.legal, .privacy-note {
  color: var(--quiet);
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: 42rem;
  margin: 0 0 12px;
}
.legal { padding-top: 8px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px 48px;
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--quiet);
  font-size: 0.82rem;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.84em; }

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

.optional { font-weight: 400; }

#tools, #waitlist { scroll-margin-top: calc(var(--header) + 16px); }
.mono, .privacy-note { overflow-wrap: anywhere; word-break: break-word; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 40;
  background: var(--text);
  color: #0b0c0e;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .card:focus-visible, .nav a:focus-visible, .wordmark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.field-error { margin: 0; font-size: 0.82rem; color: var(--danger); min-height: 1.1em; }
.card-soon { border-color: var(--line-strong); }
.grid-soon { margin-top: 28px; }
.legal, .privacy-note { font-size: 0.875rem; }
noscript p { color: var(--muted); font-size: 0.9rem; }

.section-label-later { margin-top: 36px; }

table.signups { width: 100%; border-collapse: collapse; margin: 24px 0 64px; font-size: 0.92rem; }
table.signups th, table.signups td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.signups th { color: var(--muted); font-weight: 500; font-size: 0.8rem; }


/* Directory */
.dir-toc {
  margin-top: 32px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
.toc-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
  margin: 16px 0 10px;
}
.toc-label:first-child { margin-top: 0; }
.toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.toc-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
}
.toc-links a:hover,
.toc-links a:focus-visible {
  border-color: var(--line-strong);
  background: #15181e;
}
.dir-section { padding-top: 8px; }
.dir-section .section-label { margin-bottom: 8px; }
.lede-lite {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 28px;
  font-size: 0.98rem;
}
.dir-cat { margin: 40px 0 8px; scroll-margin-top: calc(var(--header) + 16px); }
.dir-cat h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.dir-cat .when {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 40rem;
  font-size: 0.98rem;
}
.grid-dir { gap: 12px; }
@media (min-width: 980px) {
  .grid-dir { grid-template-columns: repeat(3, 1fr); }
}
.publisher {
  color: var(--quiet);
  font-size: 0.78rem;
}
.card-lead {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #161a20 0%, var(--bg-card) 48%);
}
#actors, #mcp { scroll-margin-top: calc(var(--header) + 16px); }

.dir-home { margin: 22px 0 0; }
.dir-home a { color: var(--accent); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.dir-home a:hover { color: var(--text); }
