/* podcastsos.com. Tokens from DESIGN.md (the same family as the Podcast SOS app). Light only, big type.
   Every rule below uses these variables: no raw colours or off-scale sizes outside :root. */
:root {
  /* colour roles */
  --bg: #FFFFFF;
  --surface: #FAF7F4;
  --surface-2: #FFF3EC;
  --ink: #16181D;
  --ink-muted: #4F5663;
  --primary: linear-gradient(90deg, #FF5A3C, #FFB03A);
  --primary-ink: #1A0B05;
  --accent: #C2410C;
  --border: #E6E0D9;
  --border-strong: #9A8F84;
  --focus: #D9480F;
  --go: #1F7A44;
  --go-soft: #E7F5EC;
  --todo: #FFE45C;
  --todo-ink: #3D2E00;
  --e1: 0 1px 2px rgba(40, 24, 12, .06);
  --e2: 0 18px 48px rgba(40, 24, 12, .12);
  /* type */
  --f-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-head: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --t-display: clamp(2.4rem, 5.2vw, 3.9rem);
  --t-h1: clamp(2.1rem, 4vw, 3rem);
  --t-h2: clamp(1.6rem, 2.8vw, 2.2rem);
  --t-h3: 1.3rem;
  --t-lead: 1.2rem;
  --t-small: .85rem;
  /* spacing: 8 px unit */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --container: 1240px;
  --gutter: 24px;
  --section: var(--s9);
  /* shape */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 160ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 20px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }
p { margin: 0 0 var(--s4); max-width: 64ch; }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.2em; }
li { margin-bottom: var(--s2); max-width: 64ch; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); margin: 0 0 var(--s4); letter-spacing: -.015em; }
h1 { font-size: var(--t-h1); font-weight: 800; line-height: 1.1; }
h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.18; }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.3; letter-spacing: 0; }
strong, b { font-weight: 700; }
.small, small, figcaption { font-size: var(--t-small); color: var(--ink-muted); font-weight: 500; line-height: 1.5; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-muted); max-width: 60ch; }
.eyebrow { font-size: var(--t-small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--s3); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-tint { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-peach { background: var(--surface-2); }
.section-head { max-width: 760px; margin-bottom: var(--s7); }
.section-head p { color: var(--ink-muted); font-size: var(--t-lead); }

.skip { position: absolute; left: -9999px; top: var(--s2); background: var(--bg); color: var(--ink); padding: var(--s3) var(--s4);
  border-radius: var(--r-sm); z-index: 10; }
.skip:focus { left: var(--s2); }

/* ---- preview note + placeholders (preview builds only) ---- */
.preview-note { background: var(--todo); color: var(--todo-ink); font-weight: 700; text-align: center; padding: var(--s2) var(--s4);
  font-size: var(--t-small); }
mark.todo { background: var(--todo); color: var(--todo-ink); outline: 2px dashed var(--todo-ink); outline-offset: 1px;
  border-radius: var(--s1); padding: 0 var(--s1); font-weight: 500; }
mark.todo b { font-weight: 800; }

/* ---- not-on-sale banner ---- */
.banner { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.banner p { margin: 0; padding: var(--s3) 0; max-width: none; font-size: .95rem; }

/* ---- nav ---- */
.nav { background: var(--bg); border-bottom: 1px solid var(--border); }
@media (min-width: 1081px) { .nav { position: sticky; top: 0; z-index: 5; } }
.nav-in { display: flex; align-items: center; gap: var(--s5); min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: var(--s3); font: 800 1.35rem/1 var(--f-head); letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap; min-height: 48px; }
.logo .mark { width: 22px; height: 22px; border-radius: 7px; background: var(--primary); flex: none; }
.logo .sos { color: var(--accent); }
.logo-small { font-size: 1.15rem; }
.menu { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.menu ul { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.menu li { margin: 0; }
.menu ul a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--s3); color: var(--ink); font-weight: 600;
  text-decoration: none; border-radius: var(--r-sm); position: relative; }
.menu ul a:hover { background: var(--surface); }
.menu ul a[aria-current="page"]::after { content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 6px;
  height: 3px; border-radius: var(--r-pill); background: var(--primary); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 56px;
  padding: var(--s4) var(--s6); border-radius: var(--r-md); font: 700 1rem/1.2 var(--f-body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform var(--t-fast) var(--ease), filter var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--border-strong); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); text-decoration: none; }
.btn-secondary:hover { background: var(--surface); filter: none; }
.btn:active { transform: none; filter: none; }
.btn-small { min-height: 48px; padding: var(--s3) var(--s5); }
.btn-waiting, .btn[aria-disabled="true"] { background: var(--surface); color: var(--ink-muted); border: 2px dashed var(--border-strong);
  cursor: default; }
.btn-waiting:hover { transform: none; filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; margin-top: var(--s6); }

/* ---- hero ---- */
.hero { padding: var(--s8) 0 var(--s9); }
.hero-in { display: grid; grid-template-columns: 1fr; gap: var(--s7); }
.hero-text { max-width: 980px; }
.hero h1 { font-size: var(--t-display); line-height: 1.06; max-width: 18ch; }
.hero .lead { max-width: 62ch; }
.hero h1::after, .page-head h1::after { content: ""; display: block; width: 88px; height: 6px; border-radius: var(--r-pill);
  background: var(--primary); margin-top: var(--s5); }
.facts { list-style: none; padding: 0; margin: var(--s8) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.facts li { margin: 0; max-width: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--s4) var(--s5); font-weight: 700; display: flex; align-items: center; gap: var(--s3); }
.facts li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--primary); flex: none; }

/* ---- page head (inner pages) ---- */
.page-head { padding: var(--s8) 0 var(--s7); border-bottom: 1px solid var(--border); }
.page-head .lead { margin-bottom: 0; }
.jump { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: var(--s6) 0 0; }
.jump li { margin: 0; }
.jump a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s4); border: 1px solid var(--border);
  border-radius: var(--r-pill); color: var(--ink); font-weight: 600; text-decoration: none; background: var(--bg); }
.jump a:hover { background: var(--surface); border-color: var(--border-strong); }

/* ---- screenshot frame ---- */
.shot { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--e2);
  overflow: hidden; }
.shot-bar { height: 36px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center;
  gap: var(--s2); padding: 0 var(--s4); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); opacity: .55; }
.shot img { width: 100%; }
.shot figcaption { padding: var(--s3) var(--s4); border-top: 1px solid var(--border); background: var(--bg); }
.shot-empty { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--surface); padding: var(--s5); text-align: center; }

/* ---- who it's for + cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--e1); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: var(--s3); }
.card .card-link { display: inline-block; margin-top: var(--s3); font-weight: 700; }
.note { margin-top: var(--s5); color: var(--ink-muted); }

/* ---- feature rows ---- */
.rows { display: grid; gap: var(--s9); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.row:nth-child(even) .row-text { order: 2; }
.row h3 { font-size: var(--t-h2); font-family: var(--f-head); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; }
.row .small { margin-top: var(--s4); }
.row ul { padding-left: 0; list-style: none; }
.row ul li, ul.ticks li { position: relative; padding-left: 1.6em; }
.row ul li::before, ul.ticks li::before { content: ""; position: absolute; left: .15em; top: .5em; width: .62em; height: .34em;
  border-left: 3px solid var(--go); border-bottom: 3px solid var(--go); transform: rotate(-45deg); }
ul.ticks { list-style: none; padding-left: 0; }

/* ---- detailed feature sections (What it does) ---- */
.feature { padding: var(--s8) 0; border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.feature-in { display: grid; grid-template-columns: 6fr 5fr; gap: var(--s7); align-items: start; }
.feature-in.no-shot { grid-template-columns: minmax(0, 860px); }
.feature h2 { margin-bottom: var(--s5); }
.needs { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s4) var(--s5);
  margin-top: var(--s5); max-width: 64ch; }
.needs p { margin: 0; }

/* ---- quiet "not yet" box ---- */
.quiet { border: 2px dashed var(--border-strong); border-radius: var(--r-lg); padding: var(--s6) var(--s7); background: var(--bg); }
.quiet h2 { font-size: var(--t-h3); font-family: var(--f-body); letter-spacing: 0; }
.quiet ul { margin-bottom: 0; }

/* ---- buying points ---- */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); margin-bottom: var(--s6); }
.points .card h3 { font-size: 1.15rem; }

/* ---- price card ---- */
.price-band { background: var(--surface-2); padding: var(--s8) 0; border-bottom: 1px solid var(--border); }
.price-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--e2);
  padding: var(--s7); max-width: 720px; }
.price-card .name { font: 700 var(--t-h3)/1.3 var(--f-head); margin: 0 0 var(--s2); }
.price { font: 800 var(--t-display)/1.05 var(--f-head); margin: 0; letter-spacing: -.02em; }
.price-note { margin: var(--s2) 0 var(--s5); }
.price-card .actions { margin-top: var(--s5); }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.side { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); background: var(--bg); }
.side-paid { background: var(--surface-2); }
.side ul { margin-bottom: 0; }

/* ---- tables ---- */
.table { width: 100%; border-collapse: collapse; margin: var(--s5) 0 var(--s6); font-size: 1rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: var(--s4); border-bottom: 1px solid var(--border); }
.table thead th { font-size: var(--t-small); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted);
  border-bottom: 2px solid var(--border-strong); }
.table tbody th { font-weight: 700; width: 30%; }
.table td.works { color: var(--go); font-weight: 700; }

/* ---- questions ---- */
.qa { padding: var(--s6) 0; border-bottom: 1px solid var(--border); max-width: 860px; }
.qa h2 { font-size: var(--t-h3); font-family: var(--f-body); letter-spacing: 0; margin-bottom: var(--s3); }
.qa p:last-child { margin-bottom: 0; }

/* ---- prose pages (terms, refunds, privacy) ---- */
.prose { max-width: 860px; }
.prose h2 { font-size: var(--t-h3); font-family: var(--f-body); letter-spacing: 0; margin-top: var(--s7); }

/* ---- closing call ---- */
.closing { text-align: left; }
.closing .actions { margin-top: var(--s5); }

/* ---- footer ---- */
.foot { background: var(--surface); border-top: 1px solid var(--border); padding: var(--s8) 0 var(--s6); font-size: .9rem; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s7); }
.foot p { color: var(--ink-muted); }
.foot-h { font: 700 .9rem/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--s3); }
.foot ul { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.foot li { margin: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); font-weight: 600; }
.foot-base { border-top: 1px solid var(--border); margin-top: var(--s6); padding-top: var(--s5); }
.foot-base p { margin: 0; }

/* ---- tablet ---- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; }
  .row, .feature-in { grid-template-columns: 1fr; gap: var(--s5); }
  .row:nth-child(even) .row-text { order: 0; }
  .row-text { order: 2; }
  .row .shot { order: 1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .nav-in { flex-wrap: wrap; padding-top: var(--s2); padding-bottom: var(--s2); }
  .menu { margin-left: 0; width: 100%; justify-content: space-between; flex-wrap: wrap; gap: var(--s3); }
}

/* ---- phone ---- */
@media (max-width: 720px) {
  html { font-size: 18px; }
  :root { --gutter: 16px; --section: 56px; }
  .hero { padding: var(--s6) 0 var(--s8); }
  .cards, .cards-2, .points, .sides, .facts { grid-template-columns: 1fr; }
  .menu ul { flex-wrap: wrap; }
  .menu ul a { padding: 0 var(--s2); }
  .menu .btn-small { display: none; }  /* the Price link and each page's own buttons cover it */
  .menu ul { gap: 0; }
  .actions .btn { width: 100%; }
  .price-card, .quiet, .card, .side { padding: var(--s5); }
  .foot-in { grid-template-columns: 1fr; gap: var(--s5); }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table tr { border-bottom: 1px solid var(--border); padding: var(--s3) 0; }
  .table th, .table td, .table tbody th { border: 0; padding: var(--s1) 0; width: 100%; }
  .rows { gap: var(--s8); }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transition: none; transform: none; }
}

/* a long placeholder in the big price figure stays readable (preview builds only) */
.price mark.todo { font-size: var(--t-lead); line-height: 1.5; letter-spacing: 0; }

/* ---- the two price tiers (Creator, Studio), added 2026-11-25 ---- */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); align-items: start; }
.tiers .price-card { max-width: none; }
.price-card .who { color: var(--ink-muted); margin: 0 0 var(--s4); }
.founding { font-weight: 700; color: var(--accent); margin: 0 0 var(--s4); }
.band-notes { margin-top: var(--s6); }
.band-notes p { max-width: 72ch; }
.onboard-price { font: 800 var(--t-h2)/1.1 var(--f-head); margin: 0 0 var(--s3); }
@media (max-width: 1080px) { .tiers { grid-template-columns: 1fr; } }

