:root {
  --bg: #0b0b0a;
  --bg-2: #141412;
  --card: #1a1a17;
  --line: rgba(244, 241, 232, 0.12);
  --line-2: rgba(244, 241, 232, 0.22);
  --ink: #f4f1e8;
  --muted: #b3afa3;
  --yellow: #ffde59;
  --yellow-2: #ffe680;
  --on-yellow: #121210;
  --blue: #2b45e6;
  --blue-ink: #a9b6ff;
  --err: #ff8a7a;
  --radius: 14px;
  --head: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --chalk: "Caveat", "Comic Sans MS", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] {
  display: none !important;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem);
  letter-spacing: -0.01em;
  max-width: 22ch;
}
h3 {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(820px, 100% - 32px);
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--yellow);
  color: var(--on-yellow);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.kicker {
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}

/* buttons */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 0.98rem/1.1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease),
    background-color 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--yellow);
  color: var(--on-yellow);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn-sm {
  --h: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}
.btn-lg {
  --h: 56px;
  padding: 0 28px;
  font-size: 1.02rem;
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--yellow-2);
  }
  .btn-ghost:hover {
    border-color: var(--yellow);
    color: var(--yellow);
  }
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.top.scrolled {
  border-bottom-color: var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.mark {
  width: 36px;
  height: 36px;
  color: var(--yellow);
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text b {
  font: 700 1rem/1 var(--head);
  letter-spacing: 0.22em;
}
.brand-text small {
  white-space: nowrap;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.nav {
  display: none;
  gap: 4px;
}
.nav a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms;
}
.nav a:hover {
  color: var(--ink);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.lang:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.top-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.top-phone svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: var(--yellow);
}
.top-actions .btn-sm {
  display: none;
}

/* hero */
.hero {
  position: relative;
  padding: 40px 0 64px;
  background:
    radial-gradient(120% 70% at 80% 0%, rgba(255, 222, 89, 0.08), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(244, 241, 232, 0.04), transparent 70%);
}
.hero-in {
  display: grid;
  gap: 40px;
}
h1 {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.h1-line {
  display: block;
}
.h1-line.accent {
  color: var(--yellow);
}
.lead {
  margin-top: 22px;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--muted);
  max-width: 54ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-cta .btn {
  flex: 1 1 240px;
}

.board {
  margin: 0;
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(244, 241, 232, 0.05), transparent 70%),
    linear-gradient(160deg, #1b1c19, #121311);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 60px -30px rgba(0, 0, 0, 0.8);
  padding: 18px 18px 14px;
}
.board-svg {
  width: 100%;
  height: auto;
}
/* cobalt sticker on the board, links to the results */
.board-badge {
  position: absolute;
  top: -18px;
  right: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  transform: rotate(-3deg);
  box-shadow: 0 14px 30px -12px rgba(43, 69, 230, 0.7);
  transition: transform 200ms var(--ease);
}
.board-badge b {
  font: 700 1.5rem/1 var(--head);
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.board-badge span {
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  max-width: 11ch;
}
@media (hover: hover) {
  .board-badge:hover {
    transform: rotate(0deg) translateY(-2px);
  }
}
.vec-legs {
  fill: none;
  stroke: rgba(244, 241, 232, 0.4);
  stroke-width: 1.6;
  stroke-dasharray: 5 6;
}
.vec {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 222, 89, 0.35));
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.chalk {
  font: 500 24px var(--chalk);
  fill: rgba(244, 241, 232, 0.82);
}
.chalk.big {
  font-size: 32px;
  fill: var(--yellow);
}
.chalk.sm {
  font-size: 20px;
  fill: rgba(244, 241, 232, 0.55);
}
.board figcaption {
  font: 500 1.35rem/1.2 var(--chalk);
  color: var(--ink);
  opacity: 0.85;
  padding: 6px 6px 0;
}
@media (prefers-reduced-motion: no-preference) {
  .vec {
    stroke-dashoffset: 1;
    animation: draw 1.4s 0.3s var(--ease) forwards;
  }
  .chalk {
    opacity: 0;
    animation: fade 0.6s var(--ease) forwards;
    animation-delay: 1.1s;
  }
  .chalk.big {
    animation-delay: 1.4s;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}

/* the Russian-groups band */
.why {
  background: var(--yellow);
  color: var(--on-yellow);
  padding: 72px 0;
}
.why .kicker {
  color: var(--on-yellow);
  opacity: 0.7;
}
.why-in {
  display: grid;
  gap: 36px;
}
.why h2 {
  max-width: 14ch;
}
.why-also {
  margin-top: 18px;
  font-weight: 600;
  color: rgba(18, 18, 16, 0.72);
}
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--on-yellow);
  color: var(--yellow);
}
.why-check svg {
  width: 22px;
  height: 22px;
}
.why-list h3 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 700;
}
.why-list p {
  margin-top: 4px;
  color: rgba(18, 18, 16, 0.72);
}

/* results: the cobalt band */
.results-band {
  position: relative;
  padding: 72px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--blue);
  color: #fff;
}
.results-band .kicker {
  color: var(--yellow);
}
.results-band .result {
  background: rgba(6, 10, 60, 0.32);
  border-color: rgba(255, 255, 255, 0.16);
}
.results-band .score b {
  font-size: clamp(2.8rem, 2rem + 3vw, 4rem);
  color: var(--yellow);
}
.results-band .result .tr,
.results-band .who {
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.16);
}
.results-band .more {
  color: #fff;
}

/* sections */
.sec {
  padding: 72px 0;
}
.sec-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.courses {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 14px;
}
.course {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition:
    border-color 200ms var(--ease),
    transform 200ms var(--ease);
}
@media (hover: hover) {
  .course:not(.course-cta):hover {
    border-color: rgba(255, 222, 89, 0.5);
    transform: translateY(-2px);
  }
}
.course-tag {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 34px;
  padding: 0 10px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font: 700 0.85rem/1 var(--head);
  font-variant-numeric: tabular-nums;
}
.course h3 {
  margin-top: 16px;
}
.course p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.course-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  border-style: dashed;
  border-color: rgba(255, 222, 89, 0.45);
}
.course-cta p {
  color: var(--ink);
  margin: 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 24px;
  counter-reset: s;
}
.steps li {
  position: relative;
  padding-left: 60px;
}
.step-n {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--on-yellow);
  font: 700 1rem/1 var(--head);
}
.steps p {
  margin-top: 6px;
  color: var(--muted);
}

.teachers {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 14px;
}
.defs {
  position: absolute;
}
.teacher {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 200ms var(--ease),
    transform 200ms var(--ease);
}
@media (hover: hover) {
  .teacher:hover {
    border-color: rgba(255, 222, 89, 0.5);
    transform: translateY(-3px);
  }
}
/* "portrait" panel: chalkboard grid, soft yellow glow, silhouette sitting on the bottom edge */
.portrait {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(60% 55% at 50% 58%, rgba(255, 222, 89, 0.16), transparent 70%),
    linear-gradient(rgba(244, 241, 232, 0.05) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(244, 241, 232, 0.05) 1px, transparent 1px) 0 0 / 20px 20px,
    #1a1a17;
  border-bottom: 1px solid var(--line);
}
.sil {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 78%;
  height: auto;
  transform: translateX(-50%);
}
.t-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: 700 0.78rem/1.1 var(--head);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 20px -8px rgba(43, 69, 230, 0.8);
}
.teacher-body {
  padding: 22px 24px 26px;
}
.teacher h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
.teacher-role {
  margin-top: 6px;
  color: var(--blue-ink);
  font-weight: 600;
  font-size: 0.92rem;
}
.teacher ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.teacher li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.teacher li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 2px;
  background: var(--yellow);
}

.results {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 14px;
}
.result {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.score b {
  font: 700 2.6rem/1 var(--head);
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.score span {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.result blockquote {
  margin: 18px 0 0;
  padding: 0;
  font-size: 1rem;
  flex: 1;
}
.result .tr {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.who {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-weight: 700;
  text-decoration: none;
  color: var(--yellow);
  min-height: 44px;
}
.more svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.more svg:last-child {
  fill: none;
  transition: transform 160ms var(--ease);
}
.more:hover svg:last-child {
  transform: translateX(4px);
}

.prices {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.price-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.price-card dl {
  margin: 14px 0 0;
}
.row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.row dt {
  flex: none;
  color: var(--muted);
}
.row dt::after {
  content: "";
}
.row dd {
  margin: 0 0 0 auto;
  text-align: right;
  font-size: 0.9rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.row dd b {
  font: 700 1.25rem/1 var(--head);
  color: var(--ink);
}
.price-note {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 222, 89, 0.45);
}

.faq {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  color: var(--yellow);
  font: 500 1.2rem/1 var(--body);
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 44px 20px 0;
  color: var(--muted);
}

/* sign-up */
.signup {
  background:
    radial-gradient(70% 80% at 100% 50%, rgba(255, 222, 89, 0.1), transparent 70%),
    var(--bg);
}
.signup-in {
  display: grid;
  gap: 32px;
  align-items: center;
}
.signup-copy > p:not(.kicker) {
  margin-top: 16px;
  color: var(--muted);
  max-width: 44ch;
}
.signup-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font: 700 1.2rem/1 var(--head);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.signup-tel svg {
  width: 20px;
  height: 20px;
  fill: var(--yellow);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.lead-fields {
  display: grid;
  gap: 16px;
}
.field {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.field label,
.field legend {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
  margin-bottom: 8px;
}
.field label {
  margin-bottom: 0;
}
.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line-2);
  background: #0f0f0e;
  color: var(--ink);
  font: 500 16px/1 var(--body);
  transition: border-color 160ms;
}
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffde59' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input::placeholder {
  color: #77746b;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--yellow);
}
.field input[aria-invalid="true"] {
  border-color: var(--err);
}
.phone {
  display: flex;
  align-items: stretch;
}
.phone-cc {
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1.5px solid var(--line-2);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: #171715;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.phone input {
  border-radius: 0 12px 12px 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.err {
  color: var(--err);
  font-size: 0.86rem;
}
.segs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: #0f0f0e;
  border: 1.5px solid var(--line-2);
}
.seg {
  position: relative;
}
.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.seg span {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition:
    background-color 160ms var(--ease),
    color 160ms var(--ease);
}
.seg input:checked + span {
  background: var(--yellow);
  color: var(--on-yellow);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-status {
  color: var(--err);
  font-size: 0.92rem;
}
.consent {
  font-size: 0.8rem;
  color: #8f8b80;
}
.lead-ok {
  text-align: center;
  padding: 20px 0 8px;
}
.lead-ok:not([hidden]) {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.ok-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--on-yellow);
  margin-bottom: 6px;
}
.ok-icon svg {
  width: 32px;
  height: 32px;
}
.ok-title {
  font: 700 1.3rem/1.2 var(--head);
  outline: none;
}
.lead-ok p:not(.ok-title) {
  color: var(--muted);
  max-width: 34ch;
}
.lead-ok .btn {
  margin-top: 10px;
}

/* contacts */
.contacts {
  display: grid;
  gap: 32px;
}
.addr {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
}
.addr svg {
  width: 22px;
  height: 22px;
  fill: var(--yellow);
  flex: none;
  margin-top: 2px;
}
.addr b {
  color: var(--ink);
  font-size: 1.08rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list span {
  color: var(--muted);
}
.contact-list a {
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  text-align: right;
}
.contact-list a:hover {
  color: var(--yellow);
}
.maps-label {
  margin-top: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}
.maps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.maps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.maps a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--card);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.2);
}

/* footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 120px;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot-in {
  display: grid;
  gap: 24px;
}
.foot-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.foot-brand b {
  color: var(--ink);
  font-family: var(--head);
  letter-spacing: 0.2em;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.foot-links svg {
  width: 18px;
  height: 18px;
  fill: var(--yellow);
}
.foot-links a:hover {
  color: var(--yellow);
}

/* mobile action dock */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 240ms var(--ease);
}
.dock.show {
  transform: none;
}
.dock .btn-primary {
  flex: 1;
}
.dock .btn-ghost {
  width: 52px;
  padding: 0;
  flex: none;
}

/* modal */
.modal {
  width: min(480px, 100% - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: var(--card);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  padding: 28px 22px 22px;
}
.modal h2 {
  font-size: 1.35rem;
  padding-right: 44px;
}
.modal-lead {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.modal-x:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}
.modal-x svg {
  width: 22px;
  height: 22px;
}
@media (prefers-reduced-motion: no-preference) {
  .modal[open] {
    animation: pop 220ms var(--ease);
  }
  .modal[open]::backdrop {
    animation: fade 220ms var(--ease);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

/* larger screens */
@media (min-width: 640px) {
  .courses,
  .teachers,
  .results,
  .prices {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .price-note p {
    max-width: 52ch;
  }
  .price-note .btn {
    flex: none;
  }
  .modal-box {
    padding: 32px;
  }
}
@media (min-width: 900px) {
  .top-actions .btn-sm {
    display: inline-flex;
  }
  .top-phone {
    display: inline-flex;
  }
  .hero {
    padding: 72px 0 96px;
  }
  .hero-in {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
  }
  .hero-cta .btn {
    flex: 0 0 auto;
  }
  .why,
  .results-band,
  .sec {
    padding: 104px 0;
  }
  .why-in {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
  }
  .courses {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps li {
    padding: 64px 0 0;
  }
  .teachers,
  .results {
    grid-template-columns: repeat(3, 1fr);
  }
  .signup-in {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .card {
    padding: 32px;
  }
  .contacts {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: stretch;
  }
  .foot {
    padding-bottom: 48px;
  }
  .foot-in {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .foot-copy {
    grid-column: 1 / -1;
  }
  .dock {
    display: none;
  }
}
@media (min-width: 1200px) {
  .nav {
    display: flex;
  }
}

/* phones: logo and phone-number links get a full 44px touch area */
.brand,
.signup-tel {
  min-height: 44px;
}
