/* Podcast Filter — marketing site.
   Palette is lifted from the app's own StudioStyle tokens (Direction A /
   Listening Studio) so the site and the product read as one system. Teal is the
   action colour. Peach is the app's removal highlight, and it means the same
   thing here: a passage taken out. It is never used for decoration. */

:root {
  --bg: #F7F9FA;
  --surface: #EDF2F5;
  --raised: #DDE6EC;
  --line: #B8C8D3;
  --text: #142B40;
  --secondary: #4D6274;
  --teal: #006D73;
  --teal-soft: rgba(0, 109, 115, 0.10);
  --peach: #A34416;
  --peach-soft: rgba(163, 68, 22, 0.14);
  --navy: #06192C;
  --on-navy: #F6F8FC;
  --on-navy-dim: #B4C2D2;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #06192C;
    --surface: #10243A;
    --raised: #18304A;
    --line: #2A3F55;
    --text: #F6F8FC;
    --secondary: #B4C2D2;
    --teal: #63CCCC;
    --teal-soft: rgba(99, 204, 204, 0.12);
    --peach: #FFB47E;
    --peach-soft: rgba(255, 180, 126, 0.16);
    --navy: #0B2136;
  }
}

:root[data-theme="dark"] {
  --bg: #06192C;
  --surface: #10243A;
  --raised: #18304A;
  --line: #2A3F55;
  --text: #F6F8FC;
  --secondary: #B4C2D2;
  --teal: #63CCCC;
  --teal-soft: rgba(99, 204, 204, 0.12);
  --peach: #FFB47E;
  --peach-soft: rgba(255, 180, 126, 0.16);
  --navy: #0B2136;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(35px, 6.2vw, 58px); }
h2 { font-size: clamp(27px, 4vw, 36px); }
h3 { font-size: 21px; line-height: 1.3; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: 66ch; }

/* ---------- masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 66px; flex-wrap: wrap;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: Newsreader, Georgia, serif; font-size: 19px; font-weight: 500;
  color: var(--text); text-decoration: none; letter-spacing: -0.01em;
}
.wordmark img { width: 30px; height: 30px; border-radius: 7px; display: block; }
nav.site { display: flex; gap: 22px; flex-wrap: wrap; }
nav.site a {
  font-size: 15px; color: var(--secondary); text-decoration: none;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }
nav.site a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }

/* ---------- hero ---------- */

.hero { padding: 76px 0 64px; }
.hero .lede {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--secondary);
  max-width: 56ch;
  margin-top: 22px;
}
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 18px;
}

/* ---------- the timeline motif ----------
   An episode with passages removed is what this product does, so the timeline
   is the page's recurring structural device rather than an ornament. Peach
   spans are cuts; teal is what the child hears. */

.timeline {
  --h: 72px;
  position: relative; height: var(--h);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 12px 0 30px;
}
.timeline .kept, .timeline .cut { position: absolute; top: 0; bottom: 0; }
.timeline .kept { background: var(--teal); opacity: .16; border-radius: 5px; }
.timeline .cut {
  background: var(--peach); opacity: .9;
  box-shadow: 0 0 0 1px var(--peach);
}
.timeline .cut:first-of-type { border-radius: 0; }
/* The label sits under the span it names, so the bar itself stays readable at
   a glance and the type never fights the fill behind it. */
.timeline .cut::after {
  content: attr(data-label);
  position: absolute; left: 50%; top: calc(100% + 9px); transform: translateX(-50%);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--peach); white-space: nowrap; font-weight: 600; opacity: 1;
}
.timeline-key {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--secondary); margin-bottom: 10px;
}
.timeline-key span { display: inline-flex; align-items: center; gap: 7px; }
.timeline-key i { width: 13px; height: 13px; border-radius: 3px; display: inline-block; }
.key-kept { background: var(--teal); }
.key-cut { background: var(--peach); }

/* ---------- sections ---------- */

section { padding: 62px 0; border-top: 1px solid var(--line); }
section.plain { border-top: none; }
.section-head { margin-bottom: 34px; max-width: 60ch; }
.section-head p { color: var(--secondary); margin-top: 14px; }

.grid { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid > * { background: var(--bg); padding: 26px 24px; }
.grid h3 { margin-bottom: 10px; }
.grid p { color: var(--secondary); font-size: 15.5px; margin-bottom: 0; }

/* ---------- numbered steps ---------- */

ol.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 30px 62px;
  border-left: 1px solid var(--line);
  margin-left: 17px;
}
ol.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps li::before {
  content: counter(step);
  position: absolute; left: -17px; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--teal); color: var(--teal);
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
}
ol.steps h3 { margin-bottom: 8px; }
ol.steps p { color: var(--secondary); font-size: 16px; }

/* ---------- limits panel ---------- */

.limits {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 28px;
}
.limits ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.limits li { position: relative; padding-left: 26px; font-size: 16px; color: var(--secondary); }
.limits li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 12px; height: 2px; background: var(--peach);
}
.limits li b { color: var(--text); font-weight: 600; }

/* ---------- pricing ---------- */

.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.pack {
  border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.pack.featured { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.pack .credits { font-family: Newsreader, Georgia, serif; font-size: 40px; line-height: 1; }
.pack .price { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pack .per { font-size: 14px; color: var(--secondary); }
.pack .tag {
  align-self: flex-start; margin-top: 8px; font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--teal);
  border: 1px solid var(--teal); border-radius: 3px; padding: 2px 7px;
}

table.cost { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15.5px; }
table.cost th, table.cost td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); }
table.cost th { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); font-weight: 600; }
table.cost td:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.scroll-x { overflow-x: auto; }

/* ---------- legal documents ---------- */

.doc { padding: 56px 0 20px; }
.doc h2 { font-size: 25px; margin: 44px 0 14px; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--secondary); }
.doc .prose > p:first-of-type { color: var(--text); font-size: 18.5px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 9px; }
.doc strong { color: var(--text); }
.updated {
  font-size: 13.5px; color: var(--secondary);
  border-left: 2px solid var(--teal); padding-left: 14px; margin: 22px 0 0;
}
.draft-note {
  border: 1px solid var(--peach); background: var(--peach-soft);
  border-radius: 6px; padding: 16px 18px; margin: 26px 0;
  font-size: 15px; color: var(--text);
}

/* ---------- footer ---------- */

footer.site {
  background: var(--navy); color: var(--on-navy-dim);
  margin-top: 76px; padding: 48px 0 40px; font-size: 15px;
}
footer.site .wrap { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
footer.site h4 {
  font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--on-navy); margin: 0 0 12px; font-weight: 600;
}
footer.site a { color: var(--on-navy-dim); text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--on-navy); text-decoration: underline; }
footer.site .fine { color: var(--on-navy-dim); opacity: .75; font-size: 13.5px; }
footer.site .fine p { margin-bottom: .6em; }

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