@font-face { font-family: Michroma; src: url(/fonts/Michroma-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

/* Cristal G-15 (design-system/overheard/MASTER.md) */
:root {
  --bg: #141A16;
  --surface: #1B221E;
  --raised: #232C26;
  --tint: #34423A;
  --border: #2F3B34;
  --text: #E6EAE3;
  --muted: #9AA59D;
  --accent: #E3A63B;
  --teal: #7FD1B9;
  --lilac: #B98BE3;
  --rec: #FF5A4E;
  --film: linear-gradient(90deg, #E3A63B, #7FD1B9, #B98BE3);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(120% 70% at 50% -10%, var(--tint), var(--bg) 60%) no-repeat, var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Figtree, system-ui, sans-serif;
  min-height: 100vh;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.lockup { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.lockup img { width: 40px; height: 40px; }
.wordmark { font-family: Michroma, sans-serif; letter-spacing: 0.16em; font-size: 15px; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 22px; }
.bar nav a:hover { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 56px 0 72px; }
.eyebrow { font-family: Michroma, sans-serif; font-size: 11px; letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; margin: 14px 0 18px; font-weight: 700; }
h1 em { font-style: normal; background: var(--film); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 19px; max-width: 30em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgba(255, 90, 78, 0.18); }
.pill.soft { color: var(--muted); font-weight: 400; }

/* The signature: a transcript writing itself */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 22px 22px 18px; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--film); }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-head .live { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.card-head .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: pulse 1.6s var(--ease) infinite; }
.card-head time { font-family: Michroma, sans-serif; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wave { display: flex; gap: 3px; align-items: center; justify-content: space-between; height: 36px; margin-bottom: 16px; overflow: hidden; }
.wave span { flex: 0 0 3px; background: var(--text); opacity: 0.8; border-radius: 2px; height: 18%; animation: wave 1.1s ease-in-out infinite; }
.line { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); opacity: 0; transform: translateY(6px); animation: in 0.5s var(--ease) forwards; }
.line b { font-size: 13px; font-weight: 600; }
.line p { margin: 0; font-size: 15px; line-height: 1.45; }
.line.s1 { animation-delay: 0.4s; } .line.s1 b { color: var(--accent); }
.line.s2 { animation-delay: 1.4s; } .line.s2 b { color: var(--teal); }
.line.s3 { animation-delay: 2.4s; } .line.s3 b { color: var(--lilac); }
.notes { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--raised); opacity: 0; animation: in 0.5s var(--ease) 3.4s forwards; }
.notes h3 { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.notes ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--text); }

@keyframes in { to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes wave { 50% { height: 90%; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 72px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.feature h2 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.private { border-top: 1px solid var(--border); padding: 40px 0 64px; display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.private h2 { font-size: 24px; margin: 0; }
.private p { margin: 0 0 10px; color: var(--muted); }

footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Legal page */
.legal { max-width: 720px; padding: 32px 0 72px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 20px; margin: 36px 0 8px; }
.legal p, .legal li { color: #C9D0C6; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--border); }
.legal th { color: var(--text); font-weight: 600; width: 34%; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 24px; }
  .features { grid-template-columns: 1fr; }
  .private { grid-template-columns: 1fr; gap: 12px; }
  .bar nav a { margin-left: 16px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .wordmark { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; }
  .line, .notes { opacity: 1; transform: none; }
}
