@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --ink: #171613;
  --paper: #f7f6f2;
  --paper-soft: #ffffff;
  --orange: #ffc500;
  --accent-deep: #755c00;
  --line: rgba(23, 22, 19, .16);
  --muted: #726b61;
  --serif: 'DM Serif Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #e8e4dc; color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, summary, a { -webkit-tap-highlight-color: transparent; }

/* Skip link */
.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 9999;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 8px 8px; font-size: 13px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* Sticky nav wrapper */
.nav-sticky {
  position: sticky; top: 0; z-index: 100;
  background: rgba(232, 228, 220, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23,22,19,.07);
}

.nav {
  position: relative;
  width: calc(100% - 24px); max-width: 1416px; margin: 0 auto; padding: 16px 42px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; width: max-content; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav-links { display: flex; gap: 28px; font-size: 13px; font-weight: 600; }
.nav-links a { opacity: .62; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 12px; justify-self: end; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 38px; height: 38px; background: none; border: none;
  cursor: pointer; padding: 6px; border-radius: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .22s ease, opacity .22s ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 28px;
  border-radius: 999px; padding: 13px 20px; font-size: 13px; font-weight: 700;
  transition: transform .2s ease, background .2s ease;
  border: none; cursor: pointer; font-family: inherit;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-orange { background: var(--orange); color: var(--ink); }
.large-button { padding: 17px 24px; font-size: 15px; min-width: 210px; }

.hero {
  min-height: 830px; padding: 80px 42px 40px; width: calc(100% - 24px); max-width: 1416px; margin: 12px auto 0;
  display: grid; grid-template-columns: .92fr 1.08fr; grid-template-rows: 1fr auto;
  gap: 48px 62px; position: relative; background: var(--paper); border-radius: 30px; overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 100%; background: radial-gradient(circle at 42% 14%, rgba(255,255,255,.55), transparent 36%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding: 42px 0 0; align-self: center; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,197,0,.18); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--serif); font-size: clamp(68px, 7.2vw, 110px); line-height: .88; letter-spacing: -.045em; font-weight: 400; margin: 32px 0; }
h1 .hl, h2 .hl { color: var(--ink); font-weight: 400; font-style: italic; background: linear-gradient(transparent 68%, rgba(255,197,0,.78) 68% 90%, transparent 90%); }
.hero-lead { font-size: 17px; line-height: 1.65; max-width: 560px; color: #534f49; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.text-link { font-size: 13px; font-weight: 700; display: inline-flex; gap: 13px; align-items: center; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.hero-visual { position: relative; min-height: 610px; align-self: center; overflow: hidden; border-radius: 24px; background: #c9b39b; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(20,17,13,.32)); }
.signal-card { position: absolute; z-index: 2; background: rgba(252,247,240,.95); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.5); box-shadow: 0 18px 42px rgba(29,22,14,.16); }
.signal-top { top: 28px; left: 28px; padding: 18px 20px; border-radius: 15px; min-width: 260px; }
.signal-card strong { display: block; font-size: 14px; }
.signal-label, .signal-meta { display: block; font-size: 11px; color: var(--muted); }
.signal-label { text-transform: uppercase; letter-spacing: .1em; margin-bottom: 11px; }
.signal-meta { margin-top: 5px; }
.signal-bottom { right: 28px; bottom: 28px; padding: 14px 18px 14px 14px; border-radius: 18px; display: flex; align-items: center; gap: 13px; }
.signal-bottom div:last-child span { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.score-ring { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--ink); font-family: var(--serif); font-size: 20px; }
.hero-spine { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hero-spine span { padding: 17px 12px; font-size: 13px; font-weight: 600; border-right: 1px solid var(--line); }
.hero-spine span:last-child { border-right: 0; }
.hero-spine b { font-size: 9px; color: var(--accent-deep); margin-right: 12px; }

.audience { width: calc(100% - 24px); max-width: 1416px; margin: 14px auto; padding: 82px 42px 94px; border: 1px solid rgba(23,22,19,.1); border-radius: 30px; overflow: clip; }
.audience-student { background: var(--paper-soft); }
.audience-teacher { background: #ffffff; }
.audience-school { background: var(--paper); }
.section-index { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.section-index span { font-weight: 400; color: var(--muted); }
.audience-head { display: grid; grid-template-columns: 1fr .7fr; gap: 40px; align-items: end; padding: 54px 0 46px; }
.audience-head h2, .testimonial-head h2, .demo-panel h2 { font-family: var(--serif); font-size: clamp(56px, 6.2vw, 92px); line-height: .9; letter-spacing: -.035em; font-weight: 400; margin: 18px 0 0; }
.audience-head > p, .testimonial-head > p { max-width: 520px; color: #5f5a52; font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.audience-head > p strong { color: var(--ink); }
.teacher-title { font-size: clamp(48px, 5.6vw, 84px) !important; }
.teacher-title em { color: var(--ink); font-style: italic; background: none; }
.teacher-title strong { display: block; font-family: 'DM Sans', Arial, sans-serif; font-size: .43em; line-height: 1.15; letter-spacing: -.025em; margin-top: 18px; }
.audience-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 12px; }
.audience-grid-reverse { grid-template-columns: 1.08fr .92fr; }
.photo-wrap { /* stretches to story-panel height via grid default align-items:stretch */ }
.photo-card {
  position: sticky; top: 80px;
  height: calc(100vh - 100px);
  border-radius: 24px; overflow: hidden;
  background: #cdbda8;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .7s ease; }
.photo-card:hover img { transform: scale(1.025); }
.teacher-action-photo img { object-position: 62% center; }
.photo-card::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(18,15,12,.58)); }
.photo-caption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; color: white; }
.photo-caption span { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; display: block; margin-bottom: 8px; }
.photo-caption b { font-family: var(--serif); font-size: 22px; font-weight: 400; }
/* story-panel must be taller than photo-card for sticky to have room to scroll */
.story-panel { padding: clamp(34px, 5vw, 64px); padding-bottom: 80px; background: #f7f6f2; border-radius: 24px; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; min-height: calc(100vh + 100px); }

/* ===================== ANIMATIONS ===================== */

@keyframes fadeUp   { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes scaleIn  { from { opacity:0; transform:scale(.97) translateY(14px); } to { opacity:1; transform:none; } }
@keyframes fromLeft { from { opacity:0; transform:translateX(-22px); } to { opacity:1; transform:none; } }
@keyframes fromRight{ from { opacity:0; transform:translateX(22px);  } to { opacity:1; transform:none; } }
@keyframes float    { 0%,100% { translate:0 0; } 50% { translate:0 -7px; } }
@keyframes floatAlt { 0%,100% { translate:0 0; } 50% { translate:0 -5px; } }

/* Hero: hidden before page-loaded fires */
.nav-sticky,
.hero-copy .eyebrow, .hero-copy h1, .hero-lead, .hero-actions,
.hero-visual, .signal-card, .hero-spine span { opacity: 0; }

body.page-loaded .nav-sticky          { animation: fadeIn   .5s ease            forwards; }
body.page-loaded .hero-copy .eyebrow  { animation: fadeUp   .6s ease        .1s  forwards; }
body.page-loaded .hero-copy h1        { animation: fadeUp   .85s cubic-bezier(.22,1,.36,1) .2s forwards; }
body.page-loaded .hero-lead           { animation: fadeUp   .7s ease         .45s forwards; }
body.page-loaded .hero-actions        { animation: fadeUp   .6s ease         .65s forwards; }
body.page-loaded .hero-visual         { animation: scaleIn  .9s cubic-bezier(.22,1,.36,1) .15s forwards; }
body.page-loaded .signal-top          { animation: fromLeft  .65s cubic-bezier(.22,1,.36,1) .78s forwards, float    5s ease-in-out 1.6s infinite; }
body.page-loaded .signal-bottom       { animation: fromRight .65s cubic-bezier(.22,1,.36,1) .98s forwards, floatAlt 5s ease-in-out 2.2s infinite; }
body.page-loaded .hero-spine span:nth-child(1) { animation: fadeUp .45s ease  .9s  forwards; }
body.page-loaded .hero-spine span:nth-child(2) { animation: fadeUp .45s ease 1.0s  forwards; }
body.page-loaded .hero-spine span:nth-child(3) { animation: fadeUp .45s ease 1.1s  forwards; }
body.page-loaded .hero-spine span:nth-child(4) { animation: fadeUp .45s ease 1.2s  forwards; }

/* Scroll-in reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Micro-interactions */
.button { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(23,22,19,.18); }
.button:active { transform: translateY(0); }

.perk-card { transition: transform .2s ease, box-shadow .2s ease; }
.perk-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(23,22,19,.1); }

.topic-row { transition: background .15s ease; border-radius: 8px; padding: 3px 6px; margin: 0 -6px; }
.topic-row:hover { background: rgba(23,22,19,.05); }

.flow-step { transition: transform .15s ease, box-shadow .15s ease; }
.flow-step:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(23,22,19,.1); }

.comparison-row:not(.comparison-header) { transition: background .15s ease; }

.capability-drawer summary { transition: transform .2s ease, box-shadow .2s ease; }
.capability-drawer summary:hover { transform: translateY(-2px); }

.readiness-color { transition: transform .2s ease; }
.readiness-color:hover { transform: translateY(-3px) scale(1.04); }
.story-panel h3 { font-family: var(--serif); font-size: clamp(42px, 4.3vw, 64px); font-weight: 400; letter-spacing: -.025em; line-height: .96; margin: 38px 0; }
.readiness-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.readiness-color { min-height: 92px; border-radius: 14px; padding: 13px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.readiness-color span { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; margin-bottom: 6px; }
.readiness-color b { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1; }
.readiness-color small { font-size: 10px; margin-top: 4px; opacity: .74; }
.readiness-green { background: #dbe9d4; color: #2d5b27; }
.readiness-yellow { background: #f5eaa8; color: #6d6117; }
.readiness-orange { background: #f2d0a7; color: #814c12; }
.readiness-red { background: #efc5b9; color: #923016; }
.steps { display: grid; gap: 14px; }
.journey-label { display: block; color: var(--accent-deep); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin: -12px 0 18px; }
.readiness-label { margin: 0 0 14px; }
.fresh-label { margin-top: -10px; }
.repair-card { margin-top: 14px; padding: 14px 15px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.repair-card > strong { display: block; font-size: 13px; }
.repair-card > small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.repair-path { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin-top: 12px; font-size: 11px; }
.repair-path span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.repair-path span b { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 10px; }
.repair-path i { color: var(--accent-deep); font-style: normal; }
.repair-path .repair-finish { color: #28813a; }
.repair-path .repair-finish b { background: #48b75d; color: white; }
.steps > div { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.steps > div > b { color: var(--accent-deep); font-size: 11px; }
.steps span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.steps strong { color: var(--ink); display: block; font-size: 15px; }
.journey-steps { display: grid; gap: 0; margin: 8px 0 24px; }
.journey-step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.journey-step:last-child { border-bottom: 0; }
.journey-num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.journey-body { display: flex; flex-direction: column; gap: 6px; }
.journey-body strong { font-size: 15px; color: var(--ink); display: block; }
.journey-body p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }
.journey-body .readiness-colors { margin-top: 10px; }
.journey-body .repair-path { margin-top: 10px; }

.story-panel blockquote { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--orange); }
.capability-drawer { margin-top: 26px; border: 0; }
.capability-drawer summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 16px; cursor: pointer; color: var(--ink); background: var(--orange); border-radius: 14px; box-shadow: 0 8px 22px rgba(62,48,0,.13); transition: transform .2s ease, box-shadow .2s ease; }
.capability-drawer summary:hover { transform: translateY(-1px); box-shadow: 0 11px 26px rgba(62,48,0,.17); }
.capability-drawer summary > strong { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.drawer-action { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.drawer-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--orange); font-size: 15px; line-height: 1; transition: transform .2s ease; }
.capability-drawer summary::-webkit-details-marker { display: none; }
.capability-drawer[open] summary { margin-bottom: 12px; }
.capability-drawer[open] .drawer-icon { transform: rotate(45deg); }
.capability-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 18px; }
.capability-list span { border: 1px solid currentColor; border-radius: 999px; padding: 7px 10px; font-size: 12px; opacity: .78; }
.student-benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding-bottom: 12px; }
.student-benefit-grid article { min-height: 96px; padding: 15px; border-radius: 16px; background: var(--ink); color: white; }
.student-benefit-grid h4 { color: var(--orange); font-size: 14px; line-height: 1.25; text-transform: uppercase; margin: 0 0 7px; }
.student-benefit-grid p { font-size: 12px; line-height: 1.4; margin: 0; }
.student-benefit-grid .benefit-highlight { background: var(--orange); color: var(--ink); }
.student-benefit-grid .benefit-highlight h4 { color: var(--ink); }
.dark-panel { background: var(--ink); color: white; }
.dark-panel .capability-drawer { border-color: rgba(255,255,255,.2); }
.cohort-kicker { display: block; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.class-pulse { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.class-pulse article { min-height: 126px; padding: 15px 13px; display: flex; flex-direction: column; align-items: flex-start; border-radius: 14px; }
.class-pulse b { display: block; font-family: var(--serif); font-size: clamp(42px, 4.2vw, 62px); line-height: .85; font-weight: 400; margin-bottom: 8px; }
.class-pulse span { display: block; font-size: 12px; font-weight: 700; }
.class-pulse small { display: block; font-size: 10px; margin-top: 3px; opacity: .72; }
.cohort-ready { background: #dbe9d4; color: #265630; }
.cohort-reinforce { background: #f4ddae; color: #7b5613; }
.cohort-support { background: #efc5b9; color: #882d18; }
.cohort-waiting { background: #f1eee8; color: #514b43; }
.teacher-kicker { display: block; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin-top: 32px; }
.dark-panel h3 { margin: 18px 0 20px; }
.dark-panel h3 em { color: var(--orange); font-weight: 400; }
.teacher-insights { padding: 15px 0 18px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 18px; }
.teacher-insights > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 11px; }
.teacher-insights ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; list-style: none; padding: 0; margin: 0; }
.teacher-insights li { position: relative; padding-left: 14px; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.4; }
.teacher-insights li::before { content: '•'; position: absolute; left: 0; color: var(--orange); }
.teacher-action-flow { display: grid; border-top: 1px solid rgba(255,255,255,.18); }
.teacher-action-flow article { display: grid; grid-template-columns: 34px 90px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.teacher-action-flow article > b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 11px; }
.teacher-action-flow article > strong { font-size: 13px; }
.teacher-action-flow article > p { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.45; margin: 0; }
.panel-note { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; margin: 24px 0 0; }
.support-line { font-size: 14px; border-left: 2px solid var(--orange); padding-left: 14px; margin-top: 22px; }
.support-line strong { color: var(--orange); }

.school-stage { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 9; background: #f4f1ea; }
.school-stage > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.school-comparison { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.38); }
.comparison-row { display: grid; grid-template-columns: .75fr 1fr 1fr; min-height: 58px; border-bottom: 1px solid var(--line); }
.comparison-row:last-child { border-bottom: 0; }
.comparison-row > * { display: flex; align-items: center; padding: 14px 18px; font-size: 13px; line-height: 1.45; }
.comparison-row > * + * { border-left: 1px solid var(--line); }
.comparison-row b { font-weight: 700; }
.comparison-row span { color: var(--muted); }
.comparison-row strong { color: #604b00; background: rgba(255,197,0,.14); font-weight: 700; }
.comparison-header { min-height: 40px; background: rgba(23,22,19,.035); }
.comparison-header span { color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }

.action-proof { width: calc(100% - 24px); max-width: 1416px; margin: 14px auto; padding: 76px 42px 84px; background: var(--paper); border: 1px solid rgba(23,22,19,.1); border-radius: 30px; overflow: hidden; }
.action-proof-head { margin-bottom: 30px; }
.action-proof-head > span { display: block; color: var(--accent-deep); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.action-proof-head h3 { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 66px); line-height: .96; letter-spacing: -.025em; font-weight: 400; margin: 0; }
.action-proof-head h3 em { font-weight: 400; }
.action-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.student-experience, .learning-engine { min-height: 390px; border-radius: 20px; padding: clamp(28px, 3.2vw, 44px); }
.student-experience { background: var(--paper-soft); }
.learning-engine { background: var(--ink); color: white; }
.proof-label { display: block; font-size: 13px; font-style: italic; color: var(--muted); margin-bottom: 14px; }
.learning-engine .proof-label { color: var(--orange); }
.action-proof h4 { max-width: 560px; font-size: 19px; line-height: 1.25; margin: 0 0 26px; }
.chat-flow { display: grid; gap: 10px; }
.chat-flow p { font-size: 14px; line-height: 1.45; margin: 0; }
.chat-student-row { display: flex; align-items: flex-start; justify-content: flex-end; gap: 10px; }
.chat-student { width: fit-content; max-width: 430px; background: #f1eee8; padding: 10px 14px; border-radius: 16px; }
.student-avatar { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #e0ddd7; }
.student-avatar::before { content: ''; position: absolute; width: 9px; height: 9px; top: 6px; left: 10.5px; border-radius: 50%; background: #716d66; }
.student-avatar::after { content: ''; position: absolute; width: 16px; height: 8px; left: 7px; bottom: 6px; border-radius: 10px 10px 6px 6px; background: #716d66; }
.chat-gurug { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 10px; }
.chat-gurug-logo { width: 30px; height: 30px; display: block; border-radius: 50%; overflow: hidden; background: var(--orange); }
.chat-gurug-logo img { width: 100%; height: 100%; object-fit: cover; }
.chat-gurug p { width: fit-content; max-width: 430px; background: var(--orange); padding: 10px 14px; border-radius: 16px; }
.engine-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.engine-tags span { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); border-radius: 999px; padding: 9px 14px; font-size: 13px; }
.engine-tags span::before { content: '•'; color: var(--orange); margin-right: 8px; }
.engine-tags .engine-ai { color: var(--ink); background: var(--orange); border-color: var(--orange); font-weight: 700; }
.engine-tags .engine-ai::before { display: none; }
.proof-footnote { color: var(--muted); font-size: 13px; font-style: italic; margin: 24px 0 0; }
.learning-engine .proof-footnote { color: rgba(255,255,255,.48); }

.school-bottom { display: grid; grid-template-columns: 1.65fr .75fr; gap: 28px; align-items: start; padding: 32px 0 0; }
.ecosystem-hook { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: center; padding: 20px 22px; border-radius: 16px; background: var(--ink); color: var(--cream); }
.ecosystem-hook em, .ecosystem-hook strong { display: block; }
.ecosystem-hook em { font-family: var(--serif); font-size: 22px; line-height: 1.05; color: var(--orange); }
.ecosystem-hook strong { font-size: 17px; margin-top: 5px; color: #fff; }
.ecosystem-hook p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.45; }
.school-bottom p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }
.school-bottom .capability-drawer { margin-top: 0; }

/* ===== Chief Advisors ===== */
.advisors-section {
  width: calc(100% - 24px); max-width: 1416px; margin: 14px auto;
  padding: 80px 42px 90px;
  background: var(--paper-soft); border: 1px solid rgba(23,22,19,.1);
  border-radius: 30px; overflow: hidden;
}
.advisors-inner { max-width: 900px; margin: 0 auto; }
.advisors-eyebrow {
  display: block; font-size: 12px; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-deep); margin-bottom: 14px;
}
.advisors-title {
  font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); font-weight: 400;
  letter-spacing: -.03em; line-height: .92; margin: 0 0 18px;
}
.advisors-title em { font-style: italic; color: var(--ink); background: linear-gradient(transparent 68%, rgba(255,197,0,.75) 68% 90%, transparent 90%); }
.advisors-sub { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 0 0 52px; max-width: 480px; }
.advisors-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.advisor-card {
  display: flex; align-items: center; gap: 22px;
  background: var(--paper); border-radius: 20px; padding: 24px 26px;
  border: 1px solid rgba(23,22,19,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.advisor-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(23,22,19,.1); }
.advisor-photo-wrap {
  flex-shrink: 0; width: 140px; height: 140px; border-radius: 50%;
  overflow: hidden; background: var(--orange);
}
.advisor-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.advisor-info { display: flex; flex-direction: column; gap: 4px; }
.advisor-name { font-size: 20px; font-weight: 700; color: var(--ink); display: block; }
.advisor-role {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent-deep); display: block; margin-top: 4px;
}
.advisor-domain { font-size: 14px; color: var(--muted); display: block; }

.testimonials { width: calc(100% - 24px); max-width: 1416px; margin: 14px auto; padding: 82px 42px 94px; background: var(--ink); color: white; border-radius: 30px; overflow: hidden; }
.light-index { border-color: rgba(255,255,255,.16); }
.light-index span { color: rgba(255,255,255,.5); }
.testimonial-head { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 40px; padding: 54px 0 48px; }
.eyebrow-light { color: rgba(255,255,255,.62); }
.testimonial-head > p { color: rgba(255,255,255,.55); }
.testimonial-head h2 em { color: var(--orange); background: none; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; overflow: hidden; }
.quote-grid article { min-height: 390px; padding: 30px; border-right: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; }
.quote-grid article:last-child { border-right: 0; }
.quote-mark { color: var(--orange); font-family: var(--serif); font-size: 70px; line-height: .7; }
.quote-grid blockquote { font-family: var(--serif); font-size: clamp(22px, 2vw, 31px); line-height: 1.22; font-weight: 400; margin: 28px 0 auto; }
.quote-grid footer { display: flex; flex-direction: column; gap: 5px; padding-top: 30px; }
.quote-grid footer b { font-size: 12px; }
.quote-grid footer span { font-size: 10px; color: rgba(255,255,255,.52); }
.orange-quote { background: var(--orange); color: var(--ink); }
.orange-quote .quote-mark { color: var(--ink); }
.orange-quote footer span { color: rgba(23,22,19,.68); }

.site-footer { width: calc(100% - 24px); max-width: 1416px; margin: 14px auto 0; background: var(--paper); border-radius: 30px 30px 0 0; overflow: hidden; }
.demo-panel { padding: 100px 42px; text-align: center; display: flex; align-items: center; flex-direction: column; }
.demo-panel h2 { margin: 26px 0; }
.demo-panel p { max-width: 600px; color: var(--muted); line-height: 1.65; font-size: 15px; margin-bottom: 28px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 32px 42px; display: grid; grid-template-columns: .7fr 1fr .9fr auto; gap: 34px; align-items: start; }
.footer-bottom > p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 22px; font-size: 12px; font-weight: 700; }
.copyright { font-size: 11px; color: var(--muted); text-align: right; }

/* Demo request modal */
.demo-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.demo-modal[hidden] { display: none; }
.demo-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(23, 22, 19, 0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.demo-modal-panel {
  position: relative; z-index: 1;
  background: var(--paper-soft); border-radius: 24px; padding: 40px;
  width: 100%; max-width: 480px;
  box-shadow: 0 32px 80px rgba(23,22,19,.28);
  max-height: 90vh; overflow-y: auto;
}
.demo-modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; background: rgba(23,22,19,.07);
  border: none; border-radius: 50%; cursor: pointer; font-size: 14px;
  display: grid; place-items: center; color: var(--ink);
  transition: background .15s; font-family: inherit;
}
.demo-modal-close:hover { background: rgba(23,22,19,.14); }
.demo-modal-head { text-align: center; margin-bottom: 28px; }
.demo-modal-head img { margin: 0 auto 14px; border-radius: 50%; }
.demo-modal-head h3 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin: 0 0 8px; }
.demo-modal-head p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }
.demo-form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.form-row input {
  padding: 12px 14px; border: 1.5px solid rgba(23,22,19,.18); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: var(--paper);
  transition: border-color .15s; outline: none; width: 100%;
}
.form-row input:focus { border-color: var(--ink); }
.form-row input::placeholder { color: rgba(23,22,19,.35); }
.form-submit { margin-top: 8px; width: 100%; justify-content: center; gap: 12px; }
.demo-success { display: grid; place-items: center; text-align: center; gap: 10px; padding: 20px 0 8px; }
.demo-success[hidden] { display: none; }
.demo-success-icon { width: 56px; height: 56px; background: #48b75d; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 24px; margin: 0 auto; }
.demo-success strong { font-size: 20px; }
.demo-success p { color: var(--muted); font-size: 14px; margin: 0; }

/* Student perks grid */
.student-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 16px 0 12px;
}
.perk-card {
  background: rgba(23,22,19,.04);
  border-radius: 12px;
  padding: 14px 16px;
}
.perk-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}
.perk-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.perk-highlight {
  background: var(--ink);
}
.perk-highlight h4 { color: #fff; }
.perk-highlight p  { color: rgba(255,255,255,.65); }

/* Shared learning loop */
.shared-loop {
  background: var(--ink);
  border-radius: 14px;
  padding: 14px 18px 16px;
  margin-bottom: 10px;
}
.shared-loop .phase-label { color: rgba(255,255,255,.5); }
.shared-loop .flow-step { background: rgba(255,255,255,.1); color: #fff; }
.shared-loop .flow-arrow { color: rgba(255,255,255,.35); }
.shared-loop .flow-assess { background: var(--orange); color: var(--ink); }

/* Phase blocks — Students section */
.phase-block {
  background: rgba(23,22,19,.04);
  border-radius: 14px;
  padding: 20px 20px 16px;
  margin-bottom: 10px;
}
.phase-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.phase-desc {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.5;
}
.phase-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 8px;
}
.phase-ready {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  padding: 10px 0;
  margin: 4px 0;
}
.phase-ready strong { color: #2d7a45; }

/* Topic readiness list */
.topic-readiness {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
/* Strict 4-column grid: dot | name | status text | button */
.topic-row {
  display: grid;
  grid-template-columns: 10px 1fr 96px 88px;
  align-items: center;
  column-gap: 10px;
  font-size: 13px;
  padding: 5px 0;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  justify-self: center;
}
.t-red    { background: #e84040; }
.t-orange { background: #f07030; }
.t-yellow { background: #e8a800; }
.t-green  { background: #3aac5c; }
.t-name { display: flex; align-items: baseline; gap: 6px; font-weight: 400; overflow: hidden; }
.t-grade { font-size: 10px; color: var(--muted); font-weight: 400; opacity: .7; white-space: nowrap; }
/* Status — plain colored text, no pill shape */
.t-status {
  font-size: 11px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-status-green  { color: #2a8a48; }
.t-status-yellow { color: #9a6600; }
.t-status-orange { color: #b84010; }
.t-status-red    { color: #b83030; }
.chapter-label-row { margin-bottom: 4px; }
.chapter-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: var(--orange); padding: 4px 10px; border-radius: 20px; }
.prereq-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); opacity: .65; margin: 6px 0 4px; }
/* Action pill buttons — fixed width so they align */
.fix-btn { border: none; cursor: pointer; font-family: var(--sans); font-size: 11px; font-weight: 700; padding: 5px 0; border-radius: 20px; letter-spacing: .02em; white-space: nowrap; width: 100%; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.fix-btn:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.fix-btn-green  { background: #3aac5c; color: #fff; }
.fix-btn-red    { background: #e84040; color: #fff; }
.fix-btn-orange { background: #f07030; color: #fff; }
.fix-btn-yellow { background: #e8a800; color: #fff; }

/* Learning flow row */
.flow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0 4px;
}
.flow-step {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(23,22,19,.07);
  white-space: nowrap;
}
.flow-arrow {
  font-size: 11px;
  color: var(--muted);
}
.flow-green {
  background: #d8f5e4;
  color: #1e6e3a;
}
.flow-assess {
  background: var(--orange);
  color: var(--ink);
}

/* Assessment levels */
.assess-levels {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0 2px;
}
.assess-levels span {
  font-size: 11px;
  color: var(--muted);
  background: rgba(23,22,19,.05);
  padding: 2px 8px;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .nav { padding: 16px 18px; grid-template-columns: 1fr auto; }
  .brand { font-size: 17px; gap: 9px; }
  .brand img { width: 38px; height: 38px; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 1px); left: -12px; right: -12px;
    background: rgba(232, 228, 220, 0.98); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    flex-direction: column; gap: 0; padding: 8px 22px 16px;
    border-bottom: 1px solid rgba(23,22,19,.1); box-shadow: 0 8px 24px rgba(23,22,19,.08);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid rgba(23,22,19,.07); font-size: 15px; opacity: 1; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero { padding: 52px 22px 28px; grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding-top: 10px; }
  h1 { font-size: clamp(60px, 16vw, 86px); }
  .hero-visual { min-height: 500px; }
  .hero-spine { grid-template-columns: repeat(2, 1fr); }
  .hero-spine span:nth-child(2) { border-right: 0; }
  .hero-spine span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .audience, .testimonials { padding: 62px 22px 72px; }
  .action-proof { padding: 62px 22px 72px; }
  .audience-head, .testimonial-head { grid-template-columns: 1fr; padding: 42px 0 36px; }
  .audience-head h2, .testimonial-head h2, .demo-panel h2 { font-size: clamp(50px, 14vw, 74px); }
  .audience-head > p, .testimonial-head > p { max-width: 100%; }
  .hero-lead { max-width: 100%; }
  .signal-top { min-width: 0; max-width: calc(100% - 56px); }
  .class-pulse { grid-template-columns: repeat(2, 1fr); }
  .class-pulse small { font-size: 11px; }
  .audience-grid, .audience-grid-reverse { grid-template-columns: 1fr; gap: 8px; }
  /* CRITICAL: allow grid items to shrink below their minimum content width */
  .audience-grid > *, .audience-grid-reverse > * { min-width: 0; }
  .audience-grid-reverse .dark-panel { order: 2; }
  .photo-wrap { order: -1; }
  .photo-card { position: relative; top: auto; height: 460px; }
  .story-panel { min-height: 0; padding-bottom: clamp(34px, 5vw, 64px); overflow: hidden; }
  /* Allow story-panel flex children to shrink properly */
  .story-panel > * { min-width: 0; }
  .school-stage { min-height: 0; }
  .school-bottom { grid-template-columns: 1fr; gap: 24px; }
  .ecosystem-hook { grid-template-columns: 1fr; gap: 12px; }
  .action-proof-grid { grid-template-columns: 1fr; }
  /* Allow action-proof grid items to shrink */
  .action-proof-grid > * { min-width: 0; }
  .school-comparison { overflow: visible; border-radius: 12px; }
  .comparison-header { display: none; }
  .comparison-row { grid-template-columns: 1fr; min-height: 0; border-bottom: 0; margin-bottom: 10px; border-radius: 12px; border: none; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
  .comparison-row:last-child { margin-bottom: 0; }
  .comparison-row > * { border-left: 0 !important; border-top: 0 !important; padding: 10px 14px; font-size: 13px; display: flex; flex-direction: column; align-items: flex-start; }
  .comparison-row > *:first-child { background: rgba(23,22,19,.04); font-size: 14px; font-weight: 700; border-radius: 12px 12px 0 0; }
  .comparison-row span { border-top: 1px solid rgba(0,0,0,.08) !important; }
  .comparison-row strong { background: #f5c432 !important; border-radius: 0 0 12px 12px; color: #17160e !important; }
  .comparison-row b::before { content: none; }
  .comparison-row span::before { content: 'Others'; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: block; margin-bottom: 4px; }
  .comparison-row strong::before { content: 'GuruG'; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 4px; color: #5a3e00; }
  /* topic rows keep auto grid on tablet — columns size naturally */
  .flow-row { flex-wrap: wrap; gap: 6px; }
  /* Allow flow steps to wrap on mobile so long text doesn't expand the layout */
  .flow-step { white-space: normal; word-break: break-word; }
  .student-perks { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); min-height: 330px; }
  .quote-grid article:last-child { border-bottom: 0; }
  .footer-bottom { padding: 30px 22px; grid-template-columns: 1fr; }
  .copyright { text-align: left; }
  .demo-modal-panel { padding: 28px 22px; }
}

@media (max-width: 900px) {
  .advisors-section { padding: 60px 22px 70px; }
  .advisors-grid { grid-template-columns: 1fr; gap: 14px; }
  .advisor-card { gap: 20px; padding: 22px 24px; }
  .advisor-photo-wrap { width: 110px; height: 110px; }
  .advisor-name { font-size: 18px; }
}

@media (max-width: 520px) {
  /* Reduce outer gap so content sections fill more of the screen */
  .audience, .testimonials, .action-proof, .site-footer, .advisors-section { width: calc(100% - 12px); }
  .advisors-section { padding: 48px 14px 56px; }
  /* Reduce audience section side padding */
  .audience, .testimonials { padding-left: 14px; padding-right: 14px; }
  .action-proof { padding-left: 14px; padding-right: 14px; }

  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .hero-visual { min-height: 430px; }
  .signal-top { left: 14px; top: 14px; min-width: 0; max-width: calc(100% - 28px); }
  .signal-bottom { left: 14px; right: 14px; bottom: 14px; }
  /* Reduce story-panel padding so inner boxes are wider */
  .story-panel { padding: 26px 14px; }
  /* Reduce phase-block, shared-loop padding */
  .phase-block { padding: 16px 14px 13px; }
  .shared-loop { padding: 12px 14px 14px; }
  .student-experience, .learning-engine { min-height: 0; padding: 24px 18px; }
  /* Readiness colours — 2×2 on small screens so text stays readable */
  .readiness-colors { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .readiness-color { min-height: 80px; padding: 10px 12px; border-radius: 12px; }
  .readiness-color span { font-size: 10px; letter-spacing: .06em; }
  .readiness-color b { font-size: 18px; }
  .readiness-color small { font-size: 10px; display: block; }
  .repair-path { flex-wrap: wrap; }
  .student-benefit-grid, .teacher-insights ul { grid-template-columns: 1fr; }
  .class-pulse { grid-template-columns: repeat(2, 1fr); }
  .class-pulse article { min-height: 118px; }
  .teacher-action-flow article { grid-template-columns: 32px 78px 1fr; gap: 9px; }
  .demo-panel { padding: 78px 22px; }

  /* Topic readiness — name wraps to fill line, badge+button stay inline */
  /* Topic rows on small screens — flexbox so name fills row 1, status+button row 2 */
  .topic-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .t-dot { flex-shrink: 0; }
  .t-name { flex: 1 0 calc(100% - 24px); }
  .t-status { margin-left: 18px; font-size: 13px; flex-shrink: 0; text-align: left; }
  .fix-btn { flex-shrink: 0; width: auto; padding: 5px 14px; font-size: 13px; }

  /* Font readability on small screens */
  .teacher-insights li { font-size: 13px; }
  .teacher-action-flow article > p { font-size: 13px; }
  .student-benefit-grid p { font-size: 13px; }
  .class-pulse small { font-size: 11px; }
  .panel-note { font-size: 15px; }
  .hero-lead { font-size: 16px; }
  .t-name { font-size: 14px; }
  .t-grade { font-size: 11px; }

  /* Flow rows — wrap on mobile */
  .flow-row { flex-wrap: wrap; gap: 6px; }
  .flow-arrow { font-size: 12px; }
  .flow-step { font-size: 12px; padding: 6px 12px; }

  /* Chapter chip */
  .chapter-chip { font-size: 12px; padding: 4px 10px; }
  .prereq-label { font-size: 12px; }
  .phase-label { font-size: 12px; }

  /* Shared loop */
  .shared-loop { padding: 14px 16px; }

  /* Engine tags */
  .engine-tags { gap: 6px; }
  .engine-tags span { font-size: 11px; padding: 5px 10px; }

  /* Section index */
  .section-index { font-size: 12px; }
  .quote-grid footer span { font-size: 12px; }

  /* Perk cards */
  .student-perks { grid-template-columns: 1fr; }

  /* School comparison — fully stacked on small mobile */
  .comparison-row > * { padding: 9px 12px; }

  /* Demo modal */
  .demo-modal-inner { width: 100%; margin: 0; border-radius: 20px 20px 0 0; position: fixed; bottom: 0; top: auto; }
  .demo-modal { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .nav-sticky, .hero-copy .eyebrow, .hero-copy h1, .hero-lead, .hero-actions,
  .hero-visual, .signal-card, .hero-spine span, .reveal { opacity: 1 !important; transform: none !important; }
}
