@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0d0c26;
  --night-2: #141432;
  --night-3: #17153f;
  --night-4: #0e1030;
  --paper: #f8f6ee;
  --ink: #1b2150;
  --text: #f4f6ff;
  --muted: #aab3e6;
  --muted-2: rgba(170, 179, 230, 0.72);
  --gold: #f9c22e;
  --gold-light: #ffe58a;
  --gold-deep: #a8760a;
  --on-gold: #2a1a00;
  --raspberry: #d42a6e;
  --magenta: #c43cc8;
  --violet: #6a5ad0;
  --violet-dark: #2a2170;
  --cyan: #2bc4cf;
  --teal: #1aa6a6;
  --green: #2fa84f;
  --line: rgba(255, 255, 255, 0.19);
  --line-soft: rgba(255, 255, 255, 0.09);
  --glass-1: rgba(255, 255, 255, 0.11);
  --glass-2: rgba(255, 255, 255, 0.03);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.22);
  --radius-sm: 18px;
  --radius: 20px;
  --radius-lg: 26px;
  --container: 1120px;
  --header-h: 72px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(107, 90, 208, 0.34), transparent 62%),
    radial-gradient(52% 44% at 94% 16%, rgba(43, 196, 207, 0.14), transparent 64%),
    radial-gradient(56% 48% at 12% 88%, rgba(212, 42, 110, 0.14), transparent 66%),
    radial-gradient(48% 40% at 70% 70%, rgba(196, 60, 200, 0.08), transparent 68%),
    linear-gradient(168deg, var(--night), var(--night-3) 60%, var(--night-4));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.52;
  background-image:
    radial-gradient(1.2px 1.2px at 24px 36px, rgba(255, 255, 255, 0.82), transparent 60%),
    radial-gradient(1px 1px at 118px 92px, rgba(255, 233, 168, 0.8), transparent 60%),
    radial-gradient(1.4px 1.4px at 210px 48px, rgba(255, 255, 255, 0.65), transparent 60%),
    radial-gradient(1px 1px at 62px 178px, rgba(255, 255, 255, 0.55), transparent 60%);
  background-size: 260px 220px, 320px 280px, 400px 360px, 220px 200px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--gold-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(249, 194, 46, 0.32);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-brand {
  fill: currentColor;
  stroke: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(13, 12, 38, 0.7);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(13, 12, 38, 0.94);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 14px rgba(249, 194, 46, 0.22));
}

.brand-word {
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-word span {
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
}

.site-nav > a:not(.btn) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.site-nav > a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass-2);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.btn .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 56%, var(--gold-deep));
  color: var(--on-gold);
  box-shadow: 0 10px 28px rgba(249, 194, 46, 0.24);
}

.btn-gold:hover {
  color: var(--on-gold);
  box-shadow: 0 14px 34px rgba(249, 194, 46, 0.32);
}

.btn-glass {
  background: linear-gradient(180deg, var(--glass-1), var(--glass-2));
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-glass:hover {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-small {
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
}

/* Hero */

.hero {
  padding: clamp(50px, 7vw, 96px) 0 clamp(34px, 5vw, 64px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(249, 194, 46, 0.14);
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 {
  background: linear-gradient(180deg, #fff 30%, #dcd7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 54ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.trust-line li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-line .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
  stroke-width: 2.4;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 26px 0;
}

.hero-glow {
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(107, 90, 208, 0.4), rgba(43, 196, 207, 0.08) 48%, transparent 70%);
  filter: blur(10px);
}

.week-card {
  position: relative;
  z-index: 2;
  width: min(100%, 410px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(36, 27, 74, 0.86), rgba(20, 20, 50, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: rotate(-1.2deg);
}

.week-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.week-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--gold-light);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.week-card-head strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.week-pill {
  padding: 6px 10px;
  border: 1px solid rgba(249, 194, 46, 0.28);
  border-radius: 999px;
  background: rgba(249, 194, 46, 0.1);
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 500;
  white-space: nowrap;
}

.planet-path {
  padding: 12px 0 8px;
}

.planet-path li {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 7px 0;
}

.planet-path li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 58px;
  bottom: -7px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(170, 179, 230, 0.34), rgba(170, 179, 230, 0.04));
}

.planet-step-orb {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.16), rgba(20, 20, 50, 0.5) 70%);
  box-shadow: 0 0 22px rgba(107, 90, 208, 0.18);
}

.planet-step-orb img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.planet-step-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.planet-step-copy strong {
  font-size: 0.93rem;
  font-weight: 600;
}

.planet-step-copy small {
  color: var(--muted-2);
  font-size: 0.72rem;
}

.week-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.72rem;
}

.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--gold);
}

.stars .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

.float-planet {
  position: absolute;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4));
}

.float-saturn {
  top: 0;
  right: -14px;
  width: clamp(78px, 10vw, 120px);
  transform: rotate(8deg);
}

.float-mars {
  bottom: 6px;
  left: -6px;
  width: clamp(52px, 6vw, 76px);
  transform: rotate(-8deg);
}

/* Stats */

.stats-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 20px 8px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.stats > div {
  padding: 4px 18px;
  text-align: center;
}

.stats > div + div {
  border-left: 1px solid var(--line-soft);
}

.stats dt {
  color: var(--gold-light);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stats dd {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.78rem;
}

/* Sections */

.section {
  padding: clamp(52px, 7vw, 92px) 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section h2 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-lead {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
}

/* Method */

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-card {
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--glass-1), var(--glass-2));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.method-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
}

.method-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.method-icon .icon {
  width: 24px;
  height: 24px;
}

.method-icon-gold {
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(249, 194, 46, 0.22);
}

.method-icon-teal {
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(43, 196, 207, 0.22);
}

.method-icon-magenta {
  color: #f7a8f2;
  box-shadow: inset 0 0 0 1px rgba(196, 60, 200, 0.22);
}

.method-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.method-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Week */

.week-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.week-step {
  --accent: var(--gold);
  padding: 18px 16px 20px;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.week-step[data-accent="teal"] {
  --accent: var(--cyan);
}

.week-step[data-accent="magenta"] {
  --accent: var(--magenta);
}

.week-step[data-accent="raspberry"] {
  --accent: var(--raspberry);
}

.week-step[data-accent="violet"] {
  --accent: var(--violet);
}

.week-step:hover {
  transform: translateY(-4px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.week-step-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.week-step-top img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.34));
}

.week-step-number {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.week-step h3 {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
}

.week-step p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Programme panel */

.paper-panel {
  padding: clamp(26px, 4.5vw, 52px);
  border-radius: 30px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(196, 60, 200, 0.1), transparent 50%),
    radial-gradient(100% 100% at 0% 100%, rgba(249, 194, 46, 0.14), transparent 55%),
    var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.paper-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.eyebrow-ink {
  color: var(--violet-dark);
}

.paper-copy h2 {
  color: var(--ink);
}

.paper-copy > p:not(.eyebrow) {
  margin-top: 16px;
  color: #414873;
  font-size: 0.95rem;
}

.paper-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 38px;
  margin-top: 26px;
}

.paper-stats dt {
  color: var(--gold-deep);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.paper-stats dd {
  margin-top: 3px;
  color: #5d648c;
  font-size: 0.74rem;
}

.periods {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 4px 0;
}

.periods li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.periods li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: -8px;
  width: 2px;
  background: rgba(106, 90, 208, 0.22);
}

.period-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106, 90, 208, 0.3);
  border-radius: 50%;
  background: rgba(106, 90, 208, 0.1);
  color: var(--violet-dark);
  font-size: 0.76rem;
  font-weight: 700;
}

.period-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.period-copy strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.period-copy small {
  color: #5d648c;
  font-size: 0.76rem;
}

.paper-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(27, 33, 80, 0.12);
  color: #656c92;
  font-size: 0.74rem;
}

/* Split sections */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.split-copy h2 {
  max-width: 18ch;
}

.split-copy > p:not(.eyebrow) {
  max-width: 52ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-list .icon {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--gold);
  stroke-width: 2.4;
}

.split-copy .btn {
  margin-top: 26px;
}

.parents-card,
.teacher-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(36, 27, 74, 0.8), rgba(20, 20, 50, 0.66));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.parents-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.parents-card-head div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.parents-card-head strong {
  font-size: 1rem;
}

.parents-card-head small {
  color: var(--muted-2);
  font-size: 0.74rem;
}

.parents-icon,
.teacher-lock {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(249, 194, 46, 0.12);
  color: var(--gold);
}

.parents-icon .icon,
.teacher-lock .icon {
  width: 21px;
  height: 21px;
}

.parents-rows {
  display: grid;
  gap: 2px;
  padding: 14px 0;
}

.parents-rows li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.parents-rows li:last-child {
  border-bottom: 0;
}

.parents-rows .icon {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.parents-quote {
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(249, 194, 46, 0.07);
}

.parents-quote p {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.5;
}

.split-reverse .split-copy {
  order: 2;
}

.split-reverse .teacher-card {
  order: 1;
}

.teacher-card {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(249, 194, 46, 0.14), transparent 55%),
    linear-gradient(155deg, rgba(36, 27, 74, 0.9), rgba(20, 20, 50, 0.76));
}

.teacher-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.teacher-code {
  display: grid;
  grid-template-columns: repeat(4, 42px);
  gap: 10px;
  margin: 26px 0 22px;
}

.teacher-code span {
  width: 42px;
  height: 50px;
  display: block;
  border: 1px solid rgba(249, 194, 46, 0.3);
  border-radius: 12px;
  background: rgba(249, 194, 46, 0.08);
}

.teacher-code span::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 20px auto 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(249, 194, 46, 0.6);
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.teacher-tags li {
  padding: 7px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
}

.teacher-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* FAQ */

.faq-wrap {
  max-width: 850px;
}

.faq-list {
  border-top: 1px solid var(--line-soft);
}

.faq-list details {
  border-bottom: 1px solid var(--line-soft);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 16px 2px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary:hover {
  color: var(--gold-light);
}

.faq-list details p {
  max-width: 64ch;
  padding: 0 2px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Launch */

.launch-panel {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(90% 120% at 50% -10%, rgba(249, 194, 46, 0.2), transparent 60%),
    radial-gradient(70% 100% at 100% 100%, rgba(107, 90, 208, 0.28), transparent 60%),
    linear-gradient(160deg, rgba(36, 27, 74, 0.9), rgba(20, 20, 50, 0.8));
  box-shadow: var(--shadow);
  text-align: center;
}

.launch-panel::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 194, 46, 0.22), transparent 68%);
  transform: translateX(-50%);
  pointer-events: none;
}

.launch-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(249, 194, 46, 0.3);
  border-radius: 999px;
  background: rgba(249, 194, 46, 0.09);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.launch-panel h2 {
  max-width: 20ch;
  margin: 18px auto 0;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
}

.launch-panel > p {
  position: relative;
  max-width: 52ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.launch-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-store {
  margin-top: 26px;
}

.hero-store-label {
  margin: 0 0 10px;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.store-row-hero {
  justify-content: flex-start;
  margin-top: 0;
}

.store-hint {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 0.74rem;
  line-height: 1.5;
}

.store-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(150deg, var(--glass-1), var(--glass-2));
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.store-badge:hover {
  border-color: rgba(249, 194, 46, 0.45);
  background: linear-gradient(150deg, rgba(249, 194, 46, 0.12), var(--glass-2));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.store-badge:active {
  transform: translateY(0);
}

.store-badge:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.store-badge-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.store-badge-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(249, 194, 46, 0.12);
  color: var(--gold);
}

.store-badge-icon .icon {
  width: 18px;
  height: 18px;
}

.store-badge small {
  display: block;
  color: var(--muted-2);
  font-size: 0.62rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-badge strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.store-badge-status {
  align-self: flex-start;
  margin-left: 2px;
  padding: 3px 8px;
  border: 1px dashed rgba(249, 194, 46, 0.5);
  border-radius: 999px;
  background: rgba(249, 194, 46, 0.08);
  color: var(--gold-light);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.store-feedback {
  margin: 12px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(249, 194, 46, 0.3);
  border-radius: 12px;
  background: rgba(249, 194, 46, 0.09);
  color: var(--gold-light);
  font-size: 0.78rem;
  line-height: 1.5;
  animation: store-feedback-in 220ms var(--ease);
}

@keyframes store-feedback-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.launch-panel .store-note {
  position: relative;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.76rem;
}

.launch-panel .store-feedback {
  position: relative;
  margin-top: 14px;
  color: var(--gold-light);
  font-size: 0.78rem;
}

.launch-panel .launch-note {
  position: relative;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* Footer */

.site-footer {
  margin-top: clamp(32px, 5vw, 64px);
  padding: 38px 0 46px;
  border-top: 1px solid var(--line-soft);
  background: rgba(9, 8, 28, 0.45);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: start;
  gap: 30px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-brand .footer-small {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.74rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-year {
  color: var(--muted-2);
  font-size: 0.75rem;
  white-space: nowrap;
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

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

.js .method-grid .reveal:nth-child(2),
.js .week-grid .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.js .method-grid .reveal:nth-child(3),
.js .week-grid .reveal:nth-child(3) {
  transition-delay: 140ms;
}

.js .week-grid .reveal:nth-child(4) {
  transition-delay: 210ms;
}

.js .week-grid .reveal:nth-child(5) {
  transition-delay: 280ms;
}

/* Responsive */

@media (max-width: 1020px) {
  .hero-grid {
    gap: 40px;
  }

  .week-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .week-step:nth-child(4),
  .week-step:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px clamp(20px, 4vw, 32px) 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(13, 12, 38, 0.98);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav > a:not(.btn) {
    min-height: 48px;
    padding: 0 10px;
    border-radius: 12px;
  }

  .site-nav > a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .site-nav .btn {
    margin-top: 8px;
    width: 100%;
  }

  .hero-grid,
  .split,
  .paper-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 0;
    padding: 16px 0 28px;
  }

  .week-card {
    transform: none;
  }

  .float-saturn {
    right: 2%;
  }

  .float-mars {
    left: 2%;
  }

  .split-reverse .split-copy,
  .split-reverse .teacher-card {
    order: initial;
  }

  .paper-grid {
    gap: 30px;
  }

  .method-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 64px;
  }

  h1 {
    max-width: 18ch;
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .section h2 {
    max-width: 24ch;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 8px 0;
  }

  .stats > div {
    padding: 14px 10px;
  }

  .stats > div:nth-child(3) {
    border-left: 0;
  }

  .stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .week-step:last-child {
    grid-column: 1 / -1;
  }

  .paper-stats {
    gap: 18px 28px;
  }

  .teacher-code {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .teacher-code span {
    width: 100%;
  }

  .footer-nav {
    gap: 4px 18px;
  }
}

@media (max-width: 430px) {
  .hero-actions .btn,
  .launch-actions .btn {
    width: 100%;
  }

  .store-row-hero {
    flex-direction: column;
  }

  .store-row .store-badge {
    width: 100%;
    justify-content: flex-start;
  }

  .trust-line {
    gap: 8px 14px;
    font-size: 0.78rem;
  }

  .week-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .week-step:last-child {
    grid-column: auto;
  }

  .week-step-top img {
    width: 52px;
    height: 52px;
  }

  .planet-path li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .planet-path li:not(:last-child)::before {
    left: 23px;
    top: 52px;
  }

  .planet-step-orb {
    width: 48px;
    height: 48px;
  }

  .planet-step-orb img {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Legal and error pages */

.legal-page,
.error-page {
  min-height: calc(100vh - var(--header-h) - 180px);
  padding: clamp(46px, 7vw, 90px) 0;
}

.legal-wrap {
  max-width: 760px;
}

.legal-wrap h1 {
  max-width: 20ch;
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.1;
}

.legal-updated {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.draft-note {
  margin: 26px 0;
  padding: 16px 18px;
  border: 1px solid rgba(249, 194, 46, 0.3);
  border-radius: 14px;
  background: rgba(249, 194, 46, 0.08);
  color: var(--gold-light);
  font-size: 0.84rem;
}

.legal-wrap h2 {
  margin: 34px 0 8px;
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-wrap p + p {
  margin-top: 10px;
}

.legal-wrap ul {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.legal-wrap a {
  color: var(--gold-light);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 34px;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.back-link .icon {
  transform: rotate(180deg);
}

.error-wrap {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.error-code {
  color: var(--gold);
  font-size: clamp(4rem, 16vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.error-wrap h1 {
  max-width: none;
  margin-top: 10px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.error-wrap p {
  max-width: 46ch;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.error-wrap .btn {
  margin-top: 26px;
}

@media (max-width: 880px) {
  .site-nav-simple {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .site-nav-simple > a:not(.btn) {
    display: none;
  }
}
