@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  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: "Golos Text";
  src: url("assets/fonts/golos-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/golos-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  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;
}

:root {
  --canvas: #f5f3e9;
  --paper: #fffcf3;
  --ink: #192444;
  --secondary: #474f63;
  --blue: #304bd7;
  --blue-dark: #2237b1;
  --blue-soft: #e6eafa;
  --orange: #ffa46d;
  --rule: #d9d8d1;
  --header: 72px;
  --gutter: clamp(20px, 5.8vw, 98px);
  --headline: Manrope, system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
  --fx-accent: #e7ecff;
  --k-ring-color: var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; overflow-x: clip; }
html { scroll-padding-top: calc(var(--header) + 18px); }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.58 var(--body); }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--headline); font-weight: 800; word-spacing: .07em; }
h2 { font-size: clamp(2.55rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -.065em; }
h3 { line-height: 1.17; letter-spacing: -.037em; }
:focus-visible { outline: 3px solid #263fc9; outline-offset: 4px; }
::selection { background: #fbb28a; color: var(--ink); }
[id] { scroll-margin-top: 4px; }
.shell { width: min(100% - 2 * var(--gutter), 1300px); margin-inline: auto; }
.section { padding-block: clamp(78px, 9vw, 142px); }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 20; padding: .65rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.masthead { position: sticky; inset: 0 0 auto; z-index: 10; background: #f7f5ec; border-bottom: 1px solid #dedfd7; }
.masthead-inner { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font: 800 1.72rem/.9 var(--headline); letter-spacing: -.085em; text-decoration: none; min-height: 44px; }
.wordmark img { display: block; }
.wordmark-dot { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3.1vw, 50px); font-size: .92rem; font-weight: 600; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-action { padding: 0 16px; border: 1px solid #838cb8; border-radius: 9px; color: var(--blue-dark); gap: 8px; }
.nav-action:hover { background: var(--blue-soft); }
.menu-toggle { display: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 12px 18px 12px 20px;
  background: var(--blue);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 650;
  font-size: .95rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.button:hover { background: var(--blue-dark); }
.button:active { transform: translateY(1px); }
.button span { font-size: 1.15rem; line-height: 1; }

.hero { background: var(--canvas); }
.hero .k-stage {
  top: var(--header);
  height: calc(100vh - var(--header));
  height: calc(100svh - var(--header));
  min-height: 475px;
  background-image: none;
}
.hero-opening { position: absolute; inset: 0; pointer-events: none; }
.hero-opening img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero .k-stage > video { object-position: center; }
.hero-scrim { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #f2f1e66b, #f2f1e63b 33%, transparent 57%); pointer-events: none; }
.hero-layout { height: 100%; display: flex; align-items: center; position: relative; z-index: 2; pointer-events: none; }
.hero-copy { z-index: 2; position: relative; inset: auto; width: min(100%, 650px); max-width: none; opacity: 1; visibility: visible; pointer-events: auto; padding-bottom: 44px; }
.hero-title { position: relative; inset: auto; opacity: 1; visibility: visible; max-width: none; }
.hero-context { display: flex; align-items: center; gap: 8px; font-size: .87rem; font-weight: 600; color: var(--secondary); margin-bottom: clamp(16px, 3.1vh, 29px); }
.hero-context span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero h1 {
  font-size: clamp(3.05rem, 5.5vw, 5.55rem);
  line-height: .99;
  letter-spacing: -.078em;
  transform: translate3d(var(--title-x, 0px), var(--title-y, 0px), 0) scale(var(--title-zoom, 1));
  transform-origin: 0 50%;
}
.hero h1 em { color: var(--blue); font-style: normal; white-space: nowrap; }
.hero-note { max-width: 31ch; color: var(--ink); margin-top: clamp(22px, 3.5vh, 35px); font-size: clamp(1rem, 1.32vw, 1.24rem); line-height: 1.5; }
.hero-action { margin-top: 27px; }
.hero-action p { color: var(--secondary); font-size: .79rem; margin: 8px 0 0 1px; }
.hero-end { position: absolute; inset: auto 0 19px; z-index: 3; pointer-events: none; }
.method-link { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; font-size: .83rem; font-weight: 600; text-decoration: none; pointer-events: auto; }
.method-link span { background: #f9f8ed; border: 1px solid #c9cdd0; border-radius: 50%; width: 31px; height: 31px; display: grid; place-items: center; color: var(--blue-dark); font-size: 1rem; }
.method-link:hover { color: var(--blue-dark); }
.hero.k-static .k-stage, .hero.k-media-failed .k-stage {
  display: block; position: relative; top: 0; padding: 0;
  min-height: 475px; height: calc(100svh - var(--header));
  background-image: url("assets/hero-poster.webp");
}
.hero.k-media-failed { height: auto !important; }
.hero.k-static .hero-opening, .hero.k-media-failed .hero-opening { display: none; }
.hero.k-static h1, .hero.k-media-failed h1 { transform: none; }

.method { background: var(--paper); }
.section-heading { display: grid; gap: 24px; }
.section-heading > p, .visit-heading > p { max-width: 36ch; color: var(--secondary); font-size: clamp(1.04rem, 1.52vw, 1.24rem); }
.method-heading { grid-template-columns: 1.2fr .8fr; align-items: end; margin-bottom: 42px; }
.method-heading > p { padding-bottom: 5px; }
.week-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.week-layout article { min-width: 0; display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; border: 1px solid #dbe0e4; }
.lesson-panel { background: #e8ecfe; }
.practice-panel { background: #f9eddb; }
.panel-drawing { height: clamp(142px, 17.5vw, 255px); position: relative; overflow: hidden; isolation: isolate; background-size: 22px 22px; }
.lesson-drawing { background-color: #dce3fa; background-image: linear-gradient(#c7d0ef 1px, transparent 1px), linear-gradient(90deg, #c7d0ef 1px, transparent 1px); }
.task-drawing { background-color: #f5e3c8; background-image: linear-gradient(#e8d1b5 1px, transparent 1px), linear-gradient(90deg, #e8d1b5 1px, transparent 1px); }
.lesson-screen, .answer-sheet { position: absolute; left: 50%; top: 51%; transform: translate(-53%, -45%) rotate(-7deg); }
.lesson-screen {
  width: min(54%, 263px); padding: 12px 14px 8px; height: 75%; border-radius: 13px; border: 2px solid #b8c4f0;
  background: #f9f9ee; box-shadow: -4px 8px 0 #435de1, -7px 16px 23px #334fa449;
}
.lesson-screen span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #b3c0ee; margin-right: 4px; vertical-align: top; }
.lesson-screen strong { position: absolute; inset: 24% 7% 9%; display: grid; place-items: center; background: #e8edfb; border-radius: 8px; color: #253aa9; font: 800 clamp(.8rem, 2.4vw, 1.9rem) var(--headline); letter-spacing: -.05em; }
.lesson-camera, .answer-tile {
  position: absolute; display: grid; place-items: center; width: clamp(52px, 10.5%, 78px); aspect-ratio: 1; border-radius: 15px;
  top: 44%; left: 66%; transform: rotate(8deg); background: var(--blue); color: white; box-shadow: 0 6px 0 #1c2f9c, 0 12px 18px #192a7244;
}
.lesson-camera svg, .answer-tile svg { width: 53%; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.answer-sheet { padding: 7% 9%; width: min(55%, 235px); height: 75%; border-radius: 13px; border: 2px solid #fff6e7; background: #fff8ed; box-shadow: -4px 8px 0 #d18c62, -7px 16px 25px #8b5b3940; transform: translate(-53%, -45%) rotate(-9deg); display: grid; align-content: center; gap: 10px; }
.answer-sheet i { display: block; position: relative; height: 7px; border-radius: 6px; background: #e8c8ab; }
.answer-sheet i:nth-child(2) { width: 80%; }
.answer-sheet i:nth-child(3) { width: 93%; }
.answer-sheet i::before { content: ""; position: absolute; width: 7px; height: 7px; left: -13px; border: 1px solid #af795f; border-radius: 2px; }
.answer-tile { left: 63%; background: var(--orange); color: #5d2e15; box-shadow: 0 6px 0 #bd6741, 0 12px 18px #a3695440; }
.week-copy { padding: clamp(22px, 3.1vw, 38px); align-self: self-start; }
.week-timing { font-size: .81rem; font-weight: 700; color: #2940ab; margin-bottom: 9px; }
.practice-panel .week-timing { color: #823c22; }
.week-copy h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); margin-bottom: 10px; }
.week-copy > :last-child { max-width: 41ch; color: #42495c; }

.exercise { position: relative; background: #202b69; color: #fbf9f1; isolation: isolate; }
.exercise::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#7286d928 1px, transparent 1px), linear-gradient(90deg, #7286d928 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(110deg, #000, transparent 74%); }
.exercise-layout { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(35px, 8vw, 116px); }
.exercise-copy h2 { max-width: 11ch; margin: 10px 0 19px; }
.exercise-copy > :last-child { max-width: 30ch; color: #dae0fb; font-size: 1.07rem; }
.section-label { color: #ffc6a6; font-size: .84rem; font-weight: 650; }
.problem { padding: clamp(16px, 3vw, 28px); border-radius: 19px; color: var(--ink); background: #fffcf3; border: 1px solid #fff; box-shadow: 0 18px 40px #0b144c75, 0 5px 0 #6b7cdc; }
.problem header p { font-size: .79rem; color: #52607c; margin-bottom: 3px; }
.problem h3 { font-size: clamp(1.28rem, 2.3vw, 1.8rem); }
.problem-board {
  margin-top: 13px; background-color: #f4f2e9; border-radius: 10px; overflow: hidden;
  background-image: linear-gradient(#dcdcd3 1px, transparent 1px), linear-gradient(90deg, #dcdcd3 1px, transparent 1px);
  background-size: 19px 19px;
}
.angle { width: 100%; display: block; font: 800 23px var(--headline); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.choices button { padding: 7px; min-height: 48px; color: #263aa5; background: #f9f9f4; border-radius: 8px; font-weight: 700; border: 1px solid #818cb0; cursor: pointer; }
.choices button:hover { background: #ebefff; }
.choices button[aria-pressed="true"] { background: #e1e7ff; border-color: #4359cd; }
.choices button.is-correct { background: #e2f2e6; color: #275b43; border-color: #438259; }
.answer-feedback { min-height: 3.05em; font-size: .9rem; line-height: 1.47; color: #424c67; padding-top: 10px; }

.visit { background: var(--paper); }
.visit-layout { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(36px, 8vw, 118px); align-items: start; }
.visit-heading h2 { max-width: 11ch; }
.visit-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.visit-steps li { display: grid; grid-template-columns: 56px 1fr; align-items: start; gap: clamp(12px, 2.5vw, 24px); border-bottom: 1px solid var(--rule); padding: 22px 0; }
.visit-steps h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 5px; }
.visit-steps p { color: var(--secondary); }
.step-icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; color: var(--blue-dark); background: #e9edfc; }
.step-icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.6px; stroke-linecap: round; stroke-linejoin: round; }

.questions { background: #f0eee3; padding-block: clamp(72px, 7.8vw, 111px); }
.questions-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 36px; align-items: start; }
.questions h2 { max-width: 8ch; font-size: clamp(2.4rem, 4.3vw, 3.75rem); }
.question-list { border-top: 1px solid #caccbf; }
.question-list details { border-bottom: 1px solid #caccbf; }
.question-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 12px 0; list-style: none; cursor: pointer;
  font-family: var(--headline); font-weight: 800; font-size: clamp(1.03rem, 1.8vw, 1.27rem);
}
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { flex: 0 0 32px; content: "+"; color: var(--blue-dark); border: 1px solid #838ba3; border-radius: 50%; line-height: 30px; text-align: center; font-size: 1.17rem; font-weight: 600; }
.question-list details[open] summary::after { content: "−"; background: var(--blue-soft); }
.question-list details p { color: var(--secondary); padding: 0 35px 17px 0; max-width: 57ch; }

.diagnostics { background: #e7ebff; }
.diagnostics-layout { display: grid; grid-template-columns: 1fr .83fr; gap: clamp(31px, 8.4vw, 125px); align-items: start; }
.diagnostics-copy h2 { max-width: 12ch; }
.diagnostics-copy p { margin-top: 20px; font-size: clamp(1rem, 1.55vw, 1.25rem); color: var(--secondary); max-width: 31ch; }
.closing-angle { margin: 33px 0 0 5px; width: clamp(105px, 15vw, 205px); aspect-ratio: 2; border-radius: 100% 100% 0 0 / 200% 200% 0 0; background: conic-gradient(from 270deg at 50% 100%, #405ae6 128deg, #ffa46d 128deg 180deg, transparent 180deg); border-bottom: 2px solid #22338e; transform: rotate(-8deg); }
.booking-card { padding: clamp(23px, 3.4vw, 48px); border-radius: 19px; background: var(--paper); box-shadow: 0 14px 36px #2b3e8930; }
.booking-card h3 { margin-top: 17px; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.booking-card p { margin-top: 9px; max-width: 33ch; color: var(--secondary); }
.booking-card .button { margin-top: 24px; width: 100%; }

.footer { padding-block: 28px; color: var(--ink); background: #f6f3e7; border-top: 1px solid var(--rule); }
.footer-layout { display: flex; align-items: center; gap: 23px; }
.footer p { font-size: .84rem; color: var(--secondary); }
.back-top { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; gap: 5px; font-size: .84rem; font-weight: 650; text-decoration: none; }
.back-top:hover { color: var(--blue-dark); }

@media (min-width: 761px) and (max-width: 1024px) and (orientation: portrait) {
  .hero.k-static .k-stage, .hero.k-media-failed .k-stage { background-image: url("assets/hero-m-poster.webp"); }
  .hero-scrim { background: linear-gradient(180deg, #f3f2e691, #f3f2e666 28%, transparent 57%); }
  .hero-layout { align-items: flex-start; }
  .hero-copy { padding: clamp(36px, 6svh, 83px) 0 0; }
  .hero h1 { font-size: clamp(3.3rem, 7.1vw, 4.85rem); }
}

@media (max-width: 760px) {
  :root { --header: 60px; --gutter: clamp(18px, 5.15vw, 31px); }
  .masthead-inner { gap: 10px; }
  .wordmark { font-size: 1.58rem; }
  .wordmark img { width: 31px; height: 31px; }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid #838ba3; color: var(--ink); background: #faf8ef; border-radius: 8px; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .15s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; z-index: 10; top: calc(100% + 7px); right: var(--gutter); left: var(--gutter); display: none; gap: 3px; padding: 9px 15px 14px; background: #fffdf5; border: 1px solid #c3c9d7; border-radius: 11px; box-shadow: 0 14px 35px #20284832; }
  .site-nav a { width: 100%; }
  .site-nav.is-open { display: grid; }
  .site-nav .nav-action { width: max-content; max-width: 100%; }
  .hero.k-static .k-stage, .hero.k-media-failed .k-stage { background-image: url("assets/hero-m-poster.webp"); }
  .hero-scrim { background: linear-gradient(180deg, #f3f2e681, #f3f2e63d 33%, transparent 58%); }
  .hero-layout { align-items: flex-start; }
  .hero-copy { width: 100%; padding: clamp(33px, 5.5svh, 62px) 0 0; }
  .hero-context { margin-bottom: clamp(13px, 2.55vh, 22px); font-size: .81rem; }
  .hero h1 { font-size: clamp(2.35rem, 9.85vw, 4.7rem); letter-spacing: -.075em; }
  .hero-note { margin-top: 18px; font-size: .98rem; max-width: 33ch; }
  .hero-action { margin-top: 18px; }
  .hero-action .button { min-height: 49px; }
  .hero-action p { font-size: .74rem; margin-top: 5px; }
  .hero-end { bottom: 7px; }
  .method-link { gap: 6px; }
  .method-link span { width: 27px; height: 27px; }
  .method-heading, .week-layout, .exercise-layout, .visit-layout, .questions-layout, .diagnostics-layout { grid-template-columns: 1fr; }
  .method-heading { margin-bottom: 27px; gap: 15px; }
  .week-layout { gap: 13px; }
  .week-copy { padding: 19px 20px 22px; }
  .week-copy p, .visit-steps p, .question-list details p { font-size: .96rem; }
  .panel-drawing { height: clamp(133px, 36vw, 196px); }
  .lesson-screen strong { font-size: clamp(.93rem, 4.1vw, 1.65rem); }
  .exercise-layout { gap: 24px; }
  .exercise-copy h2 { max-width: none; margin-bottom: 13px; }
  .exercise-copy > :last-child { max-width: 38ch; font-size: .99rem; }
  .visit-layout { gap: 25px; }
  .visit-heading { gap: 15px; }
  .visit-heading h2 { max-width: 13ch; }
  .visit-steps li { grid-template-columns: 48px 1fr; padding-block: 17px; }
  .step-icon { width: 45px; height: 45px; }
  .questions-layout { gap: 19px; }
  .questions h2 { max-width: none; }
  .diagnostics-layout { gap: 22px; }
  .closing-angle { display: none; }
  .footer-layout { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
  .footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 760px) and (max-height: 720px) {
  .hero-copy { padding-top: 26px; }
  .hero-context { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(2.2rem, 9.2vw, 3.75rem); }
  .hero-note { margin-top: 13px; }
  .hero-action { margin-top: 14px; }
  .method-link { padding: 0 12px 0 7px; background: #faf8ef; border: 1px solid #babfc7; border-radius: 24px; }
  .method-link span { border: 0; background: #e6eafa; }
}

@media (max-height: 550px) and (orientation: landscape) {
  :root { --header: 55px; }
  .hero .k-stage, .hero.k-static .k-stage, .hero.k-media-failed .k-stage { min-height: 400px; }
  .hero.k-static .k-stage, .hero.k-media-failed .k-stage { background-image: url("assets/hero-poster.webp"); }
  .hero h1 { font-size: clamp(2.35rem, 5.7vw, 3.85rem); }
  .hero-note { margin-top: 13px; }
  .hero-action { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 { transform: none; }
  .button, .menu-toggle span { transition: none; }
}
