/* Podland — podland.app
   One stylesheet for the whole site. No build step, no external assets,
   no webfonts. The system stack is a humanist sans on every platform we
   care about, and it costs zero bytes and zero round trips. */

:root {
  --ink: #17171a;
  --ink-soft: #3d3d47;
  --muted: #64646f;
  --accent: #f2673f;
  --accent-dark: #d64f28;
  --accent-wash: #fff1ec;
  --lav-wash: #f1eefb;
  --line: #eaeaef;
  --panel: #fbfbfd;
  --wrap: 1060px;
  --radius: 20px;
  --radius-sm: 12px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* The soft peach-to-lavender wash. Fixed and behind everything, so it
   never scrolls away and never intercepts a click. */
.wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 8% -10%, #ffe9dc 0%, rgba(255, 233, 220, 0) 62%),
    radial-gradient(55rem 38rem at 96% 6%, #ece6fb 0%, rgba(236, 230, 251, 0) 60%),
    radial-gradient(50rem 30rem at 50% 42%, #fff6f0 0%, rgba(255, 246, 240, 0) 70%);
}

a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Horizontal only. Vertical padding is owned by whatever class is layered on
   top (.hero, .doc, section), and a shorthand here would silently win against
   a bare element selector and flatten it. */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 24px;
  top: 16px;
  z-index: 10;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* ---------- header ---------- */

.site-head {
  padding: 26px 0 0;
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.wordmark {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15.5px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

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

.hero {
  text-align: center;
  padding-block-start: 76px;
}

h1 {
  margin: 0 auto;
  max-width: 15ch;
  font-size: clamp(2.5rem, 6.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.lede {
  margin: 22px auto 0;
  max-width: 46ch;
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  color: var(--muted);
}

.cta-row {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 15px 36px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.fine {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ---------- phone ---------- */

.stage {
  display: flex;
  justify-content: center;
  padding-block-start: 54px;
}

.phone {
  width: 310px;
  max-width: 84vw;
  background: #101014;
  border-radius: 46px;
  padding: 11px;
  box-shadow:
    0 2px 4px rgba(23, 23, 26, 0.06),
    0 28px 60px -18px rgba(60, 40, 80, 0.28);
}

.screen {
  background: #fff;
  border-radius: 36px;
  padding: 16px 16px 20px;
  overflow: hidden;
}

.notch {
  width: 92px;
  height: 5px;
  border-radius: 999px;
  background: #e3e3e9;
  margin: 2px auto 16px;
}

/* Abstract cover art, drawn in CSS. Deliberately not an illustration and
   deliberately not a real show's artwork. */
.art {
  aspect-ratio: 1;
  border-radius: 16px;
  background:
    radial-gradient(70% 62% at 22% 20%, #ffd0b8 0%, rgba(255, 208, 184, 0) 70%),
    radial-gradient(64% 60% at 84% 30%, #cfc4f2 0%, rgba(207, 196, 242, 0) 72%),
    radial-gradient(74% 70% at 62% 92%, #2f3350 0%, rgba(47, 51, 80, 0) 68%),
    linear-gradient(160deg, #fdf3ec 0%, #f0eaf8 100%);
}

.meta {
  margin-top: 16px;
}

.show {
  font-size: 12.5px;
  color: var(--accent-dark);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}

.episode {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.018em;
  margin: 3px 0 0;
  line-height: 1.28;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: var(--accent-wash);
  color: var(--accent-dark);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}

.badge svg {
  display: block;
}

/* Scrubber with the ad range shown as a real gap in the track. */
.scrub {
  margin-top: 14px;
}

.track {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: #e9e9ef;
  overflow: hidden;
}

.played {
  position: absolute;
  inset: 0 auto 0 0;
  width: 41%;
  background: var(--accent);
  border-radius: 999px;
}

.adgap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 57%;
  width: 13%;
  background: repeating-linear-gradient(
    115deg,
    #d9d9e2 0 3px,
    #f2f2f6 3px 6px
  );
}

.times {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
}

/* Transport controls. Interval skips only — Podland has no queue and no
   episode next/previous, so no track-skip glyphs appear here. */
.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.controls button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  display: flex;
  align-items: center;
}

.play {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: var(--ink) !important;
  color: #fff !important;
  justify-content: center;
}

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

section {
  padding-block-start: 92px;
}

.section-head {
  text-align: center;
  max-width: 40ch;
  margin: 0 auto 44px;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
  letter-spacing: -0.028em;
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
}

.section-head p {
  color: var(--muted);
  margin: 14px 0 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature h3 {
  font-size: 18px;
  letter-spacing: -0.018em;
  margin: 18px 0 8px;
  font-weight: 650;
}

.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 15.5px;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-peach {
  background: #ffeee7;
  color: var(--accent-dark);
}

.icon-lav {
  background: #efeafb;
  color: #6c4fd0;
}

.icon-sky {
  background: #e6f1fb;
  color: #2f6ea8;
}

/* how it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.step-n {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.step h3 {
  font-size: 17px;
  margin: 10px 0 8px;
  letter-spacing: -0.015em;
  font-weight: 650;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* small print row */

.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 34px;
}

.extras h3 {
  font-size: 15.5px;
  margin: 0 0 5px;
  font-weight: 650;
  letter-spacing: -0.012em;
}

.extras p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* the honest note */

.note {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  max-width: 64ch;
  margin-inline: auto;
}

.note h2 {
  font-size: 1.3rem;
}

.note p {
  color: var(--ink-soft);
  margin: 14px 0 0;
  font-size: 16px;
}

/* ---------- article pages ---------- */

.doc {
  padding-block-start: 62px;
  max-width: 72ch;
}

.doc h1 {
  text-align: left;
  margin: 0;
  max-width: none;
  font-size: clamp(2.1rem, 5vw, 2.9rem);
}

.updated {
  color: var(--muted);
  font-size: 14.5px;
  margin: 14px 0 0;
}

.summary {
  margin: 34px 0 0;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
}

.summary p:first-child {
  margin-top: 0;
}

.summary p:last-child {
  margin-bottom: 0;
}

.doc h2 {
  font-size: 1.32rem;
  margin: 52px 0 0;
  letter-spacing: -0.02em;
}

.doc h3 {
  font-size: 1.04rem;
  margin: 32px 0 0;
  font-weight: 650;
  letter-spacing: -0.012em;
}

.doc p,
.doc li {
  color: var(--ink-soft);
}

.doc p {
  margin: 14px 0 0;
}

.doc ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.doc li {
  margin: 8px 0;
}

.doc li::marker {
  color: var(--accent);
}

.faq {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 650;
  letter-spacing: -0.012em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details > p,
.faq details > ul {
  margin-bottom: 18px;
}

.contact {
  margin-top: 40px;
  background: var(--accent-wash);
  border-radius: var(--radius);
  padding: 28px 30px;
}

.contact h2 {
  margin-top: 0;
}

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

footer {
  margin-top: 104px;
  border-top: 1px solid var(--line);
  padding: 30px 0 56px;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.foot-nav {
  display: flex;
  gap: 24px;
}

.foot-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
}

.foot-nav a:hover {
  color: var(--ink);
}

/* ---------- 404 ---------- */

.notfound {
  text-align: center;
  padding-block-start: 128px;
}

.notfound p {
  color: var(--muted);
  margin: 18px 0 30px;
}

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  .features,
  .steps,
  .extras {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero {
    padding-top: 52px;
  }

  section {
    padding-top: 72px;
  }

  .site-nav {
    gap: 20px;
  }

  .note,
  .contact {
    padding: 26px 22px;
  }

  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

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