/* =====================================================================
   AISEOCourse — Editorial pastel learning brand
   Design language: large editorial type · soft pastel washes ·
   minimal black hand-drawn line illustrations · generous whitespace
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces & type */
  --bg:        #FFFDF8;
  --ink:       #182235;
  --muted:     #667085;
  --line:      #E9E4DA;

  /* Pastel palette */
  --pink:      #FFE4EE;
  --lavender:  #E6E1FF;
  --sky:       #DFF6FF;
  --mint:      #E6FCEB;
  --yellow:    #FFF3BF;
  --peach:     #FFE6D6;

  /* Type scale (editorial, fluid) */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3:  clamp(2.1rem, 1.6rem + 2.6vw, 3.6rem);
  --step-4:  clamp(2.9rem, 2rem + 4.6vw, 5.6rem);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }

/* ---------- Helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--muted);
}
.hand {
  font-family: var(--font-hand);
  line-height: 1.05;
  color: var(--ink);
  font-weight: 600;
}
.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;
}

/* Soft watercolor wash blobs used behind sections */
.wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-weight: 600; font-size: var(--step-0);
  padding: 0.9em 1.5em; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(24,34,53,.55); }

.btn--ghost { padding-inline: 0.4em; font-weight: 600; }
.btn--ghost .u { border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.btn--ghost:hover .u { border-color: var(--muted); }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(120%) blur(8px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding-block: 1.1rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand__star { width: 26px; height: 26px; flex: none; }
.brand b { font-weight: 800; }
.brand span { font-weight: 400; color: var(--muted); }

.nav__links { display: flex; gap: 2.2rem; }
.nav__links a { font-weight: 500; color: var(--ink); position: relative; padding-block: .25rem; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--ink); transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: inline-flex; align-items: center; gap: 2rem; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: .3s; }
/* CTA inside mobile dropdown — hidden on desktop */
.nav__links-cta { display: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  background-image: url("../images/newbac.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
/* legibility wash over the illustration */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg,
    rgba(255,253,248,.94) 0%,
    rgba(255,253,248,.82) 32%,
    rgba(255,253,248,.30) 56%,
    rgba(255,253,248,0)   78%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 640px);
  align-items: center;
  min-height: min(86vh, 800px);
  padding-block: clamp(40px, 6vw, 88px);
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.hero h1 .lead { font-weight: 800; display: block; }
.hero__sub {
  margin-top: 1.6rem; max-width: 46ch;
  font-size: var(--step-1); color: var(--muted); line-height: 1.45;
}
.hero__cta { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.2rem; flex-wrap: wrap; }

.stats { display: flex; gap: clamp(1.2rem, 2.4vw, 2.4rem); margin-top: 2.8rem; flex-wrap: wrap; }
.stat { display: flex; gap: .6rem; align-items: flex-start; }
.stat svg { width: 20px; height: 20px; margin-top: 5px; flex: none; color: var(--ink); }
.stat b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.stat small { color: var(--muted); font-size: var(--step--1); }

/* =====================================================================
   EXPERT / INSTRUCTOR
   ===================================================================== */
.expert__card {
  display: grid; grid-template-columns: 1.5fr .8fr; align-items: center;
  gap: clamp(24px, 4vw, 56px);
  border-radius: 32px; padding: clamp(28px, 4vw, 64px);
  background:
    radial-gradient(120% 130% at 100% 0%, var(--lavender), transparent 60%),
    radial-gradient(120% 130% at 0% 100%, var(--sky), transparent 60%),
    color-mix(in srgb, var(--peach) 40%, var(--bg));
}
.expert h2 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin-top: .8rem; }
.expert__bio { margin-top: 1.2rem; color: color-mix(in srgb, var(--ink) 78%, transparent); font-size: var(--step-0); max-width: none; }
.expert__tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.expert__tags li { font-size: var(--step--1); font-weight: 600; padding: .35em .9em; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(24,34,53,.08); }
.expert .btn { margin-top: 1.8rem; }
.expert__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.expert__actions .btn { margin-top: 1.8rem; }
.expert__actions .btn--ghost { margin-top: 1.8rem; }
.expert__badge { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 240px; justify-self: center; }
.expert__star { width: 100%; height: auto; }
.expert__mono { position: absolute; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; color: var(--ink); }
.expert__photo { position: relative; justify-self: center; width: 100%; max-width: 280px; aspect-ratio: 1 / 1; margin: 0; }
.expert__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -34px rgba(24,34,53,.55); display: block; }
.expert__spark { position: absolute; top: -14px; left: -14px; width: 46px; height: 46px; }

/* =====================================================================
   SECTION: From the basics to what's next
   ===================================================================== */
.section { position: relative; padding-block: clamp(64px, 9vw, 128px); }
.section__head { max-width: none; }
.section h2 {
  font-size: var(--step-3); line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 700; margin-top: 1rem;
}
.section__lede { margin-top: 1.3rem; color: var(--muted); font-size: var(--step-1); max-width: none; }

.basics { position: relative; }
.basics__anno-a { position: absolute; top: 8%; right: 4%; transform: rotate(-5deg); text-align: center; }
.basics__anno-a .hand { font-size: 1.7rem; }
.basics__anno-a .squig { display: block; width: 90px; margin: 6px auto 0; color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(36px, 5vw, 64px); }
.tile {
  border-radius: var(--radius); padding: clamp(16px, 1.4vw, 20px);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile:hover { box-shadow: 0 16px 34px -28px rgba(24,34,53,.35); }
.tile__media {
  border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.5); margin-bottom: 1.2rem;
}
.tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
.tile p { color: color-mix(in srgb, var(--ink) 62%, transparent); margin-top: .6rem; font-size: var(--step-0); }
.tile--mint     { background: var(--mint); }
.tile--pink     { background: var(--pink); }
.tile--sky      { background: var(--sky); }
.tile--lavender { background: var(--lavender); }
.tile--yellow   { background: var(--yellow); }

/* =====================================================================
   JOURNEY (visual map)
   ===================================================================== */
.journey { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--sky) 40%, var(--bg))); }
.journey__map { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.journey__path { width: 100%; height: auto; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2vw,28px); margin-top: 2rem; }
.stage__num { font-family: var(--font-hand); font-size: 2rem; color: var(--muted); }
.stage h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; margin-top: .2rem; }
.stage p { color: var(--muted); margin-top: .5rem; font-size: var(--step--1); }
.stage { padding-left: .2rem; }

/* =====================================================================
   FEATURED COURSES
   ===================================================================== */
.courses__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 30px); margin-top: clamp(36px, 5vw, 64px); }
.course {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.course:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.course__thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--sky); }
.course__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.course:hover .course__thumb img { transform: scale(1.04); }
.course__body { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; flex: 1; }
.course__meta { display: flex; gap: .8rem; align-items: center; font-size: var(--step--1); color: var(--muted); }
.pill { padding: .2em .7em; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; }
.course h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; margin-top: .9rem; }
.course p { color: var(--muted); margin-top: .5rem; font-size: var(--step-0); }
.course__go { margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.course__go svg { width: 1em; height: 1em; transition: transform .25s ease; }
.course:hover .course__go svg { transform: translateX(5px); }

/* =====================================================================
   AI SEO RAINMAKERS (expert track)
   ===================================================================== */
.rainmakers {
  display: grid; grid-template-columns: 1.5fr 1fr; align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px; color: #fff;
  background:
    radial-gradient(120% 160% at 100% 0%, color-mix(in srgb, var(--lavender) 26%, transparent), transparent 60%),
    var(--ink);
}
.rainmakers__eyebrow { color: color-mix(in srgb, #fff 62%, transparent); }
.rainmakers h3 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.03em; margin-top: .5rem; }
.rainmakers p { margin-top: 1rem; color: color-mix(in srgb, #fff 78%, transparent); max-width: 52ch; }
.rainmakers .btn { margin-top: 1.6rem; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.rainmakers__points { display: grid; gap: .9rem; }
.rainmakers__points li { position: relative; padding-left: 1.9rem; color: color-mix(in srgb, #fff 88%, transparent); font-weight: 500; }
.rainmakers__points li::before {
  content: ""; position: absolute; left: 0; top: .15em;
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--mint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
  background-color: var(--mint);
}

/* =====================================================================
   LEARN WITH PRACTICE
   ===================================================================== */
.practice__list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 5vw, 64px); }
.practice__item { display: flex; gap: 1.1rem; align-items: flex-start; }
.practice__num { font-family: var(--font-hand); font-size: 2.2rem; font-weight: 700; color: var(--muted); line-height: 1; flex: none; min-width: 1.6em; }
.practice__item h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; }
.practice__item p { color: var(--muted); margin-top: .5rem; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq__wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq .section__head { margin: 0; }
.faq__list { display: grid; gap: .8rem; }
.faq__item {
  border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(16px, 2vw, 24px); background: #fff;
  transition: border-color .25s ease, background .25s ease;
}
.faq__item[open] { background: color-mix(in srgb, var(--sky) 30%, #fff); border-color: transparent; }
.faq__item summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: var(--step-1);
  letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-weight: 400; font-size: 1.6em; line-height: 1; color: var(--muted);
  transition: transform .25s ease;
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { color: var(--muted); margin-top: .9rem; font-size: var(--step-0); }

/* =====================================================================
   EDITORIAL QUOTE
   ===================================================================== */
.quote { text-align: center; }
.quote__big {
  font-family: var(--font-hand); font-weight: 700;
  font-size: clamp(2.4rem, 1.4rem + 5vw, 5.4rem); line-height: 1.02;
  letter-spacing: -0.01em; max-width: 16ch; margin-inline: auto;
}
.quote__sub { margin-top: 1.6rem; color: var(--muted); font-size: var(--step-1); max-width: none; margin-inline: auto; }
.quote__arrow { width: clamp(120px, 18vw, 220px); margin: 2rem auto 0; color: var(--ink); }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.final { position: relative; overflow: hidden; }
.final__card {
  position: relative; border-radius: 32px; overflow: hidden;
  padding: clamp(48px, 8vw, 120px) var(--gutter);
  text-align: center;
  background:
    radial-gradient(90% 120% at 12% 14%, var(--pink), transparent 55%),
    radial-gradient(90% 120% at 88% 10%, var(--lavender), transparent 55%),
    radial-gradient(120% 120% at 30% 100%, var(--sky), transparent 55%),
    radial-gradient(120% 120% at 82% 96%, var(--mint), transparent 55%),
    var(--yellow);
}
.final .eyebrow { color: color-mix(in srgb, var(--ink) 55%, transparent); }
.final h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 1rem; }
.final__lede { margin-top: 1.4rem; font-size: var(--step-1); max-width: none; margin-inline: auto; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.final .btn { margin-top: 2.2rem; }

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */
.about__hero { padding-top: clamp(32px, 5vw, 72px); }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-top: .6rem; }
.about__role { font-size: var(--step-1); color: var(--muted); margin-top: .6rem; font-weight: 600; }
.about__lede { margin-top: 1.4rem; font-size: var(--step-1); color: color-mix(in srgb, var(--ink) 80%, transparent); max-width: none; }
.about__meta { display: flex; gap: clamp(1.6rem, 4vw, 3rem); margin-block: 2rem; flex-wrap: wrap; }
.about__meta .stat b { font-size: 1.5rem; }

.about__photo {
  position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; margin: 0;
  background:
    radial-gradient(120% 120% at 20% 0%, var(--pink), transparent 60%),
    radial-gradient(120% 120% at 100% 100%, var(--sky), transparent 60%),
    var(--lavender);
}
.about__photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.about__photo-ph { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; align-content: center; gap: .4rem; text-align: center; }
.about__photo-ph svg { width: 96px; height: 96px; }
.about__mono { font-size: 3rem; font-weight: 700; color: var(--ink); margin-top: -.4rem; }
.about__photo-ph small { color: var(--muted); font-size: var(--step--1); }
.about__photo-ph code { background: rgba(255,255,255,.6); padding: .1em .4em; border-radius: 6px; }

.about__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(28px, 4vw, 44px); }
.about__card { border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 2.4vw, 30px); background: #fff; }
.about__card h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; }
.about__card p { color: var(--muted); margin-top: .6rem; }
.about__section { padding-block: clamp(40px, 6vw, 80px); }
.about__tags { margin-top: clamp(20px, 3vw, 32px); }
.about__tags li { font-size: var(--step-0); }

@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { order: -1; max-width: 420px; }
  .about__cards { grid-template-columns: 1fr; }
}

/* =====================================================================
   DIAGNOSTIC QUIZ
   ===================================================================== */
.quizpage { position: relative; overflow: hidden; }
.quiz {
  max-width: 720px; margin-inline: auto;
  border: 1px solid var(--line); border-radius: 26px; background: #fff;
  padding: clamp(22px, 3.5vw, 44px);
  box-shadow: 0 34px 70px -46px rgba(24,34,53,.45);
}
.quiz__progress { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: clamp(20px, 3vw, 34px); }
.quiz__progress span { display: block; height: 100%; border-radius: 999px; transition: width .45s cubic-bezier(.22,1,.36,1);
  background: linear-gradient(90deg, var(--pink), var(--lavender), var(--sky)); }
.quiz__step { border: 0; margin: 0; padding: 0; }
.quiz__step:not(.is-active) { display: none; }
.quiz__q { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; padding: 0; margin-bottom: 1.4rem; }
.quiz__opts { display: grid; gap: .8rem; }
.quiz__opt {
  text-align: left; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem;
  font-weight: 600; font-size: var(--step-0); background: var(--bg);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.quiz__opt::after { content: "→"; opacity: .35; transition: transform .2s ease; }
.quiz__opt:hover { border-color: var(--ink); transform: translateY(-2px); background: #fff; }
.quiz__opt:hover::after { transform: translateX(4px); opacity: .7; }
.quiz__meta { margin-top: 1.4rem; font-size: var(--step--1); color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.quiz__back { color: var(--muted); font-weight: 600; background: none; }
.quiz__back:hover { color: var(--ink); }
.quiz__back[hidden] { visibility: hidden; }

.quiz__result { text-align: center; }
.quiz__result[hidden] { display: none; }
.quiz__eyebrow { font-family: var(--font-hand); font-size: 1.7rem; color: var(--muted); }
.quiz__result h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin-top: .2rem; }
.quiz__lvl { display: inline-block; margin-top: 1rem; padding: .35em 1em; border-radius: 999px; font-weight: 700; font-size: var(--step--1); background: var(--mint); }
.quiz__desc { margin: 1.2rem auto 0; max-width: none; color: color-mix(in srgb, var(--ink) 80%, transparent); font-size: var(--step-1); }
.quiz__learn { text-align: left; max-width: 480px; margin: 1.6rem auto 0; display: grid; gap: .6rem; }
.quiz__learn li { position: relative; padding-left: 1.8rem; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.quiz__learn li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--ink); }
.quiz__cta { margin-top: 1.8rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.quiz__retake { color: var(--muted); font-weight: 600; background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.quiz__retake:hover { color: var(--ink); }
.quiz__soon { margin-top: 1.2rem; font-size: var(--step--1); color: var(--muted); }

/* =====================================================================
   COMPARISON TABLE (homepage)
   ===================================================================== */
.compare { position: relative; }
.compare__table { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; margin-top: clamp(28px, 4vw, 48px); background: #fff; }
.compare table { width: 100%; border-collapse: collapse; font-size: var(--step-0); min-width: 660px; }
.compare th[scope="col"] { text-align: left; font-weight: 700; letter-spacing: -0.01em; background: color-mix(in srgb, var(--lavender) 32%, var(--bg)); padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.compare td, .compare th[scope="row"] { text-align: left; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; color: color-mix(in srgb, var(--ink) 84%, transparent); }
.compare th[scope="row"] { font-weight: 700; color: var(--ink); white-space: nowrap; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: none; }
.compare tr.is-us { background: color-mix(in srgb, var(--mint) 30%, #fff); }
.compare tr.is-us th[scope="row"]::after { content: " · this site"; font-weight: 600; color: var(--muted); font-size: var(--step--1); }
.compare__note { margin-top: 1.1rem; font-size: var(--step--1); color: var(--muted); max-width: 70ch; }
.compare__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .compare th[scope="row"] { white-space: normal; } }

/* =====================================================================
   ARTICLE / RESOURCE PAGES (pillar, glossary)
   ===================================================================== */
.doc { position: relative; overflow: hidden; }
.doc__head { padding-block: clamp(32px, 5vw, 72px) clamp(20px, 3vw, 36px); position: relative; }
.breadcrumb { font-size: var(--step--1); color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--ink); }
.doc__title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; line-height: 1; max-width: 20ch; }
.doc__lede { margin-top: 1.4rem; font-size: var(--step-1); color: color-mix(in srgb, var(--ink) 80%, transparent); max-width: none; }
.doc__meta { margin-top: 1.4rem; font-size: var(--step--1); color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.doc__meta .dot { width: 5px; height: 5px; border-radius: 999px; background: var(--muted); opacity: .5; }

.prose { max-width: 72ch; margin-inline: auto; padding-bottom: clamp(40px, 6vw, 80px); font-size: var(--step-0); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-top: 2.6rem; scroll-margin-top: 90px; }
.prose h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; margin-top: 1.8rem; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 84%, transparent); line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 700; }

.defbox {
  border-radius: 20px; padding: clamp(20px, 2.4vw, 30px); margin-top: 1.6rem;
  background:
    radial-gradient(120% 130% at 0% 0%, color-mix(in srgb, var(--mint) 55%, transparent), transparent 60%),
    radial-gradient(120% 130% at 100% 100%, color-mix(in srgb, var(--sky) 55%, transparent), transparent 60%),
    var(--bg);
  border: 1px solid var(--line);
}
.defbox p { margin: 0; font-size: var(--step-1); line-height: 1.55; color: var(--ink); }
.defbox strong { font-weight: 800; }

.prose .tablewrap { overflow-x: auto; margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); min-width: 520px; }
.prose th, .prose td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: color-mix(in srgb, var(--lavender) 30%, var(--bg)); font-weight: 700; }
.prose tbody tr:last-child td, .prose tr:last-child td { border-bottom: none; }

.callout { border-left: 3px solid var(--ink); padding: .2rem 0 .2rem 1.2rem; margin-top: 1.6rem; color: var(--muted); font-style: italic; }

.toc { border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.4rem; background: #fff; margin-top: 1.4rem; }
.toc p { font-weight: 700; font-size: var(--step--1); text-transform: none; margin: 0 0 .6rem; }
.toc ol { list-style: none; padding: 0; display: grid; gap: .4rem; }
.toc a { color: var(--muted); text-decoration: none; font-size: var(--step-0); }
.toc a:hover { color: var(--ink); }

.sources { margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.sources h2 { margin-top: 0; }
.sources ol { font-size: var(--step--1); color: var(--muted); }

.doc-cta {
  margin-top: 2.6rem; border-radius: 22px; padding: clamp(22px, 3vw, 36px);
  background:
    radial-gradient(120% 130% at 0% 0%, var(--pink), transparent 60%),
    radial-gradient(120% 130% at 100% 100%, var(--sky), transparent 60%),
    var(--yellow);
  text-align: center;
}
.doc-cta h2 { margin-top: 0; font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; }
.doc-cta p { margin: .8rem auto 1.4rem; max-width: 44ch; color: color-mix(in srgb, var(--ink) 80%, transparent); }

/* glossary */
.glossary { max-width: 78ch; margin-inline: auto; padding-bottom: clamp(40px, 6vw, 80px); display: grid; gap: 1rem; }
.term {
  border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 2.2vw, 26px); background: #fff;
  scroll-margin-top: 90px;
}
.term h2 { font-size: var(--step-1); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.term .abbr { font-size: var(--step--1); color: var(--muted); font-weight: 600; margin-top: .1rem; }
.term p { margin: .7rem 0 0; color: color-mix(in srgb, var(--ink) 84%, transparent); line-height: 1.65; }
.term:nth-child(5n+1) { background: color-mix(in srgb, var(--pink) 26%, #fff); border-color: transparent; }
.term:nth-child(5n+2) { background: color-mix(in srgb, var(--lavender) 26%, #fff); border-color: transparent; }
.term:nth-child(5n+3) { background: color-mix(in srgb, var(--sky) 30%, #fff); border-color: transparent; }
.term:nth-child(5n+4) { background: color-mix(in srgb, var(--mint) 30%, #fff); border-color: transparent; }
.term:nth-child(5n+5) { background: color-mix(in srgb, var(--peach) 34%, #fff); border-color: transparent; }

@media (max-width: 720px) {
  .doc__title { font-size: var(--step-3); }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { padding-block: clamp(56px, 7vw, 96px) 2.4rem; border-top: 1px solid var(--line); margin-top: clamp(48px,6vw,96px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__brand p { color: var(--muted); margin-top: 1rem; max-width: 28ch; }
.footer h4 { font-size: var(--step-0); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 1rem; }
.footer ul li { margin-bottom: .6rem; }
.footer ul a:hover { color: var(--muted); }
.footer__social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer__social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: center; transition: .25s; }
.footer__social a:hover { background: var(--ink); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__bar { margin-top: clamp(40px,5vw,64px); padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: var(--step--1); }

/* =====================================================================
   EDITORIAL ART DIRECTION — motifs, washes, rhythm, reveal
   ===================================================================== */
.motif-defs { position: absolute; width: 0; height: 0; }
.section { overflow: hidden; }               /* contain washes */

/* floating decorative line-art */
.decor { position: absolute; z-index: 0; color: var(--ink); opacity: .8; pointer-events: none; }
.decor use { color: inherit; }
.decor--cloud { color: color-mix(in srgb, var(--ink) 55%, transparent); height: auto; }
.decor--cloud svg, .decor svg { width: 100%; height: auto; }
.decor--star { color: var(--lavender); animation: twinkle 4s ease-in-out infinite; }
.decor--star:nth-of-type(even) { animation-delay: 1.5s; }
@keyframes twinkle { 0%,100%{opacity:.4;transform:scale(.9)} 50%{opacity:1;transform:scale(1.08)} }
.section > .wrap { position: relative; z-index: 1; }

/* handwritten annotations (reappearing brand voice) */
.anno {
  position: absolute; font-family: var(--font-hand); font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1; color: var(--ink);
  z-index: 2; pointer-events: none;
}
.anno__arrow { display: block; width: 54px; height: auto; margin-top: 4px; color: var(--ink); }
.anno--basics   { top: 6px; right: 2%; text-align: right; transform: rotate(4deg); }
.anno--journey  { top: 0; right: 4%; transform: rotate(-5deg); text-align: center; }
.anno--practice { top: 8px; right: 3%; transform: rotate(4deg); text-align: center; }
.anno--faq      { position: static; display: inline-block; margin-top: 1rem; transform: rotate(-3deg); color: var(--muted); }

/* section color rhythm (break the all-cream monotony) */
.practice { background: color-mix(in srgb, var(--peach) 42%, var(--bg)); }
.quote {
  background:
    radial-gradient(80% 120% at 20% 0%, color-mix(in srgb, var(--pink) 55%, transparent), transparent 60%),
    radial-gradient(80% 120% at 90% 100%, color-mix(in srgb, var(--sky) 60%, transparent), transparent 60%),
    color-mix(in srgb, var(--lavender) 30%, var(--bg));
  padding-block: clamp(80px, 11vw, 160px);
}
.faq { background: color-mix(in srgb, var(--mint) 26%, var(--bg)); }

/* pull-quote made into a real editorial moment */
.quote__mark { font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 10vw, 8rem); line-height: .5; color: color-mix(in srgb, var(--ink) 22%, transparent); height: .45em; }
.quote__big { margin-top: .4rem; }

/* connective landscape divider */
.landscape-divider { position: relative; height: clamp(90px, 12vw, 150px); color: color-mix(in srgb, var(--ink) 60%, transparent); }
.landscape-divider__hills { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; }

/* tiles: scrapbook feel (hand-placed, layered) */
.tile { background-clip: padding-box; }
.tiles .tile:nth-child(1) { transform: rotate(-1.1deg); }
.tiles .tile:nth-child(2) { transform: rotate(0.8deg); }
.tiles .tile:nth-child(3) { transform: rotate(-0.6deg); }
.tiles .tile:nth-child(4) { transform: rotate(1.2deg); }
.tile__media { box-shadow: 0 10px 24px -18px rgba(24,34,53,.5); }

/* journey: oversized, colorful map numerals */
.stage__num { font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 700; -webkit-text-stroke: 0; }
.stage:nth-child(1) .stage__num { color: color-mix(in srgb, var(--pink) 60%, var(--ink)); }
.stage:nth-child(2) .stage__num { color: color-mix(in srgb, var(--lavender) 55%, var(--ink)); }
.stage:nth-child(3) .stage__num { color: color-mix(in srgb, var(--sky) 55%, var(--ink)); }
.stage:nth-child(4) .stage__num { color: color-mix(in srgb, var(--mint) 60%, var(--ink)); }

/* practice: large colorful numerals to match the journey */
.practice__num { font-size: clamp(2.6rem, 4vw, 3.4rem); color: color-mix(in srgb, var(--ink) 30%, transparent); }
.practice__item:nth-child(1) .practice__num { color: color-mix(in srgb, var(--pink) 62%, var(--ink)); }
.practice__item:nth-child(2) .practice__num { color: color-mix(in srgb, var(--lavender) 55%, var(--ink)); }
.practice__item:nth-child(3) .practice__num { color: color-mix(in srgb, var(--sky) 52%, var(--ink)); }
.practice__item:nth-child(4) .practice__num { color: color-mix(in srgb, var(--mint) 60%, var(--ink)); }
.practice__item:nth-child(5) .practice__num { color: color-mix(in srgb, var(--peach) 62%, var(--ink)); }
.practice__item:nth-child(6) .practice__num { color: color-mix(in srgb, var(--yellow) 66%, var(--ink)); }

/* section headings: hand-drawn accent under the H2 */
.section__head h2 { position: relative; }

/* restrained scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .expert__card { grid-template-columns: 1fr; text-align: left; }
  .expert__badge { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .courses__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .rainmakers { grid-template-columns: 1fr; }
  .faq__wrap { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; gap: 1.2rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 1.6rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line);
    z-index: 100;
  }
  /* CTA in header bar stays hidden on mobile */
  .nav__cta .btn { display: none !important; }
  /* Show the CTA inside the dropdown */
  .nav[data-open="true"] .nav__links-cta {
    display: block;
    margin-top: .6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .nav[data-open="true"] .nav__links-cta .btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .tiles { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .courses__grid { grid-template-columns: 1fr; }
  .practice__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .basics__anno-a { display: none; }
  .anno--basics, .anno--journey, .anno--practice { display: none; }
  .decor--cloud { display: none; }
  .hero__cta { gap: 1rem; }
  /* stronger vertical wash so copy stays legible over the illustration */
  .hero::before {
    background: linear-gradient(180deg,
      rgba(255,253,248,.92) 0%,
      rgba(255,253,248,.86) 42%,
      rgba(255,253,248,.55) 70%,
      rgba(255,253,248,.25) 100%);
  }
  .hero { background-position: right bottom; }
  .hero__grid { min-height: auto; padding-block: clamp(28px, 8vw, 56px) clamp(220px, 60vw, 360px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
