@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/assets/fonts/inter-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: Oswald;
    font-style: normal;
    font-weight: 200 700;
    font-display: swap;
    src: url(/assets/fonts/oswald-variable.ttf) format('truetype');
}

:root {
    color-scheme: dark;
    --paper: #2d242a;
    --surface: #382c34;
    --ink: #fff5fa;
    --muted: #d4bdcb;
    --accent: #eca3c7;
    --accent-light: #ffd5e9;
    --rule: #735564;
    --display: Oswald, 'Arial Narrow', sans-serif;
    font-family: Inter, system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; font-size: 1rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; touch-action: manipulation; }
a:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 5px; }
::selection { color: var(--paper); background: var(--accent-light); }
p { margin: 0; line-height: 1.7; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul { padding: 0; margin: 0; list-style: none; }
figure, blockquote { margin: 0; }
figcaption { margin-top: 16px; color: var(--muted); font-size: .875rem; line-height: 1.6; }

.wrap { width: min(calc(100% - 2 * clamp(20px, 5vw, 76px)), 1240px); margin-inline: auto; }
.section { padding-block: clamp(60px, 7vw, 104px); }
.skip-link { position: absolute; top: 8px; left: 20px; z-index: 2; padding: 12px; color: var(--paper); background: var(--accent-light); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    min-height: 96px;
    padding-block: 16px;
    border-bottom: 1px solid var(--rule);
}
.wordmark {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--accent-light);
    font: 600 2rem/1 var(--display);
    letter-spacing: .08em;
    text-decoration: none;
    white-space: nowrap;
}
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px clamp(16px, 3vw, 36px); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: none; }
.site-header nav a:hover { color: var(--accent); text-decoration: underline; }

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(36px, 6vw, 96px);
    padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 88px);
}
.hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 75% 35%, #eca3c71a, transparent 65%);
    pointer-events: none;
}
.course-type { max-width: 43ch; margin-bottom: 24px; color: var(--muted); font-size: .875rem; }
h1 {
    max-width: 15ch;
    color: var(--accent-light);
    font: 500 clamp(2.65rem, 5.4vw, 5rem)/1.1 var(--display);
    letter-spacing: -.025em;
    text-transform: uppercase;
}
.hero-lead { margin-top: 28px; max-width: 49ch; font-size: clamp(1.05rem, 1.45vw, 1.2rem); }
.summary { max-width: 57ch; margin-block: 16px 28px; color: var(--muted); }
.hero-media { width: 100%; max-width: 360px; justify-self: end; }
.hero-media figcaption { text-align: center; }
.photo-frame {
    padding: 8px;
    border: 1px solid var(--accent);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 0 0 1px #ffd5e933, 0 0 24px #eca3c724;
}
/* Originals keep their full frame, proportions and colours. */
.photo-frame img, .gallery img { width: 100%; height: auto; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 16px 25px;
    border: 1px solid var(--accent-light);
    border-radius: 999px;
    color: var(--paper);
    background: var(--accent);
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 22px #eca3c724;
}
.button:hover { background: var(--accent-light); }
.button:active { background: #e08db9; }

.approach { padding-block: 32px; border-block: 1px solid var(--rule); }
.approach p { max-width: 78ch; margin-inline: auto; text-align: center; color: var(--muted); }
h2 { font: 500 clamp(2rem, 3.6vw, 3.4rem)/1.18 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.opportunity { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(40px, 7vw, 112px); }
.comparison { width: 100%; max-width: 340px; }
.opportunity-copy h2 { max-width: 22ch; margin-bottom: 28px; }
.opportunity-copy p { max-width: 56ch; margin-top: 16px; color: var(--muted); }
.opportunity-copy .accent-copy { color: var(--accent-light); font-size: 1.125rem; }

.works { background: var(--surface); border-block: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: end; gap: 24px 48px; margin-bottom: 40px; }
.section-head h2 { max-width: 22ch; }
.section-head p { max-width: 52ch; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gallery a { display: block; padding: 5px; border: 1px solid var(--rule); border-radius: 12px; }
.gallery a:hover { border-color: var(--accent-light); box-shadow: 0 0 20px #eca3c72e; }
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(30px, 6vw, 90px); }
.outcomes li { position: relative; padding: 25px 0 25px 30px; border-top: 1px solid var(--rule); line-height: 1.75; }
.outcomes li::before { content: ''; position: absolute; top: 36px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #eca3c75c; }

.teacher { border-block: 1px solid var(--rule); background: radial-gradient(ellipse at 12% 55%, #eca3c714, transparent 55%); }
.teacher-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(40px, 7vw, 112px); }
.teacher-portrait { width: 100%; max-width: 350px; }
.teacher-copy h2 { margin-bottom: 20px; color: var(--muted); font-size: clamp(1.5rem, 2vw, 2rem); }
.teacher-name { max-width: 14ch; font: 500 clamp(2.5rem, 4.5vw, 4.4rem)/1.14 var(--display); color: var(--accent-light); }
.teacher-experience { margin-top: 18px; }
.teacher-copy blockquote { max-width: 40ch; margin-block: 30px 22px; padding-left: 22px; border-left: 2px solid var(--accent); font-size: clamp(1.125rem, 1.8vw, 1.4rem); line-height: 1.6; }
.teacher-copy > p:last-of-type { max-width: 55ch; color: var(--muted); }
.teacher-copy .button { margin-top: 28px; }

.pricing { background: var(--surface); border-bottom: 1px solid var(--rule); }
.pricing-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 40px clamp(36px, 6vw, 88px); }
.pricing-intro h2 { max-width: 20ch; }
.pricing-intro > p { max-width: 42ch; margin-top: 22px; color: var(--muted); }
.pricing-intro .payment-note { color: var(--accent-light); font-size: .9375rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: clamp(24px, 3vw, 40px); color: var(--paper); background: var(--accent-light); border: 1px solid var(--accent); border-radius: 20px; }
.plan h3 { font-size: 1rem; font-weight: 600; line-height: 1.6; }
.plan-price { font: 500 clamp(2.75rem, 4.8vw, 4rem)/1 var(--display); font-variant-numeric: lining-nums; }
.plan .button { margin-top: auto; border-color: var(--paper); color: var(--ink); background: var(--paper); box-shadow: none; }
.plan .button:hover { background: #4a3644; }
.plan .button:active { background: #5d4354; }
.plan .button:focus-visible { outline-color: var(--paper); }

.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1fr); gap: 24px clamp(16px, 4vw, 52px); padding-block: 40px; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.site-footer .wordmark { margin-bottom: 14px; font-size: 1.75rem; }
.site-footer p { margin-block: 3px; }
.footer-links { display: grid; justify-items: start; align-content: start; }
.footer-links a, .footer-contacts a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.5; padding-block: 8px; }
.footer-links a:hover, .footer-contacts a:hover { color: var(--accent-light); }
.legal-page { padding-block: clamp(40px, 6vw, 88px); }
.legal-page + .site-footer { border-top: 1px solid var(--rule); }
.legal-copy { width: min(100%, 72ch); margin-inline: auto; }
.legal-copy h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; margin-bottom: 28px; }
.legal-copy h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-block: 32px 12px; text-transform: none; }
.legal-copy p + p, .legal-copy li + li { margin-top: 12px; }
.legal-copy ul, .legal-copy ol { padding-inline-start: 24px; margin-block: 12px 16px; }
.legal-copy ul { list-style: disc; }
.legal-copy li { line-height: 1.7; }
.legal-copy a { overflow-wrap: anywhere; }
.legal-draft { padding: 16px 20px; margin-bottom: 22px; background: var(--surface); border-left: 3px solid var(--accent); }
.legal-details { margin-block: 12px 20px; }

@media (max-width: 1000px) {
    .hero { gap: 36px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); }
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
    .hero, .opportunity, .teacher-layout, .section-head, .pricing-layout { grid-template-columns: 1fr; }
    .hero { gap: 36px; }
    h1 { max-width: 19ch; font-size: clamp(2.65rem, 8vw, 4.5rem); }
    .hero-media { width: min(100%, 300px); justify-self: center; }
    .hero-lead, .summary { max-width: 60ch; }
    .opportunity-copy { grid-row: 1; }
    .comparison, .teacher-portrait { width: min(100%, 300px); justify-self: center; }
    .section-head { gap: 20px; margin-bottom: 30px; }
    .section-head p { max-width: 60ch; }
    .opportunity-copy h2 { max-width: 28ch; }
    .teacher-layout { gap: 36px; }
    .teacher-name { max-width: none; }
    .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 490px) {
    .site-header { padding-block: 14px 8px; gap: 4px 16px; }
    .site-header nav { justify-content: space-between; width: 100%; gap: 8px; }
    .site-header nav a { font-size: .8125rem; }
    .wordmark { font-size: 1.8rem; }
    .hero { padding-top: 32px; }
    .course-type { margin-bottom: 20px; }
    .hero-lead { margin-top: 24px; }
    .button { width: 100%; padding-inline: 16px; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .outcomes, .site-footer { grid-template-columns: 1fr; }
    .outcomes li { padding-block: 22px; }
    .outcomes li::before { top: 33px; }
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .button, .gallery a { transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
}
