/* Shared styles for the pre-launch concept pages. Colors, type and motion come from tokens.css
   (the live site's values). Light palette only: white, ice, lavender and teal accents. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--navy); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 4px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
em { font-style: italic; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 760px; }
.band { padding-block: 64px; }
.band.mist { background: var(--mist); }
.band.water { background: var(--gradient-water); }
.band.aurora { background: var(--gradient-aurora); }
@media (min-width: 900px) { .band { padding-block: 104px; } }

.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); font-weight: 500; }
.label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; }
.h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4vw, 52px); }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.12; }
.lede { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: var(--navy-soft); max-width: 36em; }
.small { font-size: 13px; line-height: 1.55; color: var(--muted-foreground); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack.tight { gap: 10px; }
.rule { width: 40px; height: 1px; background: var(--teal); border: 0; margin: 0; }
.center .rule { margin-inline: auto; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 44px; width: auto; }
.wordmark { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--royal); font-size: 15px; line-height: 1.2; }

/* buttons and form */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 0; background: var(--teal); color: var(--button-label); font: 500 15px/1 var(--font-sans); letter-spacing: .02em; cursor: pointer; text-decoration: none; transition: transform 200ms var(--ease-premium), box-shadow 200ms var(--ease-premium); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn.ghost { background: var(--white); border: 1px solid rgba(34,54,91,.3); }
.pl-form { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 480px; }
.pl-form .row { display: flex; gap: 10px; flex-wrap: wrap; }
.pl-form .row > * { flex: 1 1 180px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.field input { min-height: 48px; width: 100%; padding: 12px 16px; border: 1px solid var(--input); border-radius: 8px; background: var(--white); color: var(--navy); font: 400 16px var(--font-sans); }
.field input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field .err { color: var(--destructive); font-size: 13px; }
.pl-form .btn { width: 100%; }
@media (min-width: 560px) { .pl-form.inline .row.go { flex-wrap: nowrap; } .pl-form.inline .btn { width: auto; flex: 0 0 auto; } }
.consent { font-size: 12.5px; line-height: 1.5; color: var(--muted-foreground); }
.demo-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-foreground); }
.demo-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); flex: none; }

/* chips, cards */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--periwinkle-wash); color: var(--navy); font-size: 13px; line-height: 1.2; }
.chip.lav { background: var(--lavender-wash); color: var(--royal); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-soft); padding: 24px; transition: transform 200ms var(--ease-premium), box-shadow 200ms var(--ease-premium); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid > * { min-width: 0; }
.step-no { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--periwinkle); display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; color: var(--royal); flex: none; }
.pct { font-family: var(--font-sans); font-weight: 300; font-size: 40px; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.photo { border-radius: 14px; overflow: hidden; position: relative; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.standin { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.88); color: var(--muted-foreground); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }

/* offer menu */
.menu { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.plan { border: 1px solid var(--border); border-radius: 14px; padding: 22px; background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.plan.lead { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow-soft); }
.plan .price { font-family: var(--font-sans); font-weight: 300; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted-foreground); }
.draft-tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--lavender-wash); color: var(--royal); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.terms { font-size: 13px; line-height: 1.6; color: var(--muted-foreground); }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding-block: 18px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: 22px; color: var(--royal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-weight: 300; color: var(--teal-deep); transition: transform 200ms var(--ease-premium); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--navy-soft); max-width: 60em; }

/* thank-you step */
.thanks { background: var(--teal-wash); border: 1px solid rgba(0,150,132,.25); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 16px; max-width: 560px; animation: pe-fade-up 500ms var(--ease-premium) both; text-align: left; }
.thanks h3 { font-size: 26px; }
.thanks .q { display: flex; flex-direction: column; gap: 8px; }
.thanks .q b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.opt { border: 1px solid var(--input); background: var(--white); color: var(--navy); border-radius: 999px; padding: 8px 14px; font: 400 13.5px var(--font-sans); cursor: pointer; transition: background 150ms, border-color 150ms; }
.opt:hover { border-color: var(--teal); }
.opt[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--button-label); }
.demo-banner { font-size: 12.5px; color: var(--royal); background: var(--white); border-radius: 8px; padding: 8px 12px; border: 1px dashed var(--lavender); }

/* review ribbon (demo only) */
.ribbon { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--lavender-wash); border-bottom: 1px solid rgba(68,20,106,.12); font-size: 12px; color: var(--royal); }
.ribbon .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 7px; }
.ribbon b { letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.ribbon .seg { display: inline-flex; border: 1px solid rgba(68,20,106,.25); border-radius: 999px; overflow: hidden; }
.ribbon .seg a { padding: 3px 10px; text-decoration: none; color: var(--royal); }
.ribbon .seg a[aria-current="true"] { background: var(--royal); color: var(--white); }
.ribbon select { font: 400 12px var(--font-sans); color: var(--royal); border: 1px solid rgba(68,20,106,.25); border-radius: 999px; padding: 3px 8px; background: var(--white); max-width: 100%; }
.ribbon .note { color: var(--muted-foreground); }
@media (max-width: 640px) { .ribbon .note { display: none; } }

/* site header and footer */
.top { padding-block: 18px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top nav { display: flex; gap: 22px; font-size: 13px; }
.top nav a { text-decoration: none; }
@media (max-width: 760px) { .top nav { display: none; } }
.foot { background: var(--mist); padding-block: 48px; font-size: 13px; color: var(--muted-foreground); }
.foot .legal-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot .legal-links a { color: inherit; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }

/* sticky phone CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--border); transform: translateY(110%); transition: transform 300ms var(--ease-premium); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* mode switching */
body.mode-paid .page-only { display: none !important; }
body:not(.mode-paid) .paid-only { display: none !important; }

/* reveal: visible at rest; JS arms only blocks below the first screen */
.rv.armed { opacity: 0; transform: translateY(16px); }
.rv.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-premium), transform 700ms var(--ease-premium); }
.hero-in > * { animation: pe-fade-up 700ms var(--ease-premium) both; }
.hero-in > *:nth-child(2) { animation-delay: 70ms; } .hero-in > *:nth-child(3) { animation-delay: 140ms; }
.hero-in > *:nth-child(4) { animation-delay: 210ms; } .hero-in > *:nth-child(5) { animation-delay: 280ms; }
@media (prefers-reduced-motion: reduce) {
  .rv.armed { opacity: 1; transform: none; }
  .hero-in > *, .thanks { animation: pe-fade-in 150ms linear both; }
  .btn:hover, .card:hover { transform: none; }
}

/* What joining gets you (pl.js fills [data-perks] from page-config.js "incentive"): a short checklist under the form */
.perks { margin-top: 14px; max-width: 560px; text-align: left; }
.perks .label { font-size: 12px; }
.perks ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; color: var(--navy); font-weight: 500; }
.perks li::before { content: "\2713"; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--teal-wash); color: var(--teal-deep); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.perks .perks-note { margin-top: 8px; font-size: 12.5px; color: var(--muted-foreground); }
/* The giveaway's fine print (pl.js, only while the giveaway is on): under the perks, or under the form via [data-giveaway] */
.gw-fine { margin-top: 10px; padding: 10px 14px; border-radius: 10px; background: var(--lavender-wash); font-size: 12.5px; line-height: 1.5; color: var(--navy-soft); text-align: left; }
.gw-fine a { color: var(--royal); text-decoration: underline; font-weight: 500; }
.giveaway { max-width: 560px; }
.giveaway .gw-fine { margin-top: 0; }
/* Phone-only product shot under the headline: the visitor sees what the ad showed before the form */
.m-shot { display: none; }
@media (max-width: 959px) { .hero-copy { gap: 16px !important; } .top { padding-block: 10px; } .m-shot { display: block; aspect-ratio: 21 / 9; border-radius: 14px; overflow: hidden; position: relative; } .m-shot img { width: 100%; height: 100%; object-fit: cover; } }
[hidden] { display: none !important; }

/* Launcher view and stand-ins: no demo notes inside the page (the launcher says it once); no stand-in tags */
.embedded .demo-note { display: none; }
.standin { display: none !important; }
/* Thank-you, two steps */
.ty-head { display: flex; gap: 14px; align-items: flex-start; }
.ty-check { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--teal); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.ty-head h3 { margin: 0 0 4px; }
.ty-more { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(0,150,132,.25); padding-top: 16px; }
.ty-q { font-family: var(--font-display); font-size: 24px; color: var(--royal); line-height: 1.15; }
.opt-tag { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted-foreground); font-size: 12px; margin-left: 4px; }
.ty-actions { display: flex; align-items: center; gap: 16px; }
.ty-actions .btn { width: auto; }
.ty-skip { background: none; border: 0; font: 500 13px var(--font-sans); color: var(--navy-soft); text-decoration: underline; cursor: pointer; min-height: 44px; }
/* inside the launcher's frames: no page scrollbar, like a phone */
html:has(body.embedded) { scrollbar-width: none; }
html:has(body.embedded)::-webkit-scrollbar { width: 0; height: 0; }

/* Step 2: visual option cards */
.thanks .q { display: flex; flex-direction: column; gap: 8px; }
.q-h { font-size: 14px; color: var(--navy); }
.pick-cards { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.pick-cards.ages { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
.card-opt { display: flex; align-items: center; gap: 10px; text-align: left; border: 1.5px solid var(--border); background: var(--white); border-radius: 12px; padding: 10px 12px; cursor: pointer; min-height: 48px; font: inherit; color: var(--navy); transition: border-color .15s, background .15s, transform .15s; }
.pick-cards.ages .card-opt { justify-content: center; text-align: center; padding: 10px 6px; }
.card-opt:hover { border-color: var(--teal); }
.card-opt[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-wash); box-shadow: inset 0 0 0 1px var(--teal); }
.card-opt b { display: block; font-size: 14px; font-weight: 600; }
.card-opt small { display: block; font-size: 12px; color: var(--muted-foreground); line-height: 1.35; margin-top: 1px; }
.card-opt .sw { flex: 0 0 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(34,54,91,.15); }
.ty-q2 { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.ty-contact { border-top: 1px dashed rgba(0,150,132,.3); padding-top: 12px; }
/* email suggestions */
.em-suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 15; margin-top: 4px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lift); overflow: hidden; }
.em-suggest button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 14px; font: 500 14px var(--font-sans); color: var(--navy); cursor: pointer; }
.em-suggest button span { color: var(--muted-foreground); font-weight: 400; }
.em-suggest button.on, .em-suggest button:hover { background: var(--teal-wash); }
.thanks .q b.q-h, .thanks .q .card-opt b, .thanks .field label { text-transform: none; letter-spacing: 0; }
.thanks .field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.thanks .q-h { font-size: 14px; font-weight: 600; color: var(--navy); }

/* live (#88) */
.sms-box { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.sms-box input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--teal-deep); }
.consent a { color: inherit; text-decoration: underline; }
.pe-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
