/* Savant Learning Hub
   Cream, clay and soft colour fields. Rounded, warm, hand-drawn. */

:root {
  --cream: #FBF5EE;
  --cream-2: #F5ECE1;
  --white: #FFFCF8;
  --ink: #2B1F1B;
  --ink-soft: #5E4D45;
  --line: #E6D9CB;

  --clay: #A9492B;
  --clay-deep: #8E3B21;
  --clay-soft: #E4A68F;
  --blush: #F4D9CE;
  --blush-deep: #EBC3B3;
  --sage: #C9D4BC;
  --sage-deep: #3E5442;
  --butter: #F5E6BC;
  --butter-deep: #6B5420;

  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 10vw, 136px);
  --r-lg: clamp(24px, 3vw, 36px);
  --r-md: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 1px 2px rgba(43, 31, 27, .05), 0 18px 40px -22px rgba(43, 31, 27, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
a { color: inherit; }

::selection { background: var(--clay); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-defs { position: absolute; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--clay);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.eyebrow--sage { color: var(--sage-deep); }
.eyebrow--light { color: #FBE6DD; }

.section-title {
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.024em;
  max-width: 18ch;
  text-wrap: balance;
}
.section-title--light { color: var(--white); }

.section-intro {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.section-head--center { text-align: center; }
.section-head--center .section-title { margin-inline: auto; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.shop { padding-block: clamp(40px, 6vw, 72px) 0; }
.waitlist { padding-bottom: clamp(24px, 4vw, 48px); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(142, 59, 33, .9);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(142, 59, 33, .9); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: .9375rem; box-shadow: none; }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: var(--clay-deep);
}
.arrow-link span { transition: transform .25s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: .875rem;
  font-weight: 600;
}
.pill__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(169, 73, 43, .16);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 248, .7);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge--clay { background: var(--clay); color: var(--white); }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--blush);
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
}
.announce a {
  display: block;
  padding: 10px var(--gutter);
  color: var(--clay-deep);
  text-decoration: none;
}
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 238, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo__mark {
  width: 36px; height: 36px;
  padding: 6px;
  border-radius: 12px;
  background: var(--clay);
  color: var(--white);
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -.03em;
}
.logo__sub {
  margin-top: 3px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.logo--light .logo__mark { background: var(--blush); color: var(--clay-deep); }
.logo--light .logo__sub { color: var(--blush); }

.site-nav ul { display: flex; gap: 6px; }
.site-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s var(--ease);
}
.site-nav a:hover { background: var(--cream-2); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(32px, 6vw, 80px) clamp(64px, 8vw, 112px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero__title {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.875rem, 6.6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.squiggle {
  position: relative;
  display: inline-block;
  color: var(--clay);
  white-space: nowrap;
}
.squiggle svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.14em;
  width: 100%;
  height: .2em;
  color: var(--clay-soft);
  z-index: -1;
}

.hero__lede {
  margin-top: 26px;
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
}

/* inline email capture */
.inline-form { margin-top: 32px; max-width: 520px; }
.inline-form__row {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.inline-form__row:focus-within { border-color: var(--clay); box-shadow: var(--shadow), 0 0 0 4px rgba(169, 73, 43, .14); }
.inline-form input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 1rem/1.4 var(--body);
}
.inline-form input:focus { outline: none; }
.inline-form input::placeholder { color: #776359; }
.inline-form__note { margin: 12px 0 0 20px; font-size: .875rem; color: var(--ink-soft); }
.inline-form .field__error { margin: 10px 0 0 20px; }
.inline-form .form__status { margin-top: 14px; }

/* hero art */
.hero__art {
  position: relative;
  min-height: clamp(420px, 44vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob {
  position: absolute;
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
}
.blob--hero {
  inset: 4% 2% 2% 6%;
  background: var(--blush);
}
.blob--hero::after {
  content: "";
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  right: -2%;
  top: -4%;
  border-radius: 50%;
  background: var(--butter);
}

.device { position: relative; }

.phone {
  position: relative;
  width: clamp(200px, 21vw, 260px);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 40px;
  background: var(--ink);
  box-shadow: 0 40px 60px -30px rgba(43, 31, 27, .6), inset 0 0 0 2px #4A3A33;
  transform: rotate(-4deg);
}
.phone__screen {
  height: 100%;
  border-radius: 31px;
  background: var(--white);
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone__bar { display: flex; justify-content: center; margin-bottom: 14px; }
.phone__bar span { width: 64px; height: 18px; border-radius: 999px; background: var(--ink); }
.phone__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: .75rem;
  font-weight: 600;
}
.phone__soon {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--clay-deep);
}

/* the Book One cover, reused at several sizes */
.cover {
  --cw: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 2 / 3;
  padding: 12% 11%;
  border-radius: 6px 14px 14px 6px;
  background:
    radial-gradient(70% 50% at 80% 100%, rgba(245, 230, 188, .55), transparent 70%),
    linear-gradient(90deg, rgba(43, 31, 27, .22) 0, rgba(43, 31, 27, 0) 6%),
    var(--clay);
  color: var(--white);
  overflow: hidden;
}
.cover::before {
  content: "";
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  right: -38%;
  top: -22%;
  border-radius: 50%;
  background: rgba(244, 217, 206, .22);
}
.cover__tag {
  position: relative;
  align-self: flex-start;
  padding: .35em .8em;
  border-radius: 999px;
  background: rgba(255, 252, 248, .18);
  font-size: calc(var(--cw) * .052);
  font-weight: 600;
}
.cover__title {
  position: relative;
  margin-top: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: calc(var(--cw) * .24);
  line-height: .9;
  letter-spacing: -.04em;
}
.cover__sprig {
  position: absolute;
  width: 28%;
  height: auto;
  aspect-ratio: 1;
  right: 8%;
  top: 22%;
  color: var(--butter);
  transform: rotate(14deg);
}
.cover__by {
  position: relative;
  margin-top: 10%;
  font-size: calc(var(--cw) * .05);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}
.cover--phone { --cw: 200px; flex: 1; aspect-ratio: auto; border-radius: 14px; }
.cover--tile { --cw: 180px; width: 180px; box-shadow: 0 30px 40px -24px rgba(43, 31, 27, .55); transform: rotate(-6deg); }
.cover--big {
  --cw: clamp(200px, 24vw, 300px);
  width: var(--cw);
  box-shadow: 0 50px 60px -30px rgba(31, 44, 33, .6);
  transform: rotate(-5deg);
}

.float-card {
  position: absolute;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.float-card__kicker {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--sage-deep);
}
.float-card--workbook {
  right: calc(100% - 22px);
  bottom: 9%;
  width: 168px;
  display: grid;
  gap: 9px;
  transform: rotate(5deg);
}
.float-card--workbook .float-card__kicker { margin-bottom: 2px; }
.float-card--course {
  left: calc(100% - 64px);
  top: 9%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 184px;
  transform: rotate(-3deg);
}
.float-card--course .float-card__kicker { color: var(--butter-deep); }
.float-card__stack { flex: 1; display: grid; gap: 8px; }

.check { display: flex; align-items: center; gap: 8px; }
.check__box {
  flex: none;
  width: 14px; height: 14px;
  border-radius: 5px;
  border: 2px solid var(--sage-deep);
}
.check__box.is-done { background: var(--sage-deep); box-shadow: inset 0 0 0 2px var(--white); }
.ln {
  display: block;
  height: 6px;
  width: 100%;
  border-radius: 99px;
  background: var(--cream-2);
}
.ln--mid { width: 72%; }
.ln--short { width: 50%; }

.play {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--butter);
  position: relative;
}
.play::after {
  content: "";
  position: absolute;
  left: 15px; top: 12px;
  border-left: 11px solid var(--butter-deep);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.progress { display: block; height: 6px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.progress span { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--butter-deep); }

/* ---------- Shop ---------- */

.shop__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  flex-wrap: wrap;
}
.shop__head .section-intro { max-width: 40ch; margin-top: 0; }

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(28px, 4vw, 44px);
}
.no-js .cats { display: none; }
.cat {
  min-height: 42px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 600 .9375rem/1 var(--body);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.cat:hover { border-color: #CDBBA8; }
.cat[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.product {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product[hidden] { display: none; }

.product__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product__media::before {
  content: "";
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 252, 248, .45);
}
.product__media--blush { background: var(--blush); }
.product__media--cream { background: var(--cream-2); }
.product__media--sage { background: var(--sage); }
.product__media--butter { background: var(--butter); }
.product__media .cover { position: relative; }

.product__flag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  font-size: .8125rem;
  font-weight: 600;
}
.product__flag--clay { background: var(--clay); color: var(--white); }

.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.product__cat { font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }
.product__name {
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.product__meta {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  font-size: .9375rem;
}
.product__meta div { display: flex; gap: 8px; }
.product__meta dt { color: var(--ink-soft); min-width: 4.25rem; }
.product__meta dd { margin: 0; font-weight: 500; }
.product__foot {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}
.product__price {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-weight: 700;
  font-size: .9375rem;
}
.product__price--clay { color: var(--clay-deep); }
.products__empty { margin-top: 24px; color: var(--ink-soft); }

.btn--outline {
  background: transparent;
  color: var(--clay-deep);
  box-shadow: inset 0 0 0 1.5px var(--clay);
}
.btn--outline:hover { background: var(--clay); color: var(--white); transform: none; box-shadow: inset 0 0 0 1.5px var(--clay); }

/* cover colour variants */
.cover--card { --cw: 128px; width: 128px; box-shadow: 0 24px 30px -18px rgba(43, 31, 27, .5); transform: rotate(-5deg); }
.cover--blush { background: radial-gradient(70% 50% at 80% 100%, rgba(255, 252, 248, .6), transparent 70%), linear-gradient(90deg, rgba(43, 31, 27, .12) 0, rgba(43, 31, 27, 0) 6%), var(--clay-soft); color: var(--ink); }
.cover--sage { background: radial-gradient(70% 50% at 80% 100%, rgba(201, 212, 188, .4), transparent 70%), linear-gradient(90deg, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, 0) 6%), var(--sage-deep); }
.cover--butter { background: radial-gradient(70% 50% at 80% 100%, rgba(255, 252, 248, .5), transparent 70%), linear-gradient(90deg, rgba(43, 31, 27, .14) 0, rgba(43, 31, 27, 0) 6%), #D9B65A; color: #3A2F14; }
.cover--blush .cover__tag, .cover--butter .cover__tag { background: rgba(255, 252, 248, .45); }
.cover__title--sm { font-size: calc(var(--cw) * .15); line-height: 1; }

/* ---------- Formats ---------- */

.formats-row { padding-block: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.formats-row__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -.02em;
}
.fmt {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.fmt__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.fmt__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
}
.fmt__icon svg { width: 32px; height: 32px; }
.fmt__icon--clay { background: var(--blush); color: var(--clay-deep); }
.fmt__icon--sage { background: var(--sage); color: var(--sage-deep); }
.fmt__icon--butter { background: var(--butter); color: var(--butter-deep); }
.fmt__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -.02em;
}
.fmt__item p { margin-top: 4px; color: var(--ink-soft); font-size: .9375rem; line-height: 1.5; }
.fmt__status {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-2);
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.fmt__status--now { background: var(--clay); color: var(--white); }

/* ---------- How it works ---------- */

.how { position: relative; overflow: hidden; padding-top: clamp(48px, 6vw, 88px); }
.how .section-title { max-width: none; }

.script {
  font-family: "Caveat", cursive;
  font-weight: 600;
  color: var(--clay);
  letter-spacing: 0;
}

.promise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 14px;
  text-align: center;
}
.promise__caps {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.promise .script { font-size: clamp(2.75rem, 6vw, 5rem); line-height: .9; }

.how__head { margin-top: clamp(48px, 7vw, 88px); }
.script--note {
  display: inline-block;
  font-size: .78em;
  color: var(--sage-deep);
  transform: rotate(-4deg);
  white-space: nowrap;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--clay-soft) 0 8px, transparent 8px 16px);
}
.step { position: relative; }
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--cream);
  color: var(--clay);
}
.step__num svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.step__num span {
  position: relative;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
}
.step__num--sage { color: var(--sage-deep); }
.step__num--butter { color: var(--butter-deep); }
.step__title {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -.025em;
}
.step p { margin: 8px auto 0; max-width: 28ch; color: var(--ink-soft); }

.confetti { position: absolute; pointer-events: none; }
.confetti--a { width: 70px; top: 10%; left: 6%; color: var(--clay-soft); transform: rotate(-12deg); }
.confetti--b { width: 18px; top: 22%; right: 12%; color: #D9B65A; }
.confetti--c { width: 44px; bottom: 16%; right: 6%; color: var(--sage-deep); opacity: .6; }
.confetti--d { width: 22px; bottom: 26%; left: 9%; color: var(--sage); }

/* ---------- Book One spotlight ---------- */

.spotlight { padding-block: clamp(16px, 3vw, 40px); }
.spotlight__panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(40px, 6vw, 88px);
  border-radius: var(--r-lg);
  background: var(--sage);
  color: #22302A;
  overflow: hidden;
}
.spotlight__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(340px, 34vw, 460px);
}
.blob--spot {
  width: 92%;
  aspect-ratio: 1;
  background: #B7C5A8;
}
.spotlight__art .cover { position: relative; }

.spotlight__title {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.25rem, 7vw, 5.75rem);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--ink);
}
.spotlight__lede {
  margin-top: 22px;
  max-width: 34ch;
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.45;
  font-weight: 500;
}
.spotlight__note { margin-top: 14px; max-width: 46ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 252, 248, .6);
  font-size: .875rem;
  font-weight: 600;
}

.verse {
  margin: 28px 0 32px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 252, 248, .55);
  max-width: 460px;
}
.verse p {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.verse figcaption { margin-top: 8px; font-size: .875rem; font-weight: 600; color: var(--sage-deep); }

/* ---------- Waitlist ---------- */

.waitlist__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding: clamp(36px, 6vw, 80px);
  border-radius: var(--r-lg);
  background: var(--clay);
  color: var(--white);
  overflow: hidden;
}
.waitlist__doodle {
  position: absolute;
  width: 420px;
  left: -210px;
  bottom: -250px;
  color: var(--blush);
  opacity: .5;
  pointer-events: none;
}
.waitlist__copy { position: relative; }
.waitlist__intro { margin-top: 18px; max-width: 40ch; color: #FBE6DD; font-size: 1.125rem; }
.waitlist__offer { color: var(--white); font-weight: 600; }
.waitlist__intro--sm { margin-top: 10px; font-size: 1rem; }

.form {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(60, 20, 8, .55);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 8px; align-content: start; }
.field label, .interests legend { font-size: .9375rem; font-weight: 600; }
.req { color: var(--clay); }
.optional { color: var(--ink-soft); font-weight: 400; }

.field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.4 var(--body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field input:hover { border-color: #CDBBA8; }
.field input:focus {
  outline: none;
  border-color: var(--clay);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(169, 73, 43, .14);
}
input[aria-invalid="true"] { border-color: #A3261B !important; }
.field__error { font-size: .875rem; font-weight: 500; color: #A3261B; }
.waitlist .field__error { color: #A3261B; }

.interests legend { margin-bottom: 12px; }
.interests__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  font-size: .9375rem;
  font-weight: 500;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice span::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  border-radius: 6px;
  border: 1.5px solid #B9A795;
  background: var(--white) center / 12px no-repeat;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.choice:hover span { border-color: #CDBBA8; }
.choice input:checked + span { border-color: var(--clay); background: #FBEDE6; }
.choice input:checked + span::before {
  border-color: var(--clay);
  background-color: var(--clay);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23FFFCF8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__fine { font-size: .875rem; color: var(--ink-soft); line-height: 1.5; }
.form__fine a { color: var(--clay-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }

.form__status:empty { display: none; }
.form__status {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--sage);
  color: #22302A;
  font-size: .9375rem;
  font-weight: 500;
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq__list { display: grid; gap: 12px; }
.qa {
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  transition: background-color .25s var(--ease);
}
.qa[open] { background: var(--cream-2); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.3;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(var(--clay), var(--clay)) center / 12px 2px no-repeat,
    linear-gradient(var(--clay), var(--clay)) center / 2px 12px no-repeat,
    var(--blush);
  transition: transform .3s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:focus-visible { border-radius: var(--r-md); outline-offset: -3px; }
.qa p { padding: 0 24px 22px; max-width: 58ch; color: var(--ink-soft); }
.qa a { color: var(--clay-deep); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(24px, 4vw, 48px);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding-top: clamp(56px, 7vw, 88px);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer__brand p { margin-top: 16px; color: #D9C8BD; font-size: 1.0625rem; }
.site-footer__cols { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; }
.site-footer__head {
  margin-bottom: 10px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--blush);
}
.site-footer__cols a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.site-footer__muted { color: #D9C8BD; }
.site-footer :focus-visible { outline-color: var(--blush); }
.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 22px 30px;
  position: relative;
  font-size: .875rem;
  color: #D9C8BD;
}
.site-footer__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(255, 252, 248, .14);
}
.site-footer__base a { text-decoration: none; }
.site-footer__base a:hover { color: var(--white); }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .blob--hero { animation: drift 14s ease-in-out infinite alternate; }
  .float-card--workbook { animation: bob 7s ease-in-out infinite; }
  .float-card--course { animation: bob 8s ease-in-out -3s infinite; }

  @keyframes drift {
    to { border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%; transform: rotate(4deg) scale(1.02); }
  }
  @keyframes bob {
    50% { translate: 0 -8px; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product__media { aspect-ratio: 16 / 10; }
  .cover--card { --cw: 120px; width: 120px; }
}

@media (max-width: 1024px) {
  .float-card--workbook { width: 150px; }
  .float-card--course { width: 168px; }
}

@media (max-width: 880px) {
  .site-nav { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { min-height: 440px; }

  .fmt { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }

  .spotlight__panel { grid-template-columns: 1fr; }
  .spotlight__art { min-height: 340px; }

  .waitlist__panel { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header__inner { height: 66px; }
  .logo__sub { display: none; }
  .logo__mark { width: 32px; height: 32px; border-radius: 10px; }

  .inline-form__row {
    flex-direction: column;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 10px;
  }
  .inline-form__row:focus-within { box-shadow: none; }
  .inline-form input {
    min-height: 56px;
    border-radius: 999px;
    background: var(--white);
    border: 1.5px solid var(--line);
    padding: 0 22px;
  }
  .inline-form input:focus { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(169, 73, 43, .14); }
  .inline-form .btn { min-height: 56px; }
  .inline-form__note, .inline-form .field__error { margin-left: 0; text-align: center; }

  .hero__art { min-height: 0; padding-block: 44px 64px; }
  .phone { width: 196px; }
  .float-card { padding: 12px 14px; }
  .float-card--workbook { width: 138px; right: auto; left: -64px; bottom: -40px; }
  .float-card--course { width: 150px; left: auto; right: -64px; top: -26px; gap: 10px; }
  .play { width: 32px; height: 32px; }
  .play::after { left: 12px; top: 9px; }

  .products { grid-template-columns: 1fr; }
  .product__media { aspect-ratio: 16 / 11; }
  .cover--card { --cw: 118px; width: 118px; }
  .waitlist__doodle { display: none; }
  .confetti--a, .confetti--b, .confetti--d { display: none; }

  .spotlight__panel { padding: 32px 22px 36px; }
  .spotlight__art { min-height: 300px; }
  .spotlight .btn { width: 100%; }

  .waitlist__panel { padding: 32px 18px 18px; }
  .form { padding: 22px 18px; }
  .form__row, .interests__grid { grid-template-columns: 1fr; }

  .site-footer__base { flex-direction: column; }
}
