/* Launch surface — minimal static CSS shared by /about, /how-it-works, /press.
   Independent of the app bundle so these pages stay fast and Lighthouse-grade. */

:root {
  /* Apple-clean dark — warm-dark surfaces, single electric-violet accent.
     Matches the app's main bundle so /about, /how-it-works, /press all
     read as the same product. */
  --bg: #0b0b10;
  --ink: #f5f5f7;
  --muted: #a8a8b3;
  --muted-dim: #6e6e7a;
  --line: rgba(255, 255, 255, 0.06);
  --accent: #7c5cff;
  --accent-strong: #9a7dff;
  /* Speaker hues — the app's muted-pastel speaker palette, so /about and
     /how-it-works carry the same per-voice identity as the debate cards
     (used as a soft left-bar + name + glyph tint, not full saturation). */
  --mara:  #7aa7d9;
  --quinn: #5dc9b8;
  --reid:  #e08a9b;
  --sloan: #e0b070;
  --pax:   #95c089;
  --atlas: #a78bfa;
  --font-sans:
    "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display:
    "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(900px 480px at 42% -12%, rgba(124, 92, 255, 0.1), transparent 58%),
    radial-gradient(700px 420px at 100% 0%, rgba(154, 125, 255, 0.06), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 120ms ease, color 120ms ease;
}
a:hover {
  color: var(--accent);
  border-bottom-color: rgba(124, 92, 255, 0.5);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem 6rem;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 3.8rem);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 0.65rem;
  font-weight: 680;
  font-family: var(--font-display);
  color: var(--ink);
}

h2 {
  position: relative;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  letter-spacing: -0.012em;
  margin: 2.75rem 0 0.85rem;
  padding-left: 0.85rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ink);
}
/* Violet section kicker — a small accent tick before each section header
   gives the editorial pages rhythm and ties them to the brand. */
h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16em;
  bottom: 0.16em;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.75;
}

p {
  color: var(--muted);
  margin: 0.75rem 0;
  text-wrap: pretty;
}

p strong {
  color: var(--ink);
  font-weight: 500;
}

ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
  color: var(--muted);
}
li {
  margin: 0.35rem 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-dim);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--ink);
  line-height: 1.5;
  max-width: 56ch;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

nav.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

nav.top a {
  border-bottom: none;
}

nav.top .brand {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-size: 15px;
}
nav.top .brand .accent {
  color: var(--ink);
  opacity: 0.62;
}

nav.top ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
nav.top ul a {
  color: var(--muted);
  white-space: nowrap;
}
nav.top ul a:hover,
nav.top ul a[aria-current="page"] {
  color: var(--ink);
}

@media (max-width: 480px) {
  nav.top {
    padding: 0.85rem 1rem;
    gap: 0.5rem 0.85rem;
  }
  nav.top ul {
    gap: 0.4rem 0.95rem;
    font-size: 13px;
  }
}

footer.bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 13px;
  color: var(--muted-dim);
}
footer.bottom a {
  color: var(--muted);
  border-bottom: none;
}
footer.bottom a:hover {
  color: var(--ink);
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  background: var(--accent);
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 22px rgba(124, 92, 255, 0.28);
  transition: background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.cta:hover {
  background: var(--accent-strong);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 12px 28px rgba(124, 92, 255, 0.36);
  transform: translateY(-1px);
}

.voices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
}
.voices li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  margin: 0;
}
.voices .name {
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--c, var(--ink));
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.voices .sigil {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}
.voices .sigil svg {
  display: block;
}
.voices .role {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-dim);
}
.voices .bio {
  margin-top: 0.5rem;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  a,
  .cta {
    transition: color 140ms ease, background 140ms ease,
      border-color 140ms ease;
  }
}

.press-graphic {
  margin: 1.5rem 0 2.25rem;
}
.press-graphic img,
.press-graphic video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  background: #05070c;
}
.press-graphic figcaption {
  margin-top: 0.75rem;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--muted-dim);
}
.press-graphic figcaption a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.press-graphic figcaption a:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* Compact speaker-strip — used on /about to anchor the brand visually
   without redoing the full LiveDemo. Six glyphed cards, no animation. */
.speaker-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1.4rem 0 2rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) {
  .speaker-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.speaker-strip li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  position: relative;
  overflow: hidden;
  color: var(--c, currentColor);
}
.speaker-strip li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--c, white);
  opacity: 0.55;
}
.speaker-strip__glyph {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c, white) 42%, transparent);
  background: color-mix(in srgb, var(--c, white) 12%, transparent);
  color: var(--c, currentColor);
}
.speaker-strip__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--c, var(--ink, white));
  letter-spacing: -0.005em;
}
.speaker-strip__role {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-dim);
}

/* Page hero band — anchors static pages visually */
.page-hero {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.15rem 1.1rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  background:
    radial-gradient(130% 100% at 0% 0%, rgba(124, 92, 255, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}
.page-hero .lede {
  margin-bottom: 0;
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .flow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.flow-steps li {
  margin: 0;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.flow-steps__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.flow-steps strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 0.2rem;
}
.flow-steps span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1.25rem 0 1.75rem;
}
@media (min-width: 560px) {
  .stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.stat-row div {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.stat-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0;
}
.stat-row dd {
  margin: 0.2rem 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
