:root {
    --bg: #ffffff;
    --bg-soft: #f6f6f7;
    --ink: #141414;
    --ink-2: #2d2d30;
    --muted: #606065;
    --line: #e3e3e6;
    --line-2: #eeeef0;

    --accent: #d1202b;
    --accent-deep: #a8141d;
    --accent-soft: #fce7e8;
    --on-accent: #ffffff;
    --frame: #d1202b;
    --frame-w: 11px;

    --container: 1200px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(16, 20, 28, 0.04), 0 1px 3px rgba(16, 20, 28, 0.05);
    --shadow-md: 0 4px 14px rgba(16, 20, 28, 0.06), 0 1px 4px rgba(16, 20, 28, 0.04);
    --shadow-lg: 0 18px 36px rgba(16, 20, 28, 0.09), 0 6px 12px rgba(16, 20, 28, 0.06);

    --t-display: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --t-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--t-body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    overflow-x: clip;
    padding: var(--frame-w);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent); color: var(--on-accent); }

body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: var(--frame-w) solid var(--frame);
    pointer-events: none;
    z-index: 1000;
}

@media (max-width: 720px) {
    :root { --frame-w: 7px; }
}
@media (max-width: 400px) {
    :root { --frame-w: 6px; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
    outline: 2.5px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px;
}
.btn:focus-visible {
    outline-offset: 4px;
}

h1, h2, h3, h4 {
    font-family: var(--t-display);
    color: var(--ink);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
}

p { color: var(--ink-2); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}


.eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    padding: 6px 14px 6px 8px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}
.pill::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px oklch(94% 0.10 95);
}


.hi {
    color: var(--accent);
}


.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 6vw, 64px);
}
.section-head--left {
    text-align: left;
    max-width: 720px;
    margin: 0 0 clamp(40px, 5vw, 56px);
}
.section-head h2 {
    font-size: clamp(2rem, 3.6vw, 2.875rem);
    font-weight: 700;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    color: var(--ink);
}
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    border-color: var(--accent);
}
@media (hover: hover) {
    .btn-primary:hover {
        background: var(--accent-deep);
        color: var(--on-accent);
        border-color: var(--accent-deep);
        transform: translateY(-1px);
    }
}
.btn-primary:active { transform: translateY(0); }

.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover {
    background: oklch(32% 0.012 250);
    transform: translateY(-2px);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--ink);
    padding-bottom: 2px;
    border-bottom: 2px solid var(--ink);
    transition: gap 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-link span { transition: transform 0.3s ease; }
.btn-link:hover { gap: 10px; }
.btn-link:hover span { transform: translateX(3px); }


.nav {
    position: sticky;
    top: var(--frame-w);
    z-index: 100;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(14, 28, 36, 0.04);
    background: rgba(255, 255, 255, 0.94);
}
.nav-row {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--t-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--ink);
    letter-spacing: -0.025em;
    position: relative;
}
.logo::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--accent);
    border-radius: 2px;
    margin-right: 2px;
}
.nav-links {
    display: flex;
    gap: 4px;
    margin-left: auto;
}
.nav-links a {
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    color: var(--ink-2);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }

.burger {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-soft);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 18px 24px 26px;
    border-top: 1px solid var(--line);
    background: #fff;
    gap: 4px;
    z-index: 99;
    box-shadow: 0 12px 32px rgba(16, 20, 28, 0.10);
}
.nav-mobile a {
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--ink);
    font-weight: 600;
    font-size: 1.0625rem;
}
@media (hover: hover) {
    .nav-mobile a:hover { background: var(--bg-soft); }
}
.nav-mobile .btn { margin-top: 12px; align-self: stretch; }
.nav-mobile .btn-primary { color: var(--on-accent); }
.nav-mobile.is-open { display: flex; }


.hero {
    padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 80px);
    position: relative;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 5.8vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    font-weight: 700;
}
.hero-copy > p {
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.55;
    color: var(--ink-2);
    margin-bottom: 32px;
    max-width: 540px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    align-items: center;
    margin-bottom: 36px;
}
.hero-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 500;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-trust li.dash {
    color: var(--line);
    margin: 0 4px;
}
.hero-trust svg {
    width: 17px;
    height: 17px;
    color: var(--ink);
    opacity: 0.6;
}

.hero-photo {
    position: relative;
    isolation: isolate;
}
.hero-tape {
    position: absolute;
    background: var(--accent);
    z-index: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
}
.hero-tape--1 {
    inset: 24px -24px -16px 18px;
}
.hero-tape--2 {
    display: none;
}
.hero-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: clamp(420px, 56vw, 600px);
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.hero-card {
    position: absolute;
    left: -28px;
    bottom: 38px;
    z-index: 2;
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-md);
    max-width: 286px;
    border: 1px solid var(--line-2);
}
.hero-badge {
    position: absolute;
    z-index: 2;
    top: 24px;
    right: -16px;
    background: var(--ink);
    color: #fff;
    padding: 14px 18px 12px;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transform: rotate(3deg);
}
.hero-badge strong {
    display: block;
    font-family: var(--t-display);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero-badge span {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: oklch(80% 0.008 250);
    margin-top: 4px;
    font-weight: 600;
}
.hero-card-stars {
    color: var(--accent-deep);
    font-size: 0.875rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.hero-card p {
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 6px;
}
.hero-card small {
    font-size: 0.8125rem;
    color: var(--muted);
    font-weight: 500;
}


.stats {
    padding: 44px 0;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    background: #fff;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-left: 18px;
    border-left: 2px solid var(--accent);
}
.stat strong {
    font-family: var(--t-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: var(--ink);
    letter-spacing: -0.02em;
    font-weight: 700;
}
.stat span {
    font-size: 0.875rem;
    color: var(--muted);
}


.about {
    padding: clamp(72px, 9vw, 120px) 0;
    background: var(--bg-soft);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.about-photo {
    position: relative;
    isolation: isolate;
}
.about-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: clamp(400px, 50vw, 540px);
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.about-photo::before {
    content: '';
    position: absolute;
    inset: 14px -14px -14px 14px;
    background: var(--accent);
    border-radius: var(--radius-lg);
    z-index: 0;
}
.about-copy h2 {
    font-size: clamp(2rem, 3.4vw, 2.875rem);
    margin-bottom: 20px;
    font-weight: 700;
}
.about-copy .lead {
    font-size: 1.0625rem;
    color: var(--ink-2);
    margin-bottom: 28px;
    max-width: 52ch;
}


.checks {
    list-style: none;
    display: grid;
    gap: 12px;
}
.checks li {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 12px;
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
}
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    color: var(--on-accent);
    flex-shrink: 0;
}
.check svg { width: 13px; height: 13px; }


.process {
    padding: clamp(72px, 9vw, 120px) 0;
    background: #fff;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.process-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}
.step {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--on-accent);
    border-radius: 50%;
    font-family: var(--t-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.step p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}


.panel {
    padding: clamp(72px, 9vw, 120px) 0;
}
.panel--teacher { background: var(--bg-soft); }

.panel-inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.panel-copy h2 {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    margin-bottom: 18px;
    font-weight: 700;
}
.panel-copy > p {
    font-size: 1.0625rem;
    color: var(--ink-2);
    margin-bottom: 28px;
    max-width: 48ch;
}

.panel-photo {
    margin-top: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.panel-photo img {
    width: 100%;
    height: clamp(280px, 30vw, 360px);
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.panel-photo:hover img { transform: scale(1.03); }

.panel-inner--flip .panel-copy { order: 2; }
.panel-inner--flip .form-card { order: 1; }

.panel-inner--single {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(40px, 6vw, 72px);
}
.panel-inner--single .panel-copy { padding-top: 12px; }


.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 16px;
}
.panel--teacher .form-card { background: #fff; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: block;
}
.field > span,
.field legend {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-soft);
    border: 1.5px solid transparent;
    border-radius: 12px;
    color: var(--ink);
    font: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: oklch(66% 0.008 250); }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--ink);
}
.form-card textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.form-card select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}
.field:has(select)::after {
    content: '';
    position: absolute;
    right: 16px;
    bottom: 20px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: rotate(45deg);
    pointer-events: none;
}


.field--file .file-drop {
    position: relative;
    border: 2px dashed oklch(82% 0.008 250);
    border-radius: 14px;
    background: var(--bg-soft);
    padding: 22px;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}
.field--file .file-drop:hover {
    border-color: var(--ink);
    background: #fff;
}
.field--file input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.file-ui {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
}
.file-ico {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    padding: 8px;
    background: var(--accent);
    border-radius: 10px;
    color: var(--on-accent);
}
.file-ui div {
    display: flex;
    flex-direction: column;
}
.file-ui strong { font-size: 0.9375rem; font-weight: 700; }
.file-ui span { font-size: 0.8125rem; color: var(--muted); }
.field--file .file-drop:focus-within { border-color: var(--ink); background: #fff; }


.field--radios { border: none; padding: 0; }
.field--radios legend { padding: 0; }
.radios { display: flex; gap: 12px; }
.radio {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg-soft);
    border: 1.5px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.radio:hover { background: #fff; border-color: var(--line); }
.radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    margin: 0;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}
.radio input[type="radio"]::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ink);
    transform: scale(0);
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.radio input[type="radio"]:checked::before { transform: scale(1); }
.radio:has(input:checked) {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.form-card button[type="submit"] { margin-top: 8px; }
.form-note {
    font-size: 0.8125rem;
    color: var(--muted);
    text-align: center;
    margin: 0;
}
.form-messages {
    border-radius: 12px;
    font-size: 0.9375rem;
}

.contact-form {
    max-width: 100%;
    overflow: hidden;
}
.panel-inner > *,
.form-card > *,
.form-row > * {
    min-width: 0;
}
.contact-form .g-recaptcha {
    transform-origin: left center;
    max-width: 100%;
}
@media (max-width: 400px) {
    .contact-form .g-recaptcha { transform: scale(0.85); }
}
@media (max-width: 340px) {
    .contact-form .g-recaptcha { transform: scale(0.75); }
}


.subjects {
    padding: clamp(72px, 9vw, 120px) 0;
    background: #fff;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
}
.subject-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center;
}
.subject-chips li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    background: #fff;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(14, 28, 36, 0.04);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.subject-chips li:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.subject-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 50%;
    font-family: var(--t-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-accent);
    letter-spacing: -0.02em;
}
.subject-chips li.subject-chips__more {
    border: none;
    background: transparent;
    box-shadow: none;
    color: var(--muted);
    padding-left: 6px;
    font-weight: 500;
}
.subject-chips li.subject-chips__more:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}
.subject-chips__more a {
    color: var(--ink);
    font-weight: 700;
    margin-left: 4px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1px;
    transition: color 0.2s ease;
}
.subject-chips__more a:hover { color: var(--accent-deep); }
.subject-chips__more:hover { transform: none; }


.teacher-cta {
    padding: clamp(72px, 9vw, 120px) 0;
    background: var(--bg-soft);
    color: var(--ink);
    position: relative;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
}
.teacher-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.teacher-cta-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    color: var(--ink);
    margin-bottom: 18px;
    font-weight: 700;
}
.teacher-cta-copy h2 .hi {
    color: var(--accent);
}
.teacher-cta-copy p {
    color: var(--ink-2);
    font-size: 1.0625rem;
    margin-bottom: 28px;
    max-width: 48ch;
}
.eyebrow--light {
    color: var(--accent);
}
.teacher-cta-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.teacher-cta-photo img {
    width: 100%;
    height: clamp(300px, 36vw, 440px);
    object-fit: cover;
}


.quotes {
    padding: clamp(72px, 9vw, 120px) 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line-2);
}
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.quote {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
.quote:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.quote-stars {
    color: var(--accent-deep);
    font-size: 0.9375rem;
    letter-spacing: 3px;
}
.quote blockquote {
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--ink);
    font-weight: 500;
    flex: 1;
}
.quote figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
}
.quote figcaption strong {
    font-size: 0.9375rem;
    color: var(--ink);
    font-weight: 700;
}
.quote figcaption span {
    font-size: 0.8125rem;
    color: var(--muted);
}


.faq {
    padding: clamp(72px, 9vw, 120px) 0;
    background: #fff;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}
.faq-side {
    position: sticky;
    top: clamp(80px, 9vw, 110px);
}
.faq-side .eyebrow { margin-bottom: 16px; }
.faq-side h2 {
    font-size: clamp(1.875rem, 3.2vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}
.faq-side p {
    color: var(--ink-2);
    font-size: 0.9375rem;
    line-height: 1.55;
    max-width: 38ch;
}
.faq-side a {
    color: var(--ink);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.faq-side a:hover { color: var(--accent-deep); }
.faq-list {
    display: grid;
    gap: 8px;
}
.faq details {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    padding: 22px 26px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.faq details[open] {
    border-color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.faq summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    color: var(--ink);
    font-size: 1.0625rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-family: var(--t-display);
    letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 50%;
    color: var(--on-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease;
}
.faq details[open] summary::after {
    content: '−';
    background: var(--ink);
    color: var(--on-accent);
    transform: rotate(180deg);
}
.faq details p {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
    color: var(--ink-2);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 70ch;
}


.cta-band {
    padding: clamp(72px, 10vw, 120px) 0;
    background: var(--accent);
    color: var(--on-accent);
    position: relative;
    border-top: 1px solid var(--accent-deep);
    border-bottom: 1px solid var(--accent-deep);
}
.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffd9dc;
    font-weight: 700;
    margin-bottom: 18px;
}
.cta-inner h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--on-accent);
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    max-width: 14ch;
}
.cta-em {
    display: block;
    font-weight: 700;
    color: #ffe0e2;
}
.cta-inner p {
    color: #ffe6e7;
    font-size: 1.0625rem;
    margin-bottom: 32px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}


.foot {
    background: var(--bg-soft);
    color: var(--ink-2);
    padding: clamp(48px, 6vw, 72px) 0 0;
    border-top: 3px solid var(--accent);
}
.foot-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.foot-brand .logo {
    color: var(--ink);
    margin-bottom: 16px;
}
.foot-brand p {
    color: var(--muted);
    max-width: 320px;
    font-size: 0.9375rem;
}
.foot-col h4 {
    font-family: var(--t-body);
    color: var(--ink);
    font-size: 0.875rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.foot-col a, .foot-col span {
    display: block;
    color: var(--ink-2);
    font-size: 0.9375rem;
    padding: 4px 0;
    transition: color 0.2s ease;
}
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    font-size: 0.8125rem;
    color: var(--muted);
}
.foot-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}


.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-stagger.is-in > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }


@media (max-width: 1024px) {
    .container { padding: 0 28px; }
    .hero-inner { gap: 40px; }
    .hero-copy h1 { font-size: clamp(2.4rem, 5.4vw, 3.75rem); }
    .panel-inner { gap: 36px; }
    .quotes-grid { gap: 16px; }
    .process-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .teacher-cta-inner { gap: 40px; }
}


@media (max-width: 980px) {
    .hero-inner,
    .about-inner,
    .panel-inner,
    .teacher-cta-inner,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-side { position: static; }
    .hero-inner { gap: 48px; }
    .hero-photo { order: -1; }
    .hero-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin: -32px auto 0 16px;
    }
    .hero-badge { top: 16px; right: 12px; }
    .panel-inner--flip .panel-copy { order: 1; }
    .panel-inner--flip .form-card { order: 2; }

    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .process-grid,
    .process-grid--4 { grid-template-columns: 1fr 1fr; gap: 16px; }
    .quotes-grid { grid-template-columns: 1fr; }
    .foot-inner { grid-template-columns: 1fr; gap: 32px; }

    .teacher-cta-photo { transform: none; max-width: 480px; }

    .about-photo::before { inset: 12px -12px -12px 12px; }
}


@media (max-width: 720px) {
    :root { --radius-lg: 22px; }
    .container { padding: 0 20px; }

    .nav-links { display: none; }
    .nav-row { gap: 10px; }
    .nav-row > .btn.btn-primary {
        padding: 9px 14px;
        font-size: 0.8125rem;
        margin-left: auto;
    }
    .burger { display: flex; margin-left: 0; }

    .hero { padding: 32px 0 56px; }
    .hero-tape { display: none; }
    .hero-photo img { height: clamp(320px, 70vw, 460px); }
    .hero-card { max-width: none; margin: -32px 12px 0; }
    .hero-card p { font-size: 0.9375rem; }
    .hero-badge { display: none; }
    .hero-copy h1 { font-size: clamp(2.25rem, 9vw, 3.25rem); margin-bottom: 18px; }
    .hero-copy > p { font-size: 1rem; margin-bottom: 24px; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { gap: 8px 14px; font-size: 0.875rem; }
    .hero-trust li.dash { display: none; }

    .stats { padding: 32px 0; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
    .stat { padding-left: 12px; }
    .stat strong { font-size: 1.5rem; }

    .about-photo::before { display: none; }
    .about-photo img { border-radius: 18px; }

    .process-grid,
    .process-grid--4 { grid-template-columns: 1fr; }
    .step { padding: 24px 22px; }

    .subjects { padding: 56px 0; }
    .subject-chips li { font-size: 0.875rem; padding: 10px 14px 10px 10px; gap: 8px; }
    .subject-ico { width: 26px; height: 26px; font-size: 0.6875rem; }

    .panel { padding: 56px 0; }
    .panel-copy h2 { font-size: clamp(1.875rem, 7vw, 2.5rem); }
    .form-card { padding: 22px; }
    .form-row { grid-template-columns: 1fr; gap: 14px; }

    .teacher-cta { padding: 56px 0; text-align: left; }
    .teacher-cta-copy h2 { font-size: clamp(2rem, 8vw, 2.75rem); }
    .teacher-cta-photo { display: none; }

    .quotes { padding: 56px 0; }
    .quote { padding: 24px 22px; }

    .faq { padding: 56px 0; }
    .faq details { padding: 18px 20px; }
    .faq summary { font-size: 1rem; gap: 12px; }
    .faq summary::after { width: 26px; height: 26px; font-size: 1.1rem; }

    .cta-band { padding: 64px 0; }
    .cta-inner h2 { font-size: clamp(2rem, 8vw, 2.75rem); }

    .foot { padding-top: 40px; }
    .foot-bottom .container { font-size: 0.75rem; flex-direction: column; gap: 6px; align-items: flex-start; }
}


@media (max-width: 400px) {
    .stats-row { grid-template-columns: 1fr; gap: 16px; }
    .radios { flex-direction: column; gap: 10px; }
    .radios .radio { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms;
        transition-duration: 0.01ms;
    }
    html { scroll-behavior: auto; }
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
