/* ==================================================================== */
/* Maxon landing — standalone marketing page.                           */
/* Brand tokens mirror static/css/mx/01-tokens.css (sticker UI) so the  */
/* landing is self-contained and never depends on Django static files.  */
/* ==================================================================== */

:root {
  --c-primary:       #6E56F8;
  --c-primary-2:     #8B6BFF;
  --c-primary-d:     #5A41E8;
  --c-primary-soft:  #EEEBFF;
  --c-primary-100:   #DCD5FE;
  --c-primary-glow:  rgba(110, 86, 248, 0.18);
  --c-grad:          linear-gradient(135deg, #8B6BFF, #5A41E8);

  --c-pink:          #FF5DA2;
  --c-pink-soft:     #FFD9EC;
  --c-orange:        #FF8A3D;
  --c-yellow:        #FFC93C;
  --c-teal:          #18C5B5;
  --c-sky:           #3DA5FF;
  --c-sky-soft:      #E3F0FF;

  --c-success:       #1FB873;
  --c-success-deep:  #0E8A53;
  --c-success-soft:  #E7FBF1;
  --c-warning:       #F7A916;
  --c-warning-deep:  #9A6500;
  --c-warning-soft:  #FFF6E3;

  --c-ink:           #241B4D;
  --c-ink-2:         #5A5380;
  --c-muted:         #9A93BE;

  --c-bg:            #FBF7FF;
  --c-card:          #FFFFFF;
  --c-surface-alt:   #F6F1FF;
  --c-border:        #EBE4FF;
  --c-border-2:      #DCD5FE;
  --c-sh-primary:    #4A33C9;

  --font: 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm:  10px;
  --radius-md:  14px;
  --radius-lg:  18px;
  --radius-xl:  22px;
  --radius-2xl: 26px;
  --radius-pill: 999px;

  --spring:   cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);

  --container: 1160px;
  --header-h: 76px;
}

/* ------------------------------ base ------------------------------- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  /* clip (not hidden): hides the rotated marquee overhang without creating
     a scroll container, so position: sticky on the header keeps working */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

/* playful background: soft blobs + dot grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 10% -8%, rgba(139, 107, 255, 0.16), transparent 60%),
    radial-gradient(720px 520px at 96% 6%, rgba(24, 197, 181, 0.13), transparent 65%),
    radial-gradient(820px 620px at 50% 112%, rgba(255, 93, 162, 0.10), transparent 60%),
    var(--c-bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--c-border-2) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}

img, svg { display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; }

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 820px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 17px; height: 17px; }
.icon--xs { width: 13px; height: 13px; }

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

::selection { background: var(--c-primary-100); }

/* ----------------------------- buttons ----------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.14s var(--spring),
              box-shadow 0.14s var(--ease-out),
              background-color 0.18s var(--ease-out);
  will-change: transform;
}

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 0 var(--c-sh-primary);
}
.btn--primary:hover  { background: var(--c-primary-d); transform: translateY(-1px); box-shadow: 0 5px 0 var(--c-sh-primary); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--c-sh-primary); }

.btn--ghost {
  background: var(--c-card);
  color: var(--c-ink);
  box-shadow: 0 3px 0 var(--c-border);
}
.btn--ghost:hover  { transform: translateY(-1px); box-shadow: 0 4px 0 var(--c-border-2); }
.btn--ghost:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--c-border); }

.btn--inverse {
  background: #fff;
  color: var(--c-primary-d);
  box-shadow: 0 4px 0 rgba(36, 27, 77, 0.35);
}
.btn--inverse:hover  { transform: translateY(-1px); }
.btn--inverse:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(36, 27, 77, 0.35); }

.btn--xl { padding: 17px 30px; font-size: 17px; border-radius: var(--radius-lg); }
.btn--sm { padding: 10px 18px; font-size: 14.5px; }

/* ----------------------------- header ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(251, 247, 255, 0.94);
  border-bottom-color: var(--c-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark { display: inline-flex; filter: drop-shadow(0 5px 12px var(--c-primary-glow)); }
.brand__name { font-weight: 900; font-size: 22px; letter-spacing: -0.01em; }

.site-nav {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.site-nav a {
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink-2);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
}

.site-nav a:hover { color: var(--c-primary-d); background: var(--c-primary-soft); }

.site-header__actions { display: flex; gap: 10px; }

/* mobile nav */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--c-card);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 0 var(--c-border);
  color: var(--c-ink);
  cursor: pointer;
}

.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open  { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.mobile-menu {
  display: none;
  padding: 8px 24px 22px;
  border-bottom: 2px solid var(--c-border);
}

.mobile-menu nav { display: flex; flex-direction: column; }

.mobile-menu nav a {
  padding: 13px 4px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  color: var(--c-ink);
  border-bottom: 1.5px solid var(--c-border);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.mobile-menu__actions .btn { width: 100%; }

/* ------------------------------ hero ------------------------------- */

.hero { padding: 56px 0 30px; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-primary-d);
  background: var(--c-primary-soft);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 0 var(--c-primary-100);
}

.eyebrow--teal   { color: #0B7C72; background: #DFF8F5; box-shadow: 0 2px 0 #B6EDE7; }
.eyebrow--orange { color: #A85410; background: #FFEEDD; box-shadow: 0 2px 0 #FFD9B5; }
.eyebrow--pink   { color: #C12970; background: var(--c-pink-soft); box-shadow: 0 2px 0 #FFBCDD; }

.hero__title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  color: var(--c-primary-d);
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 3px;
  height: 0.34em;
  background: var(--c-yellow);
  border-radius: 6px;
  z-index: -1;
  transform: rotate(-1.2deg);
}

.hero__subtitle {
  max-width: 540px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--c-ink-2);
  margin-bottom: 30px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-ink-2);
  background: var(--c-card);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 0 var(--c-border);
}

.hero__meta .icon { color: var(--c-primary); }

/* ------------------------- hero sticker stack ---------------------- */

.hero__visual { min-height: 460px; }

.sticker-stack {
  position: relative;
  height: 100%;
  min-height: 460px;
}

.sticker-card {
  position: absolute;
  background: var(--c-card);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 7px 0 var(--c-border);
  padding: 20px 22px;
}

.sticker-card__title {
  font-size: 15.5px;
  font-weight: 900;
  margin-bottom: 14px;
}

.sticker-card--diag {
  top: 26px;
  left: 0;
  width: min(320px, 78%);
  transform: rotate(-3deg);
  z-index: 2;
}

.sticker-card--plan {
  bottom: 30px;
  right: 0;
  width: min(280px, 70%);
  transform: rotate(2.5deg);
  z-index: 3;
}

.sticker-pill {
  position: absolute;
  bottom: 130px;
  left: 6%;
  z-index: 4;
  padding: 12px 20px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--c-ink);
  background: var(--c-yellow);
  border: 2px solid rgba(36, 27, 77, 0.12);
  border-radius: var(--radius-pill);
  box-shadow: 0 5px 0 #D9A413;
  transform: rotate(-4deg);
}

.sticker-pill strong { color: var(--c-primary-d); font-weight: 900; }

/* mini progress bars in the diagnostic sticker */
.bar-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin-bottom: 11px;
  font-size: 13px;
  font-weight: 800;
  color: var(--c-ink-2);
}

.bar {
  display: block;
  height: 11px;
  background: var(--c-surface-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bar__fill {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: var(--radius-pill);
  transform-origin: left center;
  animation: bar-grow 1.1s var(--ease-out) 0.5s backwards;
}

.bar__fill--teal   { background: var(--c-teal); }
.bar__fill--purple { background: var(--c-primary-2); }
.bar__fill--orange { background: var(--c-orange); }

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.sticker-card__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--c-primary-d);
  background: var(--c-primary-soft);
  border-radius: var(--radius-sm);
}

/* mini plan sticker */
.mini-plan {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mini-plan li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 800;
  color: var(--c-ink-2);
}

.mini-plan__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
  background: var(--c-surface-alt);
  color: var(--c-muted);
  border: 2px solid var(--c-border);
}

.mini-plan li.is-done .mini-plan__dot {
  background: var(--c-success);
  border-color: var(--c-success);
  color: #fff;
}

.mini-plan li.is-current { color: var(--c-ink); }

.mini-plan li.is-current .mini-plan__dot {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 0 0 4px var(--c-primary-soft);
}

/* mascot (mirrors .mx-mascot from the design system) */
.mascot {
  position: absolute;
  top: 0;
  right: 8%;
  z-index: 1;
  width: 116px;
  height: 116px;
}

.mascot__body {
  position: absolute;
  inset: 0;
  border-radius: 42% 42% 46% 46%;
  background: var(--c-grad);
  box-shadow: 0 11px 0 var(--c-sh-primary), 0 20px 28px rgba(110, 86, 248, 0.4);
}

.mascot__hat {
  position: absolute;
  top: -21px;
  left: 50%;
  width: 62px;
  height: 43px;
  transform: translateX(-50%) rotate(8deg);
  filter: drop-shadow(0 3px 0 rgba(36, 27, 77, 0.25));
}

.mascot__hat svg { width: 100%; height: 100%; }

.mascot__eye {
  position: absolute;
  top: 40px;
  width: 19px;
  height: 23px;
  background: #fff;
  border-radius: 50%;
}

.mascot__eye::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-ink);
}

.mascot__eye--l { left: 30px; }
.mascot__eye--r { right: 30px; }

.mascot__cheek {
  position: absolute;
  top: 64px;
  width: 13px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 93, 162, 0.65);
}

.mascot__cheek--l { left: 23px; }
.mascot__cheek--r { right: 23px; }

.mascot__smile {
  position: absolute;
  top: 68px;
  left: 50%;
  width: 28px;
  height: 15px;
  border: 3px solid #fff;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  transform: translateX(-50%);
}

/* floating */
.float-slow { animation: bob 4s ease-in-out infinite; }
.float-a    { animation: bob 5s ease-in-out 0.4s infinite; }
.float-b    { animation: bob 4.4s ease-in-out 1s infinite; }
.float-c    { animation: bob 3.6s ease-in-out 0.7s infinite; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* ----------------------------- marquee ----------------------------- */

.marquee {
  margin: 26px 0 0;
  padding: 13px 0;
  background: var(--c-ink);
  transform: rotate(-1deg) scale(1.02);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__item {
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.marquee__star { color: var(--c-yellow); font-size: 14px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----------------------------- sections ---------------------------- */

.section { padding: 88px 0; }

.section--tint {
  background: var(--c-surface-alt);
  border-top: 2px solid var(--c-border);
  border-bottom: 2px solid var(--c-border);
}

.section-head { max-width: 680px; margin-bottom: 48px; }

.section-title {
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 900;
  margin-bottom: 14px;
}

.section-lead {
  font-size: clamp(15.5px, 1.5vw, 18px);
  color: var(--c-ink-2);
}

/* --------------------------- how it works -------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--c-card);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 0 var(--c-border);
  padding: 26px 22px 24px;
  transition: transform 0.18s var(--spring), box-shadow 0.18s var(--ease-out);
}

.step-card:hover {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: 0 10px 0 var(--c-border);
}

.step-card__num {
  position: absolute;
  top: -15px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  border-radius: 50%;
  transform: rotate(8deg);
}

.step-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
}

.step-card__num[data-accent="purple"]  { background: var(--c-primary); box-shadow: 0 3px 0 var(--c-sh-primary); }
.step-card__icon[data-accent="purple"] { background: var(--c-primary-soft); color: var(--c-primary-d); }
.step-card__num[data-accent="teal"]    { background: var(--c-teal); box-shadow: 0 3px 0 #0B8C80; }
.step-card__icon[data-accent="teal"]   { background: #DFF8F5; color: #0B7C72; }
.step-card__num[data-accent="orange"]  { background: var(--c-orange); box-shadow: 0 3px 0 #CC5F12; }
.step-card__icon[data-accent="orange"] { background: #FFEEDD; color: #A85410; }
.step-card__num[data-accent="pink"]    { background: var(--c-pink); box-shadow: 0 3px 0 #D12B7B; }
.step-card__icon[data-accent="pink"]   { background: var(--c-pink-soft); color: #C12970; }

.step-card h3 { font-size: 19px; font-weight: 900; margin-bottom: 9px; }
.step-card p  { font-size: 14.5px; color: var(--c-ink-2); }

/* ------------------------------ method ----------------------------- */

.method-path {
  position: relative;
  max-width: 720px;
  margin: 0;
  padding: 6px 0 6px 0;
  list-style: none;
}

.method-path::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 27px;
  border-left: 3px dashed var(--c-border-2);
}

.method-step {
  position: relative;
  display: flex;
  gap: 22px;
  padding: 13px 0;
}

.method-step__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: none;
  font-size: 20px;
  font-weight: 900;
  color: var(--c-primary-d);
  background: var(--c-card);
  border: 2.5px solid var(--c-primary-100);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--c-primary-100);
  transform: rotate(-4deg);
}

.method-step:nth-child(even) .method-step__num { transform: rotate(4deg); }

.method-step__body {
  flex: 1;
  background: var(--c-card);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 0 var(--c-border);
  padding: 17px 22px;
  transition: transform 0.18s var(--spring), box-shadow 0.18s var(--ease-out);
}

.method-step:hover .method-step__body {
  transform: translateX(4px);
  box-shadow: 0 7px 0 var(--c-border);
}

.method-step__body h3 { font-size: 18.5px; font-weight: 900; margin-bottom: 5px; }
.method-step__body p  { font-size: 15px; color: var(--c-ink-2); }

/* ----------------------------- subjects ---------------------------- */

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.subject-card {
  position: relative;
  background: var(--c-card);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-2xl);
  box-shadow: 0 7px 0 var(--c-border);
  padding: 30px 26px 26px;
  overflow: hidden;
  transition: transform 0.18s var(--spring), box-shadow 0.18s var(--ease-out);
}

.subject-card:hover { transform: translateY(-5px) rotate(0.5deg); box-shadow: 0 11px 0 var(--c-border); }

.subject-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
}

.subject-card[data-accent="sky"]::before    { background: var(--c-sky); }
.subject-card[data-accent="orange"]::before { background: var(--c-orange); }
.subject-card[data-accent="pink"]::before   { background: var(--c-pink); }

.subject-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  transform: rotate(-4deg);
}

.subject-card[data-accent="sky"] .subject-card__icon    { background: var(--c-sky-soft); color: #1A6BB8; }
.subject-card[data-accent="orange"] .subject-card__icon { background: #FFEEDD; color: #A85410; }
.subject-card[data-accent="pink"] .subject-card__icon   { background: var(--c-pink-soft); color: #C12970; }

.subject-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.subject-card > p { font-size: 15px; color: var(--c-ink-2); margin-bottom: 18px; }

.subject-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.subject-card__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  color: var(--c-ink-2);
}

.subject-card__list .icon { color: var(--c-success); }

/* ----------------------------- parents ----------------------------- */

.parents__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.check-list li { display: flex; gap: 15px; }

.check-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  margin-top: 2px;
  color: var(--c-success-deep);
  background: var(--c-success-soft);
  border-radius: 50%;
  box-shadow: 0 2px 0 #A8E8C8;
}

.check-list strong { display: block; font-size: 16.5px; font-weight: 900; }
.check-list span:not(.check-list__icon) { font-size: 14.5px; color: var(--c-ink-2); }

.sticker-card--report {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  transform: rotate(1.6deg);
  padding: 26px 28px;
}

.report-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #C12970;
  background: var(--c-pink-soft);
  border-radius: var(--radius-pill);
}

.sticker-card--report .sticker-card__title { font-size: 20px; margin-bottom: 9px; }

.report-text { font-size: 14.5px; color: var(--c-ink-2); margin-bottom: 18px; }

.report-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.tag {
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-pill);
}

.tag--success { color: var(--c-success-deep); background: var(--c-success-soft); box-shadow: 0 2px 0 #A8E8C8; }
.tag--warning { color: var(--c-warning-deep); background: var(--c-warning-soft); box-shadow: 0 2px 0 #F7D88A; }

.report-next {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  background: var(--c-primary-soft);
  border-radius: var(--radius-md);
}

.report-next__label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-primary-d);
}

.report-next__value { font-size: 15px; font-weight: 800; }

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

.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--c-card);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 0 var(--c-border);
  overflow: hidden;
  transition: box-shadow 0.18s var(--ease-out);
}

.faq-item[open] { box-shadow: 0 6px 0 var(--c-primary-100); border-color: var(--c-primary-100); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 { font-size: 17px; font-weight: 900; }

.faq-item__marker {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  background: var(--c-primary-soft);
  border-radius: 50%;
  transition: background-color 0.18s var(--ease-out), transform 0.25s var(--spring);
}

.faq-item__marker::before,
.faq-item__marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2.6px;
  background: var(--c-primary-d);
  border-radius: 2px;
  translate: -50% -50%;
  transition: rotate 0.25s var(--spring);
}

.faq-item__marker::after { rotate: 90deg; }

.faq-item[open] .faq-item__marker { transform: rotate(45deg); background: var(--c-primary-100); }

.faq-item > p {
  padding: 0 22px 21px;
  font-size: 15px;
  color: var(--c-ink-2);
  max-width: 640px;
}

/* ----------------------------- CTA band ---------------------------- */

.section--cta { padding-top: 30px; }

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 30px 58px;
  background: var(--c-grad);
  border-radius: var(--radius-2xl);
  box-shadow: 0 9px 0 var(--c-sh-primary);
}

.cta-band__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
}

.cta-band__blob--a { width: 240px; height: 240px; top: -90px; left: -60px; background: #fff; opacity: 0.12; }
.cta-band__blob--b { width: 180px; height: 180px; bottom: -70px; right: -40px; background: var(--c-yellow); opacity: 0.25; }

.cta-band__title {
  position: relative;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 13px;
}

.cta-band__text {
  position: relative;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}

.cta-band .btn { position: relative; }

.cta-band__hint {
  position: relative;
  margin-top: 15px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------ footer ----------------------------- */

.site-footer {
  border-top: 2px solid var(--c-border);
  background: rgba(255, 255, 255, 0.6);
  padding: 46px 0 26px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
}

.site-footer__brand p {
  margin-top: 14px;
  max-width: 300px;
  font-size: 14.5px;
  color: var(--c-ink-2);
}

.site-footer__nav { display: flex; flex-direction: column; gap: 10px; }

.site-footer__nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink-2);
  text-decoration: none;
  width: fit-content;
}

.site-footer__nav a:hover { color: var(--c-primary-d); }

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.site-footer__mail {
  font-size: 15px;
  font-weight: 800;
  color: var(--c-ink-2);
  text-decoration: none;
}

.site-footer__mail:hover { color: var(--c-primary-d); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 22px;
  border-top: 1.5px solid var(--c-border);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-muted);
}

/* --------------------------- scroll reveal ------------------------- */
/* Sticker "slap-in": elements land like stickers being placed.        */

/* Hidden state applies only when JS is available (html.js set inline in <head>),
   so the page stays fully readable with JS disabled. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.97) rotate(0.6deg);
  transition: opacity 0.55s var(--ease-out), transform 0.6s var(--spring);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* hero load-in (no JS needed) */
.load-reveal {
  animation: load-reveal 0.7s var(--spring) backwards;
  animation-delay: calc(var(--d, 0) * 120ms);
}

@keyframes load-reveal {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* ---------------------------- responsive --------------------------- */

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: 36px; }
}

@media (max-width: 880px) {
  .site-nav, .site-header__actions { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .mobile-menu.is-open { display: block; }

  .hero { padding-top: 36px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 430px; }
  .sticker-stack { min-height: 430px; max-width: 520px; margin: 0 auto; }

  .subject-grid { grid-template-columns: 1fr; }

  .parents__grid { grid-template-columns: 1fr; gap: 40px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }

  .container { padding: 0 18px; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .hero__visual { min-height: 470px; }
  .sticker-stack { min-height: 470px; }
  .sticker-card--diag { left: 0; width: 86%; top: 16px; }
  .sticker-card--plan { right: 0; bottom: 14px; width: 76%; }
  .sticker-pill { bottom: 150px; left: 2%; }
  .mascot { width: 96px; height: 96px; right: 2%; z-index: 5; }
  .mascot__eye { top: 32px; width: 16px; height: 20px; }
  .mascot__eye--l { left: 25px; }
  .mascot__eye--r { right: 25px; }
  .mascot__cheek { top: 53px; }
  .mascot__cheek--l { left: 18px; }
  .mascot__cheek--r { right: 18px; }
  .mascot__smile { top: 56px; }

  .steps { grid-template-columns: 1fr; }

  .method-path::before { left: 22px; }
  .method-step { gap: 15px; }
  .method-step__num { width: 44px; height: 44px; font-size: 17px; }
  .method-step__body { padding: 14px 17px; }

  .marquee__item { font-size: 13px; padding: 0 13px; }

  .cta-band { padding: 46px 22px 42px; }
  .cta-band .btn { width: 100%; }

  .site-footer__bottom { justify-content: center; text-align: center; }
}

/* ------------------------- reduced motion -------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .load-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .float-slow, .float-a, .float-b, .float-c { animation: none; }
  .marquee__track { animation: none; }
  .bar__fill { animation: none; }
  .btn { transition: none; }
  .btn:hover, .btn:active { transform: none; }
  .step-card:hover, .subject-card:hover { transform: none; }
  .method-step:hover .method-step__body { transform: none; }
}
