/* ---------------------------------------------------------------------------
   Buyer pages. Loaded on sales pages, checkout, delivery and recovery — and
   never on the console. Laid out at 390px first, then widened.
--------------------------------------------------------------------------- */

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

.hero__eyebrow {
  margin-bottom: var(--s3);
  letter-spacing: 0.2em;
}
.hero h1 {
  margin-bottom: var(--s3);
}
.hero__sub {
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: var(--s4);
}
.hero__img,
.hero__ph {
  width: 100%;
  margin-bottom: var(--s4);
  border: var(--structural);
  object-fit: cover;
}
.hero__price {
  margin-bottom: var(--s3);
}
.hero__note {
  text-align: center;
  padding-top: var(--s3);
  letter-spacing: 0.08em;
}
.hero__preview {
  text-align: center;
  padding-top: var(--s2);
  font-size: 13px;
}
.hero__numeral {
  font-family: var(--font-editorial);
  font-size: 34px;
  color: var(--ink-4);
  margin-bottom: var(--s2);
}
.hero--compact {
  padding-bottom: var(--s4);
}
.hero--serif h1,
.hero__title-serif {
  font-size: 38px;
  line-height: 1.06;
  text-transform: none;
  margin-bottom: var(--s4);
}

/* T07 — one screen, no scroll. */
.hero--single {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Price steps (T02) ---------------------------------------------------- */

.pricesteps {
  display: flex;
  border: var(--structural);
  margin-bottom: var(--s4);
}
.pricesteps__cell {
  flex: 1;
  padding: var(--s3);
  border-right: var(--structural);
}
.pricesteps__cell:last-child {
  border-right: 0;
}
.pricesteps__cell--after {
  background: var(--wash);
}
.pricesteps__amt {
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  margin-top: var(--s1);
}

/* --- Countdown ------------------------------------------------------------ */

.countdown {
  text-align: center;
}
.countdown__label {
  color: var(--line-3);
  margin-bottom: var(--s3);
}
.countdown__clock {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.countdown__cell {
  background: var(--paper);
  color: var(--ink);
  padding: 12px 0;
  min-width: 66px;
  flex: 1;
  max-width: 84px;
}
.countdown__cell span {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__cell em {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 4px;
}
.countdown__note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  margin-top: var(--s3);
}

/* --- Lists ---------------------------------------------------------------- */

.bullet,
.painrow {
  display: flex;
  gap: var(--s2);
  padding: 8px 0;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.5;
}
.painrow {
  gap: var(--s3);
  padding-bottom: var(--s3);
}
.painrow--invert span:last-child {
  color: var(--line);
}
.painrow span:first-child,
.bullet span:first-child {
  flex: none;
}

.module {
  display: flex;
  gap: var(--s3);
  padding: 15px 0;
  border-top: var(--hair);
}
.module__n {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  color: var(--line-3);
  min-width: 28px;
  flex: none;
}
.module__t {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
}
.module__d {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: 2px;
}

/* --- Letter (T03) --------------------------------------------------------- */

.letter {
  background: #fbfbfa;
}
.letter__dateline {
  margin-bottom: var(--s4);
  letter-spacing: 0.2em;
}
.letter__title {
  font-size: 38px;
  margin-bottom: var(--s4);
}
.letter__p {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: var(--s3);
}
.letter__sig {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: var(--hair);
}
.letter__signame {
  font-family: var(--font-editorial);
  font-size: 26px;
}

/* --- Cover (T06) ---------------------------------------------------------- */

.cover {
  border: var(--structural);
  padding: var(--s4);
}
.cover__masthead {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.02em;
  text-align: center;
  padding-bottom: var(--s3);
  border-bottom: var(--structural);
  margin-bottom: var(--s4);
}
.cover__art {
  aspect-ratio: 3/4;
  margin-bottom: var(--s4);
  border: var(--structural);
  overflow: hidden;
}
.cover__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover__title {
  font-size: 34px;
  margin-bottom: var(--s3);
}
.cover__line {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 0;
  border-top: var(--hair);
}

/* --- Video ---------------------------------------------------------------- */

.videowrap {
  width: 100%;
  background: #000;
  border: var(--structural);
  overflow: hidden;
  margin-bottom: var(--s4);
}
.videowrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.is-hidden {
  display: none;
}

/* --- Gallery -------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s2);
}
@media (min-width: 520px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}
.gallery__cell {
  border: var(--structural);
}

/* --- Quotes --------------------------------------------------------------- */

.quote {
  margin: 0 0 var(--s4);
  padding-top: var(--s3);
  border-top: var(--hair);
}
.quote blockquote {
  margin: 0;
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.6;
}
.quote figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  margin-top: var(--s2);
}

/* --- For who -------------------------------------------------------------- */

.forwho {
  display: grid;
  gap: var(--s5);
}
@media (min-width: 620px) {
  .forwho {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Tiers ---------------------------------------------------------------- */

.tiers {
  display: grid;
  gap: var(--s3);
}
@media (min-width: 760px) {
  .tiers {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
  }
}
.tier {
  border: var(--hair);
  padding: var(--s4);
}
.tier--featured {
  border: var(--structural-2);
}
.tier__flag {
  display: inline-block;
  background: var(--ac);
  color: var(--acf);
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.tier__name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tier__price {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
  margin: var(--s2) 0;
}
.tier__per {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
}
.tier__blurb {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: var(--s2);
}

/* --- Specs ---------------------------------------------------------------- */

.specs {
  display: grid;
  gap: 0;
}
.spec {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: 12px 0;
  border-top: var(--hair);
}
.spec__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.spec__v {
  font-weight: 600;
  font-size: 13.5px;
  text-align: right;
}

/* --- Schedule ------------------------------------------------------------- */

.sched {
  display: flex;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: var(--hair);
}
.sched__day {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 62px;
  flex: none;
  padding-top: 2px;
}
.sched__t {
  font-weight: 800;
  font-size: 14.5px;
}
.sched__d {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: 2px;
}

/* --- Guarantee ------------------------------------------------------------ */

.guarantee {
  border: var(--structural-2);
  padding: var(--s5);
  text-align: center;
}
.guarantee__h {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}

/* --- About ---------------------------------------------------------------- */

.about {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}
.about__photo {
  width: 64px;
  height: 64px;
  flex: none;
  object-fit: cover;
  border: var(--structural);
}

/* --- Accordion (native details) ------------------------------------------- */

.acc__item summary {
  list-style: none;
  cursor: pointer;
}
.acc__item summary::-webkit-details-marker {
  display: none;
}
.acc__sign::after {
  content: '+';
}
.acc__item[open] .acc__sign::after {
  content: '–';
}

/* --- Checkout ------------------------------------------------------------- */

.buy {
  border-top: var(--structural);
  scroll-margin-top: 0;
}
.buy__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s3) 0;
  margin: var(--s3) 0;
  border-top: var(--structural);
  border-bottom: var(--structural);
}
.buy__amount {
  font-weight: 900;
  font-size: 24px;
}

.variant {
  display: block;
  border: var(--hair);
  padding: var(--s3);
  margin-bottom: var(--s2);
  cursor: pointer;
  min-height: var(--hit);
}
.variant--featured {
  border: var(--structural);
}
.variant input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.variant:has(input:checked) {
  border: var(--structural-2);
  background: var(--wash);
}
.variant__body {
  display: block;
}
.variant__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s2);
}
.variant__name {
  font-weight: 800;
  font-size: 15px;
}
.variant__price {
  font-weight: 900;
  font-size: 16px;
  white-space: nowrap;
}
.variant__blurb {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: 4px;
}
.variant__features {
  display: block;
  margin-top: var(--s2);
}
.variant__features span {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.bump {
  background: var(--wash);
}

/* --- Slot picker ---------------------------------------------------------- */

.slotpick {
  margin-bottom: var(--s4);
}
.slotday {
  padding: var(--s3) 0;
  border-top: var(--hair);
}
.slotday__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: var(--s2);
}
.slotday__times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.slotbtn {
  min-height: var(--hit);
  padding: 11px 14px;
  border: var(--hair);
  background: var(--paper);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  cursor: pointer;
}
.slotbtn.is-picked {
  background: var(--ac);
  color: var(--acf);
  border-color: transparent;
}
.slotbtn[disabled] {
  color: var(--line-3);
  cursor: not-allowed;
}

/* --- Storefront ----------------------------------------------------------- */

.store__head {
  border-bottom: var(--structural);
}
.store__photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: var(--structural);
  margin-bottom: var(--s3);
}
.store__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: var(--hair);
}
.store__filters .badge {
  text-decoration: none;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
@media (min-width: 560px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  display: block;
  border: var(--hair);
  text-decoration: none;
}
.card__img {
  width: 100%;
}
.card__body {
  padding: var(--s3);
}
.card__title {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
}
.card__sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: 4px;
}
.card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: var(--hair);
}
.card__price {
  font-weight: 900;
  font-size: 16px;
}

/* --- Delivery ------------------------------------------------------------- */

.filerow {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: var(--hair);
  text-decoration: none;
  min-height: var(--hit);
}
.dripday {
  padding: var(--s3) 0;
  border-top: var(--hair);
}
.dripday--locked {
  opacity: 0.55;
}
.dripday__head {
  display: flex;
  gap: var(--s3);
  align-items: center;
}

.spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border: 3px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

/* --- Footer --------------------------------------------------------------- */

.footer {
  border-top: var(--hair);
  padding-bottom: var(--s6);
}
.footer--min {
  padding-top: var(--s3);
}

/* ---------------------------------------------------------------------------
   Template variants. Each of the twenty is the same block library with a
   different stylesheet variant — which is why fourteen of them cost almost
   nothing once T01 exists.
--------------------------------------------------------------------------- */

/* T03 · long-form letter — narrower measure, quieter ground */
.tpl-t03 .page {
  max-width: 640px;
}

/* T04 · bullet blitz — everything tightens so the button is above the fold */
.tpl-t04 .sec {
  padding-top: var(--s4);
  padding-bottom: var(--s4);
}
.tpl-t04 .t-display {
  font-size: 32px;
}

/* Family B · editorial — serif headings, hairlines, no shouting */
.tpl-t05 .t-display,
.tpl-t05 .t-h2,
.tpl-t05 .t-h1 {
  font-family: var(--font-editorial);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.tpl-t05 .btn {
  background: var(--paper);
  color: var(--ink);
  border: var(--structural);
  font-weight: 600;
  letter-spacing: 0.18em;
}
.tpl-t05 .sec--invert {
  background: var(--paper);
  color: var(--ink);
  border-top: var(--structural);
}
.tpl-t05 .sec--invert .btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.tpl-t06 .page {
  max-width: 560px;
}
.tpl-t06 .t-h2 {
  font-family: var(--font-editorial);
  font-weight: 400;
  text-transform: none;
}

.tpl-t07 .sec {
  padding: var(--s5) var(--pad-x);
}
.tpl-t07 .footer {
  padding-bottom: var(--s4);
}

/* Family C · video-first — dark ground, light type */
.tpl-t08 body,
.tpl-t08 .page {
  background: #0b0b0b;
  color: #f2f2f2;
}
.tpl-t08 .t-body-2,
.tpl-t08 .module__d,
.tpl-t08 .lrow__meta {
  color: #a5a5a5;
}
.tpl-t08 .sec--rule,
.tpl-t08 .module,
.tpl-t08 .lrow,
.tpl-t08 .list > .lrow:last-child {
  border-color: #262626;
}
.tpl-t08 .sticky {
  background: #0b0b0b;
  border-top-color: #f2f2f2;
}
.tpl-t08 .videowrap {
  border-color: #262626;
}
.tpl-t08 .input,
.tpl-t08 .textarea {
  background: #161616;
  border-color: #333;
  color: #f2f2f2;
}
.tpl-t08 .variant {
  border-color: #262626;
}

/* T10 · webinar replay — the closed state is the point */
.tpl-t10 .countdown {
  border-bottom: var(--structural);
}

/* T11 · lead magnet — no price anywhere, softer ground */
.tpl-t11 .buy {
  background: var(--wash);
}

/* T13 · challenge */
.tpl-t13 .sched__day {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 7px;
  min-width: 0;
  align-self: flex-start;
}

/* T16 / T20 · tiers get more room on desktop */
.tpl-t16 .page,
.tpl-t20 .page {
  max-width: 900px;
}

/* T19 · ebook */
.tpl-t19 .hero__img,
.tpl-t19 .hero__ph {
  aspect-ratio: 3/4;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}
