:root {
  --red: #D62828;
  --red-deep: #9B1C1C;
  --ink: #4A1F1F;
  --ink-soft: #6B3A3A;
  --cream: #FBF6EE;
  --cream-2: #F4EBDE;
  --white: #FFFcf7;
  --yellow: #F9C74F;
  --yellow-soft: #FBE7A1;
  --blue: #4EA8DE;
  --blue-soft: #C5E6F7;
  --green: #6AB04C;
  --green-soft: #C8E6B0;
  --peach: #F6C9A8;
  --line: #4A1F1F;
  --radius: 20px;
  --header: 80px;
  --announce: 40px;
  --gutter: 1.5rem;
  --max: 1320px;
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: var(--max); margin: 0 auto; }

/* Type */
.kicker {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}
h1, h2, .display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: .95;
  text-wrap: pretty;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.35rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--red); color: var(--cream); border-color: var(--red); }
.btn-solid:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-light:hover { background: var(--yellow); border-color: var(--yellow); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-full { width: 100%; }

/* Announcement */
.announce {
  height: var(--announce);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: var(--red);
  color: var(--cream);
}
.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  justify-self: start;
}
.logo-mark {
  width: 36px;
  height: 36px;
  flex: none;
}
.logo-word {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: -.03em;
  line-height: 1;
}
.logo-word small {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-weight: 500;
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  margin-top: .2rem;
}
nav.primary {
  display: flex;
  align-items: center;
  gap: 2rem;
}
nav.primary a {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .92;
}
nav.primary a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cart-btn svg { width: 20px; height: 20px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--announce) - var(--header));
  background: var(--red);
  color: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,252,247,.48) 6.5px, transparent 7px);
  background-size: 40px 40px;
  background-position: 12px 10px;
  pointer-events: none;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(249,199,79,.22), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(78,168,222,.18), transparent 60%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 2rem;
}
.hero-copy {
  max-width: 40rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: #8f1d1d;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px #4a1f1f55;
}
.hero .kicker {
  display: inline-block;
  margin-bottom: 1.15rem;
  padding: .5rem .8rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero h1 {
  margin-bottom: 1.15rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 4px #4a1f1f80;
}
.hero-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
  max-width: 28rem;
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-ctas .btn { text-align: center; white-space: normal; line-height: 1.2; }
.hero-ctas .btn-course {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.hero-ctas .btn-course:hover {
  background: var(--yellow-soft);
  border-color: var(--yellow-soft);
}
.hero-ctas .btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.hero-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.hero-figure svg.mascot { width: min(100%, 420px); height: auto; }
.fig-caption {
  margin-top: .7rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
}
.float-flower { position: absolute; pointer-events: none; }

/* How it works */
.how { padding: 5rem 0 4.5rem; }
.section-head { text-align: center; max-width: 38rem; margin: 0 auto 2.75rem; }
.section-head .kicker { margin-bottom: .9rem; color: var(--red); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 100%;
}
.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--ink);
}
.step:nth-child(1) .step-num { background: var(--yellow); }
.step:nth-child(2) .step-num { background: var(--blue-soft); }
.step:nth-child(3) .step-num { background: var(--green-soft); }
.step h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.step p { color: var(--ink-soft); font-size: 1rem; }

/* Products */
.shop { padding: 1rem 0 4.5rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.1rem;
  background: var(--white);
}
.cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.cover .blob { position: absolute; inset: -6% -8% -10%; }
.cover .art { position: relative; z-index: 1; width: 72%; height: auto; }
.cover .badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  z-index: 2;
  background: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: .28rem .55rem;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-body { text-align: center; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.card { min-width: 0; }
.comes-label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: .1rem;
}
.comes {
  list-style: none;
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.35;
  margin: .15rem 0 .2rem;
}
.comes li + li { margin-top: .15rem; }
.comes li::before { content: "• "; }
.price {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-top: auto;
  padding-top: .35rem;
}
.price small {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: .15rem;
}

/* Mid CTA bar */
.quizbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem 1.25rem 2rem;
  margin: 1.25rem auto 0;
  background: var(--white);
}
.quizbar p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.go {
  flex: none;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  display: grid;
  place-items: center;
}

/* Course */
.course {
  margin-top: 3.5rem;
  padding: 5.5rem 0 5rem;
  background: var(--cream-2);
}
.course-inner { text-align: center; max-width: 44rem; margin: 0 auto; }
.course .kicker { margin-bottom: 1rem; color: var(--red); }
.course h2 { margin-bottom: 1.2rem; }
.course .lead { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.course .meta {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.course-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1.8rem; }
.pill {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .88rem;
}

/* About */
.about { padding: 5rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about .kicker { margin-bottom: .9rem; color: var(--red); }
.about h2 { margin-bottom: 1.1rem; }
.about p { font-size: 1.12rem; color: var(--ink-soft); max-width: 34rem; }
.about p + p { margin-top: .9rem; }
.quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-top: 1.3rem !important;
}
.about-art {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-art svg { width: min(100%, 340px); }

/* Footer */
footer {
  border-top: 1.5px solid var(--ink);
  padding: 3.5rem 0 1.8rem;
  background: var(--cream);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.foot-brand .logo-word { font-size: 2.1rem; color: var(--red); }
.foot-brand .logo-word small { color: var(--ink); opacity: 1; }
.foot-brand p { margin-top: 1rem; color: var(--ink-soft); max-width: 22rem; }
.foot-col h3 {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.foot-col a, .foot-col p { display: block; margin: .35rem 0; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  font-size: .85rem;
  color: var(--ink-soft);
}

/* Mobile nav */
.nav-panel { display: contents; }

@media (max-width: 1023px) {
  :root { --header: 64px; --gutter: .9rem; --radius: 16px; --announce: auto; }
  .announce { min-height: 40px; height: auto; padding: .45rem 1rem; line-height: 1.3; }
  .site-header .wrap { grid-template-columns: 1fr auto auto; }
  nav.primary { display: none; }
  .menu-toggle { display: grid; }
  .header-right { gap: .5rem; }
  .hero { min-height: unset; padding: 2.4rem 0 2.6rem; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: none; }
  .hero-tag { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-figure { order: -1; }
  .hero-figure svg.mascot { width: min(100%, 240px); }
  .steps, .grid, .about-grid, .foot-top { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .card { padding: .65rem .55rem .75rem; gap: .5rem; }
  .card h3 { font-size: 1.02rem; }
  .comes { font-size: .75rem; }
  .comes-label { font-size: .55rem; }
  .btn { min-height: 2.5rem; padding: .7rem 1rem; font-size: .68rem; }
  .card .btn { font-size: .58rem; letter-spacing: .04em; padding: .65rem .3rem; min-height: 2.35rem; }
  .cart-label { display: none; }
  .quizbar { padding: 1rem 1rem 1rem 1.1rem; }
  .how, .about { padding: 3.2rem 0; }
  .course { padding: 3.4rem 0; margin-top: 2.2rem; }
  .shop { padding-bottom: 2.4rem; }
  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--red);
    border-top: 1px solid rgba(255,255,255,.2);
    padding: 1rem var(--gutter) 1.3rem;
    flex-direction: column;
    gap: 1rem;
  }
  .site-header.open .nav-panel { display: flex; }
  .site-header { position: sticky; }
  .site-header.open { box-shadow: 0 10px 30px rgba(0,0,0,.15); }
}
@media (max-width: 639px) {
  .grid { gap: .55rem; }
  .hero-ctas .btn { width: 100%; }
}

section[id], footer[id] { scroll-margin-top: var(--header); }
.hero-mascot { width: min(100%, 465px); border: 4px solid var(--yellow); border-radius: 44% 44% 24px 24px / 26% 26% 24px 24px; box-shadow: 0 14px 34px #4a1f1f55; }
.petal { position: absolute; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1; z-index: 2; text-shadow: 0 3px 0 #9B1C1C; pointer-events: none; }
.petal-yellow { color: var(--yellow); left: 0; top: 2%; }
.petal-blue { color: var(--blue); right: 0; top: 11%; }
.petal-heart { color: var(--yellow-soft); right: 0; bottom: 4%; font-size: 2.6rem; }
.course-mascot { width: 125px; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); border-radius: 50%; margin: 0 auto 1.3rem; }
.about-art img { width: min(100%, 395px); aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }
.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cover { isolation: isolate; background: var(--yellow-soft); }
.cover::before { content: ''; position: absolute; inset: 6% 12% 12% 5%; border-radius: 54% 46% 52% 48%; background: var(--yellow); transform: rotate(-17deg); z-index: -1; }
.card:nth-child(3n+2) .cover, .cover.tone-green { background: #e4f2e8; }
.card:nth-child(3n+2) .cover::before, .cover.tone-green::before { background: var(--green); }
.card:nth-child(3n+3) .cover, .cover.tone-blue { background: var(--blue-soft); }
.card:nth-child(3n+3) .cover::before, .cover.tone-blue::before { background: var(--blue); }
.cover img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.cover img.sample { width: 67%; height: 67%; inset: 16.5%; }
.cover-icon { font-size: clamp(2rem, 7vw, 5rem); }
.panel { padding: 3rem 0 4rem; min-height: 45vh; overflow-wrap: anywhere; }
.panel h1 { margin-bottom: 1.4rem; }
.panel h2 { font-size: 1.9rem; margin-bottom: .6rem; }
.narrow { max-width: 680px; }
.box { background: var(--white); border: 1px solid var(--ink); border-radius: var(--radius); padding: 1.3rem; }
.flow > * + * { margin-top: 1rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.lines { white-space: pre-line; overflow-wrap: anywhere; }
.card a:hover, .underlined { text-decoration: underline; text-underline-offset: .2em; }
.field { display: grid; gap: .35rem; font-weight: 700; }
.field small { font-weight: 500; }
input:not([type=checkbox]), textarea { width: 100%; font: inherit; border: 1px solid var(--ink-soft); border-radius: 9px; padding: .65rem .75rem; color: var(--ink); background: white; }
textarea { resize: vertical; }
input[type=checkbox] { width: 1.15rem; height: 1.15rem; accent-color: var(--red); }
.checks { display: flex; gap: .6rem; align-items: center; }
.error { background: #ffe5dd; padding: .8rem; border-radius: 8px; }
.notice { background: var(--green-soft); padding: .8rem; border-radius: 8px; }
.list { list-style: none; }
.row { padding: .7rem 0; display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.row + .row { border-top: 1px solid var(--cream-2); }
.card .btn { white-space: normal; }
[hidden] { display: none !important; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem; align-items: start; }
.product .cover { max-width: 450px; width: 100%; }
.empty-mascot { width: 115px; border-radius: 14px; }
.admin .btn { font-family: var(--sans); font-weight: 800; text-transform: none; font-size: 1rem; white-space: normal; }
.btn:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 1023px) {
  .hero-mascot { width: min(100%, 245px); }
  .hero-figure { width: min(100%, 320px); justify-self: center; }
  .petal-yellow { left: 1%; } .petal-blue, .petal-heart { right: 1%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: 2rem 0 3rem; }
  .product { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.shop-all { margin-top: 1.2rem; justify-content: center; }
