/* 12TONE funnel G — shared styles for /, /packages and /checkout.
   Same brand language as E (Cormorant + Jost, cream/rose), stripped to the essentials. */
:root {
  --cream: #fff9f4;
  --ink: #2f2435;
  --muted: #62566a;
  --rose: #df678d;
  --rose2: #c84d76;
  --blush: #fbe6ec;
  --lav: #eee8f8;
  --line: #ecdbe2;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 24px 60px -32px rgba(174, 61, 101, .45);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: radial-gradient(640px 360px at 100% -10%, var(--lav), transparent 65%), var(--cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; }
.wrap { width: min(100% - 32px, 1040px); margin: 0 auto; }
.narrow { width: min(100% - 32px, 520px); margin: 0 auto; }

.top { min-height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--display); font-size: 29px; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.logo i { font-style: italic; color: var(--rose2); }
.back { font-size: 15px; color: var(--muted); text-decoration: none; padding: 8px 0; }
.back:hover { color: var(--ink); }

h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.02; margin: 0; }

.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 58px; padding: 16px 24px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(105deg, var(--rose), var(--rose2));
  color: #fff; font: 600 18px/1.3 var(--body); text-decoration: none;
  box-shadow: 0 16px 34px -18px rgba(201, 79, 120, .85);
  transition: transform .15s ease;
}
.btn:active { transform: scale(.985); }
.fine { font-size: 14px; color: var(--muted); text-align: center; margin: 10px 0 0; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--rose2); outline-offset: 3px; }

/* ---------- Landing ---------- */
.hero { padding: 18px 0 36px; }
.hero-grid { display: grid; gap: 22px; grid-template-areas: "title" "palette" "action"; }
.hero-title { grid-area: title; text-align: center; }
.hero-title h1 { font-size: clamp(44px, 12.5vw, 76px); letter-spacing: -.01em; }
.hero-title h1 span { display: block; }
.hero-title h1 span + span { color: var(--rose2); font-style: italic; font-weight: 500; }
.hero-title p { font-size: 18px; color: var(--muted); max-width: 30ch; margin: 14px auto 0; }
.hero-action { grid-area: action; max-width: 420px; width: 100%; margin: 0 auto; }

.palette { grid-area: palette; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: var(--shadow); }
.palette-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 2px 4px 12px; }
.tone { font-family: var(--display); font-style: italic; font-size: 32px; line-height: 1; }
.palette-head small { font-size: 13px; color: var(--muted); }
.drape { display: flex; height: 120px; border-radius: 14px; overflow: hidden; }
.drape i { flex: 1; }
.palette-foot { font-size: 14px; color: var(--muted); margin: 11px 4px 0; }

.proof { padding: 28px 0 44px; }
.proof h2 { font-size: clamp(32px, 8vw, 44px); text-align: center; margin-bottom: 18px; }
.review-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.review-card { flex: 0 0 min(62vw, 210px); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.review-media { position: relative; aspect-ratio: 9 / 16; background: #e9dde3; cursor: pointer; touch-action: manipulation; }
.review-card video { width: 100%; height: 100%; object-fit: cover; display: block; background: #e9dde3; }
.review-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.review-play:before { content: "\25B6"; display: grid; place-items: center; width: 54px; height: 54px; padding-left: 4px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--rose2); font-size: 20px; }
.review-card.is-playing .review-play { opacity: 0; }
.review-cap { display: none; }
.final-cta { padding: 0 0 40px; }

/* ---------- Packages ---------- */
.step-head { padding: 14px 0 18px; text-align: center; }
.step-head h1 { font-size: clamp(38px, 10vw, 54px); }
.tiers { display: grid; gap: 10px; }
.tier {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px;
  background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px;
  cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease;
}
.tier:hover { border-color: #dfb7c5; }
.tier[aria-checked="true"] { border-color: var(--rose2); box-shadow: 0 18px 40px -28px rgba(201, 79, 120, .9); }
.tier[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.radio { grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--muted); }
.tier[aria-checked="true"] .radio { border-color: var(--rose2); background: var(--rose2); box-shadow: inset 0 0 0 4px #fff; }
.tier-name { font-family: var(--display); font-size: 28px; font-weight: 600; line-height: 1.1; }
.tier-name em { font-family: var(--body); font-style: normal; font-size: 13px; font-weight: 600; color: var(--rose2); margin-left: 8px; vertical-align: middle; }
.tier-price { grid-row: span 2; font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1; }
.tier-desc { font-size: 15px; color: var(--muted); line-height: 1.4; }
.tiers-note { font-size: 14px; color: var(--muted); text-align: center; margin: 14px auto 0; max-width: 40ch; }
.continue-bar { position: sticky; bottom: 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,249,244,0), var(--cream) 30%); margin-top: 10px; }

/* ---------- Checkout ---------- */
.summary { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.summary-name { font-family: var(--display); font-size: 28px; font-weight: 600; line-height: 1.1; }
.summary-meta { font-size: 15px; color: var(--muted); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; font-size: 18px; font-weight: 600; }
.total b { font-family: var(--display); font-size: 36px; line-height: 1; }
.renewal { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.renew-note { font-style: italic; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; max-width: 42ch; margin: 8px auto 0; }
.checkout-card { margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px; min-height: 460px; box-shadow: var(--shadow); }
.embed { min-height: 440px; }
.checkout-wait, .checkout-error { min-height: 420px; display: grid; place-items: center; text-align: center; padding: 32px; color: var(--muted); }
.checkout-error { color: #8b2749; }

/* ---------- Footer ---------- */
.footer { padding: 22px 0 28px; color: var(--muted); text-align: center; font-size: 13px; }
.footer nav { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

@media (min-width: 820px) {
  body { font-size: 18px; }
  .top { min-height: 76px; }
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; grid-template-areas: "title palette" "action palette"; column-gap: 56px; row-gap: 28px; align-items: end; }
  .hero-title { text-align: left; align-self: end; }
  .hero-title h1 { font-size: 66px; }
  .hero-title p { margin-left: 0; }
  .hero-action { margin: 0; align-self: start; max-width: 380px; }
  .hero-action .fine { text-align: left; }
  .palette { padding: 20px; }
  .drape { height: 260px; }
  .tone { font-size: 38px; }
  .review-row { justify-content: center; }
  .review-card { flex-basis: 190px; }
  .continue-bar { position: static; background: none; }
}
/* Sale banner (driven by /conversion-config.js) */
.promo { width: 100%; padding: 9px 14px; background: linear-gradient(105deg, var(--rose2), #8057a6); color: #fff; text-align: center; font-size: 14px; font-weight: 600; }
.promo strong { margin-right: 4px; }
.promo [data-promo-countdown] { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Star rating under the hero CTA */
.aggregate { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 12px auto 0; font-size: 15px; color: var(--muted); }
.aggregate .stars { color: #bd8b49; letter-spacing: 1px; }
.aggregate b { color: var(--ink); }

/* How it works */
.how { padding: 8px 0 40px; }
.how h2, .faq-block h2 { font-size: clamp(32px, 8vw, 44px); text-align: center; margin-bottom: 18px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 auto; max-width: 900px; display: grid; gap: 10px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose2); font: 600 22px/1 var(--display); }
.steps b { font-family: var(--display); font-size: 24px; line-height: 1.15; }
.steps span { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* FAQ */
.faq-block { padding: 8px 0 32px; }
.faq-block details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 8px; }
.faq-block summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.faq-block details p { font-size: 15px; color: var(--muted); margin: 8px 0 0; }

/* Benefits column */
.benefits { padding: 4px 0 44px; }
.benefit { display: grid; grid-template-columns: 10px 1fr; gap: 16px; align-items: stretch; padding: 16px 0; border-bottom: 1px solid var(--line); }
.benefit:first-child { border-top: 1px solid var(--line); }
.benefit i { border-radius: 99px; }
.benefit b { display: block; font-family: var(--display); font-size: 26px; line-height: 1.15; }
.benefit span { display: block; font-size: 15px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.section-cta { margin-top: 24px !important; }
@media (min-width: 820px) {
  .hero-action .aggregate { justify-content: flex-start; margin-left: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .final-cta .hero-action, .section-cta { margin-left: auto !important; margin-right: auto !important; }
  .steps li { grid-template-columns: 1fr; row-gap: 6px; }
  .steps li::before { grid-row: auto; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .tier { transition: none; }
}
