/* Midelight — Importation Starter Blueprint
 * Direction: the owner's "Sendmail" reference (27 Oct 2026). A white page;
 * pale lavender panels inset from the edges with faint circles drawn on them;
 * white cards with hairline borders sitting on the panels; one sans (Inter)
 * with medium-weight heads; blue as the only accent, on 8px-radius buttons.
 * The sticky-note questions are kept as the owner asked.
 * Copy is the owner's, verbatim (src/content.js). */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Primitives ---------- */
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 50; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border-radius: var(--r-md); background: var(--ink); color: var(--white); font-weight: 600; }
.skip:focus-visible { top: var(--s-4); color: var(--white); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 50px; padding: var(--s-3) var(--s-5);
  border: 1px solid transparent; border-radius: var(--r-md);
  font: 600 0.9375rem/1.3 var(--font); letter-spacing: 0; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* Filled blue: every buy action */
.btn--primary, .btn--nav { background: var(--blue); color: var(--on-blue); box-shadow: none; }
.btn--primary:hover, .btn--nav:hover { background: var(--blue-600); color: var(--on-blue); transform: translateY(-1px); }
.btn--primary:hover .icon:last-child { transform: translateX(2px); }
.btn--primary:active, .btn--nav:active { background: var(--blue-700); transform: translateY(0); }
.btn--nav { box-shadow: none; }
/* White on the blue price card, as the reference's highlighted plan */
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-700); transform: translateY(-1px); }
.btn--light:hover .icon:last-child { transform: translateX(2px); }
.btn--light:active { transform: translateY(0); }
.btn--light:focus-visible { outline-color: var(--white); }
/* Outlined blue: the secondary action */
.btn--secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn--secondary:hover { background: var(--blue-50); color: var(--blue-700); transform: translateY(-1px); }
.btn--secondary:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 0 var(--s-4); font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn__spinner { display: none; }
.btn.is-loading .btn__spinner { display: inline-flex; }
.btn.is-loading .btn__spinner .icon { animation: spin 0.8s linear infinite; }
.btn.is-loading .btn__spinner + .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Nav ---------- */
.nav { padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.wordmark:hover { color: var(--blue); }

/* ---------- Sections and panels ---------- */
.section { padding-block: var(--section); }
.section--panel { padding-block: var(--s-3); }
/* Two white sections in a row share one gap, not two. */
.section:not(.section--panel) + .section:not(.section--panel) { padding-top: 0; }
.panel {
  position: relative; isolation: isolate; overflow: hidden;
  margin-inline: var(--panel-inset); padding-block: var(--section);
  border-radius: var(--r-2xl); background: var(--panel);
}
/* The reference's faint circles, drawn behind the content */
.panel::before, .panel::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  border: 1.5px solid var(--panel-ring);
}
.panel::before { width: 560px; height: 560px; top: -220px; right: -160px; box-shadow: 0 0 0 80px rgba(10, 43, 209, 0.018); }
.panel::after { width: 380px; height: 380px; bottom: -200px; left: -120px; }
.section-head { max-width: 720px; margin-inline: auto; text-align: center; }
.section-title { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.025em; }
.section-lede { margin-top: var(--s-4); font-size: var(--fs-lead); line-height: 1.65; display: grid; gap: var(--s-3); }
.section-lede p { max-width: 60ch; margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--s-7) var(--section); }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
.hero__eyebrow { margin-bottom: var(--s-4); color: var(--blue); font-size: var(--fs-sm); font-weight: 600; letter-spacing: -0.005em; }
.hero__title { font-size: var(--fs-hero); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; max-width: 21ch; }
.hero__title span { display: block; }
.hero__title span + span { color: var(--blue); }
.hero__proof { margin-top: var(--s-4); color: var(--subtle); font-size: var(--fs-xs); font-weight: 500; }
.hero__sub { margin-top: var(--s-5); max-width: 54ch; color: var(--muted); font-size: var(--fs-lead); font-weight: 500; line-height: 1.6; letter-spacing: -0.005em; }
.hero__body { margin-top: var(--s-4); display: grid; gap: var(--s-2); max-width: 58ch; font-size: 0.9375rem; line-height: 1.65; }
.hero__offer { margin-top: var(--s-5); max-width: 46ch; font-size: 1.0625rem; line-height: 1.55; }
.hero__offer strong { color: var(--ink); font-weight: 600; }
.hero__offer .figure, .closing__price .figure {
  color: var(--blue);
}
.hero__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }

.hero__visual { position: relative; margin: 0; padding: var(--s-4); border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line); }
.route-diagram { width: 100%; height: auto; }
.route-dot { fill: var(--blue-200); opacity: 0.55; }
.mask-on { stop-color: var(--mask-on); }
.mask-off { stop-color: var(--mask-off); }
.route-base { fill: none; stroke: var(--blue-200); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 10; }
.route-line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pin-halo { fill: var(--blue); opacity: 0.12; }
.pin-dot { fill: var(--blue); stroke: var(--white); stroke-width: 3; }
.pin-ring { fill: none; stroke: var(--blue); stroke-width: 2; }
.pin-label { font: 600 17px var(--font); fill: var(--ink); paint-order: stroke; stroke: var(--panel); stroke-width: 6px; stroke-linejoin: round; }
.box polygon, .box line { stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.box-top { fill: var(--box-top); }
.box-left { fill: var(--box-left); }
.box-right { fill: var(--box-right); }
.box .box-tape { fill: var(--blue); stroke: var(--blue); }
/* The goods in motion carry a lighter blue: the parcel on the route and the carton that lands. */
.parcel .box .box-tape, .box-arrival .box .box-tape { fill: var(--blue-300); stroke: var(--blue-300); }
.box-label { fill: var(--box-top); }
.box-barcode { stroke: var(--ink); }

/* ---------- Problem: the questions as sticky notes (kept as designed) ---------- */
/* The questions as sticky notes: tilted, jammed together, each one fully readable. */
.questions {
  margin: var(--s-8) auto 0; max-width: 1040px;
  display: flex; flex-wrap: wrap; justify-content: center;
  padding: var(--s-4) var(--s-2);
}
.question {
  --tilt: -2deg;
  position: relative; z-index: 1;
  flex: 0 0 auto; width: 46%;
  min-height: 150px; margin: -6px -4px;
  display: flex; flex-direction: column; justify-content: flex-start; gap: var(--s-3);
  padding: var(--s-6) var(--s-4) var(--s-4);
  border-radius: 3px 3px 18px 3px;
  background: var(--note-yellow);
  box-shadow: var(--shadow-note);
  transform: rotate(var(--tilt));
  color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.005em;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
/* A strip of tape holding each note */
.question::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 64px; height: 20px;
  transform: translateX(-50%) rotate(calc(var(--tilt) * -1.5));
  background: rgba(255, 255, 255, 0.62); border-left: 1px dashed rgba(14, 21, 38, 0.08); border-right: 1px dashed rgba(14, 21, 38, 0.08);
  box-shadow: 0 1px 2px rgba(14, 21, 38, 0.06);
}
.question:nth-child(5n + 2) { --tilt: 2.5deg; background: var(--note-blue); }
.question:nth-child(5n + 3) { --tilt: -1deg; background: var(--note-mint); }
.question:nth-child(5n + 4) { --tilt: 3deg; background: var(--note-pink); }
.question:nth-child(5n + 5) { --tilt: -3deg; background: var(--note-lilac); }
.question:nth-child(7) { --tilt: 1.5deg; background: var(--note-blue); }
.question:hover { z-index: 3; transform: rotate(0deg) translateY(-4px) scale(1.03); box-shadow: var(--shadow-float); }
.question__icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); color: var(--blue); }
.turn { margin: var(--s-9) auto 0; max-width: 820px; text-align: center; }
.turn__postpone { font-size: var(--fs-lead); max-width: 52ch; margin-inline: auto; }
.turn__statement { margin-top: var(--s-5); font-size: clamp(1.5rem, 1.3vw + 1rem, 2.25rem); line-height: 1.25; letter-spacing: -0.025em; text-wrap: balance; }
.turn__statement strong { color: var(--ink); font-weight: 600; }
.turn__reveal { margin-top: var(--s-5); color: var(--blue); font-size: var(--fs-lead); font-weight: 600; }

/* ---------- Video ---------- */
.video__frame {
  position: relative; max-width: 920px; margin-inline: auto;
  aspect-ratio: 1080 / 608; border-radius: var(--r-xl); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-card);
}
.video__frame video, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
/* The designed player: poster + one play button + mute; no browser chrome. */
.player { position: absolute; inset: 0; }
.player__surface { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.player__surface:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; border-radius: var(--r-xl); }
.player__veil {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 50%, rgba(14, 21, 38, 0), rgba(14, 21, 38, 0.32));
}
.player__play {
  position: relative; display: grid; place-items: center;
  width: clamp(68px, 8vw, 92px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%;
  background: var(--white); color: var(--blue); box-shadow: 0 18px 40px -14px rgba(14, 21, 38, 0.55);
  cursor: pointer; transition: transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.player__play .icon { width: 34%; height: 34%; margin-left: 7%; fill: currentColor; }
.player__play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.75); }
.player__play:hover { transform: scale(1.06); }
.player__play:active { transform: scale(0.98); }
.player__play:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; box-shadow: 0 0 0 9px var(--white); }
.player__play:focus-visible::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .player__play::after { animation: ping 2.4s var(--ease) infinite; }
}
@keyframes ping { 0% { transform: scale(0.9); opacity: 0.9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.player__mute {
  position: absolute; right: var(--s-4); bottom: var(--s-5); z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(14, 21, 38, 0.55); color: var(--white); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color var(--t) var(--ease);
}
.player__mute:hover { background: rgba(14, 21, 38, 0.75); }
.player__mute:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.player__mute .icon { width: 20px; height: 20px; }
.player__mute span { display: grid; }
.player__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: rgba(255, 255, 255, 0.22); pointer-events: none; }
.player__progress span { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform 0.25s linear; }
.video-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-4); background: var(--panel); color: var(--muted); font-size: var(--fs-sm); font-weight: 600; text-align: center; padding: var(--s-5); }
.video-play { display: grid; place-items: center; width: 80px; aspect-ratio: 1; border-radius: 50%; background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-blue); }
.video-play .icon { width: 34%; height: 34%; margin-left: 6%; fill: currentColor; }
.video-facade { all: unset; position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-facade .video-play { position: relative; }
.video-facade:focus-visible { outline: 2px solid var(--focus); outline-offset: -6px; }

/* ---------- Curriculum: white module cards on the panel ---------- */
.curriculum { scroll-margin-top: var(--s-4); }
.curriculum:focus { outline: none; }
.modules { margin-top: var(--s-8); display: grid; gap: var(--s-4); }
.module {
  padding: var(--s-5); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.module__title { display: grid; justify-items: start; gap: var(--s-3); }
.module__label {
  display: inline-flex; padding: 2px var(--s-2); border-radius: var(--r-sm);
  background: var(--blue-50); color: var(--blue);
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.6; letter-spacing: 0.01em;
}
.module__name { font-size: var(--fs-h3); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; }
.module__body { margin-top: var(--s-3); display: grid; gap: var(--s-2); font-size: 0.9375rem; line-height: 1.65; }

.offer { margin-top: var(--s-9); text-align: center; }
.offer__outcome { max-width: 40ch; margin-inline: auto; font-size: clamp(1.2rem, 0.6vw + 1rem, 1.45rem); line-height: 1.45; letter-spacing: -0.015em; text-wrap: balance; }
.offer__outcome strong { color: var(--ink); font-weight: 600; }
.extras { max-width: 720px; margin: var(--s-7) auto 0; text-align: left; }
.extras__title { text-align: center; color: var(--ink); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.04em; }
.extras__list { margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.extra { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.extra__num { flex: none; color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.5; }
.extra__name { color: var(--ink); font-weight: 600; }
.extra__text { margin-top: var(--s-1); font-size: var(--fs-sm); line-height: 1.6; }
.offer__card {
  max-width: 480px; margin: var(--s-6) auto 0; padding: var(--s-6);
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.offer__title { font-size: var(--fs-h3); line-height: 1.4; max-width: 28ch; margin-inline: auto; }
.offer__price { margin-block: var(--s-5); padding-block: var(--s-5); border-block: 1px solid var(--line); }
.offer__price strong { display: grid; gap: var(--s-1); color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.offer__price .figure { color: var(--ink); font-size: clamp(2.5rem, 1.6vw + 1.9rem, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.offer__card .btn { width: 100%; }

/* ---------- Instructor: a white card with the photo inside ---------- */
.instructor {
  display: grid; gap: var(--s-6); align-items: center;
  padding: var(--s-4); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.portrait { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--panel-2); width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.portrait__empty { position: absolute; inset: 0; display: grid; place-content: center; padding: var(--s-5); text-align: center; font-size: var(--fs-sm); }
.instructor__text { padding: var(--s-2) var(--s-2) var(--s-4); }
.instructor__text .section-title { text-align: left; }
.instructor__greeting { margin-top: var(--s-4); color: var(--ink); font-size: var(--fs-lead); font-weight: 600; line-height: 1.45; }
.instructor__body { margin-top: var(--s-4); display: grid; gap: var(--s-3); font-size: 0.9375rem; line-height: 1.7; }
.instructor__body p { max-width: 62ch; }
.instructor__actions { margin-top: var(--s-6); }

/* ---------- FAQ: a plain divided list, as in the reference ---------- */
.faq__list { max-width: 780px; margin: var(--s-7) auto 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { font-size: inherit; letter-spacing: 0; }
.faq__trigger {
  all: unset; box-sizing: border-box; width: 100%; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-2);
  color: var(--ink); font: 600 1rem/1.45 var(--font); letter-spacing: -0.01em; cursor: pointer;
  transition: color var(--t) var(--ease);
}
.faq__trigger:hover { color: var(--blue); }
.faq__trigger:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-sm); }
.faq__icon { width: 20px; height: 20px; color: var(--ink); flex-shrink: 0; transition: transform var(--t) var(--ease), color var(--t) var(--ease); }
.faq__trigger[aria-expanded="true"] .faq__icon { transform: rotate(45deg); color: var(--blue); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease); }
.faq__panel[data-open] { grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; }
.faq__panel-inner p { padding-inline: var(--s-2); max-width: 68ch; font-size: 0.9375rem; }
.faq__panel-inner p:last-child { padding-bottom: var(--s-5); }
.faq__panel-inner p + p { margin-top: var(--s-3); }
html:not(.js) .faq__panel { grid-template-rows: 1fr; }

/* ---------- Pricing: the blue plan card on the panel ---------- */
.pricing { display: grid; gap: var(--s-7); align-items: start; }
.pricing__copy { display: grid; gap: var(--s-3); }
.pricing__copy .section-title { margin-bottom: var(--s-3); max-width: 18ch; }
.pricing__copy p { max-width: 50ch; }
.pricing__copy p:nth-of-type(3) { color: var(--ink); font-size: var(--fs-lead); font-weight: 600; }
.plan {
  display: grid; justify-items: start; gap: var(--s-2);
  padding: var(--s-6); border-radius: var(--r-lg);
  background: var(--blue); color: var(--on-blue-2); box-shadow: var(--shadow-card);
  position: relative; overflow: hidden; isolation: isolate;
}
/* A faint ring on the card, echoing the panel circles */
.plan::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -120px; top: -120px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, 0.06); }
.plan__product { display: inline-flex; padding: 2px var(--s-2); border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.14); color: var(--on-blue); font-size: var(--fs-xs); font-weight: 600; line-height: 1.6; letter-spacing: 0.01em; }
.price-line { margin-top: var(--s-4); display: grid; justify-items: start; gap: var(--s-2); font-size: var(--fs-sm); }
.price-line__regular s { text-decoration-thickness: 2px; opacity: 0.8; }
.countdown { display: inline-flex; align-items: baseline; gap: var(--s-2); padding: 2px var(--s-3); border-radius: var(--r-sm); background: var(--white); color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown[hidden] { display: none; }
.countdown__part { display: inline-flex; align-items: baseline; gap: 1px; }
.countdown__unit { font-size: var(--fs-xs); color: var(--blue); opacity: 0.7; }
.countdown.is-ended { background: rgba(255, 255, 255, 0.14); color: var(--on-blue-2); }
.countdown.is-ended .countdown__unit { color: var(--on-blue-2); }
.price-line__amount { color: var(--on-blue); font-size: clamp(3rem, 2.4vw + 2rem, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.plan__next { margin-top: var(--s-4); }
.plan__next strong { color: var(--on-blue); font-size: 1rem; font-weight: 600; }
.plan .btn { margin-top: var(--s-3); width: 100%; }
.plan__fine { font-size: var(--fs-xs); line-height: 1.6; }
.plan__fine:first-of-type { margin-top: var(--s-2); }

/* ---------- Closing ---------- */
.closing__inner { max-width: 760px; text-align: center; display: grid; justify-items: center; }
.closing__title { font-size: clamp(1.75rem, 1.4vw + 1.2rem, 2.6rem); letter-spacing: -0.03em; line-height: 1.15; }
.closing__body { margin-top: var(--s-5); display: grid; gap: var(--s-2); }
.closing__body p:last-child { color: var(--ink-2); font-weight: 600; }
.closing__price { margin-top: var(--s-7); font-size: clamp(1.3rem, 0.6vw + 1.1rem, 1.6rem); }
.closing__inner .btn { margin-top: var(--s-5); }

/* ---------- Footer: full width, pale, small type ---------- */
.footer { padding: 0; }
.footer__panel { padding-block: var(--s-7) var(--s-5); background: var(--panel); color: var(--muted); font-size: 0.8125rem; line-height: 1.5; border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: var(--s-4); align-items: start; }
.footer .wordmark { min-height: 36px; font-size: 1.0625rem; }
.footer__col { display: grid; gap: 0; justify-items: start; }
.footer__col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--blue); }
.footer__legal { padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: 0.75rem; }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.checkout { margin: var(--s-4) var(--panel-inset) var(--section); padding-block: var(--section); border-radius: var(--r-2xl); background: var(--panel); }
.checkout__grid { display: grid; gap: var(--s-7); align-items: start; }
.checkout__intro { display: grid; gap: var(--s-4); }
.checkout__title { font-size: clamp(1.9rem, 1.3vw + 1.35rem, 2.75rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.035em; max-width: 16ch; }
.checkout__intro p { max-width: 46ch; }
.checkout__intro p:first-of-type { margin-top: var(--s-2); color: var(--ink); font-size: var(--fs-lead); font-weight: 600; }
.checkout__card {
  display: grid; gap: var(--s-5);
  padding: var(--s-6); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: var(--s-2); }
.field__label { color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; }
.field__input {
  width: 100%; min-height: 50px; padding: 0 var(--s-4);
  border: 1px solid var(--field-edge); border-radius: var(--r-md); background: var(--white);
  color: var(--ink); font: 400 1rem/1.3 var(--font);
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.field__input::placeholder { color: var(--subtle); }
.field__input:hover { border-color: var(--ink-2); }
.field__input:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.field__input[aria-invalid="true"] { border-color: var(--error); background: var(--error-50); }
.field__input[aria-invalid="true"]:focus-visible { outline: 2px solid var(--error); outline-offset: 2px; box-shadow: none; }
.field__error { display: flex; gap: var(--s-1); align-items: flex-start; color: var(--error); font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; }
.field__error .icon { margin-top: 2px; }
.form-summary { padding: var(--s-4); border-radius: var(--r-md); border: 1px solid var(--error-200); background: var(--error-50); color: var(--error); font-weight: 500; }
.form-summary ul { margin: var(--s-2) 0 0; padding-left: var(--s-5); }
.form-summary a { color: var(--error); }
.form-summary:focus-visible { outline: 2px solid var(--error); outline-offset: 2px; }
.checkout__note { display: flex; gap: var(--s-2); align-items: flex-start; font-size: var(--fs-sm); line-height: 1.55; }
.checkout__note .icon { margin-top: 3px; color: var(--blue); }
.checkout__ready { padding-top: var(--s-5); border-top: 1px solid var(--line); }
.checkout__ready-title { font-size: var(--fs-h3); }
.checkout__ready p { margin-top: var(--s-1); }
.status:empty { display: none; }
.status { display: flex; gap: var(--s-2); align-items: flex-start; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: 500; line-height: 1.5; }
.status .icon { margin-top: 2px; }
.status--info { background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); }
.status--error { background: var(--error-50); color: var(--error); border: 1px solid var(--error-200); }
.status--warning { background: var(--warning-50); color: var(--warning); border: 1px solid var(--warning-200); }

/* ==========================================================================
   THANK-YOU
   ========================================================================== */
.thanks { padding-block: var(--s-7) var(--section); }
.thanks__container { max-width: calc(780px + var(--gutter) * 2); }
.preview-banner { display: flex; gap: var(--s-2); align-items: center; padding: var(--s-3) var(--s-4); margin-bottom: var(--s-6); border-radius: var(--r-md); background: var(--warning-50); border: 1px solid var(--warning-200); color: var(--warning); font-size: var(--fs-sm); font-weight: 600; }
.state { display: grid; justify-items: start; gap: var(--s-4); padding-block: var(--s-7); }
.state__title { font-size: clamp(1.6rem, 1vw + 1.25rem, 2.25rem); font-weight: 600; letter-spacing: -0.03em; }
.state__title:focus { outline: none; }
.state p { max-width: 52ch; }
.state__spinner { color: var(--blue); }
.state__spinner .icon { animation: spin 0.9s linear infinite; }
.state__icon { color: var(--error); }
.arrival { width: min(300px, 80%); height: auto; margin-bottom: var(--s-5); }
.arrival__origin { fill: var(--blue-200); }
.arrival__disc { fill: var(--blue); }
.arrival__check { fill: none; stroke: var(--white); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.thanks__title { font-size: clamp(1.6rem, 2vw + 1rem, 2.75rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.035em; max-width: 21ch; }
.thanks__title:focus { outline: none; }
.thanks__letter { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.thanks__letter p:first-child { color: var(--ink); font-size: var(--fs-lead); font-weight: 600; }
.thanks__steps { margin-top: var(--s-9); padding: var(--s-6); border-radius: var(--r-2xl); background: var(--panel); }
.steps { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.step { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__title { display: grid; justify-items: start; gap: var(--s-3); }
.step__label { display: inline-flex; padding: 2px var(--s-2); border-radius: var(--r-sm); background: var(--blue-50); color: var(--blue); font-size: var(--fs-xs); font-weight: 600; line-height: 1.6; letter-spacing: 0.01em; }
.step__name { font-size: var(--fs-h3); }
.step__body { display: grid; gap: var(--s-1); font-size: 0.9375rem; }
.help { margin-top: var(--s-8); padding: var(--s-6); border-radius: var(--r-xl); background: var(--panel); display: grid; gap: var(--s-3); }
.help__title { font-size: var(--fs-h3); }
.help__support { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; color: var(--ink); font-weight: 600; }
.help__support .icon { color: var(--blue); }
.help__support a { overflow-wrap: anywhere; }
.thanks__signoff { margin-top: var(--s-7); display: grid; gap: var(--s-1); }
.thanks__welcome { margin-top: var(--s-3); font-size: clamp(1.2rem, 0.6vw + 1rem, 1.45rem); }
.thanks__welcome strong { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .arrival__line { animation: draw 1.1s 0.2s var(--ease) backwards; }
  .arrival__check { animation: draw 0.5s 1.2s var(--ease) backwards; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 39.99rem) {
  .btn:not(.btn--sm) { width: 100%; padding-inline: var(--s-4); }
  .hero { padding-top: var(--s-6); }
  .hero__title { font-size: 1.9rem; }
  .turn { margin-top: var(--s-7); }
  .faq .section-title { font-size: 1.4rem; }
  .thanks__steps { padding: var(--s-4); }
  /* Overlap (4px) stays well inside the bottom padding (28px), so a tilt never covers text. */
  .question { min-height: 0; margin: -2px -3px; padding: var(--s-5) var(--s-3) 28px; font-size: 0.9375rem; }
  .module, .step { padding: var(--s-4); }
  .offer__card, .plan, .checkout__card { padding: var(--s-5) var(--s-4); }
  .panel::before { width: 360px; height: 360px; top: -180px; right: -180px; }
  .panel::after { display: none; }
}

@media (min-width: 40rem) {
  .btn { white-space: nowrap; }
  .question { width: 31%; margin: -6px -6px; padding-bottom: var(--s-6); }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand, .footer__legal { grid-column: 1 / -1; }
}

@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-8); }
  .fit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .question { width: 24.5%; min-height: 170px; margin: -10px -7px; padding: var(--s-7) var(--s-5) var(--s-6); font-size: 1.0625rem; }
  .instructor { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: var(--s-8); padding: var(--s-5); align-items: start; }
  .portrait { position: sticky; top: var(--s-6); }
  .instructor__text { padding: var(--s-4) var(--s-6) var(--s-4) 0; }
  .pricing { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--s-9); }
  .checkout__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-9); }
  .checkout__intro { position: sticky; top: var(--s-6); }
  .checkout__card { padding: var(--s-7); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active { transform: none; }
}

/* ---------- Desire: what the reader wants ---------- */
.wants { max-width: 720px; margin: var(--s-7) auto 0; display: grid; gap: var(--s-3); }
.want { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; line-height: 1.55; }
.want__icon, .fit__icon { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--panel); color: var(--blue); }
.desire .turn { margin-top: var(--s-8); }
.desire .turn__postpone strong { color: var(--ink); font-weight: 600; }

/* ---------- Who it's for ---------- */
.fit__grid { max-width: 960px; margin: var(--s-7) auto 0; display: grid; gap: var(--s-4); }
.fit__card { padding: var(--s-6); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.fit__card--yes { background: var(--panel); border-color: var(--panel-ring, var(--line)); }
.fit__title { color: var(--ink); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.04em; }
.fit__list { margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.fit__list li { display: flex; gap: var(--s-3); align-items: flex-start; line-height: 1.55; }
.fit__card--yes .fit__icon { background: var(--white); }
.fit__card--no .fit__icon { color: var(--subtle); }


.closing__ps { margin-top: var(--s-6); max-width: 52ch; font-size: var(--fs-sm); line-height: 1.6; }
.closing__ps strong { color: var(--ink); }
