/* ==========================================================================
   BilimSkills — Cyber Start
   Light "anime / manga" theme: white paper, blue ink, hard shadows.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #eef5ff;
  --bg-soft: #e2eeff;
  --paper: #ffffff;
  --ink: #0a1a3a;
  --ink-soft: #22345a;
  --muted: #54668a;
  --muted-2: #5c6d8c;

  --blue: #2563eb;
  --blue-deep: #1e40af;
  --sky: #38bdf8;
  --sky-soft: #dbeafe;
  --sky-pale: #f2f8ff;
  --coral: #ff6b6b;
  --yellow: #ffd166;

  --line: #0a1a3a;
  --hairline: rgba(10, 26, 58, 0.16);
  --shadow-hard: 5px 5px 0 var(--ink);
  --shadow-card: 7px 7px 0 #c7dcff;
  --shadow-card-hover: 10px 10px 0 #a9caff;

  --grad: linear-gradient(120deg, #60a5fa 0%, #2563eb 100%);
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 14px;
  --font-display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--sky-soft); color: var(--blue-deep); }

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

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: var(--blue);
  z-index: 120;
}

/* ---------- Paper texture ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(56, 189, 248, 0.22), transparent 65%),
    radial-gradient(800px 600px at 5% 8%, rgba(37, 99, 235, 0.12), transparent 62%),
    radial-gradient(rgba(37, 99, 235, 0.10) 1px, transparent 1.2px);
  background-size: auto, auto, 18px 18px;
  pointer-events: none;
}

/* ---------- Typography helpers ---------- */
.hl {
  color: var(--blue-deep);
  background: linear-gradient(180deg, transparent 62%, #bfdbfe 62%, #bfdbfe 94%, transparent 94%);
  padding: 0 0.02em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 600;
}

.section {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 0;
  scroll-margin-top: 96px;
}

.section--alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1.5px solid rgba(10, 26, 58, 0.12);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-title {
  font-size: clamp(1.6rem, 3.3vw, 2.7rem);
  margin-top: 16px;
}

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

.section-lead--right {
  margin: 0;
  max-width: 44ch;
  padding-bottom: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.2s;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--blue); color: #fff; }
.btn--ghost { background: var(--paper); color: var(--ink); }

.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn--sm { padding: 9px 16px; font-size: 0.86rem; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
.btn--lg { padding: 16px 28px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 2px solid transparent;
  transition: background 0.25s, padding 0.25s, border-color 0.25s;
}

.nav.is-scrolled {
  padding: 9px 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--ink);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(10, 26, 58, 0.9);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__name span { color: var(--blue); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  padding: 8px 13px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--blue); background: var(--sky-soft); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__apply { display: none; }

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.nav__burger .icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(118px, 15vh, 160px) 0 0;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.05); }
}

.hero__title {
  margin-top: 24px;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero__lead {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
}
.hero__lead strong { color: var(--ink); font-weight: 700; }

.hero__price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.price-now {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--blue);
}
.price-now .cur { font-family: var(--font-body); font-size: 0.62em; font-weight: 600; color: var(--ink-soft); }

.price-old {
  color: var(--muted-2);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-size: 1.05rem;
}

.price-save {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--coral);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { color: var(--blue); }

/* ---------- Terminal panel ---------- */
.hero__visual {
  position: relative;
}

.hero__visual::before {
  content: '';
  position: absolute;
  inset: -90px -70px;
  z-index: -1;
  background: repeating-conic-gradient(
    from 200deg at 58% 50%,
    rgba(37, 99, 235, 0.16) 0deg 1.4deg,
    transparent 1.4deg 7deg
  );
  -webkit-mask-image: radial-gradient(closest-side at 58% 50%, #000 28%, transparent 74%);
  mask-image: radial-gradient(closest-side at 58% 50%, #000 28%, transparent 74%);
  border-radius: 50%;
}

.panel-tag {
  position: absolute;
  top: -15px;
  left: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 11px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  transform: rotate(-1deg);
}
.panel-tag b {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--blue);
}

.terminal {
  position: relative;
  border-radius: 16px;
  border: 3px solid var(--ink);
  background: linear-gradient(180deg, #10234a, #0a1830 72%);
  box-shadow: 10px 10px 0 #bcd7ff;
  overflow: hidden;
  transform: rotate(-1.2deg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hero__visual:hover .terminal {
  transform: rotate(-0.4deg) translateY(-3px);
  box-shadow: 13px 13px 0 #bcd7ff;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.terminal__dots { display: inline-flex; gap: 6px; }
.terminal__dots i { width: 9px; height: 9px; border-radius: 50%; background: #33456b; }
.terminal__dots i:first-child { background: #ff7a7a; }
.terminal__dots i:nth-child(2) { background: var(--yellow); }
.terminal__dots i:nth-child(3) { background: #7dd3fc; }

.terminal__title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #94a9cc;
}

.terminal__badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #bae6fd;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.34);
}

.terminal__body {
  padding: 22px 22px 26px;
  font-family: var(--font-mono);
  font-size: clamp(0.76rem, 1.15vw, 0.87rem);
  line-height: 1.9;
  min-height: 292px;
  color: #cfe0ff;
}

.term-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-prompt { color: #7dd3fc; }
.term-cmd { color: #ffffff; }
.term-out { padding-left: 18px; color: #a9bde0; }
.term-ok { color: #7dd3fc; }
.term-progress { color: var(--yellow); }
.term-todo { color: #5b6f96; }
.term-dim { color: #7b8fb3; }
.term-dim .term-todo { color: #5b6f96; }

.term-cursor {
  display: inline-block;
  width: 9px;
  height: 15px;
  vertical-align: -2px;
  background: #7dd3fc;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.terminal-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.terminal-meta span { display: inline-flex; align-items: center; gap: 7px; }
.terminal-meta .icon { width: 15px; height: 15px; color: var(--blue); }

/* ---------- Sparkles ---------- */
.spark {
  position: absolute;
  width: 30px;
  height: 30px;
  color: var(--blue);
  fill: currentColor;
  stroke: none;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}
.spark--1 { top: 92px; left: -6px; width: 26px; height: 26px; }
.spark--2 { top: 340px; right: -18px; width: 34px; height: 34px; color: var(--sky); }

/* ---------- Stats ---------- */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(46px, 6vw, 68px);
  padding-bottom: 6px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 5px 5px 0 #c7dcff;
}

.stats__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1.1;
}

.stats__label {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 22ch;
}

/* ---------- Cards / audience ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-card-hover);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--sky-soft);
  border: 2px solid var(--ink);
  color: var(--blue-deep);
  margin-bottom: 16px;
}
.card__icon .icon { width: 22px; height: 22px; }

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

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

/* ---------- Program ---------- */
.program {
  display: grid;
  gap: 12px;
}

.week {
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: 4px 4px 0 #d5e6ff;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.week.is-open {
  border-color: var(--blue);
  background: var(--sky-pale);
  box-shadow: 6px 6px 0 #bcd7ff;
}

.week__head {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.week__num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
  -webkit-text-stroke: 1.2px var(--blue);
  min-width: 34px;
  line-height: 1;
}
.week.is-open .week__num { color: var(--blue); -webkit-text-stroke: 0; }

.week__titles { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }

.week__title {
  font-family: var(--font-display);
  font-size: clamp(0.94rem, 1.35vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.week__sub { font-size: 0.78rem; color: var(--muted-2); font-weight: 500; }

.week__chevron {
  width: 20px;
  height: 20px;
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}
.week.is-open .week__chevron { transform: rotate(180deg); }

.week__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}
.week.is-open .week__body { grid-template-rows: 1fr; }

.lessons { overflow: hidden; padding: 0 22px; }
.week.is-open .lessons { padding-bottom: 22px; }

.lessons li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1.5px dashed rgba(37, 99, 235, 0.28);
}
.lessons li:first-child { border-top: 0; padding-top: 2px; }

.lesson__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: var(--paper);
  border: 1.5px solid var(--blue);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-top: 1px;
}

.lessons strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.lessons p { color: var(--muted); font-size: 0.86rem; line-height: 1.55; }

/* ---------- Course result ---------- */
.result {
  margin-top: 28px;
  padding: clamp(24px, 3.4vw, 34px);
  border-radius: var(--radius);
  border: 2px dashed var(--blue);
  background: linear-gradient(180deg, #f4f9ff, #e9f3ff);
}

.result__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.result h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.result__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-top: 22px;
}
.result__list li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}
.result__list .icon { width: 17px; height: 17px; color: var(--blue); margin-top: 3px; flex: none; }

.result__note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1.5px dashed rgba(37, 99, 235, 0.3);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
  max-width: 90ch;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 24px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.feature:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-card-hover);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--blue-deep);
  background: var(--sky-soft);
  border: 2px solid var(--ink);
  margin-bottom: 16px;
}
.feature__icon .icon { width: 20px; height: 20px; }

.feature h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

.features__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}
.features__note .icon { width: 16px; height: 16px; color: var(--blue); margin-top: 2px; flex: none; }

/* ---------- Teachers ---------- */
.teacher-featured {
  position: relative;
  display: grid;
  grid-template-columns: 176px 1fr;
  gap: 32px;
  padding: 32px;
  border-radius: calc(var(--radius) + 4px);
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 #bcd7ff;
}

.teacher-featured__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--grad);
  border: 3px solid var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  box-shadow: 5px 5px 0 var(--ink);
}

.teacher-featured__role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-weight: 600;
}

.teacher-featured h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 10px 0 12px;
}

.teacher-featured__bio {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 62ch;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--sky-pale);
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-weight: 500;
}

.teacher-featured__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.teachers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.teacher {
  display: flex;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 #d5e6ff;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.teacher:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #bcd7ff; }

.teacher__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 15px;
  background: var(--sky-soft);
  border: 2px solid var(--ink);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.teacher h3 { font-size: 1rem; font-weight: 600; }
.teacher__role { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.teacher__meta {
  color: var(--blue);
  font-size: 0.76rem;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.teacher__certs { color: var(--muted-2); font-size: 0.76rem; line-height: 1.5; margin-top: 4px; }


/* ---------- Promo ---------- */
.promo {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 2px dashed rgba(37, 99, 235, 0.42);
  border-radius: 14px;
  background: #f7fbff;
}

.promo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.promo__head label { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }

.promo__hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #c62828;
}

.promo__row { display: flex; gap: 8px; }

.promo__row input {
  flex: 1;
  min-width: 0;
  padding: 10px 13px;
  border: 2px solid #c9d9f2;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.promo__row input::placeholder { color: #6f809d; }
.promo__row input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.promo__row .btn { flex: none; box-shadow: 2px 2px 0 var(--ink); }

@media (max-width: 420px) {
  .promo__row { flex-wrap: wrap; }
  .promo__row input { flex: 1 1 100%; }
  .promo__row .btn { width: 100%; }
}

.promo__msg { margin-top: 8px; font-size: 0.74rem; color: var(--muted); }
.promo__msg.is-ok { color: #16794a; font-weight: 600; }
.promo__msg.is-error { color: #c62828; font-weight: 600; }

/* ---------- Promo note in form ---------- */
.form__promo {
  display: block;
  padding: 8px 12px;
  border: 1.5px solid #9fdcb7;
  border-radius: 10px;
  background: #ecfbf3;
  color: #16794a;
  font-size: 0.8rem;
  font-weight: 500;
}
.form__promo .icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  vertical-align: -2px;
}

/* ---------- Teacher roster ---------- */
.roster { margin-top: 10px; }

.roster__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.roster__title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.35) 0 8px, transparent 8px 15px);
}

.teachers--roster { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.teachers--roster .teacher { padding: 16px; gap: 13px; }
.teachers--roster .teacher__avatar { width: 46px; height: 46px; border-radius: 12px; font-size: 0.88rem; }
.teachers--roster .teacher h3 { font-size: 0.92rem; }
.teachers--roster .teacher__role { font-size: 0.78rem; }
.teachers--roster .teacher__meta { font-size: 0.72rem; }
.teachers--roster .teacher__certs { font-size: 0.72rem; }

/* ---------- Price ---------- */
.price-wrap {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.price-card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: calc(var(--radius) + 4px);
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 #bcd7ff;
  overflow: hidden;
}

/* ticket perforation */
.price-card::before,
.price-card::after {
  content: '';
  position: absolute;
  top: 292px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--ink);
}
.price-card::before { left: -16px; }
.price-card::after { right: -16px; }

.price-card__top { position: relative; }
.price-card .section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 12px; }
.price-card__sub { color: var(--muted); font-size: 0.94rem; margin-top: 8px; }

.price-card__price {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  margin: 24px 0;
  padding: 22px 0;
  border-block: 2px dashed rgba(37, 99, 235, 0.4);
}

.price-card__now {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blue);
}
.price-card__now .cur { font-family: var(--font-body); font-size: 0.58em; font-weight: 600; }

.price-card__side { display: flex; flex-direction: column; gap: 6px; }

.price-card__old {
  color: var(--muted-2);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-size: 1.05rem;
}

.price-card__save {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--coral);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--ink);
}

.price-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 26px;
}
.price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}
.price-list .icon { width: 17px; height: 17px; color: var(--blue); margin-top: 2px; }

.price-card__note {
  position: relative;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.5;
}

.price-aside { display: grid; gap: 12px; }

.price-aside__item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 #d5e6ff;
}
.price-aside__item .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.price-aside__item strong { display: block; font-size: 0.9rem; font-weight: 700; }
.price-aside__item span { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.5; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }

.faq { display: grid; gap: 10px; }

.faq__item {
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: 4px 4px 0 #d5e6ff;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.faq__item[open] {
  border-color: var(--blue);
  background: var(--sky-pale);
  box-shadow: 5px 5px 0 #bcd7ff;
}

.faq__item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary > span { margin-right: auto; }

.faq__item summary .icon {
  width: 19px;
  height: 19px;
  color: var(--blue);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq__item[open] summary .icon { transform: rotate(180deg); }

.faq__body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 74ch;
}

/* ---------- Apply ---------- */
.apply {
  position: relative;
  border-top: 2px solid var(--ink);
  background:
    radial-gradient(700px 420px at 90% 10%, rgba(56, 189, 248, 0.22), transparent 65%),
    rgba(255, 255, 255, 0.5);
}

.apply__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.apply__grid > * { min-width: 0; }

.apply__copy .section-title { margin-top: 16px; }

.apply__points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.apply__points li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.apply__points .icon { width: 18px; height: 18px; color: var(--blue); }

.promo-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
}
.promo-jump .icon { width: 15px; height: 15px; }
.promo-jump:hover { text-decoration: underline; text-underline-offset: 3px; }

.apply__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  margin-top: 30px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--blue); }
.contact-link .icon { width: 18px; height: 18px; color: var(--blue); }
.contact-link__body { display: flex; flex-direction: column; line-height: 1.25; }
.contact-link__name { color: var(--muted-2); font-size: 0.78rem; font-weight: 500; }

.apply__card {
  padding: clamp(24px, 4vw, 34px);
  border-radius: calc(var(--radius) + 4px);
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 #bcd7ff;
}

.form,
.form__row,
.field,
.consent { min-width: 0; }
.form { display: grid; gap: 15px; grid-template-columns: minmax(0, 1fr); }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); }
.field { display: grid; gap: 7px; grid-template-columns: minmax(0, 1fr); }

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.req { color: var(--coral); }
.opt { color: var(--muted-2); font-weight: 400; font-size: 0.75rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border-radius: 11px;
  border: 2px solid #c9d9f2;
  background: var(--sky-pale);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field textarea { resize: vertical; min-height: 84px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder { color: #6f809d; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
  background: #fff;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--coral); }

.field__error { color: #d92d2d; font-size: 0.76rem; font-weight: 500; }
.field__error:empty { display: none; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.79rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
  position: relative;
}
.consent input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.consent__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: var(--paper);
  margin-top: 1px;
  transition: background 0.2s, border-color 0.2s;
}
.consent__box .icon { width: 13px; height: 13px; color: #fff; opacity: 0; transition: opacity 0.15s; }
.consent input:checked + .consent__box { background: var(--blue); border-color: var(--ink); }
.consent input:checked + .consent__box .icon { opacity: 1; }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--blue); outline-offset: 3px; }
.consent a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--blue); }

.form__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 0.74rem;
  text-align: center;
}
.form__note .icon { width: 14px; height: 14px; }

.form__noscript {
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid var(--yellow);
  background: #fff8e6;
  color: #8a6100;
  font-size: 0.82rem;
  line-height: 1.5;
}

.form__status { font-size: 0.82rem; border-radius: 10px; text-align: center; font-weight: 500; }
.form__status:not(:empty) { padding: 10px 14px; }
.form__status.is-error {
  color: #b42318;
  background: #fff1f0;
  border: 2px solid rgba(255, 107, 107, 0.5);
}

.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading .btn__label::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 30px 10px;
}
.form-success[hidden] { display: none; }

.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--sky-soft);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--blue);
}
.form-success__icon .icon { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.25rem; }
.form-success p { color: var(--muted); font-size: 0.9rem; max-width: 38ch; }

/* ---------- Footer ---------- */
.footer {
  border-top: 3px solid var(--ink);
  padding: 44px 0 36px;
  background: var(--ink);
  color: #dbe6ff;
}

.footer .brand__name { color: #fff; }
.footer .brand__name span { color: #7dd3fc; }
.footer .brand__mark { border-color: #ffffff; box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.35); }

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

.footer__brand p {
  margin-top: 14px;
  color: #9fb2d6;
  font-size: 0.82rem;
  max-width: 30ch;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.84rem;
  color: #b9c9e8;
  padding-top: 6px;
}
.footer__nav a { transition: color 0.2s; }
.footer__nav a:hover { color: #7dd3fc; }

.footer__contact {
  display: grid;
  gap: 8px;
  justify-items: end;
  font-size: 0.84rem;
  color: #b9c9e8;
  padding-top: 6px;
}
.footer__contact a:hover { color: #7dd3fc; }

/* ---------- Mobile bar ---------- */
.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid var(--ink);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.mobile-bar.is-visible { transform: none; }

.mobile-bar__price { display: flex; flex-direction: column; }
.mobile-bar__now {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.mobile-bar__now .cur { font-family: var(--font-body); font-size: 0.72em; font-weight: 600; color: var(--ink-soft); }
.mobile-bar__old {
  color: var(--muted-2);
  text-decoration: line-through;
  font-size: 0.75rem;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

[data-delay="1"] { --d: 1; }
[data-delay="2"] { --d: 2; }
[data-delay="3"] { --d: 3; }
[data-delay="4"] { --d: 4; }
[data-delay="5"] { --d: 5; }

/* ---------- Legal / 404 ---------- */
.legal { padding: 130px 0 90px; }
.legal__inner { max-width: 760px; }

.legal h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  margin-top: 16px;
  overflow-wrap: break-word;
  hyphens: auto;
}

.legal__updated { color: var(--muted-2); font-size: 0.82rem; margin-top: 10px; }

.legal h2 {
  font-size: 1.08rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  margin: 2em 0 0.6em;
}

.legal p,
.legal li { color: var(--muted); font-size: 0.93rem; line-height: 1.75; }

.legal p { margin-top: 0.8em; }
.legal ul { margin-top: 0.6em; padding-left: 1.2em; list-style: disc; }
.legal li { margin-top: 0.35em; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--ink); }

.legal .placeholder {
  color: #a15c00;
  background: #fff3cd;
  border-bottom: 1px dashed #d99a00;
  padding: 0 2px;
}

.legal__note {
  margin-top: 2.4em;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--yellow);
  background: #fff8e6;
  font-size: 0.85rem !important;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.error-page__inner { max-width: 520px; }

.error-page__code {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--blue);
  text-shadow: 5px 5px 0 #bcd7ff;
}

.error-page h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 12px; }

.error-page p { color: var(--muted); margin-top: 12px; }

.error-page__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr 0.9fr; gap: 36px; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .price-wrap { grid-template-columns: 1fr; }
  .price-aside { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; justify-items: start; }
  .price-card::before,
  .price-card::after { display: none; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 24px 26px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--ink);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    margin: 0;
  }
  .nav__links a { padding: 13px 14px; font-size: 1rem; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__burger { display: inline-flex; }
  .nav__actions { margin-left: auto; }
  .nav__apply {
    display: block;
    margin-top: 10px;
    text-align: center;
    background: var(--blue);
    color: #fff !important;
    font-weight: 700;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
  }
  .nav__apply:hover { background: var(--blue); }

  .hero { padding-top: 108px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; }

  .section-head--split { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-lead--right { padding: 0; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(n + 3) { margin-top: 0; }

  .teacher-featured { grid-template-columns: 1fr; gap: 24px; }
  .teacher-featured__avatar { width: 124px; border-radius: 18px; }

  .teachers,
  .teachers--roster { grid-template-columns: 1fr; }

  .teachers--roster { grid-template-columns: 1fr 1fr; }
  .apply__grid { grid-template-columns: 1fr; }
  .apply__copy { max-width: 560px; }

  .price-list { grid-template-columns: 1fr; }

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

@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }

  .hero__title { font-size: clamp(1.32rem, 6.6vw, 2.6rem); }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 8px 18px; }

  .terminal__body { font-size: 0.7rem; padding: 18px 16px 22px; min-height: 0; line-height: 1.85; }
  .terminal { transform: rotate(-0.8deg); box-shadow: 7px 7px 0 #bcd7ff; }
  .hero__visual::before { inset: -50px -30px; }
  .panel-tag { left: 14px; }

  .audience, .features, .price-aside { grid-template-columns: 1fr; }
  .teachers--roster { grid-template-columns: 1fr; }
  .result__list { grid-template-columns: 1fr; }

  .week__head { gap: 14px; padding: 16px 16px; }
  .lessons { padding: 0 16px; }
  .week.is-open .lessons { padding-bottom: 16px; }

  .price-card { padding: 24px 20px; }
  .price-card__price { gap: 14px; }
  .price-card__now { font-size: 2.5rem; }

  .faq__item summary { padding: 15px 16px; font-size: 0.9rem; }
  .faq__body { padding: 0 16px 16px; }

  .apply__card { padding: 20px 16px; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
  .footer { padding-bottom: 24px; }
}

@media (max-width: 400px) {
  .brand__name { font-size: 1rem; }
  .nav__actions .btn--sm { display: none; }
  .hero__price { gap: 10px 12px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  body::before, .nav, .mobile-bar, .scroll-progress, .hero__visual::before, .spark { display: none; }
  body { background: #fff; color: #000; }
}
