@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/nunito-latin-700-normal.woff2") format("woff2"); }

:root {
  --mist: #F6FBFB;
  --navy: #1F3A4D;
  --navy-soft: #3A5568;
  --aqua: #5CC2C2;
  --aqua-deep: #1E7F80;
  --sunny: #FFD66B;
  --coral: #FF8F7A;
  --coral-deep: #C2493A;
  --mint: #C3E8D6;
  --mint-soft: #E4F4EC;
  --white: #FFFFFF;
  --line: #D5E6E6;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --wrap: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--aqua-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--aqua-deep); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-lede { font-size: 1.15rem; max-width: 62ch; color: var(--navy-soft); margin-bottom: 2.2rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--mist); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: var(--mist);
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 2px solid var(--navy);
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, transform .15s;
}
.btn:hover { background: var(--aqua-deep); border-color: var(--aqua-deep); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-small { padding: 10px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { background: var(--line); border-color: var(--line); color: var(--navy-soft); cursor: default; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 251, 251, .92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.brand-mark { width: 32px; height: 32px; }
nav { margin-left: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--aqua-deep); }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.product-name { display: inline-block; font-weight: 700; color: var(--aqua-deep); background: var(--mint-soft); border: 1.5px solid var(--mint); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { max-width: 16ch; }
.lede { font-size: 1.2rem; max-width: 54ch; color: var(--navy-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-note { font-size: .95rem; color: var(--navy-soft); }
.hero-art { margin: 0; width: 100%; }
.hero-art svg { width: 100%; height: auto; }
.tail { transform-origin: 296px 268px; animation: wag 1.1s ease-in-out infinite alternate; }
@keyframes wag { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@media (prefers-reduced-motion: reduce) { .tail { animation: none; } }

/* Day timeline */
.day { background: var(--navy); color: var(--mist); }
.day h2 { color: var(--white); }
.day .section-lede { color: #C9D8E1; }
.timeline { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0; max-width: 820px; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid #36546A; align-items: baseline; }
.timeline li:last-child { border-bottom: 1px solid #36546A; }
.timeline time { font-family: var(--serif); font-size: 1.35rem; color: var(--sunny); font-weight: 500; }
.timeline span { font-size: 1.15rem; }
.day-answer { font-size: 1.2rem; max-width: 60ch; color: var(--white); margin: 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar svg { width: 52px; height: 52px; margin-bottom: 14px; }
.pillar p { color: var(--navy-soft); }

/* Editions */
.editions { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); padding: 30px 26px 26px; background: var(--mist); border: 2px solid var(--line); }
.price-top { border-radius: var(--radius-md); padding: 22px 20px; margin-bottom: 22px; }
.starter .price-top { background: var(--mint); }
.complete .price-top { background: var(--sunny); }
.everything .price-top { background: var(--navy); color: var(--white); }
.everything .price-top h3 { color: var(--white); }
.everything .price-sub { color: #E5EDF2; }
.complete { border-color: var(--aqua); }
.price-top h3 { margin-bottom: 6px; }
.price { font-family: var(--serif); font-size: 2.8rem; line-height: 1; margin: 6px 0 8px; font-weight: 600; }
.price-sub { margin: 0; font-weight: 600; }
.badge { position: absolute; top: -14px; left: 26px; margin: 0; background: var(--aqua-deep); color: var(--white); font-size: .85rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.includes { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.includes li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px dashed var(--line); }
.includes li:last-child { border-bottom: 0; }
.includes li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: var(--aqua); box-shadow: inset 0 0 0 4px var(--mint); }
.everything .includes li::before { background: var(--coral); box-shadow: inset 0 0 0 4px var(--sunny); }
.checkout-note { font-size: .9rem; text-align: center; color: var(--navy-soft); margin: 10px 0 0; }

.compare { margin-top: 64px; overflow-x: auto; }
.compare h3 { margin-bottom: 18px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1rem; }
.compare th, .compare td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; background: var(--mist); }
.compare thead th:first-child, .compare tbody th { text-align: left; font-weight: 600; }
.compare td.y { color: var(--aqua-deep); font-weight: 700; }
.compare td.n { color: #7C8F9B; }

.previews { margin-top: 64px; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.preview-grid figure { margin: 0; }
.preview-grid img { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--mist); width: 100%; height: auto; }
.preview-grid figcaption { font-size: .9rem; margin-top: 8px; color: var(--navy-soft); }

/* Modules */
.module-list { display: grid; gap: 12px; max-width: 860px; }
.module-list details, .faq details { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 4px 22px; }
.module-list details[open], .faq details[open] { border-color: var(--aqua); }
.module-list summary, .faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.module-list summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.module-list summary::after, .faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--aqua-deep); }
details[open] > summary::after { content: "\2212"; }
.m-num { display: inline-block; min-width: 92px; color: var(--aqua-deep); font-weight: 700; }
.module-list details p, .faq details p { color: var(--navy-soft); padding-bottom: 6px; }

/* Free chart */
.free { background: var(--mint-soft); }
.free-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.free-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: 2px solid var(--mint); transform: rotate(-2.5deg); max-width: 360px; }
.fc-head { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.free-card ul { margin: 0 0 18px; padding-left: 20px; }
.free-card li { padding: 3px 0; }
.fc-alert { background: var(--coral); color: var(--navy); font-weight: 700; padding: 12px 14px; border-radius: var(--radius-sm); margin: 0; font-size: .98rem; }
.signup label { display: block; font-weight: 700; margin-bottom: 8px; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input { flex: 1 1 240px; min-height: 54px; font: inherit; color: var(--navy); padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); }
.signup input:focus { border-color: var(--aqua-deep); outline: none; box-shadow: 0 0 0 3px rgba(30, 127, 128, .2); }
.form-msg { min-height: 1.6em; margin: 10px 0 4px; font-weight: 700; }
.form-msg.error { color: var(--coral-deep); }
.form-msg.ok { color: var(--aqua-deep); }
.fine { font-size: .92rem; color: var(--navy-soft); }

/* Emma */
.emma-grid { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; max-width: 860px; }
.emma-art { width: 180px; height: 180px; }
.emma p { font-size: 1.12rem; max-width: 60ch; }

/* FAQ */
.faq details { margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--navy); color: #D3E0E7; padding: 56px 0 40px; }
.site-footer .fine { color: #B9CCD6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--white); font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0 0 18px; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: var(--white); }
.footer-links a:hover { color: var(--sunny); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal .updated { color: var(--navy-soft); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .free-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin-inline: auto; order: -1; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
  .pillars { grid-template-columns: 1fr; gap: 24px; }
  .free-card { margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .header-inner { justify-content: space-between; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .emma-grid { grid-template-columns: 1fr; }
  .emma-art { width: 120px; height: 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .m-num { display: block; min-width: 0; font-size: .95rem; }
  .btn-small { padding: 9px 14px; font-size: .9rem; }
  .brand { font-size: 1.05rem; }
}
section[id], #editions, #faq { scroll-margin-top: 80px; }

/* Top banner */
.tag-free { background: var(--sunny); color: var(--navy); font-weight: 700; font-size: .8rem; padding: 2px 10px; border-radius: 999px; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-list { list-style: none; margin-inline: auto; padding-block: 26px; padding-inline: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust-list li { display: flex; flex-direction: column; gap: 4px; }
.trust-list strong { font-weight: 700; }
.trust-list span { color: var(--navy-soft); font-size: .95rem; line-height: 1.5; }

/* Scenario */
.scenario { background: var(--mint-soft); }
.scenario h2, .scenario .section-lede { text-align: center; margin-inline: auto; }
.moment-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.moment-tab { font: inherit; font-weight: 700; color: var(--navy); background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.moment-tab:hover { border-color: var(--aqua); }
.moment-tab[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.moment-card { max-width: 860px; margin: 0 auto 18px; background: var(--white); border: 2px solid var(--mint); border-radius: var(--radius-lg); padding: 30px clamp(18px, 4vw, 36px); text-align: center; }
.moment-label { font-weight: 700; color: var(--aqua-deep); margin-bottom: 6px; }
.moment-card h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-bottom: 22px; }
.responses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: left; }
.response { font: inherit; color: var(--navy); text-align: left; background: var(--mist); border: 2px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, background .2s; }
.response:hover { border-color: var(--aqua); }
.resp-label { font-size: .9rem; font-weight: 700; color: var(--navy-soft); }
.resp-quote { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1.35; }
.resp-why { font-size: 1rem; line-height: 1.55; border-top: 1px dashed var(--line); padding-top: 10px; }
.verdict { display: inline-block; font-size: .85rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.response.good[aria-expanded="true"] { background: var(--mint-soft); border-color: var(--aqua-deep); }
.response.risky[aria-expanded="true"] { background: #FFF1EE; border-color: var(--coral); }
.response.good .verdict { background: var(--mint); color: var(--navy); }
.response.risky .verdict { background: var(--coral); color: var(--navy); }
.moment-hint { margin: 16px 0 0; color: var(--navy-soft); font-size: .95rem; }
.center { text-align: center; }

/* How it works */
.how { margin-top: 64px; }
.how h3 { margin-bottom: 18px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { display: flex; flex-direction: column; gap: 6px; background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.step-n { font-size: .9rem; font-weight: 700; color: var(--aqua-deep); }
.steps strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.steps span:last-child { color: var(--navy-soft); }

/* 404 */
.notfound { text-align: center; padding-block: 96px; }

@media (max-width: 960px) {
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .responses { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; gap: 16px; }
}

/* =========================================================
   v2 (inspired by the Calm Parenting store): real covers,
   page viewer, resource grid, module explorer, reveals.
   ========================================================= */
:root { --ease: cubic-bezier(.22, .8, .28, 1); --dur: 700ms; --shadow: 0 18px 40px rgba(31, 58, 77, .16); --shadow-sm: 0 8px 22px rgba(31, 58, 77, .10); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: 12px; }
.kicker.light { color: var(--sunny); }
.section-head { margin-bottom: 40px; }
.section-head.center .section-lede, .center-lede { margin-inline: auto; }
.section-head .section-lede { margin-bottom: 0; }
.no-scroll { overflow: hidden; }

/* Header */
.site-header.scrolled { box-shadow: 0 4px 18px rgba(31, 58, 77, .06); }
.nav-links { gap: 22px; }
.nav-links a { font-size: .97rem; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 10px; position: relative; }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 11px; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; content: ""; }
.menu-bars { top: 21px; } .menu-bars::before { top: -7px; left: 0; } .menu-bars::after { top: 7px; left: 0; }
.menu-open .menu-bars { background: transparent; }
.menu-open .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Entrance animation for the hero */
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .enter { animation: enter .8s var(--ease) both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .js .enter { animation: none; } }

/* Hero */
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: 18px; }
.hero-grid { grid-template-columns: 1.05fr .95fr; }
.hero-free { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; margin: 0 0 14px; }
.hero-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--navy-soft); font-size: .93rem; }
.hero-chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); margin-right: 8px; vertical-align: middle; }
.hero-covers { position: relative; height: 520px; }
.hero-covers::before { content: ""; position: absolute; left: 8%; right: 0; bottom: 4%; height: 70%; border-radius: 50%; background: var(--mint); filter: blur(2px); }
.cv { position: absolute; border-radius: 18px; box-shadow: var(--shadow); background: var(--white); height: auto; }
.cv-1 { width: 46%; left: 2%; top: 22%; transform: rotate(-8deg); }
.cv-2 { width: 40%; right: 2%; top: 4%; transform: rotate(7deg); }
.cv-3 { width: 44%; left: 28%; top: 8%; z-index: 2; }
.hero-note-card { position: absolute; z-index: 3; left: 0; bottom: 6%; max-width: 270px; background: var(--white); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.35; }
.hero-note-card span { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: 6px; }

/* Day */
.day .kicker { margin-bottom: 12px; }

/* Editions */
.editions { background: var(--white); }
.ed-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 0 0 6px; }
.everything .ed-name { color: var(--white); }
.price small { font-family: var(--sans); font-size: .9rem; font-weight: 600; opacity: .8; }
.price-card { box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.everything { background: #EAF2F5; border-color: var(--navy); }
.btn-sunny { background: var(--sunny); border-color: var(--sunny); color: var(--navy); }
.btn-sunny:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.look { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; color: var(--navy); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 10px 14px; margin: 0 0 14px; cursor: pointer; transition: border-color .2s, transform .2s; }
.look:hover { border-color: var(--aqua); transform: translateY(-1px); }
.look img { width: 46px; height: auto; border-radius: 6px; box-shadow: 0 3px 8px rgba(31, 58, 77, .15); }
.look strong { display: block; font-size: 1rem; }
.look em { font-style: normal; font-size: .9rem; color: var(--navy-soft); }
.best { font-size: .95rem; color: var(--navy-soft); margin-bottom: 18px; }

/* Look inside each edition */
.peek { margin-top: 64px; background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 26px clamp(16px, 3vw, 30px) 18px; }
.peek-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.peek-head h3 { margin-bottom: 4px; }
.peek-head p { margin: 0; color: var(--navy-soft); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px; }
.seg-center { display: flex; width: fit-content; margin: 0 auto 32px; }
.seg-btn { font: inherit; font-weight: 700; font-size: .95rem; color: var(--navy); background: transparent; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.seg-btn:hover { background: var(--mint-soft); }
.seg-btn[aria-selected="true"], .seg-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.peek-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 14px; scrollbar-width: thin; }
.peek-item { flex: 0 0 150px; scroll-snap-align: start; font: inherit; color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.peek-item img { width: 150px; height: auto; border-radius: 10px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); background: var(--white); }
.peek-item:hover img { transform: translateY(-4px); }
.peek-item span { display: block; font-size: .85rem; font-weight: 600; margin-top: 8px; line-height: 1.3; }
.peek-hint { margin: 4px 0 0; }

/* Compare */
.compare { margin-top: 48px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 10px clamp(10px, 2vw, 24px) 18px; }
.compare caption { text-align: left; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; padding: 14px 4px 10px; }
.compare thead th { background: transparent; font-family: var(--sans); font-size: .95rem; font-weight: 700; vertical-align: bottom; }
.compare thead th small { display: block; font-weight: 600; color: var(--navy-soft); }
.compare th.hl, .compare td.hl { background: var(--mint-soft); }
.compare tr.grp th { text-align: left; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep); padding-top: 20px; border-bottom: 0; }
.compare tbody th { font-weight: 600; font-size: .98rem; }
.ck { width: 22px; height: 22px; margin: 0 auto; }
.ck circle { fill: var(--aqua-deep); }
.ck path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dash { color: #8A9CA7; }
.checkout-note { margin-top: 22px; }

/* How it works */
.how { background: var(--mist); }
.how .steps li { background: var(--white); box-shadow: var(--shadow-sm); padding: 24px; }
.step-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--mint-soft); color: var(--aqua-deep); margin-bottom: 8px; }
.steps li:nth-child(2) .step-ic { background: #FFF4D6; color: #8A6300; }
.steps li:nth-child(3) .step-ic { background: #FFE9E4; color: var(--coral-deep); }
.step-ic svg { width: 24px; height: 24px; }

/* Free chart box */
.free { background: var(--white); }
.free-box { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; background: var(--mint-soft); border: 2px solid var(--mint); border-radius: 32px; padding: clamp(24px, 5vw, 56px); }
.pill-coral { display: inline-block; background: var(--coral-deep); color: var(--white); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.free-box h2 em { font-style: italic; color: var(--aqua-deep); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--aqua-deep); box-shadow: inset 0 0 0 4px var(--mint); }
.free-art { position: relative; background: none; border: 0; padding: 0; cursor: zoom-in; justify-self: center; max-width: 280px; }
.free-art img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); transform: rotate(3deg); transition: transform .3s var(--ease); }
.free-art:hover img { transform: rotate(0deg) scale(1.02); }
.free-sticker { position: absolute; top: -14px; right: -14px; width: 72px; height: 72px; border-radius: 50%; background: var(--sunny); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .95rem; box-shadow: var(--shadow-sm); transform: rotate(12deg); }

/* Research band */
.research { background: var(--navy); color: var(--mist); }
.research h2 { color: var(--white); }
.research .section-lede { color: #C9D8E1; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 26px; }
.facts article { background: #26465C; border: 1px solid #36546A; border-radius: var(--radius-lg); padding: 26px; }
.fact-n { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--sunny); line-height: 1; margin-bottom: 14px; }
.facts p { color: #E3ECF1; }
.facts .src { font-size: .85rem; color: #A9BDC9; margin: 0; }
.light-fine { color: #A9BDC9; }

/* Statement */
.statement { background: var(--white); }
.statement-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 40px; align-items: center; }
.statement-lines p { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; margin: 0 0 .2em; color: var(--navy); }
.statement-lines p.aqua { color: var(--aqua-deep); padding-left: clamp(0px, 4vw, 48px); }
.statement-lines p:nth-child(3) { padding-left: clamp(0px, 8vw, 96px); white-space: nowrap; }
@media (max-width: 520px) { .statement-lines p:nth-child(3) { white-space: normal; } }
.statement-lines .statement-sub { font-family: var(--sans); font-weight: 400; font-size: 1.15rem; color: var(--navy-soft); margin-top: 24px; padding-left: 0; }
.statement-art { margin: 0; }

/* Scenario tweaks */
.scenario .section-head { margin-bottom: 26px; }

/* Resource grid */
.toolkit { background: var(--mist); }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.res-card { display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.res-card[hidden] { display: none; }
.res-cover { display: flex; justify-content: center; align-items: flex-end; height: 220px; padding-top: 24px; background: var(--mint-soft); border: 0; cursor: zoom-in; overflow: hidden; }
.ed-complete .res-cover { background: #FFF4D6; }
.ed-everything .res-cover { background: #E3ECF2; }
.res-cover img { width: 120px; height: auto; border-radius: 10px 10px 0 0; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.res-card:hover .res-cover img { transform: translateY(-6px); }
.res-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.res-tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-deep); margin: 0; }
.ed-everything .res-tag { color: var(--coral-deep); }
.res-body h3 { font-size: 1.15rem; margin: 0; }
.res-desc { font-size: .95rem; color: var(--navy-soft); margin: 0 0 6px; flex: 1; }
.res-btn { align-self: flex-start; font: inherit; font-weight: 700; font-size: .92rem; color: var(--navy); background: var(--mint-soft); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.res-btn:hover { background: var(--navy); color: var(--white); }

/* Module explorer */
.modules { background: var(--white); }
.mod-explorer { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.mod-tabs { display: grid; gap: 6px; }
.mod-tab { display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; font-weight: 700; font-size: .98rem; color: var(--navy); background: transparent; border: 1.5px solid transparent; border-radius: 14px; padding: 11px 12px; cursor: pointer; }
.mod-tab:hover { background: var(--mist); }
.mod-tab[aria-selected="true"] { background: var(--mist); border-color: var(--line); }
.mod-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--mint-soft); color: var(--aqua-deep); font-size: .9rem; }
.mod-tab[aria-selected="true"] .mod-n { background: var(--navy); color: var(--white); }
.mod-panel { background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-sm); min-height: 420px; }
.mod-panel.swap { animation: enter .45s var(--ease) both; }
.mod-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: 8px; }
.mod-lede { color: var(--navy-soft); font-size: 1.08rem; }
.mod-lessons { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
.mod-lessons li { position: relative; padding-left: 26px; font-weight: 600; }
.mod-lessons li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--aqua); box-shadow: inset 0 0 0 3px var(--mint); }
.mod-note { background: #FFE9E4; border-radius: var(--radius-md); padding: 14px 16px; font-size: .95rem; margin: 0; }

/* Fit */
.fit { background: var(--mist); }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.fit-card { border-radius: var(--radius-lg); padding: 26px; border: 1.5px solid var(--line); background: var(--white); }
.fit-card.yes { background: var(--mint-soft); border-color: var(--mint); }
.fit-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* Final CTA */
.final { background: linear-gradient(180deg, var(--mist), var(--mint-soft)); }
.final-title { font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 18ch; margin: 0 auto 18px; }
.final-title span { display: inline-block; }
.final-chips { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.final-chips li { background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; }

/* Emma */
.emma { background: #FFF6DA; }
.emma h2 { max-width: 20ch; }
.emma-quote { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--navy); }

/* FAQ */
.faq-list details { margin-bottom: 12px; }

/* Viewer dialog */

/* Reveal on scroll (only when JS has switched it on and motion is allowed) */
.reveal-on [data-reveal] { opacity: 0; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--stagger, 0ms); }
.reveal-on [data-reveal="up"], .reveal-on [data-reveal="text"], .reveal-on [data-reveal="card"] { transform: translateY(26px); }
.reveal-on [data-reveal="card"] { transform: translateY(34px) scale(.98); }
.reveal-on [data-reveal="left"] { transform: translateX(-34px); }
.reveal-on [data-reveal="right"] { transform: translateX(34px); }
.reveal-on [data-reveal="image"] { transform: scale(.94); }
.reveal-on [data-reveal="lines"] { transform: translateY(40%); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* Responsive for v2 */
@media (max-width: 1080px) { .nav-links { gap: 16px; } .nav-links a { font-size: .92rem; } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-covers { height: 420px; max-width: 460px; margin: 10px auto 0; width: 100%; order: 0; }
  .free-box, .statement-grid { grid-template-columns: 1fr; }
  .free-art { max-width: 220px; }
  .facts { grid-template-columns: 1fr; }
  .mod-explorer { grid-template-columns: 1fr; }
  .mod-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
  .statement-art { max-width: 300px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; margin-left: auto; }
  .header-cta { display: none; }
  nav { margin-left: 0; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(31, 58, 77, .08); }
  .menu-open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .hero-covers { height: 340px; }
  .hero-note-card { max-width: 210px; font-size: .92rem; }
  .fit-grid { grid-template-columns: 1fr; }
  .mod-lessons { grid-template-columns: 1fr; }
  .compare table { min-width: 520px; }
  .peek-item { flex-basis: 120px; } .peek-item img { width: 120px; }
}
section.how { margin-top: 0; }
main { overflow-x: clip; }
@media (max-width: 720px) {
  .reveal-on [data-reveal="left"], .reveal-on [data-reveal="right"] { transform: translateY(26px); }
}

/* ============================================================
   v3: phone-first fixes
   ============================================================ */
html, body { overflow-x: clip; }

/* Top banner: one slim line */
.topbar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px max(16px, env(safe-area-inset-left, 0px)); background: var(--coral); color: var(--navy); text-decoration: none; font-size: .92rem; line-height: 1.3; text-align: center; }
.topbar:hover { color: var(--navy); }
.topbar:hover .tb-cta { text-decoration: underline; }
.tb-cta { font-weight: 800; white-space: nowrap; }
.tb-short { display: none; }

/* Viewer: a full frame with the page fitted inside */
.viewer { border: 0; padding: 0; margin: 0; background: transparent; width: 100%; height: 100%; max-width: none; max-height: none; overflow: hidden; color: var(--navy); }
.viewer::backdrop { background: rgba(20, 38, 51, .72); backdrop-filter: blur(3px); }
.vw-frame { position: absolute; inset: 0; margin: auto; width: min(760px, calc(100% - 24px)); height: min(920px, calc(100% - 32px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.viewer[open] .vw-frame { animation: enter .35s var(--ease) both; }
.viewer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 12px 22px; border-bottom: 1px solid var(--line); }
.viewer-head > div { min-width: 0; }
.viewer-head h2 { font-size: 1.25rem; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-deep); margin: 0 0 2px; }
.viewer-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.viewer-close:hover { background: var(--mint-soft); }
.viewer-stage { position: relative; background: var(--mist); min-height: 0; }
.viewer-stage img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; object-position: center; filter: drop-shadow(0 6px 16px rgba(31, 58, 77, .16)); }
.viewer-bottom { border-top: 1px solid var(--line); }
.viewer-cap { margin: 0; padding: 10px 18px 0; text-align: center; font-size: .9rem; color: var(--navy-soft); line-height: 1.4; min-height: 1.4em; }
.viewer-cap b { color: var(--navy); }
.viewer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; }
.viewer-count { font-weight: 700; color: var(--navy-soft); font-size: .92rem; font-variant-numeric: tabular-nums; }
.viewer-nav { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.viewer-nav:hover { background: var(--mint-soft); }
.viewer-nav:disabled { opacity: .35; cursor: default; }
.viewer-buy { display: grid; justify-items: center; gap: 6px; padding: 0 16px 14px; }
.viewer-buy .btn { width: min(100%, 420px); }
.viewer-buy span { font-size: .8rem; color: var(--navy-soft); text-align: center; }

/* Floating bar (phones only) */
.buy-bar { display: none; }
.swipe-hint { display: none; }

@media (max-width: 720px) {
  body { font-size: 1rem; }
  section { padding: 56px 0; }
  h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  h2 { font-size: clamp(1.6rem, 6.6vw, 2rem); }
  .section-lede, .lede { font-size: 1.02rem; }
  .eyebrow { font-size: .74rem; margin-bottom: 12px; }

  .tb-long { display: none; }
  .tb-short { display: inline; }
  .topbar { font-size: .84rem; padding-block: 7px; gap: 8px; white-space: nowrap; }
  .topbar .tag-free { font-size: .7rem; padding: 1px 8px; }

  .header-inner { min-height: 58px; }
  .brand { font-size: 1.05rem; } .brand-mark { width: 28px; height: 28px; }

  .btn { padding: 12px 20px; font-size: .95rem; min-height: 46px; }
  .btn-small { padding: 9px 16px; font-size: .9rem; min-height: 40px; }
  .hero { padding-top: 28px; padding-bottom: 40px; }
  .hero-actions { gap: 10px; margin: 22px 0 14px; }
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .btn { flex: 0 1 auto; padding: 11px 16px; font-size: .92rem; min-height: 44px; }
  .lbl-long { display: none; }
  .hero-free { font-size: .95rem; }
  .hero-chips { font-size: .88rem; gap: 6px 14px; }
  .hero-covers { height: 300px; }
  .price-card { padding: 24px 18px 20px; }
  .price { font-size: 2.4rem; }

  /* Compare table fits the screen */
  .compare { padding: 6px 10px 12px; overflow-x: visible; }
  .compare table, .compare table[style] { min-width: 0 !important; width: 100%; table-layout: fixed; }
  .compare caption { font-size: 1.15rem; padding: 12px 4px 6px; }
  .compare th, .compare td { padding: 9px 2px; }
  .compare thead th:first-child { width: auto; }
  .compare thead th:not(:first-child) { width: 64px; font-size: .74rem; }
  .compare thead th small { font-size: .74rem; }
  .compare tbody th { font-size: .86rem; line-height: 1.3; padding-right: 6px; }
  .compare tr.grp th { font-size: .68rem; padding-top: 16px; }
  .compare svg { width: 20px; height: 20px; margin-inline: auto; }

  /* Filters on one line */
  .seg { display: flex; flex-wrap: nowrap; width: 100%; gap: 2px; }
  .seg-btn { flex: 1 1 0; padding: 8px 6px; font-size: .86rem; white-space: nowrap; }
  .seg-long { display: none; }

  /* Resource cards: one swipeable row */
  .res-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scroll-padding: 0 16px; scrollbar-width: none; }
  .res-grid::-webkit-scrollbar { display: none; }
  .res-card { flex: 0 0 72%; scroll-snap-align: start; }
  .res-cover { height: 170px; padding-top: 18px; }
  .res-cover img { width: 96px; }
  .res-body { padding: 14px 16px 16px; }
  .res-body h3 { font-size: 1.05rem; }
  .res-desc { font-size: .9rem; }
  .reveal-on .res-card[data-reveal] { opacity: 1 !important; transform: none !important; }
  .swipe-hint { display: block; margin: 4px 0 0; text-align: center; font-size: .85rem; font-weight: 600; color: var(--navy-soft); }

  /* Viewer fills the phone screen */
  .vw-frame { width: 100%; height: 100%; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .viewer-head { padding: 10px 12px 10px 16px; }
  .viewer-head h2 { font-size: 1.08rem; }
  .viewer-stage img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .viewer-cap { font-size: .84rem; padding: 8px 14px 0; }
  .viewer-foot { padding: 6px 12px; }
  .viewer-buy { padding: 0 12px 10px; }

  .buy-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(31, 58, 77, .22); transform: translateY(150%); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
  .buy-bar.is-shown { transform: none; opacity: 1; }
  .buy-bar-text { display: grid; line-height: 1.2; min-width: 0; }
  .buy-bar-text b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--navy); }
  .buy-bar-text span { font-size: .72rem; color: var(--navy-soft); font-weight: 600; }
  .buy-bar .btn { flex: none; white-space: nowrap; }
}
@media (max-width: 360px) { .buy-bar-text span { display: none; } }
@media (prefers-reduced-motion: reduce) { .buy-bar { transition: none; } .viewer[open] .vw-frame { animation: none; } }

/* ============================================================
   v4: closer to the Calm Parenting phone experience
   ============================================================ */
.lbl-m { display: none; }
.compare thead th.cmp-title { text-align: left; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy); }

@media (max-width: 720px) {
  body { font-size: .95rem; line-height: 1.6; }
  section { padding: 48px 0; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.2rem); line-height: 1.12; }
  h2 { font-size: clamp(1.5rem, 6.2vw, 1.8rem); }
  h3 { font-size: 1.12rem; }
  .section-lede, .lede { font-size: .95rem; }
  .kicker, .eyebrow { font-size: .7rem; }

  .topbar { font-size: .78rem; padding-block: 6px; }
  .header-inner { min-height: 54px; }
  .brand { font-size: 1rem; }

  /* compact buttons, like Calm Parenting */
  .btn { padding: 10px 18px; font-size: .88rem; min-height: 40px; border-width: 1.5px; }
  .btn-small { padding: 8px 14px; font-size: .84rem; min-height: 38px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; margin: 20px 0 14px; }
  .hero-actions .btn { flex: none; padding: 10px 18px; font-size: .88rem; min-height: 40px; }
  .hero-free { font-size: .88rem; gap: 8px; }
  .hero-chips { font-size: .8rem; }
  .hero-covers { height: 280px; }

  /* edition cards */
  .price-card { padding: 22px 16px 18px; border-radius: 22px; }
  .price-top { padding: 16px; margin-bottom: 16px; }
  .price { font-size: 2.1rem; }
  .includes li { padding: 6px 0 6px 26px; font-size: .9rem; }
  .includes li::before { top: 11px; width: 14px; height: 14px; }
  .look { padding: 8px 12px; } .look img { width: 38px; } .look strong { font-size: .92rem; } .look em { font-size: .8rem; }
  .best { font-size: .86rem; }
  .lbl-d { display: none; } .lbl-m { display: inline; }
  .price-card .btn { background: transparent; color: var(--navy); border-color: var(--navy); }
  .price-card .btn:hover { background: var(--navy); color: var(--white); }
  .price-card.everything .btn { background: var(--sunny); border-color: var(--sunny); color: var(--navy); }

  /* compare: header row stays visible while scrolling */
  .compare thead th { position: sticky; top: 54px; z-index: 3; background: var(--white); box-shadow: 0 1px 0 var(--line); }
  .compare thead th.hl { background: var(--mint-soft); }
  .compare thead th.cmp-title { font-size: .98rem; line-height: 1.15; vertical-align: bottom; }
  .compare thead th:not(:first-child) { width: 60px; font-size: .66rem; letter-spacing: .02em; text-transform: uppercase; }
  .compare thead th small { font-size: .72rem; text-transform: none; letter-spacing: 0; }
  .compare tbody th { font-size: .8rem; font-weight: 600; }
  .compare th, .compare td { padding: 8px 2px; }
  .compare svg { width: 18px; height: 18px; }

  /* resources */
  .res-card { flex-basis: 64%; }
  .res-cover { height: 150px; } .res-cover img { width: 84px; }
  .res-body h3 { font-size: .98rem; } .res-desc { font-size: .84rem; } .res-tag { font-size: .66rem; }
  .res-btn { font-size: .82rem; padding: 6px 12px; }

  /* modules: numbered vertical list */
  .mod-tabs { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 0; gap: 4px; }
  .mod-tab { font-size: .9rem; padding: 9px 10px; }
  .mod-n { width: 26px; height: 26px; font-size: .8rem; }
  .mod-panel { min-height: 0; padding: 18px 16px; }
  .mod-lessons li { font-size: .88rem; }

  /* FAQ */
  .faq details, .faq-list details { padding: 2px 14px; margin-bottom: 8px; border-radius: 14px; }
  .faq summary { font-size: .92rem; padding: 12px 30px 12px 0; }
  .faq summary::after { top: 8px; font-size: 1.3rem; }
  .faq details p { font-size: .9rem; }

  /* viewer: a rounded card with a margin, page fills the width and scrolls */
  .vw-frame { inset: 10px; width: auto; height: auto; margin: 0; border-radius: 22px; padding: 0; top: calc(10px + env(safe-area-inset-top, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .viewer-kicker { font-size: .66rem; }
  .viewer-head h2 { font-size: 1rem; }
  .viewer-close { width: 38px; height: 38px; font-size: 1.35rem; }
  .viewer-stage { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px; }
  .viewer-stage img { position: static; inset: auto; width: 100%; height: auto; object-fit: initial; border-radius: 10px; }
  .viewer-cap { font-size: .78rem; }
  .viewer-nav { width: 38px; height: 38px; font-size: 1.35rem; }
  .viewer-count { font-size: .84rem; }
  .viewer-buy .btn { width: 100%; }
  .viewer-buy span { font-size: .72rem; }

  .buy-bar { padding: 8px 8px 8px 14px; border-radius: 16px; }
  .buy-bar-text b { font-size: 1.02rem; }
  .buy-bar-text span { font-size: .68rem; }
}
@media (max-width: 720px) { .mod-lede { font-size: .92rem; } .mod-panel h3 { font-size: 1.15rem; } .buy-bar-text span { white-space: nowrap; } }
@media (max-width: 400px) { .buy-bar-text span { display: none; } }
