:root {
  --ink: #14213d;
  --ink-soft: #42506a;
  --blue: #dceeff;
  --blue-strong: #9dccff;
  --yellow: #fff7cc;
  --yellow-strong: #f6df6a;
  --accent: #315fdd;
  --accent-dark: #2348ad;
  --rose: #f7d7dc;
  --paper: #f8fbff;
  --white: #ffffff;
  --line: rgba(20, 33, 61, 0.14);
  --shadow: 0 24px 70px rgba(20, 33, 61, 0.13);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5.3vw, 4.8rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 96px;
  padding: 0.4rem max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(251, 248, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.brand-logo {
  line-height: 0;
}

.brand-logo-image {
  width: 180px;
  height: auto;
  border-radius: 10px;
  mix-blend-mode: multiply;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50% 50% 50% 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.brand-name {
  font-weight: 760;
  letter-spacing: -0.035em;
}

.brand-name em {
  display: block;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 400;
}

.desktop-nav,
.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 700;
}

.desktop-nav a,
.desktop-nav button {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  color: var(--accent);
}

.nav-test,
.footer-legal button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.header-actions {
  gap: 0.8rem;
}

.language-switcher {
  gap: 0.15rem;
  padding: 0.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.button-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(49, 95, 221, 0.24);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button-outline {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border-color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  min-height: calc(100vh - 96px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 24px;
}

.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 1.5rem;
  font-size: clamp(4.1rem, 8.8vw, 8.1rem);
}

.hero h1 span,
.final-cta h2 span {
  color: var(--accent);
  font-style: italic;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.hero-actions,
.final-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 590px;
  margin-top: 3.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-proof strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.hero-proof span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  min-height: 630px;
  padding: 4rem 2rem;
  background: var(--blue);
  border-radius: 44% 44% 28px 28px;
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.85), transparent 34%);
  content: "";
}

.alphabet-ribbon {
  position: absolute;
  inset: 0 auto 0 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: rgba(20, 33, 61, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
}

.lesson-window {
  position: relative;
  z-index: 2;
  width: 86%;
  margin: 5.2rem auto 0;
  background: var(--white);
  border: 7px solid var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
  overflow: hidden;
}

.portrait-window {
  width: 72%;
  margin-top: 1rem;
  transform: rotate(-2deg);
}

.portrait-window > img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center 38%;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0 0.7rem;
}

.window-bar > span {
  width: 8px;
  height: 8px;
  background: var(--rose);
  border-radius: 50%;
}

.window-bar > span:nth-child(2) {
  background: var(--yellow-strong);
}

.window-bar > span:nth-child(3) {
  background: var(--blue-strong);
}

.window-bar p {
  margin: 0 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(20, 33, 61, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(20, 33, 61, 0.14);
}

.floating-note span {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-note strong {
  line-height: 1.25;
}

.floating-note em {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.note-top {
  top: 2.2rem;
  right: 1.5rem;
  background: var(--yellow);
  transform: rotate(3deg);
}

.note-bottom {
  right: 0.5rem;
  bottom: 2.4rem;
  max-width: 225px;
  background: var(--white);
  transform: rotate(-2deg);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
}

.trust-strip p {
  position: relative;
  margin: 0;
  padding: 1.3rem 1rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
}

.trust-strip p:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 4px;
  height: 4px;
  background: var(--yellow-strong);
  border-radius: 50%;
  content: "";
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(5.5rem, 10vw, 9.5rem) 24px;
}

.consultation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  width: calc(100% - 48px);
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 5.5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 14% 18%, rgba(157, 204, 255, 0.28), transparent 32%),
    linear-gradient(140deg, #14213d 0%, #1d3265 58%, #315fdd 130%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.consultation-copy h2 {
  margin-bottom: 1.25rem;
  color: var(--white);
}

.consultation-copy h2 span {
  color: var(--yellow-strong);
  font-style: italic;
}

.consultation-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.consultation-benefits {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.consultation-benefits li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 750;
}

.consultation-benefits li::before {
  position: absolute;
  top: 0.57em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--yellow-strong);
  border-radius: 50%;
  content: "";
}

.consultation-form {
  padding: clamp(1.35rem, 4vw, 2.4rem);
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  box-shadow: 0 28px 60px rgba(8, 16, 32, 0.24);
}

.form-kicker {
  margin-bottom: 1.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.selected-interest {
  margin: -0.35rem 0 1rem;
  padding: 0.65rem 0.8rem;
  color: var(--accent-dark);
  background: var(--blue);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.lead-fields label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.lead-fields label:first-child,
.lead-fields label:nth-child(2) {
  grid-column: 1 / -1;
}

.lead-fields input,
.lead-fields select {
  width: 100%;
  min-height: 50px;
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
}

.lead-fields input:focus,
.lead-fields select:focus {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 95, 221, 0.12);
}

.consultation-form > .button {
  width: 100%;
}

.consultation-status {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.85rem;
  color: var(--accent-dark);
  background: var(--blue);
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 750;
}

.consultation-privacy {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.section-heading {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: 3.5rem;
}

.split-heading > p {
  max-width: 500px;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.centered-heading {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.centered-heading > p:last-child {
  max-width: 650px;
  margin: 1.2rem auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card {
  position: relative;
  min-height: 330px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.step-card::after {
  position: absolute;
  right: -38px;
  bottom: -45px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(20, 33, 61, 0.18);
  border-radius: 50%;
  content: "";
}

.step-card h3 {
  margin-top: 7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.step-card p {
  max-width: 290px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.step-number {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.step-yellow {
  background: var(--yellow);
}

.step-blue {
  background: var(--blue);
}

.step-white {
  background: var(--white);
}

.method-gallery {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: 620px;
  margin-top: 1rem;
}

.method-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.method-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 33, 61, 0.17));
  content: "";
}

.method-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.method-photo:hover img {
  transform: scale(1.025);
}

.method-photo-tall {
  grid-row: 1 / 3;
}

.method-photo-tall img {
  object-position: center 44%;
}

.method-photo-top img {
  object-position: center 32%;
}

.method-photo-bottom img {
  object-position: center 30%;
}

.preview-section {
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
  background: var(--white);
}

.preview-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 1050px;
  margin: 0 auto;
}

.preview-card {
  min-height: 58px;
  padding: 0.75rem 1rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.preview-card.active {
  color: var(--white);
  background: var(--ink);
}

.preview-screen {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  background: linear-gradient(145deg, var(--blue), var(--yellow));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.preview-screen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 15px;
}

.placement-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.placement-copy h2 {
  margin-bottom: 1.3rem;
}

.placement-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.placement-copy small {
  display: block;
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.level-orbit {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--yellow);
}

.level-orbit > strong {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(20, 33, 61, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit span {
  position: absolute;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.12);
}

.orbit span:first-child {
  top: -23px;
  left: calc(50% - 23px);
}

.orbit span:last-child {
  right: -23px;
  bottom: calc(50% - 23px);
}

.orbit-one {
  width: 52%;
  height: 52%;
}

.orbit-two {
  width: 73%;
  height: 73%;
  transform: translate(-50%, -50%) rotate(55deg);
}

.orbit-two span,
.orbit-three span {
  transform: rotate(-55deg);
}

.orbit-three {
  width: 94%;
  height: 94%;
  transform: translate(-50%, -50%) rotate(115deg);
}

.orbit-three span {
  transform: rotate(-115deg);
}

.programs {
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
  background: #eef6ff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 1.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.price-card.featured {
  background: var(--yellow);
}

.complete-card {
  color: var(--white);
  background: var(--ink);
}

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 30px;
  margin-bottom: 2.3rem;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.price-top mark {
  padding: 0.35rem 0.55rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.price-card > p {
  min-height: 82px;
  color: var(--ink-soft);
}

.complete-card > p {
  color: rgba(255, 255, 255, 0.72);
}

.price-card > .lesson-count {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  margin: 0 0 1.25rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-card > .button {
  margin-top: auto;
}

.complete-card > .lesson-count {
  border-color: rgba(255, 255, 255, 0.2);
}

.lesson-count strong {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
}

.complete-card .lesson-count strong {
  color: var(--yellow-strong);
}

.lesson-count span {
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  margin: auto 0 1.5rem;
}

.price small {
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}

.complete-card .price small {
  color: rgba(255, 255, 255, 0.72);
}

.price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}

.price span {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.pricing-note {
  max-width: 820px;
  margin: 1.4rem auto 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: center;
}

.package-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 6vw, 5.5rem);
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius-lg);
}

.package-intro {
  align-self: center;
}

.package-intro .eyebrow {
  color: var(--yellow-strong);
}

.package-intro h2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.package-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.package-list li > span {
  color: var(--yellow-strong);
  font-size: 0.73rem;
  font-weight: 900;
}

.package-list p,
.package-list strong,
.package-list small {
  display: block;
  margin: 0;
}

.package-list small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.teacher-card {
  position: relative;
  min-height: 610px;
  padding: 2rem;
  background: var(--blue);
  border-radius: 48% 48% 25px 25px;
  overflow: hidden;
}

.teacher-card::before,
.teacher-card::after {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(20, 33, 61, 0.2);
  border-radius: 50%;
  content: "";
}

.teacher-card::before {
  top: 12%;
  left: -20%;
}

.teacher-card::after {
  right: -22%;
  bottom: 7%;
}

.teacher-card::before,
.teacher-card::after {
  display: none;
}

.teacher-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.teacher-monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

.teacher-monogram span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 16vw, 12rem);
  letter-spacing: -0.12em;
  line-height: 0.8;
}

.teacher-monogram small {
  margin-top: 1.5rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.teacher-badge {
  position: absolute;
  z-index: 2;
  right: 1.7rem;
  bottom: 1.7rem;
  display: flex;
  flex-direction: column;
  min-width: 128px;
  padding: 1rem;
  background: var(--yellow);
  border-radius: 15px;
}

.teacher-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.teacher-badge span {
  font-size: 0.76rem;
  font-weight: 750;
}

.about-copy h2 {
  margin-bottom: 1.5rem;
}

.about-lead {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 650;
}

.about-copy > p:not(.eyebrow, .about-lead) {
  color: var(--ink-soft);
}

.about-copy blockquote {
  margin: 2rem 0;
  padding: 1.2rem 0 1.2rem 1.5rem;
  border-left: 3px solid var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.language-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.language-tags span {
  padding: 0.5rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.outcomes-section {
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
  background: var(--yellow);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(20, 33, 61, 0.15);
  border: 1px solid rgba(20, 33, 61, 0.15);
  border-radius: var(--radius-md);
}

.outcome-grid article {
  min-height: 285px;
  padding: 1.7rem;
  background: var(--yellow);
}

.outcome-grid article > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 4rem;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.outcome-grid p {
  color: var(--ink-soft);
}

.faq-section {
  max-width: 1000px;
}

.faq-list details {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding-right: 3rem;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: -0.2rem;
  right: 0;
  color: var(--accent);
  content: "+";
  font-size: 1.7rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.final-cta {
  position: relative;
  isolation: isolate;
  padding: clamp(5rem, 10vw, 9rem) 24px;
  color: var(--white);
  background-image: linear-gradient(rgba(10, 20, 39, 0.76), rgba(10, 20, 39, 0.9)), url("./assets/ksyu-city.webp");
  background-position: center 48%;
  background-size: cover;
  text-align: center;
}

.final-cta .eyebrow {
  color: var(--yellow-strong);
}

.final-cta h2 {
  max-width: 850px;
  margin: 0 auto 2.5rem;
  font-size: clamp(3.3rem, 8vw, 7rem);
}

.final-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2rem;
  padding: 3.5rem max(24px, calc((100vw - var(--max-width)) / 2));
  background: #fbf8f1;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand-logo-image {
  width: min(100%, 285px);
}

.site-footer p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-legal {
  align-items: flex-end;
}

.footer-links a:hover,
.footer-legal button:hover {
  color: var(--accent);
}

.modal {
  width: min(92vw, 720px);
  max-height: 90vh;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  overflow: visible;
}

.test-modal {
  width: min(94vw, 840px);
}

.modal::backdrop {
  background: rgba(8, 16, 32, 0.72);
  backdrop-filter: blur(7px);
}

.modal-shell {
  position: relative;
  max-height: 90vh;
  padding: clamp(2rem, 5vw, 3.6rem);
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow-y: auto;
}

.compact-modal {
  max-width: 650px;
  margin: auto;
}

.modal h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.contact-options {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0 1rem;
}

.contact-option {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact-option:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.contact-option > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  font-weight: 900;
}

.contact-option strong,
.contact-option small {
  display: block;
}

.contact-option small,
.modal-note,
.result-actions ~ small {
  color: var(--ink-soft);
}

.test-instructions {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  background: var(--yellow);
  border: 1px solid rgba(246, 223, 106, 0.9);
  border-radius: var(--radius-sm);
}

.test-instructions h3,
.speaking-preview h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.test-instructions ul,
.writing-ideas,
.speaking-preview ol {
  margin: 0;
  padding-left: 1.25rem;
}

.test-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.5rem 0 1rem;
}

.test-contact-grid label,
.writing-field {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.test-contact-grid .field-wide {
  grid-column: 1 / -1;
}

.test-contact-grid input,
.test-contact-grid select,
.writing-field textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
}

.test-contact-grid input,
.test-contact-grid select {
  min-height: 48px;
  padding: 0.7rem 0.8rem;
}

.test-contact-grid input:focus,
.test-contact-grid select:focus,
.writing-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 95, 221, 0.12);
}

.test-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.test-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.modal-note,
.result-actions ~ small {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.test-progress-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  font-weight: 850;
}

.question-part {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

progress {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background: var(--blue);
}

progress::-webkit-progress-value {
  background: var(--accent);
}

progress::-moz-progress-bar {
  background: var(--accent);
}

#questionFieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

#questionFieldset legend {
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.16;
}

.question-options {
  display: grid;
  gap: 0.65rem;
}

.question-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.question-option:has(input:checked) {
  background: var(--blue);
  border-color: var(--accent);
}

.question-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.test-error {
  margin: 0.8rem 0 0;
  color: #a22d3c;
  font-size: 0.85rem;
  font-weight: 750;
}

.test-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.writing-ideas {
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
}

.writing-field textarea {
  min-height: 240px;
  padding: 1rem;
  resize: vertical;
  line-height: 1.65;
}

.writing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.writing-meta .test-error {
  margin: 0;
}

.result-level {
  display: grid;
  width: 118px;
  height: 118px;
  margin: 1rem 0 1.5rem;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
}

.objective-score {
  margin-top: -0.75rem;
  color: var(--ink-soft);
}

.speaking-preview {
  margin: 1.6rem 0;
  padding: 1.2rem 1.3rem;
  background: var(--blue);
  border: 1px solid var(--blue-strong);
  border-radius: var(--radius-sm);
}

.speaking-preview p {
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}

.speaking-preview li + li {
  margin-top: 0.35rem;
}

.legal-modal p {
  color: var(--ink-soft);
}

@media (max-width: 1050px) {
  .consultation-section {
    grid-template-columns: 1fr;
    max-width: 900px;
  }

  .consultation-copy {
    max-width: 680px;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 78px;
    padding: 0.35rem 18px;
  }

  .site-header .brand-logo-image {
    width: 138px;
  }

  .brand-name,
  .header-actions > .button {
    display: none;
  }

  .hero,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 6rem);
  }

  .hero-proof,
  .trust-strip,
  .steps-grid,
  .preview-stage,
  .placement-callout,
  .package-panel,
  .about,
  .site-footer,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 1rem;
  }

  .hero-visual {
    min-height: 480px;
    padding: 2rem 1rem;
  }

  .lesson-window {
    width: 94%;
    margin-top: 6rem;
  }

  .portrait-window {
    width: min(78%, 390px);
    margin-top: 0.5rem;
  }

  .portrait-window > img {
    height: 390px;
  }

  .note-top {
    right: 0.5rem;
  }

  .note-bottom {
    bottom: 1rem;
  }

  .trust-strip p:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: 0;
  }

  .step-card {
    min-height: 280px;
  }

  .method-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    height: 410px;
  }

  .method-photo-tall {
    grid-row: auto;
  }

  .preview-card {
    border-radius: 14px;
  }

  .preview-screen {
    grid-column: auto;
    grid-row: 4;
  }

  .placement-callout {
    gap: 4rem;
  }

  .package-panel {
    border-radius: 22px;
  }

  .about {
    gap: 3rem;
  }

  .teacher-card {
    min-height: 490px;
  }

  .site-footer {
    gap: 2.5rem;
  }

  .footer-legal {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .button {
    width: 100%;
  }

  .hero-actions,
  .final-actions,
  .result-actions {
    flex-direction: column;
  }

  .pricing-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .lesson-window {
    margin-top: 5.5rem;
  }

  .portrait-window {
    width: 76%;
    margin-top: 0;
  }

  .portrait-window > img {
    height: 335px;
  }

  .floating-note {
    max-width: 195px;
    padding: 0.75rem;
  }

  .floating-note strong {
    font-size: 0.88rem;
  }

  .level-orbit {
    width: 92vw;
    max-width: 390px;
  }

  .price-card {
    min-height: 390px;
  }

  .consultation-section {
    width: calc(100% - 20px);
    padding: 2.2rem 1.15rem;
    border-radius: 20px;
  }

  .lead-fields {
    grid-template-columns: 1fr;
  }

  .lead-fields label:first-child,
  .lead-fields label:nth-child(2) {
    grid-column: auto;
  }

  .method-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 290px 220px;
    height: auto;
  }

  .method-photo-tall {
    grid-column: 1 / -1;
  }

  .modal {
    width: calc(100vw - 20px);
  }

  .modal-shell {
    padding: 2rem 1.15rem;
    border-radius: 18px;
  }

  .modal-close {
    top: 0.65rem;
    right: 0.65rem;
  }

  .test-contact-grid {
    grid-template-columns: 1fr;
  }

  .test-contact-grid .field-wide {
    grid-column: auto;
  }

  .writing-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .test-controls {
    flex-direction: column-reverse;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
