/* ============================================================
   Stop the Spiral - long-form sales page
   Inherits tokens + components from style.css
   ============================================================ */

.s-h2 { max-width: 22ch; margin-inline: auto; }
.sales main { overflow: clip; }

/* sales pages have a light hero, so the top bar is solid + dark from the start */
.sales .topbar { position: sticky; background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 0.95rem; }
.sales .topbar .brand, .sales .topbar .topnav { color: var(--clay); }
.sales .topbar .topnav { color: var(--clay-2); }
.sales .topbar .topcta { color: var(--clay); border-color: var(--clay); }
.sales .topbar .topcta:hover { background: var(--terra); border-color: var(--terra); color: var(--cream); }

.s-hero-copy .lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; }

/* ---------- sales hero ---------- */
.s-hero { padding: clamp(3rem, 6vw, 5.5rem) var(--gutter) clamp(3.5rem, 7vw, 6rem); background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.s-hero-grid { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.s-hero-copy h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 1rem 0 1.3rem; }
.s-hero-copy .lede { max-width: 46ch; color: var(--clay-2); }
.s-hero-cta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin: 2.2rem 0 1.6rem; }
.s-guarantee { font-size: 0.88rem; color: var(--sage-deep); }
.s-hero-media img { border-radius: var(--r); box-shadow: var(--shadow); }

/* ---------- agitate band ---------- */
.s-band { background: var(--cream); }
.s-narrow { max-width: 760px; margin-inline: auto; }
.s-band .s-h2 { margin: 0.8rem auto 1.4rem; }
.s-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--clay-2); max-width: 60ch; margin: 0 auto; }
.pains { list-style: none; max-width: 620px; margin: 2.4rem auto; display: grid; gap: 0.4rem; }
.pains li { position: relative; padding: 0.95rem 0 0.95rem 2.4rem; border-bottom: 1px solid var(--line); color: var(--clay); font-size: 1.04rem; }
.pains li::before {
  content: ""; position: absolute; left: 0.3rem; top: 1.25rem;
  width: 11px; height: 11px; border-radius: 50%;
  border: 1.5px solid var(--terra);
}
.s-turn { margin-top: 2.2rem; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; color: var(--clay); max-width: 52ch; }

/* ---------- reframe ---------- */
.s-reframe { background: var(--sage-deep); color: var(--cream); }
.s-reframe-inner { max-width: 820px; margin-inline: auto; text-align: center; }
.s-reframe .eyebrow { color: #cdd3c2; }
.s-reframe .s-h2 { color: var(--cream); margin: 0.8rem auto 1.6rem; }
.s-reframe p { color: #e9ebe1; max-width: 60ch; margin: 0 auto 1.1rem; font-size: 1.08rem; }
.s-reframe em { color: #f0c3a8; }

/* ---------- what's inside / days ---------- */
.s-inside { max-width: var(--maxw); margin-inline: auto; }
.s-inside-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.s-inside-head .s-h2 { margin-top: 0.7rem; }
.days { list-style: none; counter-reset: d; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 900px; margin-inline: auto; }
.days .day:last-child { grid-column: 1 / -1; background: var(--clay); color: var(--cream); border-color: var(--clay); }
.days .day:last-child p { color: var(--sand); }
.days .day:last-child .day-n { color: var(--terra-soft); }
.day { padding: 1.8rem; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r); }
.day-n { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; }
.day h3 { margin: 0.7rem 0 0.5rem; }
.day p { font-size: 0.96rem; color: var(--clay-2); }

/* ---------- outcomes ---------- */
.s-out { max-width: var(--maxw); margin-inline: auto; }
.s-out .s-h2 { margin: 0.8rem auto 0; }
.out-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.out { padding: 2rem 1.6rem; text-align: left; }
.out-i { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--terra); margin-bottom: 1.1rem; }
.out-i svg { width: 22px; height: 22px; }
.out h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.out p { font-size: 0.95rem; color: var(--clay-2); }

/* ---------- author ---------- */
.s-author { background: var(--cream-2); }
.s-author-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.s-author-quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; color: var(--clay); margin: 1rem auto 1.6rem; max-width: 26ch; }
.s-author-name { font-weight: 600; }
.s-author-cred { font-size: 0.9rem; color: var(--taupe); margin-top: 0.2rem; }

/* ---------- buy ---------- */
.s-buy { background: var(--clay); }
.s-buy-card {
  max-width: 620px; margin-inline: auto;
  background: linear-gradient(180deg, #45392e, #3a3027);
  border: 1px solid #574a3c; border-radius: 20px;
  padding: clamp(2.2rem, 5vw, 3.4rem); text-align: center; color: var(--cream);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.7);
}
.buy-title { color: var(--cream); margin: 0.6rem 0 0.8rem; font-size: clamp(2.4rem, 5vw, 3.4rem); }
.buy-sub { color: var(--sand); max-width: 44ch; margin: 0 auto 2rem; }
.buy-list { list-style: none; text-align: left; max-width: 420px; margin: 0 auto 2rem; display: grid; gap: 0.85rem; }
.buy-list li { position: relative; padding-left: 2rem; color: var(--cream); }
.buy-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px;
  border-radius: 50%; background: var(--terra);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.buy-price { display: flex; align-items: baseline; justify-content: center; gap: 0.8rem; margin-bottom: 1.6rem; }
.buy-was { font-family: var(--serif); font-size: 1.5rem; color: var(--taupe); text-decoration: line-through; }
.buy-now { font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.2rem); color: var(--cream); line-height: 1; }
.buy-btn { background: var(--terra); width: 100%; justify-content: center; }
.buy-btn:hover { background: var(--terra-soft); }
.buy-fine { margin-top: 1.1rem; font-size: 0.84rem; color: var(--taupe); }

@media (max-width: 900px) {
  .s-hero-grid { grid-template-columns: 1fr; }
  .s-hero-media { order: -1; max-width: 380px; }
  .days, .out-grid { grid-template-columns: 1fr; }
  .out { text-align: left; }
}
@media (max-width: 560px) {
  .out-grid { grid-template-columns: 1fr; }
}
