/* AvtoTest landing — ilovaning dizayn tokenlaridan olingan ranglar
   (core/designsystem/.../AvtoColor.kt). Tashqi shrift/CDN yo'q: sahifa
   VPS'dagi nginx'dan statik beriladi, hech qanday tashqi so'rov qilmaydi. */

:root {
  --green:   #58CC02;
  --green-d: #46A302;
  --blue:    #1CB0F6;
  --red:     #E5352B;
  --amber:   #FFC800;
  --purple:  #A560F0;

  --page:    #131F24;
  --page2:   #0A1015;
  --surface: #16242C;
  --surface2:#1B2A33;
  --line:    #2B3D47;
  --text:    #DBE6EC;
  --muted:   #8FA3AE;
  --faint:   #5F7683;

  --wrap: 1160px;
  --r: 18px;
  --r-lg: 26px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 800px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green); color: #06240A; padding: 10px 16px; border-radius: 0 0 10px 0;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

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

/* ───────────────────────────────────────────── buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 16px;
  font-weight: 800; font-size: 16px; letter-spacing: .2px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(2px); }
.btn-sm { padding: 10px 18px; font-size: 15px; border-radius: 13px; }
.btn.full { width: 100%; }

.btn-green { background: var(--green); color: #06240A; box-shadow: 0 4px 0 var(--green-d); }
.btn-green:hover { filter: brightness(1.08); }
.btn-green:active { box-shadow: 0 2px 0 var(--green-d); }

.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--faint); background: rgba(255,255,255,.03); }

.btn-dark { background: var(--page2); color: var(--text); border: 2px solid var(--line); }
.btn-dark:hover { border-color: var(--faint); }

/* ───────────────────────────────────────────── header */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(19,31,36,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.stuck { border-bottom-color: var(--line); background: rgba(10,16,21,.92); }
.nav-in { display: flex; align-items: center; gap: 26px; height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.3px;
}
.brand b { color: var(--green); font-weight: 800; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15.5px;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav-links a:hover { color: var(--text); border-bottom-color: var(--green); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.lang { display: inline-flex; background: var(--surface2); border-radius: 11px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 13.5px; font-weight: 800;
  padding: 6px 11px; border-radius: 9px; cursor: pointer;
}
.lang button.on { background: var(--green); color: #06240A; }

.burger { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; margin: 5px 0; transition: .2s; }

/* ───────────────────────────────────────────── hero */
.hero { position: relative; padding: 68px 0 74px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(88,204,2,.12); border: 1px solid rgba(88,204,2,.3);
  color: #9BE85C; font-size: 14px; font-weight: 700;
  padding: 7px 15px; border-radius: 999px; margin: 0 0 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(88,204,2,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(88,204,2,0); } 100% { box-shadow: 0 0 0 0 rgba(88,204,2,0); } }
@media (prefers-reduced-motion: reduce) { .eyebrow .dot { animation: none; } }

h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08; letter-spacing: -1.4px; font-weight: 800;
}
h1 em { font-style: normal; color: var(--green); }

.lead { margin: 0 0 30px; font-size: clamp(16.5px, 1.7vw, 19px); color: var(--muted); max-width: 560px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }
.cta-note { margin: 16px 0 0; font-size: 14.5px; color: var(--faint); }

.trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 34px;
  margin: 38px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line);
}
.trust li { display: flex; flex-direction: column; }
.trust b { font-size: 27px; font-weight: 800; letter-spacing: -.6px; }
.trust span { font-size: 13.5px; color: var(--faint); }

/* phone mockup — interaktiv namunaviy test */
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; z-index: 0; pointer-events: none; }
.blob-1 { width: 340px; height: 340px; background: var(--green); top: -50px; right: -40px; }
.blob-2 { width: 300px; height: 300px; background: var(--blue); bottom: -60px; left: -30px; opacity: .2; }

.demo-badge {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; font-size: 13px; font-weight: 700; color: #B6F27E;
}
.demo-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(88,204,2,.6); animation: pulse 2.4s infinite;
}
@media (prefers-reduced-motion: reduce) { .demo-badge .dot { animation: none; } }

.phone {
  position: relative; z-index: 1;
  width: 300px; padding: 12px;
  background: #05090C; border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  transform: rotate(-2deg);
}
.phone-screen { position: relative; background: var(--page); border-radius: 30px; padding: 16px 14px; min-height: 386px; }

.demo-caption { position: relative; z-index: 1; margin: 16px 0 0; font-size: 13.5px; color: var(--faint); text-align: center; }

.ps-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.ps-timer { background: rgba(229,53,43,.15); color: #FF8A80; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.ps-count { font-weight: 700; }
.ps-bar { height: 8px; background: var(--surface2); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.ps-bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; transition: width .35s ease; }
.ps-img { border-radius: 12px; overflow: hidden; margin-bottom: 13px; }
.ps-q { margin: 0 0 12px; font-size: 14.5px; font-weight: 700; line-height: 1.35; min-height: 38px; }

/* Tugma sifatida: bosish mumkin, klaviatura bilan ham. */
.ps-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: var(--surface); border: 2px solid var(--line); border-radius: 13px;
  padding: 10px 12px; margin-bottom: 8px; font-size: 13.5px; color: var(--muted);
  font-family: inherit; text-align: left; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.ps-opt:hover:not(:disabled) { border-color: var(--faint); color: var(--text); }
.ps-opt:active:not(:disabled) { transform: scale(.98); }
.ps-opt:disabled { cursor: default; }
.ps-opt i {
  font-style: normal; font-weight: 800; font-size: 12px;
  width: 22px; height: 22px; flex: none; display: grid; place-items: center;
  border: 2px solid var(--line); border-radius: 7px;
}
.ps-opt .tick { margin-left: auto; color: var(--green); font-weight: 800; }
.ps-opt .cross { margin-left: auto; color: #FF8A80; font-weight: 800; }

/* To'g'ri javob bosilgandan keyin doim shu rangda ko'rinadi — noto'g'ri
   tanlansa ham qaysi biri to'g'ri bo'lgani darhol ko'rinsin. */
.ps-opt.correct { border-color: var(--green); background: rgba(88,204,2,.12); color: #B6F27E; }
.ps-opt.correct i { border-color: var(--green); color: var(--green); }
.ps-opt.wrong { border-color: #E5352B; background: rgba(229,53,43,.12); color: #FF8A80; }
.ps-opt.wrong i { border-color: #E5352B; color: #FF8A80; }

.ps-explain {
  margin: 4px 0 10px; padding: 9px 11px;
  background: var(--surface2); border-radius: 11px;
  font-size: 12.5px; color: var(--muted); line-height: 1.4;
}
.ps-next {
  width: 100%; margin-top: 2px; padding: 11px;
  background: var(--green); color: #06240A; font-weight: 800; font-size: 13.5px;
  border: 0; border-radius: 13px; cursor: pointer; font-family: inherit;
}
.ps-next:hover { filter: brightness(1.08); }

/* Sinov tugagach ko'rsatiladigan natija paneli — ekranning o'zini almashtiradi. */
/* `[hidden]`: author CSS'dagi `display` UA stilidan ustun turadi, shuning
   uchun oddiy `.ps-done { display: flex }` `hidden` atributini bekor
   qilib qo'yardi va panel doim ko'rinardi. `:not([hidden])` bilan aniq
   ko'rsatilgan. */
.ps-done:not([hidden]) { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 46px 6px 10px; }
.ps-done-badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(88,204,2,.15); color: var(--green);
  display: grid; place-items: center; font-size: 26px; font-weight: 800;
  margin-bottom: 14px;
}
.ps-done-title { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.ps-done-score { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.ps-done-btn {
  padding: 11px 22px; background: transparent; color: var(--text);
  border: 2px solid var(--line); border-radius: 13px; font-weight: 700;
  font-size: 13.5px; cursor: pointer; font-family: inherit;
}
.ps-done-btn:hover { border-color: var(--faint); }

/* ───────────────────────────────────────────── strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--page2); }
.strip-in { display: flex; flex-wrap: wrap; gap: 14px 38px; justify-content: center; padding: 18px 22px; }
.strip-in span { font-size: 14.5px; color: var(--muted); font-weight: 600; }

/* ───────────────────────────────────────────── sections */
.sec { padding: 86px 0; }
.sec-alt { background: var(--page2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker { margin: 0 0 10px; color: var(--green); font-weight: 800; font-size: 13.5px; letter-spacing: 1.6px; text-transform: uppercase; }
.h2 { margin: 0 0 14px; font-size: clamp(27px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -1px; font-weight: 800; }
.sub { margin: 0 0 44px; color: var(--muted); max-width: 640px; font-size: 17px; }

/* ───────────────────────────────────────────── bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--faint); }
.card.big { grid-column: span 2; background: linear-gradient(150deg, rgba(88,204,2,.10), var(--surface) 58%); border-color: rgba(88,204,2,.28); }

/* Oxirgi qator yolg'iz karta bilan tugamasligi uchun to'liq kenglikda.
   Bu bo'lim boshqa auditoriyaga (maktablarga) qaratilgani uchun ham
   qolganlaridan ajralib turgani ma'qul. */
.card.wide {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(105deg, rgba(28,176,246,.10), var(--surface) 55%);
}
.card.wide .ic { margin-bottom: 0; flex: none; }
.card.wide > div { flex: 1; }
.card.wide .btn { flex: none; }
.card h3 { margin: 0 0 9px; font-size: 19.5px; font-weight: 800; letter-spacing: -.3px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 23px; margin-bottom: 16px; }
.ic-green  { background: rgba(88,204,2,.14); }
.ic-blue   { background: rgba(28,176,246,.14); }
.ic-red    { background: rgba(229,53,43,.14); }
.ic-amber  { background: rgba(255,200,0,.14); }
.ic-purple { background: rgba(165,96,240,.14); }

.mini-row { display: flex; gap: 12px; margin-top: 22px; }
.mini {
  flex: 1; background: rgba(0,0,0,.28); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px; text-align: center;
}
.mini b { display: block; font-size: 22px; font-weight: 800; color: var(--green); }
.mini span { font-size: 12.5px; color: var(--faint); }

/* ───────────────────────────────────────────── progress / stats preview */
.progress-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px 26px; max-width: 760px;
}
.progress-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.ptile {
  background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 15px;
  padding: 16px 14px; text-align: center;
}
.ptile-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.1px; color: var(--faint); margin-bottom: 8px; }
.ptile-value { font-size: 27px; font-weight: 800; color: var(--green); letter-spacing: -.6px; }
.ptile-value small { font-size: 14px; font-weight: 700; color: var(--muted); }

.week-chart {
  display: flex; align-items: flex-end; gap: 10px;
  height: 140px; padding: 0 4px 0; margin-bottom: 8px;
}
.week-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.week-bar i {
  display: block; width: 100%; max-width: 30px; border-radius: 7px 7px 3px 3px;
  background: var(--surface2); border: 1px solid var(--line);
}
.week-bar span { font-size: 11.5px; color: var(--faint); font-weight: 700; }
.week-bar.today i { background: var(--green); border-color: var(--green); }
.week-bar.today span { color: var(--green); }

.progress-note { margin: 18px 0 0; font-size: 13.5px; color: var(--faint); }

/* ───────────────────────────────────────────── contact form */
.contact-form { display: grid; gap: 16px; max-width: 640px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: grid; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.cf-field input,
.cf-field textarea {
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--surface); border: 2px solid var(--line); border-radius: 13px;
  padding: 12px 14px; resize: vertical;
}
.cf-field input:focus,
.cf-field textarea:focus { outline: none; border-color: var(--green); }
.cf-field input:invalid:not(:placeholder-shown),
.cf-field textarea:invalid:not(:placeholder-shown) { border-color: #E5352B; }

.cf-count { margin: -8px 0 0; font-size: 12.5px; color: var(--faint); text-align: right; }

.cf-trust { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.cf-trust li { font-size: 13.5px; color: var(--muted); }

.cf-status { margin: 0; min-height: 1.2em; font-size: 14px; font-weight: 700; color: var(--green); }
.cf-status.error { color: #FF8A80; }

/* ───────────────────────────────────────────── steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; }
.steps .num {
  display: grid; place-items: center; width: 42px; height: 42px;
  background: var(--green); color: #06240A; font-weight: 800; font-size: 19px;
  border-radius: 13px; margin-bottom: 16px;
}
.steps h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ───────────────────────────────────────────── pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; max-width: 800px; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column;
}
.plan.hot { border-color: var(--green); background: linear-gradient(165deg, rgba(88,204,2,.10), var(--surface) 55%); }
.plan .tag {
  position: absolute; top: -13px; left: 26px;
  background: var(--green); color: #06240A; font-size: 12.5px; font-weight: 800;
  padding: 5px 13px; border-radius: 999px;
}
.plan h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; letter-spacing: 1.6px; color: var(--muted); text-transform: uppercase; }
.price { margin: 0 0 4px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 40px; font-weight: 800; letter-spacing: -1.4px; }
.price span { color: var(--faint); font-size: 15px; }
.plan-d { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--text); }
.plan li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}
.pay-note { margin: 22px 0 0; color: var(--faint); font-size: 14.5px; }

/* ───────────────────────────────────────────── faq */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 4px 22px;
}
.faq details[open] { border-color: var(--faint); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative;
  font-weight: 700; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--green); font-size: 25px; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; }

/* ───────────────────────────────────────────── final */
.final { padding: 90px 0; background: linear-gradient(180deg, var(--page), #0F2116); }
.final-in { text-align: center; }
.final h2 { margin: 0 0 12px; font-size: clamp(27px, 3.8vw, 42px); letter-spacing: -1px; font-weight: 800; }
.final p { margin: 0 0 30px; color: var(--muted); font-size: 17.5px; }

/* ───────────────────────────────────────────── footer */
.foot { background: var(--page2); border-top: 1px solid var(--line); padding: 56px 0 26px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin: 14px 0 18px; color: var(--faint); font-size: 15px; max-width: 340px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  color: var(--muted); transition: .15s;
}
.social a:hover { color: var(--green); border-color: var(--green); }

.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col h4 { margin: 0 0 4px; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--green); }

.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
}
.foot-bottom p { margin: 0; color: var(--faint); font-size: 13.5px; }

/* ───────────────────────────────────────────── avtomaktab bog'lamalari
   Landing va /avtomaktab bir-biriga shu bloklar orqali o'tadi. */
.topbar {
  display: block; text-decoration: none; color: var(--text);
  background: linear-gradient(90deg, rgba(28,176,246,.14), rgba(88,204,2,.14));
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.topbar:hover { background: linear-gradient(90deg, rgba(28,176,246,.2), rgba(88,204,2,.2)); }
.tb-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding-top: 7px; padding-bottom: 7px; }
.tb-ic {
  flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(88,204,2,.18); font-size: 16px;
}
.tb-txt { font-size: 15px; line-height: 1.35; color: var(--muted); }
.tb-txt b { color: var(--text); font-weight: 800; }
.tb-cta {
  flex: none; background: var(--green); color: #06240A; font-weight: 800; font-size: 13.5px;
  padding: 6px 13px; border-radius: 999px; box-shadow: 0 2px 0 var(--green-d);
  transition: transform .12s ease, filter .12s ease;
}
.topbar:hover .tb-cta { filter: brightness(1.08); transform: translateX(2px); }

.nav-links a.nav-school { color: var(--green); }
.nav-links a { white-space: nowrap; }
/* Planshet: oltita havola bir qatorga sig'maydi — menyu mobil'dagi kabi
   gamburgerga yig'iladi, "Bepul boshlash" tugmasi esa ko'rinib qoladi. */
@media (min-width: 761px) and (max-width: 1100px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--page2); border-bottom: 1px solid var(--line); padding: 8px 22px 18px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover { border-bottom-color: var(--line); }
  .nav-right { margin-left: auto; }
  .burger { display: block; }
}

.school-promo { padding: 20px 0 90px; }
.sp-box {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
  padding: 46px; border-radius: 30px;
  background: linear-gradient(140deg, rgba(28,176,246,.12), var(--surface) 55%, rgba(88,204,2,.08));
  border: 1px solid rgba(28,176,246,.3);
}
.sp-box .h2 em { font-style: normal; color: var(--green); }
.sp-lead { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.sp-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sp-points li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px;
}
.sp-points .ic { margin: 0; flex: none; width: 42px; height: 42px; font-size: 20px; border-radius: 13px; }
.sp-points b { display: block; font-size: 16.5px; margin-bottom: 2px; }
.sp-points p { margin: 0; color: var(--muted); font-size: 14.5px; }

@media (max-width: 1000px) { .sp-box { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 760px) {
  .sp-box { padding: 28px 20px; }
  .sp-box .cta-row .btn { width: 100%; }
  .tb-in { justify-content: flex-start; gap: 10px; min-height: 52px; }
  .tb-sub { display: none; }
  .tb-txt { flex: 1; font-size: 14.5px; }
}

/* ───────────────────────────────────────────── responsive */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .lead { max-width: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card.big { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--page2); border-bottom: 1px solid var(--line); padding: 8px 22px 18px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover { border-bottom-color: var(--line); }
  .nav-right { margin-left: auto; }
  .nav-right .btn { display: none; }
  .burger { display: block; }

  .hero { padding: 44px 0 54px; }
  .cta-row .btn { width: 100%; }
  .trust { gap: 22px 30px; }
  .bento, .plans { grid-template-columns: 1fr; }
  .card.big { grid-column: span 1; }
  .card.wide { flex-direction: column; align-items: flex-start; gap: 14px; }
  .card.wide .btn { width: 100%; }
  .progress-tiles { grid-template-columns: 1fr; }
  .progress-card { padding: 26px 18px 22px; }
  .week-chart { height: 120px; }
  .cf-row { grid-template-columns: 1fr; }
  .sec { padding: 62px 0; }
  .phone { width: 268px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-brand { grid-column: span 1; }
}
