@font-face {
  font-family: "Manrope Local";
  src: local("Manrope"), local("Arial");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #132547;
  --muted: #64728a;
  --blue: #2863d5;
  --blue-dark: #194aa9;
  --line: #dfe7f2;
  --paper: #ffffff;
  --soft: #f4f7fc;
  --green: #2aa783;
  --orange: #e7a44b;
  font-family: "Manrope Local", "Trebuchet MS", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #eead4e; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; align-items: center; gap: 34px; padding: 0 max(24px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid #edf1f6; background: rgba(255,255,255,.96); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; font-weight: 800; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--blue); border-radius: 10px 10px 10px 3px; font-size: 20px; line-height: 1; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 30px); margin-left: auto; color: #475873; font-size: 13px; font-weight: 650; }
.desktop-nav a:hover, .header-phone:hover, .site-footer a:hover { color: var(--blue); }
.header-phone { color: #314361; font-size: 13px; font-weight: 750; white-space: nowrap; }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 0 22px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: white; font-size: 14px; font-weight: 750; box-shadow: 0 8px 20px rgba(40,99,213,.13); transition: background .18s ease, transform .18s ease; }
.button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding-inline: 16px; font-size: 12px; white-space: nowrap; }
.hero { min-height: 475px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 54px; padding-block: 42px 54px; }
.hero-copy { padding-block: 16px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e7f7f1; }
h1, h2, h3, p, figure { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(40px, 5vw, 61px); line-height: 1.08; letter-spacing: 0; font-weight: 850; }
h1 span { color: var(--blue); }
.hero-lead { max-width: 520px; margin-bottom: 25px; color: #52627d; font-size: 17px; line-height: 1.68; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.text-link { color: var(--blue); font-size: 13px; font-weight: 750; }
.text-link:hover { color: var(--blue-dark); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 17px; margin: 35px 0 0; padding: 0; list-style: none; color: #566780; font-size: 11px; font-weight: 700; }
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: var(--blue); background: #edf4ff; font-size: 9px; }
.hero-visual { position: relative; min-width: 0; margin: 0; }
.hero-visual img { display: block; width: 100%; aspect-ratio: 1.68; object-fit: cover; border-radius: 15px; box-shadow: 0 18px 45px rgba(25,54,103,.14); }
.hero-visual figcaption { position: absolute; left: 15px; bottom: 15px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 7px; background: white; color: #40516b; font-size: 11px; font-weight: 750; box-shadow: 0 6px 20px rgba(17,37,72,.12); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.visual-note { position: absolute; right: -16px; top: 24px; display: flex; flex-direction: column; padding: 13px 16px; transform: rotate(3deg); border: 1px solid #f0e1ba; border-radius: 4px; background: #fff9e8; color: #70613d; font-size: 10px; line-height: 1.3; box-shadow: 0 8px 18px rgba(26,47,82,.08); }
.visual-note b { font-size: 16px; }
.intro-band { border-block: 1px solid #edf1f6; background: var(--soft); }
.intro-inner { display: grid; grid-template-columns: .72fr 1.15fr 1fr; align-items: center; gap: 38px; min-height: 170px; padding-block: 32px; }
.intro-inner .eyebrow { margin: 0; }
.intro-inner h2, .section-heading h2, .approach h2, .contact-inner h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.18; letter-spacing: 0; }
.intro-inner > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.section { padding-block: 83px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-index { color: #657187; font-size: 11px; font-weight: 800; }
.subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.subject { min-height: 245px; display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: 9px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.subject:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(30,58,101,.08); }
.subject-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.subject-number { color: #657187; font-size: 10px; font-weight: 850; }
.subject-symbol { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: #edf4ff; color: var(--blue); font-family: Georgia, serif; font-size: 25px; font-weight: 700; }
.subject-green .subject-symbol { background: #e8f7f2; color: #17654f; font-family: inherit; font-size: 17px; }
.subject-orange .subject-symbol { background: #fff4e7; color: #80511d; font-family: inherit; font-size: 14px; }
.subject h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.25; }
.subject p { margin-bottom: 23px; color: var(--muted); font-size: 13px; }
.subject > a { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid #edf1f6; color: var(--blue); font-size: 12px; font-weight: 800; }
.approach { padding-block: 72px; background: #edf4ff; }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.approach h2 { font-size: clamp(30px, 4vw, 43px); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 0 0 21px; border-bottom: 1px solid #d7e2f2; }
.steps li + li { padding-top: 20px; }
.steps li > span { color: var(--blue); font-size: 11px; font-weight: 850; }
.steps h3 { margin: -4px 0 5px; font-size: 16px; }
.steps p { margin: 0; color: #596c88; font-size: 12px; }
.teachers { padding-bottom: 90px; }
.heading-aside { margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.teacher-list { border-top: 1px solid var(--line); }
.teacher-row { display: grid; grid-template-columns: .72fr 1.25fr 1fr 38px; align-items: center; gap: 18px; min-height: 83px; border-bottom: 1px solid var(--line); }
.teacher-subject { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 5px; background: #edf4ff; color: var(--blue); font-size: 10px; font-weight: 800; }
.teacher-row h3 { margin: 0; font-size: 14px; }
.teacher-row p { margin: 0; color: var(--muted); font-size: 12px; }
.teacher-row > a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); }
.teacher-row-open h3 { color: #52627d; font-weight: 700; }
.teacher-row-open .teacher-subject { background: #fff4e7; color: #80511d; }
.contact-section { padding-block: 48px; background: var(--blue); color: white; }
.contact-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; }
.contact-inner .eyebrow { margin-bottom: 8px; color: #e8f0ff; }
.contact-inner h2 { font-size: 32px; }
.contact-inner > div > p:last-child { margin: 8px 0 0; color: #f0f5ff; font-size: 13px; }
.contact-phone { display: flex; flex-direction: column; font-size: 18px; font-weight: 800; }
.contact-phone small { color: #f0f5ff; font-size: 11px; font-weight: 550; }
.button-light { border-color: white; background: white; color: var(--blue); box-shadow: none; }
.button-light:hover { background: #edf4ff; color: var(--blue-dark); }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; min-height: 86px; color: #566780; font-size: 10px; }
.site-footer .brand { margin-right: auto; font-size: 16px; }
.site-footer .brand-mark { width: 27px; height: 27px; font-size: 16px; }
.site-footer p { margin: 0 auto 0 0; }
.site-footer > a:not(.brand) { color: #53627b; font-weight: 700; }

@media (max-width: 900px) {
  .site-header { gap: 18px; }
  .desktop-nav { gap: 14px; font-size: 12px; }
  .header-phone { display: none; }
  .hero { gap: 28px; }
  .intro-inner { grid-template-columns: .6fr 1fr; gap: 22px; }
  .intro-inner > p:last-child { grid-column: 2; }
  .approach-grid { gap: 36px; }
  .contact-inner { grid-template-columns: 1fr auto; gap: 22px; }
  .contact-inner .button { grid-column: 2; }
}
@media (max-width: 650px) {
  body { font-size: 14px; }
  .wrap { width: min(100% - 36px, 520px); }
  .site-header { min-height: 65px; justify-content: space-between; gap: 12px; padding-inline: 18px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 30px; height: 30px; }
  .desktop-nav { display: none; }
  .button-small { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 25px; padding-block: 40px 42px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(38px, 11vw, 50px); }
  .hero-lead { font-size: 15px; }
  .hero-notes { gap: 10px 14px; margin-top: 24px; }
  .hero-notes li { font-size: 10px; }
  .hero-visual { margin-right: 10px; }
  .visual-note { right: -9px; top: 12px; }
  .intro-inner { grid-template-columns: 1fr; gap: 10px; min-height: auto; padding-block: 30px; }
  .intro-inner .eyebrow { margin-bottom: 4px; }
  .intro-inner > p:last-child { grid-column: auto; margin-top: 3px; }
  .section { padding-block: 58px; }
  .section-heading { align-items: start; margin-bottom: 22px; }
  .subject-grid { grid-template-columns: 1fr; gap: 11px; }
  .subject { min-height: 0; padding: 18px; }
  .subject-top { margin-bottom: 14px; }
  .subject p { margin-bottom: 16px; }
  .approach { padding-block: 52px; }
  .approach-grid { grid-template-columns: 1fr; gap: 28px; }
  .teacher-row { grid-template-columns: 1fr 34px; gap: 5px 12px; padding-block: 15px; }
  .teacher-subject { grid-column: 1; }
  .teacher-row h3 { grid-column: 1; }
  .teacher-row p { grid-column: 1; }
  .teacher-row > a { grid-column: 2; grid-row: 1 / span 3; }
  .heading-aside { max-width: 150px; padding-top: 8px; font-size: 10px; }
  .contact-inner { grid-template-columns: 1fr; gap: 18px; }
  .contact-inner .button { grid-column: 1; width: fit-content; }
  .contact-inner h2 { font-size: 29px; }
  .site-footer { gap: 12px 18px; padding-block: 20px; }
  .site-footer .brand { width: 100%; }
  .site-footer p { width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
