/* Lectern site: the stage screen as the brand. Near-black ground, white for what matters, grey for the rest, one orange. */
:root {
  --bg: #0d0c0c;
  --fg: #f4f1ee;
  --muted: #8f8983;
  --dim: rgba(255, 255, 255, 0.22);
  --line: #262321;
  --accent: #f28c28;
  --display: "Fraunces", Georgia, serif;
  --body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--fg); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, .cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Landing: one screen, no scroll. */
.landing { height: 100dvh; grid-template-columns: minmax(0, 1fr); min-height: 560px; display: grid; grid-template-rows: auto 1fr auto; padding-inline: clamp(20px, 5vw, 64px); padding-block: 24px; overflow: hidden; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 18px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(24px, 6vw, 80px); max-width: 1120px; width: 100%; margin: 0 auto; }
.hero > div { min-width: 0; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--muted); }
.hero p { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 46ch; margin: 0 0 28px; }
.points { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0 0 32px; list-style: none; font-size: 14px; }
.points li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 14px; }
.cta:hover { color: var(--bg); background: #fff; }
.cta small { font-weight: 400; opacity: 0.6; }

/* The phone: a live miniature of Stage Mode. */
.phone { justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 19; border-radius: 44px; border: 10px solid #1d1b1a; background: #000; position: relative; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); }
.phone .marker { position: absolute; left: 12px; top: 50%; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 12px solid var(--accent); transform: translateY(-50%); }
.script { position: absolute; left: 34px; right: 18px; top: 50%; font-weight: 700; font-size: 19px; line-height: 1.25; transition: transform 0.6s ease; }
.script p { margin: 0 0 14px; color: var(--dim); transition: color 0.4s; }
.script p.on { color: #fff; }
.phone .bar { position: absolute; left: 18px; right: 18px; bottom: 22px; height: 4px; border-radius: 2px; background: #262321; }
.phone .bar i { display: block; height: 100%; width: 38%; border-radius: 2px; background: var(--accent); }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--muted); font-size: 13px; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .phone { display: none; }
}
@media (max-height: 640px) and (min-width: 761px) {
  .phone { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .script, .script p { transition: none; }
}

/* Legal and support pages: plain reading pages. */
.doc { max-width: 720px; margin: 0 auto; padding-inline: 20px; padding-block: 32px 72px; }
.doc header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.doc h1 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 0 0 8px; text-wrap: balance; }
.doc .date { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font-size: 19px; margin: 40px 0 10px; }
.doc p, .doc li { color: #d6d1cc; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc .summary { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 0 0 8px; color: var(--fg); }
.doc footer { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); }
