/* Speek site. One family, one accent, no cards.
   Malachite is light (~1.55:1 on white) so it never carries text — it is a
   fill or a rule only, and anything sitting on it uses black. */
:root {
  --ink: #000;
  --paper: #fff;
  --malachite: #00d54b;
  --malachite-deep: #00a63c;
  --rule: #e5e5e5;
  --muted: #6b6b6b;
  --measure: 68ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Onest, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01";
}
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 20px; }

/* Header ------------------------------------------------------------- */
.masthead { padding: 40px 0 0; }
.brand {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--malachite); flex: none; transform: translateY(-1px);
}
.tagline { color: var(--muted); font-size: 15px; margin: 6px 0 0; }

/* Transcript hero ----------------------------------------------------- */
.exchange { margin: 44px 0 8px; border-top: 1px solid var(--rule); padding-top: 28px; }
.turn { margin: 0 0 22px; }
.who { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 4px; }
.said { margin: 0; font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; }
.turn--you .said { font-weight: 500; }
.turn--you { border-left: 2px solid var(--malachite); padding-left: 16px; margin-left: -18px; }
.listening { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.listening::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--malachite); animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
@media (prefers-reduced-motion: reduce) { .listening::before { animation: none } }

/* Prose --------------------------------------------------------------- */
h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 8px; font-weight: 700; }
h2 { font-size: 21px; letter-spacing: -0.015em; margin: 40px 0 10px; font-weight: 700; }
h3 { font-size: 17px; margin: 26px 0 6px; font-weight: 700; }
p, li { margin: 0 0 14px; }
ul { padding-left: 20px; }
a { color: var(--malachite-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--malachite-deep); outline-offset: 3px; border-radius: 2px; }
.lede { font-size: 19px; color: var(--ink); }
.meta { color: var(--muted); font-size: 15px; }
.section { border-top: 1px solid var(--rule); padding-top: 26px; margin-top: 40px; }
dt { font-weight: 700; margin-top: 18px; }
dd { margin: 4px 0 0; }

/* Footer -------------------------------------------------------------- */
footer { border-top: 1px solid var(--rule); margin-top: 56px; padding: 22px 0 48px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 10px; }
footer a { color: var(--ink); }
footer p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .said { font-size: 19px; }
  .turn--you { margin-left: 0; }
}
