/* Nourish with Kate & Bec — public site
   Sampled from the design brief: warm off-white page, soft lavender bands,
   light lilac panels, medium purple #9B7FC4 pill buttons, deep plum headings,
   handwritten script accents, botanical line art. */
:root {
  --bg: #F7F3FA;
  --bg-2: #FBF8FC;
  --paper: #FFFFFF;
  --lavender: #EDE4F5;
  --lavender-2: #E0D2EE;
  --lilac: #F3ECF9;
  --lilac-deep: #E4D6F0;
  --button: #9B7FC4;
  --button-hover: #8A6BB3;
  --plum: #2F2A4A;
  --plum-deep: #2F2A4A;
  --plum-soft: #8B6BB0;
  --script: #8B6BB0;
  --ink: #4A4758;
  --muted: #6A6674;
  --sage: #DDE8D8;
  --sage-deep: #5E6B52;
  --sage-ink: #3F4A38;
  --blush: #F3E6E3;
  --gold: #C4A484;
  --line: #E6DCEC;
  --focus: #9B7FC4;
  --danger: #8B3A4A;
  --ok: #4F7A55;
  --shadow: 0 14px 40px rgba(74, 44, 98, 0.08);
  --shadow-sm: 0 6px 20px rgba(74, 44, 98, 0.06);
  --radius: 24px;
  --radius-sm: 16px;
  --header: 4.5rem;
  --font-serif: "Playfair Display", "Cormorant Garamond", Palatino, serif;
  --font-script: "Caveat", "Homemade Apple", "Segoe Script", cursive;
  --font-sans: "DM Sans", "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 3.5rem;
  --space-11: 4rem;
  --space-12: 4.5rem;
  --section-y: 4rem;      /* 64px desktop — within 56–72 */
  --section-y-sm: 2.75rem; /* 44px mobile — within 40–48 */
  --head-gap: 1.35rem;
  --card-pad: 1.4rem 1.35rem 1.4rem;
}
@media (max-width: 859px) {
  :root {
    --header: 3.5rem;
    --section-y: var(--section-y-sm);
    --head-gap: 1.1rem;
    --card-pad: 1.2rem 1.15rem 1.25rem;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem; /* 17px — at least 16px on mobile */
  line-height: 1.65;
  min-height: 100%;
  overflow-x: clip;
}
main section[id],
#pricing, #thrive-who, #thrive-learn, #reset-detail, #reset-offer, #glp-included {
  scroll-margin-top: calc(var(--header) + 0.85rem);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-soft); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--plum); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--button); color: #fff; padding: 0.6rem 1rem; z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.kicker, .quote-script {
  font-family: var(--font-script);
  font-size: clamp(2.05rem, 4.2vw, 3rem);
  color: var(--script);
  line-height: 1.2;
  margin: 0 0 0.35rem;
  font-weight: 400;
}
.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--plum-soft);
  margin: 0 0 0.6rem;
}
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em; color: var(--plum); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.12; margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.15; margin: 0 0 0.8rem; }
h3 { font-size: 1.4rem; line-height: 1.25; margin: 0 0 0.5rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); }
.sprig { width: 120px; height: 40px; margin: 0.4rem 0 1rem; display: block; }
.sprig.center { margin-inline: auto; }

/* Buttons — medium purple pills, white type */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border: 1px solid transparent; border-radius: 999px;
  padding: 0.85rem 1.55rem;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--button); color: #fff; box-shadow: 0 8px 20px rgba(155, 127, 196, 0.28); }
.btn-primary:hover { background: var(--button-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--lavender-2); }
.btn-ghost:hover { background: var(--lilac); color: var(--plum-deep); }
.btn-gold { background: var(--gold); color: var(--plum-deep); }
.btn-gold:hover { background: #b8936f; color: var(--plum-deep); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 250, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 220, 236, 0.8);
}
.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; min-width: 0; }
.brand img, .brand .mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-script { font-family: var(--font-script); font-size: 2.05rem; color: var(--script); font-weight: 500; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 650; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"], .nav a.is-active { color: var(--plum); }
.nav a.is-active, .nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--button);
}
.nav a.btn { box-shadow: 0 8px 20px rgba(155, 127, 196, 0.28); }
.nav a.btn.is-active, .nav a.btn[aria-current="page"] { box-shadow: 0 8px 20px rgba(155, 127, 196, 0.28); }
.nav-drop { position: relative; }
.nav-drop > button {
  background: none; border: 0; font: inherit; font-weight: 650; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; padding: 0;
}
.nav-drop > button:hover, .nav-drop.is-active > button { color: var(--plum); }
.nav-drop.is-active > button { box-shadow: inset 0 -2px 0 var(--button); padding-bottom: 2px; }
.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 0.7rem); left: 50%; transform: translateX(-50%);
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); min-width: 240px; padding: 0.5rem; z-index: 20;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 0.55rem 0.75rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.nav-drop-menu a:hover { background: var(--lilac); color: var(--plum-deep); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer; color: var(--plum);
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; margin: 0 auto;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

/* Hero */
.hero { position: relative; padding: 3rem 0 3.6rem; overflow: hidden; background: var(--bg); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 2.4rem; }
}
.hero h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.25rem);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--plum);
}
.hero h1 .hero-line { display: block; }
.hero h1 .hero-thrive { white-space: nowrap; }
.hero h1 em, .accent { font-style: italic; color: var(--plum); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.hero-frame { position: relative; margin: 0 auto; max-width: 640px; width: 100%; }
.hero-frame img.photo, .hero-frame > img:not(.flourish) {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  display: block;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 14%, transparent 82%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 16%, transparent 78%, var(--bg) 100%);
}
.hero-frame .flourish { position: absolute; width: 36%; pointer-events: none; opacity: 0.55; z-index: 1; }
.hero-frame .flourish.bl { left: -10%; bottom: -6%; }
.hero-frame .flourish.tr { right: -8%; top: -6%; transform: rotate(180deg); }

/* Sections */
section { padding: var(--section-y) 0; position: relative; }
section.bleed, section.hero { padding: 0; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto var(--head-gap); }
.section-head.compact { margin-bottom: 1rem; }
.section-head h2, .section-head h3 { margin-bottom: 0.45rem; }
.section-head .lead { margin-inline: auto; }
.band-lavender { background: linear-gradient(180deg, #EDE4F5 0%, #F7F3FA 100%); }
.band-blush { background: linear-gradient(180deg, #F6EBE7 0%, #F7F3FA 100%); }
.band-paper { background: var(--lilac); }
.quote-band {
  background: var(--lavender);
  text-align: center;
  padding: 3.2rem 0;
}
.quote-band .quote-script { margin: 0 0 0.4rem; }
.quote-band .quote-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--plum);
  margin: 0;
}

.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid.cols-2, .card-grid.cols-4, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--paper);
  border: 1px solid var(--lilac-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--lavender); }
.card-body { padding: 1.25rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; background: var(--paper); }
.card-body p { margin: 0; color: var(--muted); }
.card-body .linkish { margin-top: auto; padding-top: 0.8rem; font-weight: 700; color: var(--button); }
.card.mockup-card img { aspect-ratio: 4 / 5; object-fit: contain; background: var(--paper); padding: 0.6rem 0.6rem 0; }

.pillar { text-align: center; padding: 1.5rem 1.1rem 1.7rem; background: var(--paper); }
.pillar-icon {
  width: 76px; height: 76px; margin: 0 auto 0.9rem;
  border-radius: 50%; background: var(--lilac);
  display: grid; place-items: center;
  border: 1px solid var(--lilac-deep);
}
.pillar-icon svg { width: 34px; height: 34px; }

.split { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.split img {
  width: 100%; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover;
}
.split img.contain { aspect-ratio: 4 / 5; object-fit: contain; background: transparent; box-shadow: none; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { position: relative; padding: 0.45rem 0 0.45rem 1.8rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.7rem;
  width: 1rem; height: 0.7rem;
  background: var(--button);
  /* checkmark via mask so we don't depend on a font */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / contain no-repeat;
}

/* Pricing — Guided lilac + Most Popular; Self-guided sage */
.price-grid { display: grid; gap: 1.4rem; }
@media (min-width: 800px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 1.8rem 1.6rem 1.7rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.price-card.featured, .price-card.lilac {
  border-color: var(--button);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #F3ECF9, #FFFCFB 42%);
}
.price-card.sage {
  background: linear-gradient(180deg, #E7F0E4, #FFFCFB 42%);
  border-color: #C5D4BE;
}
.price-card .tag {
  align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; color: #fff; background: var(--button); padding: 0.28rem 0.7rem; border-radius: 999px;
}
.price-card.sage .tag { background: var(--sage-deep); color: #fff; }
.price-card { padding: var(--card-pad); }
.price {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.4rem);
  color: var(--plum);
  margin: 0.15rem 0 1.15rem; /* ≥18px clear gap above the button */
  line-height: 1.2;
  font-weight: 600;
}
.price small {
  font-size: 0.95rem; font-family: var(--font-sans); color: var(--muted);
  font-weight: 600; letter-spacing: 0.02em;
  line-height: 1.2; vertical-align: 0.12em; margin-left: 0.2rem;
}
.placeholder-price {
  display: inline-block; align-self: flex-start; width: auto;
  font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #8A6230; background: #F4E4C8; padding: 0.2rem 0.65rem; border-radius: 999px; font-weight: 700;
  margin: 0 0 0.35rem; line-height: 1.3;
}
.price-card > p:not(.price):not(.placeholder-price) { margin: 0 0 0.4rem; color: var(--muted); }
.price-card ul { margin: 0.4rem 0 0; padding: 0; list-style: none; color: var(--muted); }
.price-card li { padding: 0.3rem 0 0.3rem 1.3rem; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--button); font-weight: 700; }
.price-card.sage li::before { color: var(--sage-deep); }
.price-card .btn { margin-top: auto; }
.price-card > .btn,
.price-card > button.btn {
  /* auto pushes equal-height cards; margin-bottom on .price already guarantees 18–20px */
  flex: none;
}
.price-card-compact { max-width: 26rem; width: 100%; }

/* Modules */
.module-list { display: grid; gap: 0.9rem; }
.module {
  background: var(--paper); border-radius: 16px; padding: 1rem 1.1rem 1rem 1.2rem;
  border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
}
.module-num {
  font-family: var(--font-serif); font-size: 0.95rem; color: var(--button);
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1.5px solid var(--button);
  display: grid; place-items: center; flex: none;
}

/* Forms */
form { display: grid; gap: 0.9rem; }
label { font-weight: 700; font-size: 0.88rem; color: var(--plum); }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 0.9rem; font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
  min-height: 44px;
}
textarea { min-height: 8rem; resize: vertical; }
.form-card {
  background: var(--paper); border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-msg { padding: 0.8rem 1rem; border-radius: 12px; font-size: 0.95rem; }
.form-msg.ok { background: #E7F3E8; color: #24552C; }
.form-msg.err { background: #F8E8EA; color: var(--danger); }
.form-msg.warn { background: #F4E4C8; color: #6A4A1C; }

/* Footer */
.site-footer { background: var(--plum); color: #F3ECF9; padding: 3.2rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #F7F3F0; }
.footer-cta { text-align: center; margin-bottom: 2.4rem; }
.footer-cta .kicker, .footer-cta .quote-script { color: #EDE4F6; margin-bottom: 0.8rem; }
.social { display: flex; justify-content: center; gap: 0.7rem; }
.social a {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center; color: #fff; text-decoration: none;
}
.social a:hover { background: var(--button); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-grid { display: grid; gap: 1.6rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand-script { color: #fff; }
.site-footer p, .site-footer li { color: #D5C4E3; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; }
.legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1rem; font-size: 0.8rem; color: #D5C4E3; }

/* Misc */
.page-hero { padding: 0 0 var(--space-6); text-align: center; }
.page-hero .lead { margin-inline: auto; }
.banner-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); margin: 0 auto 2rem; }
.banner-img.contain { object-fit: contain; background: var(--lilac); max-height: 520px; }
.alert { border-radius: 16px; padding: 1rem 1.1rem; background: #F4E4C8; color: #5A3E12; margin: 1rem 0; }
.modal-back {
  position: fixed; inset: 0; background: rgba(42,31,51,0.5); display: none;
  align-items: center; justify-content: center; padding: 1.2rem; z-index: 80;
}
.modal-back.open { display: flex; }
.modal {
  background: var(--paper); border-radius: 20px; padding: 1.6rem; max-width: 28rem; width: 100%;
  box-shadow: var(--shadow);
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 1023px) {
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; }
  .nav {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(47, 42, 74, 0.12);
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.2s ease, visibility 0.2s;
  }
  .nav.open {
    max-height: 100vh;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0.7rem 1rem 1.4rem;
    overflow-y: auto;
  }
  .nav a, .nav-drop > button {
    min-height: 48px;
    padding: 0.85rem 0.7rem;
    font-size: 1.0625rem;
    display: flex;
    align-items: center;
    box-shadow: none;
  }
  .nav a.is-active, .nav a[aria-current="page"], .nav-drop.is-active > button {
    box-shadow: none;
    background: var(--lilac);
    border-radius: 12px;
    color: var(--plum);
  }
  .nav .btn {
    margin-top: 0.5rem;
    min-height: 48px;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(155, 127, 196, 0.28);
  }
  .nav-drop-menu { position: static; transform: none; box-shadow: none; border: 0; background: transparent; padding-left: 0.4rem; }
  .nav-drop-menu a { min-height: 44px; }
  .hero-frame img.photo, .hero-frame > img:not(.flourish) { aspect-ratio: 4 / 3; max-height: none; }
  .hero h1 .hero-thrive { white-space: normal; }
  .hero-actions .btn { min-height: 48px; width: 100%; }
  .split { grid-template-columns: 1fr; }
  .btn, .btn-ghost, a.btn { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .nav { transition: none; }
}


/* ========== v4: bleed bands, start cards, icons, booklets ========== */
.icon {
  width: 22px; height: 22px;
  color: var(--button); stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.icon-bubble {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--lavender);
  display: grid; place-items: center;
  margin: 0 auto 0.85rem;
  flex: none;
}
.icon-bubble .icon { width: 26px; height: 26px; }
.icon-row {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr 1fr;
  margin: 1.6rem 0 0;
}
@media (min-width: 800px) {
  .icon-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.icon-item { text-align: center; }
.icon-item h3, .icon-item p { margin: 0; }
.icon-item h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.icon-item p { color: var(--muted); font-size: 0.95rem; }
.icon-inline {
  display: inline-flex; align-items: flex-start; gap: 0.85rem;
  text-align: left;
}
.icon-inline .icon-bubble { margin: 0; width: 52px; height: 52px; }
.icon-inline .icon-bubble .icon { width: 22px; height: 22px; }
.feature-list { display: grid; gap: 1rem; margin: 1.2rem 0 0; }

/* Start-point cards — lilac tile, equal height, Learn More */
.start-grid { align-items: stretch; }
.start-card {
  background: var(--paper);
  border: 1px solid var(--lilac-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  display: flex; flex-direction: column;
  height: 100%;
  color: inherit; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.start-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: inherit; }
.start-card .card-tile {
  background: var(--lavender);
  padding: 0.85rem;
}
.start-card .card-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover; object-position: center;
  border-radius: 14px;
  background: var(--lavender);
  display: block;
}
.start-card .card-body { padding: 1.05rem 1.15rem 1.2rem; background: var(--paper); gap: 0.3rem; }
.start-card h3 { font-size: 1.2rem; margin: 0 0 0.2rem; }
.start-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.start-card .linkish {
  margin-top: auto; padding-top: 0.7rem;
  font-weight: 700; font-size: 0.88rem;
  color: var(--button); letter-spacing: 0.01em;
}

/* Full-bleed section heroes: photo on the right, fades into the page */
.bleed {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.bleed.band { background: var(--lavender); }
.bleed-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
  padding: 3.2rem 0 3.4rem;
}
@media (min-width: 860px) {
  .bleed-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: center;
    min-height: 32rem;
    padding: 4rem 0;
  }
  .bleed-copy { max-width: 34rem; }
  .bleed-photo {
    position: absolute;
    inset: 0 0 0 38%;
    z-index: 1;
    pointer-events: none;
  }
  .bleed-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center right;
    border-radius: 0 !important;
    box-shadow: none !important;
    aspect-ratio: auto !important;
    background: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%);
            mask-image: linear-gradient(to right, transparent 0%, #000 38%);
  }
  /* When the copy column needs to sit over the fade, keep the second grid cell empty */
  .bleed-grid > .bleed-photo { display: none; } /* photo is the absolute layer */
  .bleed > .bleed-photo { display: block; }
}
@media (max-width: 859px) {
  .bleed-grid { padding: 0 0 2.8rem; }
  .bleed-copy { padding-top: 0.4rem; }
  .bleed-photo {
    position: relative;
    inset: auto;
    margin: 0 -0.75rem 0.4rem;
  }
  .bleed-photo img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  }
  .bleed-grid { display: flex; flex-direction: column; }
}
.bleed-copy .lead { max-width: 36rem; }
.bleed-copy .quote-script { margin: 0.4rem 0 1rem; }
.bleed .price-card { margin-top: 1.4rem; background: var(--paper); }

/* Booklet fanned stack */
.booklet-stack {
  position: relative;
  width: min(100%, 340px);
  height: 380px;
  margin: 0 auto;
  perspective: 900px;
}
.booklet {
  position: absolute;
  left: 50%; top: 50%;
  width: 210px; height: 300px;
  background: #fff;
  border: 1px solid var(--lilac-deep);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(47, 42, 74, 0.12);
  overflow: hidden;
  transform: translate(-50%, -52%) rotate(var(--rot, 0deg));
  transform-origin: center 70%;
}
.booklet.back-left { --rot: -8deg; z-index: 1; transform: translate(-58%, -50%) rotate(-8deg); }
.booklet.back-right { --rot: 8deg; z-index: 1; transform: translate(-42%, -50%) rotate(8deg); }
.booklet.front { --rot: 0deg; z-index: 3; transform: translate(-50%, -52%) rotate(0deg); width: 230px; height: 324px; }
.booklet-band {
  background: var(--button);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.7rem 0.6rem 0.65rem;
  line-height: 1.3;
}
.booklet-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.55rem 0.55rem 0.3rem;
}
.booklet-thumbs img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.booklet-lines { padding: 0.35rem 0.7rem 0.7rem; }
.booklet-lines span {
  display: block; height: 5px; border-radius: 99px;
  background: #E8E0EE; margin: 0.35rem 0;
}
.booklet-lines span:nth-child(2) { width: 82%; }
.booklet-lines span:nth-child(3) { width: 64%; }
.booklet.back-left .booklet-band,
.booklet.back-right .booklet-band { background: #B59AD4; }
@media (max-width: 859px) {
  .booklet-stack { height: 360px; margin-bottom: 0.5rem; }
}

/* Pair booklet + copy */
.with-booklet {
  display: grid; gap: 2rem; align-items: start;
  padding-bottom: 1rem;
}
@media (min-width: 800px) {
  .with-booklet { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; }
}

/* Alternating bands already via .bleed.band / .band-lavender */
.band-lavender { background: var(--lavender); }
.band-paper { background: var(--bg); }

/* Pillar icons use the shared bubble */
.pillar { box-shadow: none; }
.pillar .icon-bubble { margin-bottom: 0.9rem; }
#reset .icon-bubble,
#why .icon-bubble {
  background: #fff;
}

.sprig { width: 88px; height: 28px; opacity: 0.85; }

/* Footer social — same line style */
.social a .icon { color: #fff; stroke: currentColor; width: 18px; height: 18px; }


.bleed { --bleed-fade: var(--bg); }
.bleed.band { --bleed-fade: var(--lavender); }
.bleed-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, var(--bleed-fade) 0%, color-mix(in srgb, var(--bleed-fade) 75%, transparent) 18%, transparent 46%);
  z-index: 2;
}
@media (max-width: 859px) {
  .bleed-photo::after {
    background: linear-gradient(to bottom, transparent 42%, color-mix(in srgb, var(--bleed-fade) 55%, transparent) 72%, var(--bleed-fade) 100%);
  }
}

/* Tightened section heads on the single page */
.page-hero + .wrap { margin-top: 0; }

/* ========== v5: spacing scale, compact reset, mobile tightness ========== */
.block-pad { padding: var(--section-y) 0; }
.block-pad.tight { padding: var(--space-8) 0 var(--section-y); }

/* Adjacent same-band or stacked pads: don't add two full section gaps */
#thrive-learn + #pricing { padding-top: var(--space-8); }
section.bleed + .block-pad,
section.bleed.band + .block-pad,
#glp-1 + #glp-included { padding-top: var(--space-8); }
section + section.bleed { /* bleed already padding 0; previous section bottom is enough */ }

.lead { margin: 0 0 0.2rem; }
.checklist { margin: 0.65rem 0 0; }
.sprig { margin: 0.15rem 0 0.7rem; }

/* Compact header on small screens */
@media (max-width: 859px) {
  .brand img, .brand .mark { width: 36px; height: 36px; }
  .brand-script { font-size: 1.7rem; }
  .brand-sub { font-size: 0.58rem; margin-top: 0.12rem; }
  .header-inner { gap: 0.6rem; }
  .hero { padding: 1.75rem 0 2.25rem; }
  .hero-actions { margin-top: 1.15rem; }
}

/* Icon grids: 2×2 on mobile, 64px circles, tight gaps */
@media (max-width: 799px) {
  .icon-row,
  .icon-row.cols-4 {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 0.7rem;
    margin: 0.6rem 0 0;
  }
  .icon-bubble {
    width: 64px; height: 64px;
    margin: 0 auto 0.45rem;
  }
  .icon-bubble .icon { width: 24px; height: 24px; }
  .icon-item h3 { font-size: 0.98rem; margin: 0; }
  .icon-inline .icon-bubble { width: 48px; height: 48px; }
}

@media (min-width: 800px) {
  .icon-row.cols-4 { gap: 1rem 1.1rem; }
}

#reset-detail { background: var(--lavender); }
#reset-detail .icon-bubble,
#reset .icon-bubble,
#why .icon-bubble { background: #fff; }

/* Bleed padding uses the spacing scale, slightly tighter min-height */
.bleed-grid { padding: var(--section-y) 0; }
@media (min-width: 860px) {
  .bleed-grid { padding: var(--space-11) 0; min-height: 28rem; }
}
@media (max-width: 859px) {
  .bleed-grid { padding: 0 0 var(--space-8); }
  .bleed-photo { margin: 0 -0.75rem 0.15rem; }
}

.bleed-cta { margin: 1.15rem 0 0; }
.bleed-copy .lead { margin-top: 0.15rem; }
.bleed-copy .quote-script { margin: 0.25rem 0 0.7rem; }

/* Reset lower block: why → included + booklet → compact price */
.reset-lower { display: grid; gap: var(--space-7); }
.reset-why { text-align: center; }
.reset-why .section-head { margin-bottom: var(--space-5); }
.with-booklet .price-card { margin-top: var(--space-6); }
@media (max-width: 799px) {
  .with-booklet .price-card-compact { margin-inline: auto; }
  .booklet-stack { height: 340px; margin-bottom: 0; }
}

.with-booklet { gap: var(--space-6); padding-bottom: 0; }
@media (min-width: 800px) {
  .with-booklet { gap: 2.5rem; }
}

/* Start cards: tighter section, no large empty body */
#start { padding-top: var(--space-9); padding-bottom: var(--space-9); }
#pillars { padding-top: var(--space-9); padding-bottom: var(--space-9); }
.start-card .card-body { padding: 0.95rem 1.05rem 1.05rem; }
.start-card .linkish { padding-top: 0.5rem; }
@media (max-width: 859px) {
  #start { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  #pillars { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .start-grid { gap: 0.9rem; }
}

/* Guide: compact head + booklet row, no stacked page-hero */
#guide .page-hero { padding: 0 0 var(--space-6); }
#guide { padding-bottom: var(--section-y); }

/* Pricing cards already use the shared .price-card rules */
#pricing .section-head .lead { max-width: 38rem; }

/* Qual block */
.qual-block .section-head { margin-bottom: var(--space-6); }
.qual-block .card-body { padding: 1.1rem 1.15rem 1.2rem; }

/* Footer social spacing unchanged; slightly tighter top */
.site-footer { padding-top: var(--space-9); }

.bleed-copy .form-card { margin-top: 1.15rem; }

/* ========== v6: responsive pass (phones, tablets, desktops) ========== */
html, body { max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }
input, select, textarea { font-size: 16px; } /* prevent iOS zoom */

/* Starting cards: 1 col phones, 2 col tablets, 4 col desktop */
.start-grid,
.card-grid.cols-4.start-grid {
  grid-template-columns: 1fr;
}
.card-grid.cols-4:not(.start-grid) { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .start-grid,
  .card-grid.cols-4.start-grid,
  .card-grid.cols-4:not(.start-grid) {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .start-grid,
  .card-grid.cols-4.start-grid,
  .card-grid.cols-4:not(.start-grid) {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Hero: image above, text below on phones/tablets; keep faces in frame */
@media (max-width: 859px) {
  .hero { padding: 1.25rem 0 1.75rem; }
  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.15rem;
  }
  .hero-frame { max-width: none; }
  .hero-frame img.photo,
  .hero-frame > img:not(.flourish) {
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center 18%;
  }
  .hero h1 { font-size: clamp(1.85rem, 8.2vw, 2.6rem); }
  .kicker { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  h2 { font-size: clamp(1.55rem, 6.5vw, 2.3rem); }
  .lead { font-size: 1.05rem; max-width: none; }
}

@media (max-width: 389px) {
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .wrap { width: min(var(--max), calc(100% - 1.25rem)); }
}

/* Booklet scales down so the fan never overflows the viewport */
@media (max-width: 430px) {
  .booklet-stack { width: min(100%, 260px); height: 300px; }
  .booklet { width: 168px; height: 240px; }
  .booklet.front { width: 184px; height: 260px; }
  .booklet-band { font-size: 0.62rem; padding: 0.55rem 0.4rem; }
}
@media (min-width: 431px) and (max-width: 799px) {
  .booklet-stack { width: min(100%, 300px); height: 340px; }
}

/* Footer stacks cleanly; links are tappable */
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 719px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Bleed photos: keep a sensible crop, no stretched images */
.bleed-photo img { object-fit: cover; }
@media (max-width: 859px) {
  .bleed-photo img { aspect-ratio: 5 / 4; object-position: center 25%; }
  #about .bleed-photo img,
  #home .hero-frame img.photo { object-position: center 18%; }
  #why .bleed-photo img { object-position: center 40%; }
}

/* Line lengths and heading clamp already set; tighten long script lines */
.quote-script { overflow-wrap: anywhere; }

/* Icon grids stay 2×2 on phones; 4 across from tablet */
@media (min-width: 640px) and (max-width: 799px) {
  .icon-row.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Forms already 16px / 44px min-height; make sure buttons don't shrink */
.hero-actions .btn, .price-card .btn, .form-card .btn { min-height: 44px; }

/* Prevent booklet/hero flourishes causing horizontal scroll */
.hero, .bleed, .booklet-stack, section { max-width: 100%; }
.hero-frame .flourish { max-width: 40%; height: auto; }

/* ---------- v8: footer social icons centred inside their circles ---------- */
.site-footer .social { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; width: 100%; margin-inline: auto; }
.site-footer .social a {
  display: inline-flex; justify-content: center; align-items: center;
  width: 44px; height: 44px; min-height: 44px; padding: 0; line-height: 0; flex: 0 0 44px;
}
.site-footer .social svg { display: block; margin: 0; }

/* ---------- v8: checkout intake ---------- */
.checkout-page { padding: 1.25rem 0 var(--section-y); background: var(--bg); }
.checkout-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; } .checkout-summary { position: sticky; top: calc(var(--header) + 1rem); } }
.checkout-main h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .2rem 0 .5rem; color: var(--plum); }
.checkout-main .lead { max-width: 40rem; margin-bottom: 1.25rem; }
.intake { display: grid; gap: 1rem; }
.intake fieldset { margin: 0; min-width: 0; display: grid; gap: .9rem; }
.intake fieldset[hidden], .intake [hidden] { display: none !important; }
.intake legend { font-family: var(--font-serif); font-size: 1.3rem; color: var(--plum); padding: 0; float: left; width: 100%; margin-bottom: .2rem; }
.intake legend + * { clear: both; }
.intake .fld { display: grid; gap: .35rem; min-width: 0; }
.intake .row-2 { display: grid; gap: .9rem; }
@media (min-width: 600px) { .intake .row-2 { grid-template-columns: 1fr 1fr; } }
.intake .opt, .intake .unit { font-weight: 400; color: var(--muted); }
.intake .lbl { font-weight: 700; font-size: .88rem; color: var(--plum); }
.intake .hint { font-size: .85rem; color: var(--muted); margin: 0; }
.intake .hint.center { text-align: center; }
.intake select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--plum-soft) 50%), linear-gradient(135deg, var(--plum-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.intake input:focus, .intake select:focus, .intake textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--button); }
.intake .seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.intake .seg label { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--lilac); font-weight: 600; cursor: pointer; }
.intake .seg label:has(input:checked) { background: var(--button); color: #fff; border-color: var(--button); }
.intake .seg input, .intake .check input { width: 1.15rem; height: 1.15rem; min-height: 0; margin: 0; accent-color: var(--button); flex: 0 0 auto; }
.intake .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .95rem; color: var(--ink); line-height: 1.45; min-height: 44px; padding: .2rem 0; cursor: pointer; }
.intake .check input { margin-top: .15rem; }
.intake .check a { color: var(--plum-soft); }
.intake .invalid input, .intake .invalid select, .intake .invalid textarea { border-color: var(--danger); background: #FFF8F9; }
.intake .check.invalid span { color: var(--danger); }
.btn-block { width: 100%; justify-content: center; }
.checkout-summary h2 { font-size: 1.5rem; margin: .2rem 0; color: var(--plum); }
.checkout-summary .price { font-size: 1.8rem; color: var(--plum); margin: 0 0 1rem; }
.sum-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.sum-steps li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.sum-steps span { flex: 0 0 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--lavender); color: var(--plum); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
@media (max-width: 959px) { .checkout-summary { order: -1; padding: 1.1rem 1.2rem; } .checkout-summary .sum-steps { display: none; } .checkout-summary .price { margin: 0; font-size: 1.4rem; } }

/* ---------- v8: success states ---------- */
#success-box .success-h { font-size: 1.5rem; color: var(--plum); margin: 0 0 .6rem; }
#success-box .order-ref { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; }
#success-box .hint { font-size: .88rem; color: var(--muted); }
#success-box .steps { padding-left: 1.2rem; display: grid; gap: .35rem; }
.status-line { display: flex; gap: .7rem; align-items: center; }
.spinner { width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 3px solid var(--lavender-2); border-top-color: var(--button); animation: spin 0.9s linear infinite; flex: 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* ---------- v8: legal pages ---------- */
.legal-page { padding: 0 0 var(--section-y); }
.legal-page .prose { max-width: 46rem; }
.legal-page h2 { font-family: var(--font-serif); color: var(--plum); font-size: 1.4rem; margin: 1.6rem 0 .5rem; }

/* ---------- v9: App Store / Google Play badges ---------- */
.store-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0 .25rem; max-width: 26rem; }
.store-badge {
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 56px; padding: .55rem .8rem; border-radius: 14px;
  background: var(--plum); color: #fff; text-decoration: none; white-space: nowrap;
  border: 1px solid #1f1b33; box-shadow: 0 6px 16px rgba(47, 42, 74, .18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.store-badge:hover, .store-badge:focus-visible { background: #3d3660; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(47, 42, 74, .24); }
.store-badge:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.store-badge svg { width: 26px; height: 26px; flex: 0 0 26px; }
.store-badge .sb-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.store-badge .sb-small { font-size: .66rem; letter-spacing: .02em; opacity: .9; }
.store-badge .sb-big { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 379px) { .store-badges { grid-template-columns: 1fr; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .store-badge { transition: none; } }

/* v11: programme cards render from admin; keep one card centred and 3+ cards in a row */
@media (min-width: 640px) {
  .price-grid.price-grid-single { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .price-grid:has(> .price-card:nth-child(3)) { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
