:root {
  --ink: #1a1a1a;
  --paper: #f5faf8;
  /* Muted text — dark enough for sage/mint page backgrounds */
  --stone: #3d4f4c;
  /* Match the thin hero HR weight everywhere (was 0.12 — too heavy) */
  --line: rgba(26, 46, 42, 0.1);
  --rule-on-dark: rgba(250, 250, 248, 0.28);
  --accent: #3a8f88;
  --sage: #c7dbd4;
  --sage-light: #dceee8;
  --sage-mist: #eef6f3;
  --app-teal: #47a19c;
  --app-teal-light: #8fc4b8;
  /* Shared light tint from page gradient (sage-light): player + hero hover */
  --player-accent: var(--sage-light);
  /* Soft corners — match library filter chips */
  --btn-radius: 0.35rem;
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(71, 161, 156, 0.14), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(143, 196, 184, 0.1), transparent 36%),
    linear-gradient(180deg, var(--sage-light) 0%, var(--paper) 44%, var(--sage-mist) 100%);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.55;
}


a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-main,
.site-footer {
  width: min(100% - 2rem, 56rem);
  margin: 0 auto;
}

.site-header {
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1.25rem max(1rem, calc(50vw - 28rem)) 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  background: #ffffff;
}

.site-brand h1 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.site-brand h1 a {
  color: var(--ink);
  text-decoration: none;
}

/* Thin hairline HRs — same weight as the podcast hero rule, everywhere */
hr,
.site-rule,
.landing-hero-rule {
  display: block;
  box-sizing: content-box;
  width: 100%;
  max-width: none;
  height: 0;
  margin: 1rem 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
}

.landing-hero-rule {
  width: min(100%, 11rem);
  margin: 0 auto 0.95rem;
}

.landing-hero--dark .landing-hero-rule {
  border-top-color: var(--rule-on-dark);
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
  opacity: 0.72;
  text-decoration: none;
}

.site-main {
  flex: 1;
  padding: 2rem 0 7rem;
}

.site-main:has(.landing-hero--dark) {
  padding-top: 0;
}

.site-footer {
  padding: 1rem 0 2rem;
  color: var(--ink);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.site-footer--minimal {
  padding: 1.25rem 0 2rem;
  text-align: center;
}

.site-footer--minimal .footer-nav {
  justify-content: center;
  margin-top: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin-top: 0.65rem;
  font-size: 0.85rem;
}

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

.footer-nav a:hover {
  color: var(--ink);
  opacity: 0.72;
}

.hero {
  max-width: var(--max);
  padding: 1rem 0 2rem;
}

.hero h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 500;
}

.hero p {
  margin: 0 0 1.25rem;
  color: var(--stone);
  font-size: 1.05rem;
}

.landing {
  max-width: none;
}

.landing-hero {
  padding: 1rem 0 2rem;
}

.landing-hero--dark {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 2.5rem;
  min-height: 68vh;
  min-height: 68dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 2.5rem;
  background:
    radial-gradient(circle at 50% 100%, rgba(71, 161, 156, 0.14), transparent 50%),
    radial-gradient(circle at 20% 0%, rgba(249, 223, 116, 0.08), transparent 42%),
    linear-gradient(160deg, #141414 0%, #1a1a1a 45%, #242424 100%);
  color: #fafaf8;
  text-align: center;
}

.landing-hero-inner {
  width: min(100%, 28rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.landing-hero--dark .eyebrow {
  margin: 0;
  color: rgba(250, 250, 248, 0.55);
}

.landing-hero--dark h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.25rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fafaf8;
}

.landing-hero--dark p {
  margin: 0;
  color: rgba(250, 250, 248, 0.82);
  font-size: 1.08rem;
  line-height: 1.45;
}

.landing-hero-stats {
  margin: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(250, 250, 248, 0.92) !important;
}

.landing-hero--dark .cta-row {
  justify-content: center;
  margin-top: 0.15rem;
  width: 100%;
}

/* Podcast hero — same type ladder as app landing; SendFlow charcoal field */
.landing-hero--podcast {
  min-height: auto;
  padding-bottom: 3.5rem;
  margin-bottom: 0;
  background: #343434;
}

.landing-features-band {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: transparent;
  padding: 2.5rem max(1rem, calc(50vw - 28rem)) 2.75rem;
}

.landing-features-band .landing-features {
  margin: 0 auto;
}

/* Continuous sage field under charcoal heroes — match subscribe band top space */
.landing-rest {
  padding-top: 2.5rem;
}

.podcast-subscribe-band {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #343434;
  color: #fafaf8;
  padding: 2.5rem max(1rem, calc(50vw - 28rem)) 2.75rem;
}

.podcast-subscribe-band .podcast-subscribe {
  max-width: min(100%, var(--max));
  margin: 0 auto;
}

.podcast-subscribe-band .meta,
.podcast-subscribe-band .podcast-subscribe-hint {
  color: #fafaf8;
}

.podcast-subscribe-band .podcast-subscribe-link {
  background: #ffffff;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.podcast-subscribe-band .podcast-subscribe-link:hover {
  background: var(--sage-light);
  opacity: 1;
}

.landing-hero--podcast .landing-hero-inner {
  gap: 0;
  width: min(100%, 26rem);
}

@media (min-width: 721px) {
  .landing-hero--podcast .landing-hero-inner {
    width: min(100%, 42rem);
  }

  .landing-hero--podcast h2 {
    white-space: nowrap;
  }
}

.landing-hero--podcast h2 {
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.7rem;
}

.landing-hero--podcast .landing-hero-lede {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(250, 250, 248, 0.86);
}

.landing-hero--podcast .landing-hero-stats {
  margin: 0 0 0.35rem !important;
  font-size: 0.86rem !important;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(250, 250, 248, 0.78) !important;
}

/* SendFlow-style play disc + text caption, then Subscribe */
.podcast-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 20rem);
  gap: 1.35rem;
  margin-top: 0.5rem;
}

/* Base Listen disc (was in podcast-episode-player.css; kept after sticky player port) */
.plan-preview-launch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
  margin: 1.25rem auto 1.75rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  background-image: none;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  line-height: 1.35;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.plan-preview-launch--hero {
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Circle on inner span so Safari does not square the <button> */
.plan-preview-play__disc {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4.75rem;
  height: 4.75rem;
  min-width: 4.75rem;
  min-height: 4.75rem;
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: none;
}

.plan-preview-play__icon {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  margin-left: 0.15rem;
  flex-shrink: 0;
  pointer-events: none;
  color: var(--ink);
}

.plan-preview-launch:focus-visible {
  outline: 2px solid #fafaf8;
  outline-offset: 4px;
}

.plan-preview-label {
  margin: 0;
  max-width: 100%;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  white-space: normal;
  color: var(--ink);
}

@media (min-width: 480px) {
  .plan-preview-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }
}

@media (min-width: 768px) {
  .plan-preview-play__disc {
    width: 5.5rem;
    height: 5.5rem;
    min-width: 5.5rem;
    min-height: 5.5rem;
  }

  .plan-preview-play__icon {
    width: 1.9rem;
    height: 1.9rem;
  }
}

@supports (-webkit-touch-callout: none) {
  .plan-preview-play__disc {
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
  }
}

.landing-hero--podcast .plan-preview-launch--hero {
  margin: 0;
  max-width: none;
  width: 100%;
  color: #fafaf8;
}

.landing-hero--podcast .plan-preview-play__disc,
.landing-hero--podcast .plan-preview-launch--hero .plan-preview-play__disc {
  background-color: #ffffff !important;
  border: 1px solid var(--ink) !important;
  box-shadow: none;
  transition: background-color 0.15s ease;
}

.landing-hero--podcast .plan-preview-launch--hero:hover .plan-preview-play__disc,
.landing-hero--podcast .plan-preview-launch--hero:focus-visible .plan-preview-play__disc {
  background-color: var(--player-accent) !important;
}

.landing-hero--podcast .plan-preview-play__icon {
  color: var(--ink);
}

/* Caption stays text — not a button chrome */
.landing-hero--podcast .plan-preview-launch--hero .plan-preview-label {
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0;
  width: auto;
}

.landing-hero--podcast .podcast-hero-actions .btn.btn-hero {
  width: 100%;
  min-width: 0;
  text-align: center;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.landing-hero--podcast .podcast-hero-actions .btn.btn-hero:hover {
  background: var(--player-accent);
  border-color: var(--ink);
  color: var(--ink);
  opacity: 1;
}

.podcast-subscribe {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
}

.podcast-subscribe h3,
.podcast-subscribe-band h3,
.landing-list h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.podcast-subscribe-band h3 {
  color: #fafaf8;
}

.podcast-subscribe > .meta:not(.podcast-subscribe-hint) {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 400;
}

.podcast-subscribe-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.75rem, 1fr));
  gap: 0.55rem;
}

.podcast-subscribe-list li {
  margin: 0;
  min-width: 0;
}

.podcast-subscribe-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: var(--btn-radius);
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.podcast-subscribe-link:hover {
  text-decoration: none;
  background: var(--sage-light);
  opacity: 1;
}

.podcast-subscribe-hint {
  margin: 0.75rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.podcast-subscribe > .meta.podcast-subscribe-hint {
  margin: 0.75rem 0 0;
}

.podcast-subscribe--compact {
  margin: 0 auto 2rem;
}

.podcast-subscribe--compact .podcast-subscribe-list {
  margin-top: 0;
}

.episode-list--playable .episode-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: center;
}

.btn.btn-secondary.episode-row-listen {
  margin-top: 0;
  min-width: 5.25rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.2;
}

.btn.btn-secondary.episode-row-listen:hover {
  opacity: 1;
  color: var(--ink);
  background: var(--sage-light);
}

.episode-row-main {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.episode-row-main > a {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
}

.episode-row-summary {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink);
}

.meta.episode-row-summary {
  color: var(--ink);
  opacity: 1;
}

.episode-row-main > .meta {
  font-size: 0.92rem;
  line-height: 1.35;
}

.episode-list--playable .track-pill {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.72;
}

.landing--archive {
  padding-top: 0.5rem;
}

.archive-header {
  max-width: var(--max);
  margin: 0 auto 1.5rem;
}

.archive-header h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.archive-lede {
  margin: 0 0 0.45rem;
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.45;
}

.archive-count {
  margin: 0;
}

.archive-filters {
  max-width: var(--max);
  margin: 0 auto 1.75rem;
  display: grid;
  gap: 0.85rem;
}

.archive-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.archive-filter {
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--btn-radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  cursor: pointer;
}

.archive-filter:hover {
  background: var(--sage-light);
}

.archive-filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fafaf8;
}

.archive-filter.is-active:hover {
  background: var(--ink);
  color: #fafaf8;
}

.archive-list {
  margin-bottom: 1.25rem;
}

.archive-empty {
  margin: 1rem 0 0;
}

.archive-back,
.archive-more {
  max-width: var(--max);
  margin: 0 auto 2rem;
}

.archive-more {
  margin-top: 1.1rem;
}

.archive-more a,
.archive-back a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.episode-body-section,
.episode-next-steps {
  margin: 2.5rem 0 0;
}

.episode-body-section h3,
.episode-next-steps h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* Compound selectors so these beat base .btn (which is defined later). */
.btn.btn-hero {
  background: #ffffff;
  border-color: var(--ink);
  color: var(--ink);
  min-width: min(100%, 18rem);
  font-weight: 600;
}

.btn.btn-hero:hover {
  opacity: 1;
  color: var(--ink);
  background: var(--sage-light);
}

.landing-hero--dark .btn.btn-hero:hover {
  background: var(--sage-light);
  border-color: var(--ink);
  color: var(--ink);
  opacity: 1;
}

.btn.btn-hero-secondary {
  background: transparent;
  border-color: rgba(250, 250, 248, 0.35);
  color: #fafaf8;
  min-width: min(100%, 18rem);
}

.btn.btn-hero-secondary:hover {
  border-color: rgba(250, 250, 248, 0.7);
  color: #fafaf8;
  opacity: 1;
}

.landing-features {
  max-width: min(100% - 2rem, 56rem);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}

.landing-features--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-feature-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  line-height: 1.35;
}

.landing-feature-icon {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 1.65rem;
  line-height: 1;
}

.landing-feature-text {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.5;
}

.landing-feature-text strong {
  color: var(--ink);
  font-weight: 600;
}

.landing-feature-text em {
  font-size: 1.02rem;
  font-style: italic;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
}

.landing-feature-extra {
  margin: 0.85rem 0 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.5;
}

.landing-feature-extra strong {
  color: var(--ink);
  font-weight: 600;
}

.landing-feature-extra em {
  font-size: 1.02rem;
  font-style: italic;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
}

/* App landing — match dana / FAQ scale in three-up columns */
.landing--app .landing-features {
  gap: 2.25rem 2.75rem;
  margin-bottom: 3rem;
}

.landing--app .landing-feature-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.landing--app .landing-feature-text,
.landing--app .landing-feature-extra {
  font-size: 1.02rem;
}

.landing-links {
  max-width: var(--max);
  margin: 0 auto 1.5rem;
}

.landing-list {
  max-width: var(--max);
  margin: 0 auto 2.75rem;
}

.landing-list h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.65rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--ink);
  border-radius: var(--btn-radius);
  background: var(--ink);
  color: #fafaf8;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  opacity: 1;
  background: #2a2a2a;
  color: #fafaf8;
}

.btn.btn-secondary {
  background: #ffffff;
  color: var(--ink);
}

.btn.btn-secondary:hover {
  background: var(--sage-light);
  color: var(--ink);
  opacity: 1;
}

.landing-hero--dark .btn.btn-hero {
  background: #ffffff;
  border-color: var(--ink);
  color: var(--ink);
}

.landing-hero--dark .btn.btn-hero-secondary {
  background: transparent;
  border-color: rgba(250, 250, 248, 0.45);
  color: #fafaf8;
}

/* App landing — product preview on dark hero */
.landing-hero--app {
  flex-direction: column;
  gap: 2.5rem;
  min-height: auto;
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
}

.landing-hero--app .landing-hero-inner {
  gap: 0;
  width: min(100%, 26rem);
}

@media (min-width: 721px) {
  .landing-hero--app .landing-hero-inner {
    width: min(100%, 42rem);
  }

  .landing-hero--app h2 {
    white-space: nowrap;
  }
}

/* Type ladder: brand → promise → quiet trust → badge → devices */
.landing-hero--app h2 {
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.7rem;
}

.landing-hero--app .landing-hero-lede {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(250, 250, 248, 0.86);
}

.landing-hero--app .cta-row--badges {
  margin: 0.15rem 0 0;
}

.landing-hero--app .landing-hero-alt {
  margin: 0.65rem 0 0;
}

.landing-hero-platforms {
  margin: 0.75rem auto 0 !important;
  text-align: center;
  color: #fafaf8 !important;
  opacity: 1;
  font-size: 0.8rem !important;
  font-weight: 400;
  letter-spacing: 0.01em;
  max-width: 22rem;
  line-height: 1.35;
}

.landing-hero--app .app-shot--hero {
  width: min(100%, 18rem);
  margin: 0.5rem auto 0;
  padding: 0 0.75rem;
}

.app-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

/* Device frames — stylized bezels around real UI captures */
.app-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #101012;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 16px 44px rgba(0, 0, 0, 0.16);
}

.app-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.app-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.app-frame--iphone {
  border-radius: 2.65rem;
  padding: 0.38rem;
  background: linear-gradient(168deg, #2d2d2f 0%, #121214 52%, #1c1c1e 100%);
}

.app-frame--iphone img {
  border-radius: 2.2rem;
}

/* Hero iPhone slideshow only */
.app-shot-slideshow .app-shot-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1206 / 2622;
}

.app-shot-slideshow .app-shot-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 2.2rem;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.app-shot-slideshow .app-shot-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.app-shot-dots {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 0.35rem;
}

.app-shot-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.app-shot-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.landing-hero--app .app-shot-dot {
  background: rgba(250, 250, 248, 0.25);
}

.landing-hero--app .app-shot-dot.is-active {
  background: rgba(250, 250, 248, 0.85);
}

.app-frame--ipad {
  border-radius: 1.35rem;
  padding: 0.38rem;
  background: linear-gradient(168deg, #2b2b2d 0%, #111113 100%);
}

.app-frame--ipad img {
  border-radius: 0.95rem;
}

.app-frame--mac {
  border-radius: 0.55rem;
  padding: 0.32rem 0.28rem 0;
  background: linear-gradient(168deg, #2d2d2f 0%, #111113 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.app-frame--mac::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.app-frame--mac img {
  border-radius: 0.35rem;
}

.app-frame--mac::before {
  content: "";
  position: absolute;
  top: 0.14rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 999px;
  background: #0e0e10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 1;
}

.app-frame--watch {
  border-radius: 2rem;
  padding: 0.5rem 0.38rem 0.55rem;
  background: linear-gradient(168deg, #2b2b2d 0%, #101012 100%);
}

.app-frame--watch img {
  border-radius: 1.55rem;
}

.app-frame--tv {
  border-radius: 0.35rem;
  padding: 0.35rem 0.35rem 0.25rem;
  background: linear-gradient(180deg, #242426, #0a0a0c);
}

.app-frame--tv img {
  border-radius: 0.12rem;
}

.app-frame--vision {
  border-radius: 11.8% / 11.8%;
  padding: 0;
  background: transparent;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.07);
}

.app-frame--vision::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.app-frame--vision img {
  border-radius: 11.8% / 11.8%;
}

.app-dana,
.app-faq,
.app-download-again {
  max-width: var(--max);
  margin: 0 auto 2.75rem;
}

/* Full-bleed device collage band — single gradient image, soft page edges */
.app-anywhere {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 2.75rem;
  padding: 2.75rem 1.25rem 3.25rem;
  background-color: transparent;
  background-image: url("/images/app/gradient-band.png");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.app-collage-figure {
  margin: 0 auto;
  width: min(100%, 52rem);
  background: transparent;
}

.app-collage-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.app-dana h3,
.app-faq h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
}

.app-dana-lede {
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

.app-anywhere-cta {
  width: min(100%, 52rem);
  margin-top: 1.75rem;
  text-align: center;
}

.app-anywhere-cta .cta-row {
  margin: 0;
  justify-content: center;
}

.app-anywhere-cta .app-clip-cta--text {
  color: var(--ink);
}

.app-anywhere-cta .app-clip-cta--text:hover {
  color: var(--ink);
  opacity: 0.75;
}

.app-dana-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
}

.app-dana-list li {
  margin: 0;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--stone);
  font-size: 1.02rem;
  line-height: 1.45;
}

.app-dana-list strong {
  color: var(--ink);
  font-weight: 600;
}

.app-faq-list {
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.app-faq-list dt {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--ink);
}

.app-faq-list dd {
  margin: 0;
  color: var(--stone);
  line-height: 1.5;
}

.app-download-again .cta-row {
  margin: 0;
  align-items: center;
}

.cta-row--badges {
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.app-store-badge {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.app-store-badge img {
  display: block;
  height: 2.75rem;
  width: auto;
}

.app-store-badge:hover {
  opacity: 0.92;
  text-decoration: none;
}

.landing-hero--dark .cta-row--badges .btn.btn-hero-secondary {
  min-width: 0;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

/* App Clip — iPhone / iPad only (class set in baseof head). */
.app-clip-cta {
  display: none !important;
}

html.is-apple-ios .app-clip-cta {
  display: inline !important;
}

.landing-hero-alt {
  margin: 0;
  min-height: 1.25rem;
}

.landing-hero--dark .app-clip-cta--text {
  color: rgba(250, 250, 248, 0.72);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.landing-hero--dark .app-clip-cta--text:hover {
  color: #fafaf8;
}

.app-download-alt {
  margin: 0.85rem 0 0;
  text-align: center;
}

.app-download-alt .app-clip-cta--text {
  color: var(--ink);
}

.app-download-alt .app-clip-cta--text:hover {
  color: var(--ink);
  opacity: 0.75;
}

html:not(.is-apple-ios) .app-download-alt-sep {
  display: none;
}

.meta {
  color: var(--ink);
  opacity: 0.72;
  font-size: 0.95rem;
}

.home-pillars {
  max-width: var(--max);
  margin: 0 0 2.5rem;
}

.home-pillar-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.home-pillar-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.home-pillar-list a {
  color: var(--ink);
  text-decoration: none;
}

.home-pillar-list a:hover {
  color: var(--ink);
  opacity: 0.72;
}

.app-section {
  max-width: var(--max);
}

.app-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.app-subnav a {
  color: var(--stone);
  text-decoration: none;
}

.app-subnav a:hover,
.app-subnav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
}

.app-subnav a[aria-current="page"] {
  font-weight: 600;
}

.app-hero .app-lede {
  color: var(--ink);
  font-size: 1.15rem;
}

.app-point-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.app-point-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.app-links,
.app-related,
.app-points {
  margin: 2.25rem 0 0;
}

.app-doc h2 {
  margin: 0 0 1rem;
}

.app-doc h2 + p {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--stone);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.episode-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.episode-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.episode-list a {
  color: var(--ink);
  font-size: 1.15rem;
}

.track-pill {
  display: inline-block;
  margin-right: 0.4rem;
  color: var(--ink);
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.episode-article {
  max-width: var(--max);
  margin: 0 auto;
}

.episode-header {
  margin: 0 0 1.35rem;
}

.episode-article .track-pill {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.72;
}

.episode-article h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.episode-summary {
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--ink);
}

.episode-published {
  margin: 0.55rem 0 0;
}

.player-card {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.player-card audio {
  width: 100%;
  margin-top: 0.75rem;
}

.chapters {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.chapters button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.25rem 0;
  font: inherit;
  cursor: pointer;
}

.sticky-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: rgba(26, 26, 26, 0.94);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(110%);
  transition: transform 180ms ease;
}

.sticky-player.is-visible {
  transform: translateY(0);
}

.sticky-player-inner {
  width: min(100% - 1.5rem, 56rem);
  margin: 0 auto;
  padding: 0.75rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.sticky-player audio {
  width: min(100%, 22rem);
}

.sticky-meta {
  min-width: 0;
}

.sticky-meta strong,
.sticky-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-meta span {
  color: rgba(250, 250, 248, 0.7);
  font-size: 0.85rem;
}

.episode-script-page {
  max-width: var(--max);
}

.episode-listen-launch {
  margin: 0 0 1.5rem;
}

.listen-launch-btn {
  width: 100%;
  text-align: center;
  font-size: 1.05rem;
  min-height: 3rem;
}

.episode-listen-launch .meta {
  margin: 0.55rem 0 0;
}

code {
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.86em;
}

@media (max-width: 720px) {
  .landing-features {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .podcast-subscribe-list {
    grid-template-columns: 1fr;
  }

  .episode-list--playable .episode-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .btn.btn-secondary.episode-row-listen {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    gap: 0.95rem;
  }

  .sticky-player-inner {
    grid-template-columns: 1fr;
  }

  .sticky-player audio {
    width: 100%;
  }
}

.secondary-details {
  margin: 1.5rem 0;
  color: var(--stone);
}

.secondary-details summary {
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.legacy-audio audio {
  width: 100%;
}

.episode-body {
  margin-top: 0.35rem;
  max-width: var(--max);
  font-size: 1.05rem;
  line-height: 1.55;
}

.episode-body > *:first-child {
  margin-top: 0;
}

.episode-body h2,
.episode-body h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.mobile-back {
  margin: 2rem 0 0;
}

.mobile-back a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.workbench-hero p {
  max-width: 28rem;
}

.library-hero p {
  max-width: 36rem;
}

.library-layers {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.library-layer-card {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.library-layer-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.library-shelf-list,
.library-session-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.library-shelf-list li,
.library-session-list li {
  border-top: 1px solid var(--line);
}

.library-shelf-link,
.library-session-list a {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0.1rem;
  color: var(--ink);
  text-decoration: none;
}

.library-shelf-link:hover,
.library-session-list a:hover {
  text-decoration: none;
}

.library-shelf-title {
  font-size: 1.3rem;
  line-height: 1.25;
}

.library-shelf-desc {
  max-width: 36rem;
}

.library-session-list.ordered li a,
.library-session-list li a {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
}

.library-session-list:not(.ordered) li a {
  grid-template-columns: 1fr;
}

.library-session-index {
  width: 1.6rem;
  color: var(--stone);
  font-size: 0.95rem;
  padding-top: 0.15rem;
}

.library-session-main {
  display: grid;
  gap: 0.2rem;
}

.library-session-main strong {
  font-size: 1.15rem;
  font-weight: 500;
}

.library-session-list.muted .library-session-main strong {
  color: var(--stone);
}

.library-wave2 {
  margin-top: 2rem;
}

.library-session-meta {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.library-session-meta div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem;
}

.library-session-meta dt {
  margin: 0;
  color: var(--stone);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.library-session-meta dd {
  margin: 0;
}

.home-library {
  margin-bottom: 2rem;
}

.home-shelf-list .library-shelf-title {
  font-size: 1.15rem;
}

.workbench-list {
  margin-top: 0.5rem;
}

.workbench-item {
  padding: 0 !important;
  border-top: 1px solid var(--line);
}

.workbench-link {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 0.15rem;
  color: var(--ink);
  text-decoration: none;
}

.workbench-link:hover {
  text-decoration: none;
}

.workbench-title {
  font-size: 1.25rem;
  line-height: 1.25;
}

.listen-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(26, 26, 26, 0.96);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.7rem 0 calc(0.7rem + env(safe-area-inset-bottom, 0px));
}

.listen-dock-inner {
  width: min(100% - 1.25rem, 40rem);
  margin: 0 auto;
  display: grid;
  gap: 0.55rem;
}

.listen-dock-status strong,
.listen-dock-status span {
  display: block;
}

.listen-dock-status span {
  color: rgba(250, 250, 248, 0.72);
  font-size: 0.86rem;
  margin-top: 0.15rem;
}

.listen-dock-actions {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 0.4rem;
}

.listen-dock .listen-btn {
  border-color: rgba(250, 250, 248, 0.35);
  color: var(--paper);
}

.listen-dock .listen-btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
