@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  --roast-red: #B82A24;
  --roast-red-light: #D4423B;
  --roast-red-dark: #8C1F1A;
  --roast-red-deep: #6B1712;

  --ink: #0A0A0C;
  --ink-90: #141416;
  --ink-80: #1E1E22;
  --ink-70: #2A2A30;
  --ink-60: #3A3A42;
  --ink-40: #6A6A74;
  --ink-30: #8A8A94;
  --ink-20: #AAAAB2;
  --ink-10: #D4D0C8;

  --parchment: #F0EBE0;
  --parchment-light: #F7F4ED;
  --parchment-dark: #E4DDD0;

  --white: #FAFAF7;

  --font-display: 'Cormorant Garamond', serif;
  --font-brand: 'Libre Baskerville', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-heading: rgba(255,255,255,0.82);
  --text-body: rgba(255,255,255,0.58);
  --text-secondary: rgba(255,255,255,0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; }

body {
  background: var(--ink);
  color: var(--text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100%;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ==================== */
/* ACCESSIBILITY        */
/* ==================== */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 200;
  padding: 12px 24px; background: var(--roast-red); color: #fff;
  font-family: var(--font-mono); font-size: 12px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--roast-red); outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .scroll-container { scroll-snap-type: none; scroll-behavior: auto; }
}

/* ==================== */
/* SCROLL SNAP (landing)*/
/* ==================== */
.scroll-container {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

/* ==================== */
/* NAV                  */
/* ==================== */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, var(--ink) 0%, var(--ink) 60%, transparent 100%);
}

.nav-stamp {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; padding: 8px 18px 7px;
  border: 1px solid rgba(255,255,255,0.12); text-decoration: none;
}
.nav-stamp::before {
  content: ''; position: absolute; inset: 2px;
  border: 0.5px solid rgba(255,255,255,0.05);
}
.nav-stamp-word {
  font-family: var(--font-brand); font-weight: 700; font-size: 13px;
  color: #E8E6E1; letter-spacing: 0.15em; line-height: 1;
}
.nav-stamp-fm {
  font-family: var(--font-brand); font-weight: 400; font-size: 4px;
  color: rgba(255,255,255,0.2); letter-spacing: 0.12em;
  position: absolute; bottom: 3px; right: 6px;
}

.nav-subscribe {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-secondary);
  text-decoration: none; padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.12); transition: all 0.4s ease;
}
.nav-subscribe:hover {
  color: #fff; border-color: var(--roast-red);
  background: rgba(184,42,36,0.08);
}

/* ==================== */
/* APP NAV (sticky bar) */
/* ==================== */
.app-nav {
  position: sticky; top: 0; z-index: 100;
  padding: 20px 32px;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, var(--ink) 0%, var(--ink) 80%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.app-nav-links {
  display: flex; align-items: center; gap: 20px;
}

.app-nav-links a,
.app-nav-links button {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-secondary);
  text-decoration: none; background: none; border: none; cursor: pointer;
  padding: 8px 0; transition: color 0.3s ease;
}

.app-nav-links a:hover,
.app-nav-links a:focus-visible,
.app-nav-links button:hover,
.app-nav-links button:focus-visible {
  color: var(--text-heading);
}

.app-nav-links a.is-active {
  color: var(--text-heading);
  border-bottom: 1px solid var(--roast-red);
}

/* Shared brand stamp (small, for app nav) */
.brand-stamp {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; padding: 5px 12px 4px;
  border: 1px solid rgba(255,255,255,0.1); text-decoration: none;
}
.brand-stamp::before {
  content: ''; position: absolute; inset: 2px;
  border: 0.5px solid rgba(255,255,255,0.04);
}
.brand-stamp-word {
  font-family: var(--font-brand); font-weight: 700; font-size: 10px;
  color: #E8E6E1; letter-spacing: 0.15em; line-height: 1;
}
.brand-stamp-fm {
  font-family: var(--font-brand); font-weight: 400; font-size: 3px;
  color: rgba(255,255,255,0.2); letter-spacing: 0.12em;
  position: absolute; bottom: 2px; right: 4px;
}

/* ==================== */
/* LAYOUT               */
/* ==================== */
.page-width {
  max-width: 720px; margin: 0 auto; width: 100%;
  padding: 0 32px;
}

.page-width-wide {
  max-width: 880px; margin: 0 auto; width: 100%;
  padding: 0 32px;
}

.section {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
}

.section > .page-width,
.section > .page-width-wide {
  width: 100%;
}

/* Non-snap sections (used on subpages) */
.content-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 40px; line-height: 1.3;
}

.section-intro {
  font-size: 15px; color: var(--text-body);
  line-height: 1.8; font-weight: 400;
  max-width: 520px;
}

.section-intro + .section-intro { margin-top: 16px; }

/* ==================== */
/* HERO                 */
/* ==================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 32px 80px;
}

.hero-inner {
  max-width: 720px; margin: 0 auto; width: 100%;
}

.headline {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 300;
  color: var(--text-heading);
  line-height: 1.1; margin-bottom: 28px;
}

.hero-sub {
  font-size: 17px; color: var(--text-body);
  line-height: 1.75; margin-bottom: 44px;
  font-weight: 400; max-width: 580px;
}

.hero-cta {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 56px;
}

.hero-price {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-secondary); letter-spacing: 0.5px;
}

/* ==================== */
/* BUTTONS              */
/* ==================== */
.cta-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  background: var(--roast-red); color: #fff;
  text-decoration: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  position: relative; transition: background 0.3s ease;
}
.cta-primary::before {
  content: ''; position: absolute; inset: 3px;
  border: 0.5px solid rgba(255,255,255,0.15); pointer-events: none;
}
.cta-primary:hover { background: var(--roast-red-light); }

.cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; width: 100%;
  background: var(--roast-red); color: #fff;
  text-decoration: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; position: relative;
  transition: background 0.2s ease;
}
.cta-btn::before {
  content: ''; position: absolute; inset: 3px;
  border: 0.5px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.cta-btn:hover { background: var(--roast-red-light); }

.cta-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  background: transparent; color: var(--text-body);
  text-decoration: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.3s ease;
}
.cta-secondary:hover {
  color: #fff; border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

/* App-level buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: var(--roast-red); color: #fff;
  text-decoration: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  position: relative; transition: background 0.3s ease;
}
.btn::before {
  content: ''; position: absolute; inset: 3px;
  border: 0.5px solid rgba(255,255,255,0.15); pointer-events: none;
}
.btn:hover { background: var(--roast-red-light); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  background: transparent; color: var(--text-body);
  text-decoration: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  color: var(--text-heading); border-color: rgba(255,255,255,0.2);
}

.btn-row {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px;
}

/* ==================== */
/* PLAYER               */
/* ==================== */
.hero-episode {
  background: var(--ink-90);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 24px 28px;
}

.player-top {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}

.player-info { flex: 1; }

.episode-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 2px; line-height: 1.3;
}

.episode-kicker {
  font-family: var(--font-display);
  font-size: 14px; font-style: italic;
  color: var(--text-secondary);
}

.episode-time {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-secondary); letter-spacing: 0.5px;
  flex-shrink: 0;
}

.player-waveform {
  display: flex; align-items: center; gap: 2px;
  height: 40px; margin-bottom: 20px;
}

.wave-bar {
  flex: 1; border-radius: 1px;
  background: rgba(255,255,255,0.1);
  transition: height 0.15s ease;
}
.wave-bar.active {
  background: rgba(255,255,255,0.25);
}

.unmute-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all 0.3s ease;
  color: inherit;
}
.unmute-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.unmute-btn.is-unmuted {
  border-color: rgba(255,255,255,0.15);
}

.unmute-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0; position: relative;
}
.unmute-icon svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--text-secondary);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.3s ease;
}
.unmute-btn:hover .unmute-icon svg,
.unmute-btn.is-unmuted .unmute-icon svg {
  stroke: var(--text-heading);
}

.mute-slash {
  position: absolute;
  width: 22px; height: 1.5px;
  background: var(--text-secondary);
  transform: rotate(-45deg);
  transition: opacity 0.2s ease;
}
.unmute-btn.is-unmuted .mute-slash { opacity: 0; }

.unmute-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-secondary); letter-spacing: 1px;
  text-transform: uppercase; transition: color 0.3s ease;
}
.unmute-btn:hover .unmute-label,
.unmute-btn.is-unmuted .unmute-label {
  color: var(--text-body);
}

/* ==================== */
/* PROBLEM              */
/* ==================== */
.assertions {
  display: flex; flex-direction: column;
}

.assertion {
  font-size: 16px; color: var(--text-body);
  font-weight: 400; line-height: 1.75;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.assertion:first-child { padding-top: 0; }
.assertion:last-child {
  border-bottom: none;
  color: var(--text-heading);
}

/* ==================== */
/* STEPS                */
/* ==================== */
.steps {
  display: flex; flex-direction: column;
  gap: 0; margin-top: 48px;
}

.step {
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; }

.step-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
  color: var(--text-heading); margin-bottom: 10px;
}

.step-title span {
  color: var(--text-secondary);
}

.step-desc {
  font-size: 14px; color: var(--text-body);
  font-weight: 400; line-height: 1.75;
  max-width: 520px;
}

/* ==================== */
/* PRICING              */
/* ==================== */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pricing-card {
  background: var(--ink-90);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 36px 28px;
}

.pricing-card.featured {
  border-color: rgba(184,42,36,0.2);
}

.tier-name {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px; margin-bottom: 6px;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 300;
  color: var(--text-heading); margin-bottom: 2px;
}

.tier-period {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.5px; margin-bottom: 20px;
}

.tier-hours {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-body); letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.tier-desc {
  font-size: 13px; color: var(--text-body);
  font-weight: 400; line-height: 1.7; min-height: 66px;
}

.tier-cta { margin-top: 28px; }

.pricing-card:not(.featured) .cta-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.12);
}
.pricing-card:not(.featured) .cta-btn::before { display: none; }
.pricing-card:not(.featured) .cta-btn:hover {
  background: rgba(255,255,255,0.04);
}

.pricing-footer { margin-top: 36px; }

.overage-note {
  font-size: 13px; color: var(--text-secondary);
  font-weight: 400; line-height: 1.6;
}

.cancel-note {
  margin-top: 8px; font-size: 12px;
  color: var(--text-secondary); font-weight: 300;
}

/* ==================== */
/* FOOTER               */
/* ==================== */
footer {
  padding: 60px 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  max-width: 720px; margin: 0 auto;
}

.footer-legal {
  font-size: 11px; color: var(--text-secondary);
  font-weight: 400; letter-spacing: 0.5px;
}

/* Extended footer (subpages) */
.site-footer {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 18px;
  font-size: 12px; color: var(--text-secondary);
}

.site-footer nav {
  display: flex; flex-wrap: wrap; gap: 16px;
}

.site-footer a:hover { color: var(--text-heading); }

/* ==================== */
/* SUBPAGE LAYOUT       */
/* ==================== */
.subpage {
  max-width: 720px; margin: 0 auto;
  padding: 0 32px;
}

.subpage-wide {
  max-width: 880px; margin: 0 auto;
  padding: 0 32px;
}

.subpage-header {
  padding: 120px 0 60px;
}

.subpage-title {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 300;
  color: var(--text-heading);
  line-height: 1.2; margin-bottom: 20px;
}

.subpage-intro {
  font-size: 15px; color: var(--text-body);
  line-height: 1.8; max-width: 520px;
}

.subpage-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--roast-red); letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 500;
  margin-bottom: 12px;
}

/* ==================== */
/* CONTENT CARDS        */
/* ==================== */
.card-flat {
  background: var(--ink-90);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 32px 28px;
}

.card-flat h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 12px; line-height: 1.3;
}

.card-flat p {
  font-size: 14px; color: var(--text-body);
  line-height: 1.75;
}

.card-flat .card-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-secondary); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 12px;
  display: block;
}

.card-flat a.card-link {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-secondary); letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2px; transition: color 0.3s ease;
}
.card-flat a.card-link:hover { color: var(--text-heading); }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-1 { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* ==================== */
/* FAQ ITEMS            */
/* ==================== */
.faq-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 10px; line-height: 1.3;
}
.faq-item h3 a { color: inherit; }

.faq-item p {
  font-size: 14px; color: var(--text-body);
  line-height: 1.75; max-width: 580px;
}

.faq-item .support-copy {
  margin-top: 12px;
}
.faq-item .support-copy p {
  color: var(--text-secondary); font-size: 13px;
}

/* ==================== */
/* LEGAL BODY           */
/* ==================== */
.legal-body {
  padding: 60px 0;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  color: var(--text-heading);
  margin: 40px 0 12px; line-height: 1.3;
}
.legal-body h2:first-child { margin-top: 0; }

.legal-body p {
  font-size: 14px; color: var(--text-body);
  line-height: 1.8; max-width: 580px;
}

.legal-body p + p { margin-top: 14px; }

.legal-body a { border-bottom: 1px solid rgba(255,255,255,0.15); }
.legal-body a:hover { color: var(--text-heading); }

.legal-body code {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-secondary); background: rgba(255,255,255,0.04);
  padding: 2px 6px;
}

.legal-body ul, .legal-body ol {
  margin: 12px 0; padding-left: 20px;
}
.legal-body li {
  font-size: 14px; color: var(--text-body);
  line-height: 1.8; padding: 2px 0;
}

/* Support copy (blog articles, FAQ detail) */
.support-copy p {
  font-size: 14px; color: var(--text-body);
  line-height: 1.8; max-width: 580px;
}
.support-copy p + p { margin-top: 14px; }
.support-copy ul, .support-copy ol {
  margin: 12px 0; padding-left: 20px;
}
.support-copy li {
  font-size: 14px; color: var(--text-body);
  line-height: 1.8; padding: 2px 0;
}

.muted {
  font-size: 12px; color: var(--text-secondary);
  font-weight: 400;
}

/* ==================== */
/* FORMS                */
/* ==================== */
.form-stack {
  display: grid; gap: 14px; margin-top: 22px;
}

.form-grid {
  display: grid; gap: 16px;
}

.field {
  display: grid; gap: 8px;
}

.field span {
  font-size: 12px; color: var(--text-secondary);
  font-family: var(--font-mono); letter-spacing: 0.5px;
  text-transform: uppercase;
}

input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--ink-90);
  color: var(--text-heading);
  font: inherit; font-size: 14px;
  transition: border-color 0.2s ease;
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
  border-color: var(--roast-red);
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: var(--text-secondary);
}

input[readonly] { opacity: 0.6; }

.fine-print {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.6;
}
.fine-print a { border-bottom: 1px solid rgba(255,255,255,0.1); }

/* ==================== */
/* STATUS / FEEDBACK    */
/* ==================== */
.status-line {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-secondary); letter-spacing: 0.3px;
  min-height: 1.6em; margin-top: 12px;
}
.status-line[data-state="success"] { color: #b4f5d0; }
.status-line[data-state="error"] { color: #ffb4a8; }
.status-line[data-state="info"] { color: var(--text-body); }

/* ==================== */
/* APP: SHARED          */
/* ==================== */
.app-page {
  min-height: 100vh;
  min-height: 100dvh;
}

.app-shell {
  max-width: 720px; margin: 0 auto;
  padding: 0 32px 80px;
}

.app-section {
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.app-section:first-child { border-top: none; padding-top: 24px; }

.app-section-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 24px; line-height: 1.3;
}

.app-section-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-secondary); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 8px;
  display: block;
}

.app-page-title {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 300;
  color: var(--text-heading);
  line-height: 1.2; margin-bottom: 12px;
}

.app-page-intro {
  font-size: 15px; color: var(--text-body);
  line-height: 1.75; max-width: 520px;
  margin-bottom: 32px;
}

/* Metric cards (app) */
.metric-flat {
  background: var(--ink-90);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 24px 20px;
}

.metric-flat .metric-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-secondary); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 8px;
  display: block;
}

.metric-flat .metric-value {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.metric-flat p {
  font-size: 13px; color: var(--text-body);
  line-height: 1.6;
}

/* Artifact cards (app: alias, feed URL) */
.artifact-flat {
  background: var(--ink-90);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 24px 20px;
}

.artifact-flat .artifact-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-secondary); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 8px;
  display: block;
}

.artifact-flat .artifact-value {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--parchment-light); word-break: break-all;
  margin-bottom: 8px;
}

.artifact-flat .artifact-actions {
  display: flex; gap: 8px; margin-top: 12px;
}

.artifact-flat p {
  font-size: 13px; color: var(--text-body);
  line-height: 1.6;
}

/* Inbox list (app) */
.split-view {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
}

.inbox-list {
  display: flex; flex-direction: column; gap: 0;
}

.item-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none; transition: background 0.2s ease;
}
.item-row:first-child { padding-top: 0; }
.item-row:last-child { border-bottom: none; }

.item-row:hover { background: rgba(255,255,255,0.02); }
.item-row.is-active { background: rgba(184,42,36,0.06); }

.item-row strong {
  font-size: 14px; color: var(--text-heading);
  font-weight: 500; display: block;
}
.item-row .muted { display: block; margin-top: 2px; }

.item-meta {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 4px; flex-shrink: 0;
}

.pill {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-secondary);
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.pill-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}

/* Detail panel */
.detail-card {
  padding: 32px 0;
}

.detail-card h2 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 400;
  color: var(--text-heading);
  margin: 12px 0 8px;
}

.detail-actions {
  display: flex; gap: 12px; margin-top: 20px;
}

/* Empty state */
.empty-state {
  padding: 48px 0; text-align: center;
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 14px; color: var(--text-secondary);
}

/* Banner warning */
.banner-warning {
  border-left: 3px solid #f59e0b;
  padding: 16px 20px;
  background: rgba(245, 158, 11, 0.04);
}
.banner-warning strong {
  color: var(--text-heading); font-size: 14px;
}
.banner-warning a {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-secondary); letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-left: 12px;
}
.banner-warning a:hover { color: var(--text-heading); }

/* Consent items */
.consent-list { display: flex; flex-direction: column; gap: 12px; }

.consent-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.consent-item:last-child { border-bottom: none; }
.consent-item input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  flex-shrink: 0;
}
.consent-item span {
  font-size: 14px; color: var(--text-body);
}
.consent-item a { border-bottom: 1px solid rgba(255,255,255,0.15); }

/* Activation checklist */
.activation-checklist {
  padding: 24px 0;
}
.activation-checklist .checklist-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-secondary); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 12px;
  display: block;
}
.activation-checklist ul {
  padding-left: 20px; margin: 0;
}
.activation-checklist li {
  font-size: 14px; color: var(--text-body);
  padding: 4px 0; line-height: 1.75;
}

/* Sticky form actions */
.sticky-actions {
  position: sticky; bottom: 0;
  padding: 16px 0 calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 0%, var(--ink) 30%);
}

/* Dossier card */
.dossier-card {
  background: var(--ink-90);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 28px 24px; margin-top: 24px;
}
.dossier-card h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
  color: var(--text-heading);
  margin: 8px 0;
}
.dossier-card p {
  font-size: 14px; color: var(--text-body);
  line-height: 1.75;
}

/* Status panel (sign-in, billing success) */
.status-panel {
  max-width: 720px; margin: 0 auto;
  padding: 120px 32px 80px;
}

.status-panel h2 {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 300;
  color: var(--text-heading);
  line-height: 1.2; margin-bottom: 16px;
}

.status-actions {
  display: flex; gap: 12px; margin-top: 24px;
}

/* ==================== */
/* RESPONSIVE           */
/* ==================== */
@media (max-width: 720px) {
  .pricing-grid, .grid-2 { grid-template-columns: 1fr; }
  .tier-desc { min-height: auto; }
  .split-view { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .landing-nav { padding: 20px 24px; }
  .app-nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .headline { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-episode { padding: 20px; }
  .page-width, .page-width-wide,
  .subpage, .subpage-wide { padding: 0 24px; }
  .section { padding: 80px 0; }
  .content-section { padding: 60px 0; }
  .section-title { font-size: 22px; }
  .subpage-title { font-size: 28px; }
  .subpage-header { padding: 80px 0 40px; }
  .pricing-card { padding: 28px 24px; }
  .tier-price { font-size: 32px; }
  footer { padding: 48px 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .app-nav-links { flex-wrap: wrap; gap: 12px; }
  .status-panel { padding: 80px 24px 60px; }
}
