/* ============================================================
   Podcast Playlist — site styles
   Home page = Hero Option D (sticky notes), widened so the
   headline, the lede and the reassurance line each sit on two
   lines at desktop instead of three and four.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-grape); text-decoration: none; }
a:hover { color: var(--pk-onyx); }

/* ------------------------------------------------------------
   Shell
   ------------------------------------------------------------ */

.page {
  min-height: 100vh;
  padding: 34px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.masthead {
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 46px;
}
.masthead__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--pk-onyx);
}
.masthead__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-grape);
  margin-bottom: 22px;
}

/* Two lines at desktop. 34ch is wide enough to pull "out of ORDER."
   up onto line two, and text-wrap:balance keeps the break even. */
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--pk-onyx);
  margin: 0 0 24px;
  max-width: 34ch;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--accent-grape); }

/* Two lines at desktop. Wide measure on purpose. */
.hero__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 34px;
  max-width: 108ch;
  text-wrap: pretty;
}

.label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

/* ------------------------------------------------------------
   How it works — sticky notes
   ------------------------------------------------------------ */

.notes {
  margin: 0 0 48px;
  width: 100%;
  max-width: 940px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.note {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 4px;
  min-height: 158px;
  box-shadow: var(--shadow-note);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.note--1 { background: var(--chip-lavender); transform: rotate(-3deg); }
.note--2 { background: var(--chip-blush);    transform: rotate(2deg); }
.note--3 { background: var(--chip-lemon);    transform: rotate(-2deg); }

.note__num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  color: rgba(33, 33, 33, 0.16);
}
.note__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 29px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  padding-right: 42px; /* keeps the title clear of the big number */
}
.note__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.82;
  margin: 0;
}

/* ------------------------------------------------------------
   Paste the feed
   ------------------------------------------------------------ */

.feed-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 560px;
}
.feed-form__input {
  flex: 1;
  min-width: 0;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--pk-onyx);
  outline: none;
  transition: border-color var(--dur, .15s) var(--ease), box-shadow .15s var(--ease);
}
.feed-form__input::placeholder { color: var(--ink-muted); }
.feed-form__input:focus {
  border-color: var(--purple-400);
  box-shadow: var(--ring-focus);
}

.btn {
  flex: none;
  padding: 17px 30px;
  background: var(--pk-lavender);
  color: var(--pk-onyx);
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(177, 148, 232, 0.22);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.btn:hover { background: var(--purple-400); box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.hint {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 14px 0 0;
  max-width: 62ch;
}

/* ------------------------------------------------------------
   Closing — reassurance + credibility
   ------------------------------------------------------------ */

.closing {
  margin-top: 54px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Two lines at desktop, not four. */
.closing__reassurance {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.4;
  color: var(--pk-onyx);
  max-width: 72ch;
  text-wrap: balance;
}
.closing__credit {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 58ch;
}
.closing__signoff {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--pk-onyx);
}

/* ------------------------------------------------------------
   Narrower screens
   ------------------------------------------------------------ */

@media (max-width: 860px) {
  .notes { grid-template-columns: 1fr; max-width: 460px; gap: 22px; }
  .note { min-height: 0; }
  .note--1, .note--2, .note--3 { transform: none; }
  .hero__title { max-width: 20ch; }
  .hero__lede  { max-width: 62ch; }
  .closing__reassurance { max-width: 40ch; }
}

@media (max-width: 560px) {
  .page { padding: 24px 18px 56px; }
  .masthead { margin-bottom: 32px; }
  .feed-form { flex-direction: column; }
  .btn { width: 100%; }
}

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

/* ============================================================
   SCREENS — the flow after the home page
   ============================================================ */

.screen { display: none; width: 100%; }
.screen.is-active { display: block; animation: ppFade .5s ease both; }

/* .hero is the home screen and lays itself out as a column */
.screen.hero.is-active { display: flex; }

@keyframes ppFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ppBreathe {
  0%, 100% { transform: scale(.92); opacity: .85; }
  50%      { transform: scale(1.06); opacity: 1; }
}
@keyframes ppRing {
  0%   { transform: scale(.6); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes ppDot {
  0%, 100% { opacity: .25; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-3px); }
}

.stage {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  /* The app screens used to sit inside a padded .page shell. The landing is
     now full bleed, so the screens carry their own breathing room. */
  padding: 48px 24px 72px;
}

/* Landing sticky notes: a slight tilt at rest, then straighten and lift on
   hover. Rotation lives here (not inline) so :hover can override it. */
.sticky {
  box-shadow: var(--shadow-note);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sticky--1 { transform: rotate(-2deg); }
.sticky--2 { transform: rotate(1.5deg); }
.sticky--3 { transform: rotate(-1deg); }
.sticky:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 2px 4px rgba(31,27,45,.06), 0 14px 28px rgba(31,27,45,.14), 0 28px 60px rgba(31,27,45,.08);
}

/* ============================================================
   The Proof "receipt" — an actual paper receipt, on brand.
   ============================================================ */
.receipt {
  --paper: #FFFDF8;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  padding: 26px 26px 22px;
  box-shadow: 0 18px 40px rgba(31,27,45,.10), 0 2px 6px rgba(31,27,45,.05);
}
/* Torn zigzag edges, top and bottom. */
.receipt::before,
.receipt::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 9px;
  background-size: 18px 18px;
  background-repeat: repeat-x;
}
.receipt::before {
  top: -9px;
  background-image:
    linear-gradient(-135deg, var(--paper) 9px, transparent 0),
    linear-gradient(135deg, var(--paper) 9px, transparent 0);
  background-position: left top;
}
.receipt::after {
  bottom: -9px;
  background-image:
    linear-gradient(-45deg, var(--paper) 9px, transparent 0),
    linear-gradient(45deg, var(--paper) 9px, transparent 0);
  background-position: left bottom;
}
.receipt__head { text-align: center; }
.receipt__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.receipt__sub {
  margin: 3px 0 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.receipt__slug {
  margin: 9px 0 0;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-grape);
}
.receipt__rule {
  border: 0;
  border-top: 1px dashed #CFC7DC;
  margin: 16px 0;
}
.receipt__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ritem {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #E3DCEE;
}
.ritem:first-child { border-top: 1px dashed #E3DCEE; }
.ritem__name { font-size: 0.9rem; line-height: 1.4; color: var(--ink); }
.ritem__mark {
  flex: none;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2F7D33;
  white-space: nowrap;
  margin-top: 2px;
}
.receipt__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  font-weight: 500;
}
.receipt__total-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.receipt__total-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink);
}
.receipt__note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.receipt__barcode {
  height: 46px;
  margin: 18px 0 6px;
  background-image: repeating-linear-gradient(90deg,
    #212121 0 2px, transparent 2px 5px,
    #212121 5px 6px, transparent 6px 9px,
    #212121 9px 12px, transparent 12px 14px,
    #212121 14px 15px, transparent 15px 19px);
  background-size: 19px 100%;
}
.receipt__code {
  margin: 0;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--ink-soft);
}
.receipt__thanks {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--ink);
}
.receipt__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  padding: 0.85rem 1.5rem;
  background: var(--purple-200);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(177,148,232,.18);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.receipt__cta:hover {
  background: var(--purple-600);
  color: #fff;
  transform: translateY(-1px);
}
/* Print-out reveal: the receipt feeds out once when it scrolls into view.
   Extra bottom room so the torn zigzag edge is never clipped. Motion is
   opt-in only where the visitor has not asked to reduce motion. */
.receipt-print { padding-bottom: 10px; }
/* Only clip when JS is present (so no-JS always shows the full receipt). */
.has-js .receipt-print {
  overflow: hidden;
  max-height: 66px;
  opacity: 0.4;
}
.receipt-print.is-printed {
  max-height: 1600px;
  opacity: 1;
  transition: max-height 1.6s cubic-bezier(.33,.55,.2,1), opacity .7s ease .05s;
}
/* Reduce-motion visitors get a plain fade in, no sliding feed. */
@media (prefers-reduced-motion: reduce) {
  .has-js .receipt-print { max-height: none; opacity: 0; }
  .receipt-print.is-printed { max-height: none; opacity: 1; transition: opacity .5s ease; }
}

/* ------------------------------------------------------------
   Screen 2 — reading the feed
   ------------------------------------------------------------ */

.reading {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.reading__orb {
  position: relative;
  width: 150px; height: 150px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 34px;
}
.reading__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--pk-lavender);
  animation: ppRing 2.6s ease-out infinite;
}
.reading__ring--2 { border-color: var(--pk-blush); animation-delay: 1.3s; }
.reading__core {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EBDDFD 0%, #F2E5F0 50%, #F7F8D8 100%);
  box-shadow: 0 16px 48px rgba(207, 184, 252, .2);
  animation: ppBreathe 2.8s ease-in-out infinite;
}
.reading__lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.3;
  color: var(--pk-onyx);
  margin: 0 0 10px;
  max-width: 34ch;      /* wide enough to keep "I found N episodes going back to YYYY." tidy */
  text-wrap: balance;
}
.reading__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 22px;
}
.reading__dots { display: inline-flex; gap: 7px; }
.reading__dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pk-lavender);
  display: inline-block;
  animation: ppDot 1.3s ease-in-out infinite;
}
.reading__dots i:nth-child(2) { animation-delay: .18s; }
.reading__dots i:nth-child(3) { animation-delay: .36s; }

/* ------------------------------------------------------------
   Screen 3 — the library
   ------------------------------------------------------------ */

.eyebrow--left { display: block; text-align: left; margin-bottom: 14px; }

.library__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--pk-onyx);
  margin: 0 0 12px;
}
.library__title em { font-style: italic; color: var(--accent-grape); }
.library__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 30px;
  max-width: 52ch;
}

.groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
  font: inherit;
  color: inherit;
}
.group:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--purple-400);
}
.group--recommended {
  background: linear-gradient(160deg, #F4EFFC 0%, #FBF3EF 100%);
  border-color: var(--purple-200);
}
.group__badge {
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pk-onyx);
  background: var(--pk-lemon);
  padding: 4px 10px;
  border-radius: 7px;
  margin-bottom: 12px;
}
.group__count {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: var(--pk-onyx);
}
.group__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--pk-onyx);
  margin-top: 8px;
}
.group__note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 8px;
}
/* Real episode titles, straight from the feed — the proof the grouping is real */
.group__proof {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.fork { margin-top: 34px; }
.fork__lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 20px;
  color: var(--pk-onyx);
  margin: 0 0 16px;
  text-align: center;
}
.fork__row { display: flex; flex-wrap: wrap; gap: 16px; }
.choice {
  flex: 1 1 240px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: border-color .15s var(--ease), transform .15s var(--ease);
  font: inherit;
  color: inherit;
}
.choice:hover { border-color: var(--purple-400); transform: translateY(-2px); }
.choice__title {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--pk-onyx);
  margin-bottom: 6px;
}
.choice__body {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.fork__free {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
  margin: 18px 0 0;
}

/* ------------------------------------------------------------
   Screen 4 — the questions
   ------------------------------------------------------------ */

.questions { max-width: 520px; margin: 0 auto; }
.questions__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.questions__counter {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-muted);
}
.progress {
  height: 5px;
  background: var(--purple-50);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 30px;
}
.progress__bar {
  height: 100%;
  width: 0;
  background: var(--pk-lavender);
  border-radius: 999px;
  transition: width .3s var(--ease);
}
.question { min-height: 210px; display: flex; flex-direction: column; justify-content: center; }
.question__optional {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.question__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.9vw, 29px);
  line-height: 1.2;
  color: var(--pk-onyx);
  margin: 0 0 12px;
}
.question__help {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.question__input {
  width: 100%;
  padding: 15px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--pk-onyx);
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.question__input:focus { border-color: var(--purple-400); box-shadow: var(--ring-focus); }

.hosts { display: flex; flex-wrap: wrap; gap: 10px; }
.host {
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--pk-onyx);
  transition: background .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.host:hover { border-color: var(--purple-400); }
.host.is-picked {
  background: var(--pk-lavender);
  border-color: var(--purple-400);
  box-shadow: 0 2px 8px rgba(177, 148, 232, .22);
}

.questions__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}
.questions__nav-right { display: flex; align-items: center; gap: 16px; }
.btn-quiet {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 8px 4px;
}
.btn-quiet:hover { color: var(--pk-onyx); }
.btn--compact { padding: 14px 30px; font-size: 15px; }

/* ------------------------------------------------------------
   Errors
   ------------------------------------------------------------ */

.notice {
  margin: 16px auto 0;
  max-width: 52ch;
  padding: 12px 16px;
  border-radius: 10px;
  background: #FBEDEC;
  border: 1px solid #F3D6D3;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: #8A2F27;
  text-align: center;
}
.notice[hidden] { display: none; }

@media (max-width: 560px) {
  .fork__row { flex-direction: column; }
  .questions__nav { flex-wrap: wrap; }
}

/* ---- Reading screen: real progress ---- */

.reading__progress { width: 100%; max-width: 340px; margin: 4px 0 14px; }
.reading__bar {
  height: 5px;
  background: var(--purple-50);
  border-radius: 999px;
  overflow: hidden;
}
.reading__bar-fill {
  height: 100%;
  width: 0;
  background: var(--pk-lavender);
  border-radius: 999px;
  transition: width .4s var(--ease);
}
.reading__count {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-muted);
  margin: 10px 0 0;
}
/* Fixed height so the line changing does not shift the layout underneath it */
.reading__now {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 46ch;
  min-height: 2.8em;
  opacity: .85;
}
.reading__lead em { font-style: italic; color: var(--accent-grape); }

/* ------------------------------------------------------------
   Screen 5 — the Start Here playlist
   ------------------------------------------------------------ */

.playlist { max-width: 640px; margin: 0 auto; }
.playlist__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--pk-onyx);
  margin: 0 0 12px;
}
.playlist__title em { font-style: italic; color: var(--accent-grape); }
.playlist__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 28px;
}

.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.row {
  display: grid;
  grid-template-columns: 26px 30px 1fr 28px;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
}
.row__pos {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  color: var(--ink-muted);
  line-height: 1.4;
}
.row__move { display: flex; flex-direction: column; gap: 4px; }
.row__move button {
  width: 26px; height: 22px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
}
.row__move button:hover:not(:disabled) { border-color: var(--purple-400); color: var(--pk-onyx); }
.row__move button:disabled { opacity: .35; cursor: default; }

.row__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pk-onyx);
  padding: 5px 10px;
  border-radius: 7px;
  margin-bottom: 8px;
}
.row__dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* Journey stages, from the design system */
.stage-UNAWARE { background: #E3D9F7; } .stage-UNAWARE .row__dot { background: #B79FE8; }
.stage-AWARE   { background: #F1DCEC; } .stage-AWARE   .row__dot { background: #D9A9CE; }
.stage-CURIOUS { background: #D9DEF0; } .stage-CURIOUS .row__dot { background: #9EA9DA; }
.stage-PRIMED  { background: #EAEFC0; } .stage-PRIMED  .row__dot { background: #C4CB63; }
.stage-READY   { background: #CFE6C8; } .stage-READY   .row__dot { background: #8CBE86; }

.row__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: var(--pk-onyx);
  margin: 0 0 6px;
}
.row__title-link {
  color: var(--pk-onyx);
  text-decoration: none;
  border-bottom: 1px solid var(--purple-200);
  transition: color .15s ease, border-color .15s ease;
}
.row__title-link:hover {
  color: var(--purple-600);
  border-color: var(--purple-600);
}
.row__why {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.row__remove {
  background: none;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}
.row__remove:hover { color: var(--error); background: #FBEDEC; }

/* The gap flag */
.gap {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 20px;
  background: #FFF4E5;
  border: 1px solid #FFD9A8;
  border-radius: 16px;
}
.gap[hidden] { display: none; }
.gap__mark {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #FFD9A8;
  color: #8A5A0F;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.gap__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: #8A5A0F;
  margin: 0 0 6px;
}
.gap__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.6;
  color: #8A5A0F;
  margin: 0;
}

.others { margin-top: 30px; }
.others[hidden] { display: none; }
.others__row { display: flex; flex-wrap: wrap; gap: 10px; }
.other {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
}

/* The share kit: PS line + blurb, ready to paste */
.sharekit { margin-top: 34px; }
.sharekit[hidden] { display: none; }
.sharekit__intro {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 4px 0 16px;
}
.sharekit__item {
  background: var(--bg-soft, #F6F2FD);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.sharekit__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.sharekit__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.sharekit__copy {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--pk-onyx);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.sharekit__copy:hover { border-color: var(--purple-400); color: var(--purple-600); }
.sharekit__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pk-onyx);
  margin: 0;
}

@media (max-width: 560px) {
  .row { grid-template-columns: 22px 26px 1fr 24px; gap: 8px; padding: 14px 12px; }
}

/* ------------------------------------------------------------
   The unlock, and the confirmation
   ------------------------------------------------------------ */

.unlock, .inbox {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #EBDDFD 0%, #F2E5F0 50%, #F7F8D8 100%);
}
.unlock__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pk-onyx);
  opacity: .55;
  margin-bottom: 18px;
}
.unlock__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--pk-onyx);
  margin: 0 0 14px;
  max-width: 20ch;
  text-wrap: balance;
}
.unlock__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pk-onyx);
  margin: 0 0 30px;
  max-width: 44ch;
}
.unlock__form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.unlock__input {
  width: 100%;
  padding: 16px 17px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--pk-onyx);
  outline: none;
  text-align: center;
}
.unlock__input:focus { border-color: var(--purple-400); box-shadow: var(--ring-focus); }
.btn--onyx {
  width: 100%;
  background: var(--pk-onyx);
  color: var(--pk-chalk);
  box-shadow: none;
}
.btn--onyx:hover { background: #3a3a3a; box-shadow: none; }
.unlock__note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--pk-onyx);
  opacity: .6;
  margin: 16px 0 0;
}
.inbox__tick {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-grape);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.send { margin-top: 34px; text-align: center; }
.send__note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-muted);
  margin: 14px 0 0;
}

/* Turnstile only takes up room when it actually renders */
.turnstile:empty { display: none; }
.turnstile { margin-top: 14px; display: flex; justify-content: center; }
