/* ============================================================
   TutorSwan — style.css
   Palette: #4F46E5 indigo · #06B6D4 cyan · #FFFFFF · #F8FAFC · #111827
   Type: Inter
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --white:   #ffffff;
  --gray:    #F8FAFC;
  --gray-2:  #F1F5F9;
  --ink:     #111827;
  --ink-2:   #374151;
  --muted:   #6B7280;
  --line:    #E5E7EB;
  --line-2:  #EEF2F7;

  --indigo:  #4F46E5;
  --indigo-2:#4338CA;
  --indigo-soft:#EEF2FF;
  --cyan:    #06B6D4;
  --cyan-soft:#ECFEFF;

  --grad:    linear-gradient(120deg, #4F46E5 0%, #06B6D4 100%);
  --grad-soft: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);

  --radius:   16px;
  --radius-lg:24px;
  --radius-sm:12px;
  --maxw:     1180px;

  --shadow-xs: 0 1px 2px rgba(17,24,39,.05);
  --shadow-sm: 0 4px 14px -6px rgba(17,24,39,.12);
  --shadow:    0 18px 40px -18px rgba(17,24,39,.18);
  --shadow-indigo: 0 20px 40px -16px rgba(79,70,229,.4);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ---------- A11y ---------- */
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 14px;
  border-radius: 10px; font-weight: 600; font-size: .9rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(79,70,229,.4); border-radius: 10px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.container-narrow { max-width: 760px; }

.section { padding: 112px 0; }
.section-gray { background: var(--gray); }

.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-soft);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.12;
}
.section-lead {
  margin-top: 18px; font-size: 1.1rem; color: var(--muted);
  max-width: 560px; margin-left: auto; margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-primary { background: var(--indigo); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--indigo-2); transform: translateY(-2px); box-shadow: var(--shadow-indigo); }
.btn-soft { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-soft:hover { border-color: var(--indigo); color: var(--indigo); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-name { font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .94rem; font-weight: 500; color: var(--ink-2); position: relative; transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--indigo); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 80px 0 96px; overflow: hidden; background: var(--grad-soft); }
.hero-glow {
  position: absolute; top: -160px; right: -120px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.14) 0%, rgba(6,182,212,.10) 40%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 56px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .84rem; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-xs);
  margin-bottom: 26px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(6,182,212,.16); }

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  font-weight: 900; letter-spacing: -.045em; line-height: 1.03;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { margin-top: 24px; font-size: 1.18rem; color: var(--muted); max-width: 500px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--muted); }

.hero-art { position: relative; }
.hero-svg { width: 100%; max-width: 520px; margin: 0 auto; }

/* hero float animations */
.float-slow { animation: floatY 7s ease-in-out infinite; transform-origin: center; }
.float-a { animation: floatY 5s ease-in-out infinite; }
.float-b { animation: floatY 6s ease-in-out infinite .5s; }
.float-c { animation: floatY 5.5s ease-in-out infinite 1s; }
.float-d { animation: floatY 4.5s ease-in-out infinite .3s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.pen-draw { stroke-dasharray: 60; stroke-dashoffset: 60; animation: penDraw 2s var(--ease) 1s forwards; }
@keyframes penDraw { to { stroke-dashoffset: 0; } }

/* ---------- Statistics ---------- */
.stats {
  margin-top: 84px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px 28px;
  box-shadow: var(--shadow);
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 44px; background: var(--line);
}
.stat-num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 900; letter-spacing: -.03em; line-height: 1;
  color: var(--indigo);
}
.stat-label { display: block; margin-top: 8px; font-size: .92rem; color: var(--muted); }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  display: block;
}
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.cat-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.cat-icon svg { width: 24px; height: 24px; }
.cat-i1 { background: #EEF2FF; color: #4F46E5; }
.cat-i2 { background: #ECFEFF; color: #0891B2; }
.cat-i3 { background: #F0FDF4; color: #16A34A; }
.cat-i4 { background: #FEF3F2; color: #E11D48; }
.cat-i5 { background: #FFF7ED; color: #EA580C; }
.cat-i6 { background: #EEF2FF; color: #4F46E5; }
.cat-i7 { background: #FAF5FF; color: #9333EA; }
.cat-i8 { background: #ECFEFF; color: #0891B2; }
.cat h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
.cat p { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ============================================================
   WHY
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--indigo-soft); color: var(--indigo);
}
.why-icon svg { width: 26px; height: 26px; }
.why h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   HOW IT WORKS — learning path
   ============================================================ */
.path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.path::before {
  content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  border-radius: 3px; opacity: .35;
}
.path-step { position: relative; text-align: center; }
.path-node {
  width: 56px; height: 56px; margin: 0 auto 22px;
  border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem; color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-indigo);
  position: relative; z-index: 1;
}
.path-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.path-step:hover .path-card { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.path-card p { color: var(--muted); font-size: .93rem; }

/* ============================================================
   FEATURED PROGRAMS
   ============================================================ */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  display: flex; flex-direction: column;
}
.prog:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prog-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.prog-icon svg { width: 26px; height: 26px; }
.prog-i1 { background: #EEF2FF; color: #4F46E5; }
.prog-i2 { background: #ECFEFF; color: #0891B2; }
.prog-i3 { background: #FFF7ED; color: #EA580C; }
.prog-i4 { background: #F0FDF4; color: #16A34A; }
.prog-i5 { background: #FAF5FF; color: #9333EA; }
.prog-i6 { background: #FEF3F2; color: #E11D48; }
.prog h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.prog p { color: var(--muted); font-size: .95rem; flex: 1; }
.prog-tag {
  margin-top: 18px; align-self: flex-start;
  font-size: .8rem; font-weight: 600; color: var(--indigo);
  background: var(--indigo-soft); padding: 5px 12px; border-radius: 999px;
}

/* ============================================================
   LEARNING EXPERIENCE (split + dashboard)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split-copy .section-title { margin-top: 18px; }
.split-copy .section-lead { max-width: 460px; margin-left: 0; margin-right: 0; }
.exp-list { margin: 28px 0 34px; display: flex; flex-direction: column; gap: 14px; }
.exp-list li { position: relative; padding-left: 32px; color: var(--ink-2); font-size: 1rem; }
.exp-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--indigo-soft);
}
.exp-list li::after {
  content: ""; position: absolute; left: 6px; top: 8px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo);
  transform: rotate(-45deg);
}

/* dashboard */
.dash {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 24px; overflow: hidden;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.dash-hi { display: flex; align-items: center; gap: 12px; }
.dash-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: var(--grad);
}
.dash-hi strong { display: block; font-size: 1rem; }
.dash-hi span { font-size: .82rem; color: var(--muted); }
.dash-streak {
  font-size: .82rem; color: var(--ink-2);
  background: #FFF7ED; border: 1px solid #FED7AA;
  padding: 7px 12px; border-radius: 999px;
}
.dash-streak b { color: #EA580C; }

.dash-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash-card { background: var(--gray); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px; }
.dash-label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.dash-classes { grid-column: span 2; }

.class-list { display: flex; flex-direction: column; gap: 10px; }
.class-list li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--ink-2); }
.class-list em { margin-left: auto; font-style: normal; font-size: .8rem; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-i { background: var(--indigo); }
.dot-c { background: var(--cyan); }

.assign-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--ink-2); padding: 5px 0; }
.assign-row > span:first-child { min-width: 0; }
.badge { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.badge-due { background: #FEF2F2; color: #DC2626; }
.badge-done { background: #F0FDF4; color: #16A34A; }

.prog-line { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .84rem; color: var(--ink-2); }
.prog-line i { display: block; height: 8px; background: var(--line); border-radius: 6px; overflow: hidden; }
.prog-line b { display: block; height: 100%; background: var(--grad); border-radius: 6px; }

.medals { display: flex; gap: 8px; }
.medal {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.1rem;
  background: #fff; border: 1px solid var(--line);
}
.medal-more { font-size: .82rem; font-weight: 700; color: var(--muted); }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-check {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: var(--grad); position: relative;
}
.benefit-check::after {
  content: ""; position: absolute; left: 10px; top: 9px;
  width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.benefit h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.benefit p { color: var(--muted); font-size: .92rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] { border-color: #C7D2FE; box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-size: 1.04rem; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 15px; height: 15px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--indigo); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-plus::before { top: 6.5px; left: 0; width: 15px; height: 2px; }
.faq-plus::after  { left: 6.5px; top: 0; width: 2px; height: 15px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-body { padding: 0 24px 22px; color: var(--muted); font-size: .97rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact-copy .section-title { margin-top: 18px; }
.contact-copy .section-lead { max-width: 440px; margin-left: 0; margin-right: 0; }
.contact-facts { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-facts li { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-facts span { color: var(--muted); font-size: .92rem; }
.contact-facts strong { font-weight: 700; font-size: .95rem; }

.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .96rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.field .invalid { border-color: #EF4444; }
.form-note { margin-top: 6px; font-size: .88rem; min-height: 20px; }
.form-note.ok { color: #16A34A; }
.form-note.err { color: #EF4444; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #D1D5DB; padding: 72px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 56px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; color: #9CA3AF; font-size: .94rem; max-width: 300px; }
.footer-domain { margin-top: 16px !important; color: #818CF8 !important; font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-cols h4 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9CA3AF; margin-bottom: 16px; }
.footer-cols a { display: block; margin-bottom: 11px; color: #D1D5DB; font-size: .92rem; transition: color .2s var(--ease); }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 26px; font-size: .85rem; color: #6B7280; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { order: -1; }
  .hero-svg { max-width: 400px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .path::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 680px) {
  .container { padding: 0 22px; }
  .section { padding: 80px 0; }

  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 20px;
    transform: translateY(-150%); transition: transform .32s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line-2); }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 52px 0 72px; }
  .hero-title { font-size: 2.6rem; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; padding: 32px 20px; margin-top: 56px; }
  .stat:nth-child(2)::after, .stat:not(:last-child)::after { display: none; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .prog-grid, .benefits-grid { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-classes { grid-column: span 1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 24px; }
  .section-head { margin-bottom: 48px; }
}

@media (max-width: 400px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
