:root {
  --ink: #3a2a2f;
  --ink-soft: #6a535b;
  --paper: #fff7f9;
  --paper-2: #ffe8ef;
  --blush: #e48aa8;
  --blush-deep: #c45d7c;
  --rose: #f3c4d2;
  --sand: #f0d5c8;
  --white: #ffffff;
  --max: 1120px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  /* aliases so older class names stay consistent */
  --jade: var(--blush);
  --jade-deep: var(--blush-deep);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

section[id],
main[id] {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, #ffe0ea 0%, transparent 55%),
    radial-gradient(900px 480px at 100% 0%, #ffe9e0 0%, transparent 48%),
    var(--paper);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--blush) 18%, transparent);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--blush-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:not(.nav-cta) {
  opacity: 0.75;
}

.nav a:not(.nav-cta):hover {
  opacity: 1;
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--blush);
  color: var(--white);
}

.nav-tg {
  font-weight: 600;
  color: var(--blush-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.45rem;
  border: 1px solid color-mix(in srgb, var(--blush) 35%, transparent);
  border-radius: 0.7rem;
  background: color-mix(in srgb, var(--white) 70%, var(--paper-2));
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--blush-deep);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(32rem, 72vh, 44rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(58, 42, 47, 0.15) 0%, rgba(58, 42, 47, 0.28) 38%, rgba(58, 42, 47, 0.72) 100%),
    linear-gradient(90deg, rgba(58, 42, 47, 0.45) 0%, transparent 55%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 38%;
  animation: heroDrift 18s ease-in-out alternate infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 8rem) clamp(1rem, 4vw, 2.5rem) clamp(2.8rem, 7vh, 4.2rem);
  animation: rise 1s ease both;
}

.hero-langs {
  margin: 0 0 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--rose) 85%, white);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 16vw, 8rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 10px 40px rgba(40, 20, 30, 0.35);
}

.hero-lead {
  margin: 1rem 0 1.6rem;
  max-width: 24rem;
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  font-weight: 500;
  color: color-mix(in srgb, var(--white) 92%, transparent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blush);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blush-deep);
}

.btn-ghost {
  border-color: color-mix(in srgb, var(--white) 55%, transparent);
  color: var(--white);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--white) 14%, transparent);
}

.btn-ghost-dark {
  border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  color: var(--ink);
}

.btn-ghost-dark:hover {
  background: color-mix(in srgb, var(--blush) 12%, transparent);
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 2rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section-head h2,
.story h2,
.edu h2,
.materials h2,
.prices h2,
.book h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.2vw, 3rem);
}

.section-head p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

.story,
.why,
.lessons,
.materials,
.edu,
.reviews,
.prices,
.book {
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
}

.materials-row {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.materials-copy {
  flex: 1 1 16rem;
  max-width: 36rem;
}

.materials-copy h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--blush-deep);
}

.materials-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.materials .btn-primary {
  flex: 0 0 auto;
}

.prices-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prices-col h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--blush-deep);
}

.price-list {
  margin: 0;
  padding: 0;
}

.price-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--blush) 28%, transparent);
}

.price-list dt {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
}

.price-list dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--blush-deep);
}

.prices-note {
  width: min(var(--max), 100%);
  margin: 1.25rem auto 0;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.prices-promo {
  width: min(40rem, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--blush-deep);
  border: 1.5px dashed color-mix(in srgb, var(--blush-deep) 55%, transparent);
  background: color-mix(in srgb, var(--white) 70%, var(--paper-2));
}

.linkish {
  border: 0;
  padding: 0;
  background: none;
  color: var(--blush-deep);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.linkish:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .prices-grid {
    grid-template-columns: 1fr;
  }
}

.story-grid,
.story-card,
.edu-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid;
  gap: 2rem;
  align-items: center;
}

.story-card {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--white) 88%, var(--rose)), color-mix(in srgb, var(--white) 70%, var(--paper-2)));
  border-radius: 1.6rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: 0 18px 50px rgba(196, 93, 124, 0.1);
}

.story-hi {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--blush-deep);
}

.story-text h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 0.85rem;
}

.story-text p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.muted {
  color: color-mix(in srgb, var(--ink-soft) 80%, transparent);
}

.edu-visual {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(196, 93, 124, 0.14);
}

.edu-visual img {
  width: 100%;
  height: min(520px, 70vw);
  object-fit: cover;
  object-position: center top;
}

.why {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--paper-2) 65%, transparent) 22%, transparent);
}

.why-list {
  list-style: none;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  width: min(var(--max), 100%);
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .why-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}

.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 0.25rem 0;
}

.why-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--blush);
  line-height: 1;
  padding-top: 0.15rem;
}

.why-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.why-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.topic-grid {
  width: min(var(--max), 100%);
  margin: 0 auto 2rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .topic-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .topic-card {
    grid-column: span 2;
  }

  .topic-card:nth-child(4),
  .topic-card:nth-child(5) {
    grid-column: span 3;
  }
}

.topic-hint {
  width: min(var(--max), 100%);
  margin: -0.5rem auto 1.1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.topic-card {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--blush) 22%, transparent);
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem 1.2rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.topic-card:hover {
  border-color: color-mix(in srgb, var(--blush-deep) 70%, transparent);
  box-shadow: 0 10px 28px rgba(196, 93, 124, 0.14);
  transform: translateY(-2px);
}

.topic-card:active {
  transform: translateY(0);
}

.topic-card.is-on {
  border-color: var(--blush-deep);
  box-shadow: 0 0 0 1px var(--blush-deep), 0 12px 32px rgba(196, 93, 124, 0.16);
  background: color-mix(in srgb, var(--blush) 10%, var(--white));
}

.topic-card:focus-visible {
  outline: 2px solid var(--blush-deep);
  outline-offset: 2px;
}

.lesson-demo.is-switching .lesson-demo-body {
  animation: demoSwitch 0.32s ease;
}

@keyframes demoSwitch {
  from {
    opacity: 0.55;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.prop-stack {
  position: relative;
  min-height: 16rem;
}

.prop-panel {
  display: none;
  border-radius: 1rem;
  padding: 1.15rem 1.2rem 1.25rem;
  min-height: 16rem;
}

.prop-panel.is-on {
  display: block;
  animation: propFade 0.28s ease;
}

@keyframes propFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.prop-brand {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

.prop-menu {
  background: #f7efe4;
  color: #3a2e24;
}

.prop-menu ul,
.prop-receipt ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prop-menu li,
.prop-receipt li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed color-mix(in srgb, currentColor 22%, transparent);
}

.prop-note {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  opacity: 0.78;
}

.prop-gym {
  background: linear-gradient(165deg, #3d4a42 0%, #243029 100%);
  color: #eef3ee;
}

.gym-move {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.prop-gym dl,
.prop-ted dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}

.prop-gym dt,
.prop-ted dt {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}

.prop-gym dd,
.prop-ted dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.prop-ted {
  background: #111;
  color: #f5f5f5;
}

.ted-line {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  color: #ff3b30;
}

.prop-receipt {
  background: #fffdf8;
  color: #2c2c2c;
  box-shadow: inset 0 0 0 1px #eadfce;
}

.prop-receipt .total {
  font-weight: 700;
  border-bottom: none;
  padding-top: 0.7rem;
}

.topic-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blush-deep);
  font-weight: 700;
}

.topic-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.topic-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.lesson-demo {
  width: min(var(--max), 100%);
  margin: 0 auto 2rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.lesson-demo-head {
  margin-bottom: 0.85rem;
}

.lesson-demo-head p {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blush-deep);
  font-weight: 700;
}

.lesson-demo-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.lesson-demo-body {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--blush) 18%, transparent);
}

@media (min-width: 800px) {
  .lesson-demo-body {
    grid-template-columns: 1.05fr 1fr;
    padding: 1.4rem;
    gap: 1.5rem;
  }
}

.boarding {
  background: linear-gradient(165deg, #3d4f6a 0%, #2a3548 100%);
  color: #f4f7fb;
  border-radius: 1rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

.boarding-air {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.boarding-route {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
}

.boarding dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}

.boarding dt {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}

.boarding dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.vocab-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blush-deep);
}

.vocab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.vocab-chips li {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.88rem;
  font-weight: 600;
}

.lesson-demo-tasks ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.lesson-demo-tasks li + li {
  margin-top: 0.3rem;
}

.quizlet-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.lesson-caption {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.lesson-showcase,
.lesson-gallery {
  width: min(var(--max), 100%);
  margin: 0 auto 1.1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.lesson-showcase img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(196, 93, 124, 0.12);
}

.lesson-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.lesson-shot {
  position: relative;
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #2a1c22;
  cursor: zoom-in;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(196, 93, 124, 0.12);
}

.lesson-shot img,
.lesson-shot-cap {
  grid-area: 1 / 1;
}

.lesson-shot img {
  width: 100%;
  height: 7.6rem;
  max-height: 7.6rem;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.45s ease;
}

.lesson-shot.is-wide {
  grid-column: span 2;
}

.lesson-shot.is-wide img {
  height: 8.4rem;
  max-height: 8.4rem;
  object-position: center 38%;
}

.lesson-shot:hover img,
.lesson-shot:focus-visible img {
  transform: scale(1.04);
}

.lesson-shot:focus-visible {
  outline: 2px solid var(--blush-deep);
  outline-offset: 3px;
}

.lesson-shot-cap {
  align-self: end;
  z-index: 1;
  padding: 1.6rem 0.65rem 0.5rem;
  background: linear-gradient(transparent, rgba(42, 28, 34, 0.78));
  color: #fff7f9;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: left;
}

.lesson-gallery-note {
  width: min(var(--max), 100%);
  margin: 0 auto 2rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.2rem 0.8rem 1.2rem;
  background: rgba(42, 28, 34, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: min(78vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.85rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}

.lightbox-close {
  top: 0.85rem;
  right: 0.95rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-prev {
  left: 0.7rem;
}

.lightbox-next {
  right: 0.7rem;
}

@media (min-width: 800px) {
  .lesson-gallery {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
  }

  .lesson-shot:nth-child(-n+3) {
    grid-column: span 2;
  }

  .lesson-shot:nth-child(-n+3) img {
    height: 11.5rem;
    max-height: 11.5rem;
  }

  .lesson-shot.is-wide {
    grid-column: span 3;
  }

  .lesson-shot.is-wide img {
    height: 12rem;
    max-height: 12rem;
    object-position: center 40%;
  }

  .lightbox {
    padding: 3.5rem 3.2rem 2rem;
  }
}

.lesson-points {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .lesson-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.lesson-points h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.lesson-points ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.lesson-points li + li {
  margin-top: 0.35rem;
}

.lesson-points p {
  margin: 0;
  color: var(--ink-soft);
}

.edu {
  background:
    linear-gradient(160deg, #4a3038 0%, #6a3d4d 55%, #8a4d62 100%);
  color: var(--white);
}

.edu .muted,
.edu .edu-line {
  color: color-mix(in srgb, var(--white) 80%, transparent);
}

.edu-line {
  margin: 0 0 1rem;
  max-width: 34rem;
}

.edu-line strong {
  color: var(--rose);
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
}

.edu .btn-ghost-dark {
  border-color: color-mix(in srgb, var(--white) 40%, transparent);
  color: var(--white);
  margin: 0.35rem 0.5rem 0.35rem 0;
}

.edu .btn-ghost-dark:hover {
  background: color-mix(in srgb, var(--white) 12%, transparent);
}

.doc-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.edu-visual {
  box-shadow: none;
}

@media (min-width: 860px) {
  .edu-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.reviews {
  background:
    radial-gradient(700px 300px at 80% 0%, #ffe0ea, transparent 60%),
    var(--paper);
}

.review-carousel {
  position: relative;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.review-list {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.15rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.review-list::-webkit-scrollbar {
  display: none;
}

.review-list blockquote {
  margin: 0;
  flex: 0 0 min(340px, 82vw);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 1.35rem 1.4rem 1.2rem;
  border-left: 3px solid var(--blush);
  background: color-mix(in srgb, var(--white) 78%, transparent);
  border-radius: 0 1.1rem 1.1rem 0;
  scroll-snap-align: start;
}

@media (min-width: 800px) {
  .review-list blockquote {
    flex-basis: min(360px, 42%);
  }
}

.review-list blockquote:nth-child(3n) {
  border-left-color: color-mix(in srgb, var(--sand) 55%, var(--blush));
}

.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--white) 88%, var(--blush));
  color: var(--blush-deep);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(58, 42, 47, 0.12);
  transition: transform 0.15s ease, background 0.15s ease;
}

.review-nav:hover {
  background: var(--white);
  transform: translateY(-60%) scale(1.05);
}

.review-nav-prev {
  left: 0.35rem;
}

.review-nav-next {
  right: 0.35rem;
}

@media (max-width: 720px) {
  .review-carousel {
    padding: 0 2.7rem;
  }

  .review-list {
    padding: 0.25rem 0.35rem 1rem;
  }

  .review-nav-prev {
    left: 0.2rem;
  }

  .review-nav-next {
    right: 0.2rem;
  }
}

.review-list h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.review-list p {
  margin: 0;
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.2rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-soft);
}

.review-list footer {
  margin-top: 1rem;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blush), var(--sand));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.review-person cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--ink);
}

.review-stars {
  margin-top: 0.25rem;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #2f9e5b;
}

.review-person time {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  opacity: 0.75;
}

.book-panel {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 1.5rem;
  background:
    linear-gradient(145deg, var(--blush-deep), var(--blush));
  color: var(--white);
  text-align: left;
  box-shadow: 0 30px 70px rgba(196, 93, 124, 0.32);
}

.book-kicker {
  margin: 0 0 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--sand) 80%, white);
}

.book-panel p {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  color: color-mix(in srgb, var(--white) 90%, transparent);
}

.book-actions .btn-primary {
  background: var(--white);
  color: var(--blush-deep);
}

.book-actions .btn-primary:hover {
  background: var(--paper-2);
}

.form-note {
  margin-top: 1rem !important;
  font-size: 0.9rem;
  opacity: 0.85;
}

.form-fallback {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  color: inherit;
}

.foot {
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--blush) 18%, transparent);
}

.foot p {
  margin: 0.25rem 0;
}

.foot a {
  color: var(--blush-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.foot a:hover {
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.assist {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}

.assist > * {
  pointer-events: auto;
}

.assist-fab {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.4rem;
  padding: 0.85rem 1.25rem 0.85rem 1.05rem;
  border: 2px solid color-mix(in srgb, var(--white) 70%, transparent);
  border-radius: 999px;
  background: linear-gradient(145deg, var(--blush-deep), var(--blush));
  color: var(--white);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 14px 34px rgba(196, 93, 124, 0.45),
    0 0 0 6px color-mix(in srgb, var(--blush) 22%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.assist-fab-icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
}

.assist-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 18px 40px rgba(196, 93, 124, 0.5),
    0 0 0 7px color-mix(in srgb, var(--blush) 28%, transparent);
}

.assist[data-open="true"] .assist-fab {
  display: none !important;
}

.assist-panel {
  width: min(380px, calc(100vw - 1.5rem));
  max-height: min(640px, calc(100vh - 5.5rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--white) 92%, var(--paper-2)), var(--white));
  border: 1px solid color-mix(in srgb, var(--blush) 22%, transparent);
  box-shadow: 0 24px 60px rgba(58, 42, 47, 0.18);
}

.assist-panel[hidden] {
  display: none !important;
}

.assist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.65rem;
  border-bottom: 1px solid color-mix(in srgb, var(--blush) 14%, transparent);
}

.assist-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush-deep);
}

.assist-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.assist-close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blush) 12%, transparent);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.assist-progress {
  margin: 0;
  padding: 0.45rem 1rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.assist-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scroll-behavior: smooth;
}

.assist-bubble {
  max-width: 92%;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.assist-bubble.is-bot {
  align-self: flex-start;
  background: color-mix(in srgb, var(--paper-2) 70%, white);
  color: var(--ink);
  border-bottom-left-radius: 0.3rem;
}

.assist-bubble.is-user {
  align-self: flex-end;
  background: var(--blush);
  color: var(--white);
  border-bottom-right-radius: 0.3rem;
}

.assist-choices {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0 1rem 0.85rem;
}

.assist-choices[hidden] {
  display: none !important;
}

.assist-choice {
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.assist-choice:hover {
  border-color: var(--blush);
  background: color-mix(in srgb, var(--blush) 8%, white);
}

.assist-form {
  display: flex;
  gap: 0.45rem;
  padding: 0 1rem 1rem;
}

.assist-form[hidden] {
  display: none !important;
}

.assist-form input {
  flex: 1;
  min-width: 0;
  min-height: 2.7rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  background: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
}

.assist-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--blush) 45%, transparent);
  outline-offset: 1px;
}

.assist-send {
  flex-shrink: 0;
  width: 2.7rem;
  height: 2.7rem;
  border: none;
  border-radius: 50%;
  background: var(--blush-deep);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}

.assist-consent,
.assist-done {
  padding: 0 1rem 1rem;
}

.assist-consent[hidden],
.assist-done[hidden] {
  display: none !important;
}

.assist-consent p,
.assist-done-lead {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.assist-consent a {
  color: var(--blush-deep);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.assist-done-actions .btn[hidden] {
  display: none !important;
}

.assist-done-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.assist-done-actions .btn {
  width: 100%;
  border-radius: 0.9rem;
}

.assist-send-status {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--blush-deep);
}

.assist-send-status[data-ok="0"] {
  color: #9a3b3b;
}

.assist-summary {
  margin: 0;
  max-height: 8rem;
  overflow: auto;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--paper-2) 55%, white);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.assist-summary[hidden] {
  display: none !important;
}

.reveal {
  opacity: 0.18;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-0.6%, 0.5%, 0);
  }
}


@media (min-width: 721px) {
  .hero {
    min-height: clamp(34rem, 68vh, 42rem);
  }

  .hero-media img {
    object-position: 54% 36%;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 92svh;
  }

  .top {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.75rem 0 0.25rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 0.8rem;
    background: color-mix(in srgb, var(--white) 72%, transparent);
  }

  .nav a:not(.nav-cta) {
    display: block;
    opacity: 1;
  }

  .nav-cta {
    text-align: center;
  }

  .assist {
    right: 0.85rem;
    bottom: 5.2rem;
  }

  .assist-fab {
    min-height: 3.1rem;
    padding: 0.8rem;
    border-radius: 50%;
  }

  .assist-fab-label {
    display: none;
  }

  .hero-media img {
    object-position: 62% 18%;
  }
}

@media (min-width: 721px) {
  .nav {
    display: flex !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .reveal,
  .hero-copy {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* privacy.html */
.privacy-page {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6.5rem 0 3.5rem;
}

.privacy-page h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3rem);
  line-height: 1.1;
}

.privacy-page .privacy-meta {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.privacy-page h2 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1.15rem;
}

.privacy-page p,
.privacy-page li {
  color: var(--ink-soft);
}

.privacy-page ul {
  padding-left: 1.2rem;
}

.privacy-back {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--blush-deep);
  font-weight: 600;
}
