:root {
  --ink: #111827;
  --graphite: #263040;
  --navy: #0f172a;
  --navy-2: #172036;
  --paper: #ffffff;
  --mist: #f5f7fb;
  --line: #dfe5ef;
  --muted: #64748b;
  --red: #d4212f;
  --red-dark: #b31924;
  --gold: #d9aa3b;
  --gold-soft: #fff5d6;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
  --font-main: "Inter", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--gold-soft);
  color: var(--navy);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--navy);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 229, 239, 0.7);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--container);
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.brand__mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--paper);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  box-shadow: inset 0 -3px 0 var(--red);
}

.brand__name {
  font-size: 1.16rem;
  letter-spacing: 0;
}

.nav__links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav__links a {
  position: relative;
  padding: 8px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.icon-button {
  width: 44px;
  aspect-ratio: 1;
  display: none;
  place-items: center;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--navy);
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: var(--radius);
  padding: 0 24px;
  font-weight: 800;
  font-size: 0.97rem;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.button svg,
.icon-button svg,
.benefit__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.button--primary {
  background: var(--red);
  color: var(--paper);
  box-shadow: 0 8px 24px rgba(212, 33, 47, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--red-dark);
  box-shadow: 0 14px 36px rgba(212, 33, 47, 0.36);
}

.button--secondary {
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.button--dark {
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: var(--red);
  box-shadow: 0 12px 28px rgba(212, 33, 47, 0.28);
}

.button--small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.91rem;
}

.button--wide {
  width: 100%;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */

.section,
.section-band {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 108px 0;
}

.section-band {
  border-radius: 0;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  min-height: calc(100svh - 108px);
  padding: 86px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: "Manrope", var(--font-main);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 4.2rem;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.45rem;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
  font-weight: 800;
}

.hero__lead {
  max-width: 670px;
  margin-bottom: 32px;
  color: var(--graphite);
  font-size: 1.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--graphite);
  font-weight: 700;
}

.hero__note-line {
  width: 54px;
  height: 2px;
  background: var(--gold);
}

.hero__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 229, 239, 0.9);
  border-radius: var(--radius);
  background: var(--mist);
  box-shadow: var(--shadow);
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ── Metrics ─────────────────────────────────────────────────────────────── */

.metrics {
  width: var(--container);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 118px;
  padding: 24px;
  background: var(--paper);
  display: grid;
  align-content: center;
  gap: 4px;
}

.metric strong {
  color: var(--navy);
  font-family: "Manrope", var(--font-main);
  font-size: 3.2rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

/* ── Section headings ────────────────────────────────────────────────────── */

.section__heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

/* ── Course recommend banner ─────────────────────────────────────────────── */

.course-recommend-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(217, 170, 59, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(217, 170, 59, 0.06), transparent 60%), var(--mist);
}

.course-recommend-banner__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
}

.course-recommend-banner__icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  stroke: none;
}

.course-recommend-banner__label {
  margin: 0 0 4px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.course-recommend-banner__text {
  margin: 0;
  color: var(--graphite);
  font-size: 0.97rem;
}

/* ── Course cards ────────────────────────────────────────────────────────── */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.course-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 30px;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 33, 47, 0.34);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.course-card--accent {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.course-card--accent h3,
.course-card--accent .price {
  color: var(--paper);
}

.course-card--accent .course-card__badge {
  background: var(--gold-soft);
  color: var(--navy);
}

.course-card__top {
  min-height: 118px;
}

.course-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(212, 33, 47, 0.08);
  color: var(--red);
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.course-card__badge--muted {
  background: var(--mist);
  color: var(--muted);
}

.course-card__subtitle {
  color: var(--muted);
  font-weight: 700;
}

.course-card p {
  color: inherit;
}

.check-list,
.audience__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 12px;
  color: inherit;
}

.check-list li,
.audience__list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before,
.audience__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 5px var(--gold);
}

.course-card--accent .check-list li::before {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 5px var(--gold);
}

.course-card__bottom {
  margin-top: auto;
  display: grid;
  gap: 18px;
}

.price {
  margin: 6px 0 0;
  color: var(--navy);
  font-family: "Manrope", var(--font-main);
  font-size: 1.45rem;
  font-weight: 800;
}

/* ── Dark section ────────────────────────────────────────────────────────── */

.section--dark {
  width: 100%;
  max-width: none;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
}

.section__heading--light h2 {
  color: var(--paper);
}

.section__heading--light p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.benefit {
  min-height: 240px;
  background: #121d33;
  padding: 26px;
}

.benefit__icon {
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: var(--radius);
  background: rgba(217, 170, 59, 0.16);
  color: var(--gold);
}

.benefit h3 {
  color: var(--paper);
  font-size: 1.08rem;
}

.benefit p {
  margin-bottom: 0;
}

/* ── Audience ────────────────────────────────────────────────────────────── */

.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.audience__list {
  display: grid;
  gap: 18px;
  border-left: 2px solid var(--line);
  padding-left: 28px;
  color: var(--graphite);
  font-size: 1.08rem;
  font-weight: 700;
}

/* ── Steps ───────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  min-height: 220px;
  border-top: 3px solid var(--red);
  background: var(--mist);
  padding: 28px;
}

.step span {
  display: block;
  margin-bottom: 54px;
  color: var(--gold);
  font-family: "Manrope", var(--font-main);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.step h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

/* ── Launch band ─────────────────────────────────────────────────────────── */

.launch {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 22px;
  padding: 52px;
  background:
    linear-gradient(90deg, rgba(212, 33, 47, 0.06), transparent 38%),
    var(--mist);
  border: 1px solid var(--line);
}

.launch h2 {
  margin-bottom: 0;
}

.launch p:last-child {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: 1.1rem;
}

/* ── Contact / lead form ─────────────────────────────────────────────────── */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
}

.contact__copy {
  position: sticky;
  top: 120px;
}

.contact__copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.lead-form {
  display: grid;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field span,
.choice-group legend {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink);
  padding: 0 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input:focus {
  border-color: var(--red);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(212, 33, 47, 0.1);
}

.choice-group {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-group legend {
  width: 100%;
  margin-bottom: 10px;
}

.choice-group label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}

.choice-group input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.choice-group span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--graphite);
  padding: 0 16px;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.choice-group input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.choice-group input:focus-visible + span {
  outline: 3px solid rgba(212, 33, 47, 0.22);
  outline-offset: 2px;
}

.choice-group--courses label {
  flex: 1 1 180px;
}

.choice-group--courses span {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: -6px 0 0;
  color: var(--graphite);
  font-weight: 700;
}

.form-status.is-error {
  color: var(--red);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer {
  width: 100%;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer--modern {
  display: grid;
  max-width: 1180px;
  width: calc(100% - 40px);
  margin: 0 auto;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 54px 0 44px;
}

.footer__tagline {
  margin: 0 0 6px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.97rem;
}

/* ── Home CTA band ────────────────────────────────────────────────────────── */

.home-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 52px;
  background: linear-gradient(90deg, rgba(212, 33, 47, 0.06), transparent 50%), var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.home-cta-band h2 {
  margin-bottom: 10px;
}

.home-cta-band p:last-of-type {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: 1.05rem;
}

/* ── Textarea field ───────────────────────────────────────────────────────── */

.field__textarea {
  width: 100%;
  min-height: 90px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field__textarea:focus {
  border-color: var(--red);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(212, 33, 47, 0.1);
}

.footer__brand-col {
  display: grid;
  gap: 0;
}

.brand--footer {
  margin-bottom: 12px;
}

.footer__desc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__col-title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer p {
  margin-bottom: 0;
}

.footer__menu {
  display: grid;
  gap: 10px;
  color: var(--graphite);
  font-weight: 700;
}

.footer__socials {
  display: grid;
  gap: 10px;
  color: var(--graphite);
  font-weight: 700;
}

.footer__socials--inline {
  display: flex;
  gap: 10px;
}

.footer__social-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--graphite);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer__social-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__social-btn:hover,
.footer__social-btn:focus-visible {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}

.footer__contacts {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--graphite);
  font-weight: 700;
  font-size: 0.93rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--muted);
}

.footer__legal {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--red);
}

/* ── Trial highlight ──────────────────────────────────────────────────────── */

.trial-highlight {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  margin: 24px 0;
  border: 1px solid rgba(212, 33, 47, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(212, 33, 47, 0.05), transparent 60%), var(--mist);
}

.trial-highlight__price {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--paper);
  font-family: "Manrope", var(--font-main);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 18px rgba(212, 33, 47, 0.28);
}

.trial-highlight__title {
  margin: 0 0 4px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
}

.trial-highlight__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

/* ── Lead form header ────────────────────────────────────────────────────── */

.lead-form__header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.lead-form__header-title {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: "Manrope", var(--font-main);
  font-size: 1.28rem;
  font-weight: 800;
}

.lead-form__header-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Reveal animation ────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 120ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Support link ────────────────────────────────────────────────────────── */

.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.06);
  color: var(--navy);
  padding: 0 14px;
  font-size: 0.91rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.support-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.support-link:hover,
.support-link:focus-visible {
  background: #2aabee;
  color: var(--paper);
  transform: translateY(-1px);
}

/* ── Language dropdown ───────────────────────────────────────────────────── */

.language-switcher {
  position: relative;
}

.lang-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--graphite);
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lang-dropdown__trigger:hover,
.lang-dropdown__trigger:focus-visible {
  border-color: var(--navy);
  background: var(--mist);
}

.lang-dropdown__trigger[aria-expanded="true"] {
  border-color: var(--navy);
  background: var(--mist);
}

.lang-dropdown__flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-dropdown__label {
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-dropdown__chevron {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms ease;
  flex-shrink: 0;
}

.lang-dropdown__trigger[aria-expanded="true"] .lang-dropdown__chevron {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
  padding: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 100;
}

.lang-dropdown__menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  border-radius: 6px;
  background: transparent;
  color: var(--graphite);
  padding: 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
  text-align: left;
}

.lang-dropdown__item:hover,
.lang-dropdown__item:focus-visible {
  background: var(--mist);
  color: var(--navy);
}

.lang-dropdown__item.is-active {
  background: var(--navy);
  color: var(--paper);
}

.lang-dropdown__item.is-active:hover {
  background: var(--red);
}

.lang-dropdown__item-flag {
  font-size: 1.2rem;
  line-height: 1;
}

.lang-dropdown__item-check {
  margin-left: auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 160ms ease;
}

.lang-dropdown__item.is-active .lang-dropdown__item-check {
  opacity: 1;
}

/* ── Legal pages ─────────────────────────────────────────────────────────── */

.legal-hero {
  padding: 92px 0 54px;
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--graphite);
  font-size: 1.12rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 112px;
  border-left: 3px solid var(--red);
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

.legal-card {
  display: grid;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 36px;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.06);
}

.legal-card section {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-card section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-card h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.legal-card p {
  margin-bottom: 0;
  color: var(--graphite);
}

.legal-updated {
  color: var(--muted);
  font-weight: 800;
}

/* ── About page ──────────────────────────────────────────────────────────── */

.about-hero {
  padding: 88px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.about-hero__copy {
  max-width: 620px;
}

.about-hero__visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-hero__visual-inner {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0f172a 0%, #172036 50%, #263040 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px;
}

.about-hero__brand-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  color: var(--paper);
  font-family: "Manrope", var(--font-main);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 -4px 0 var(--red);
}

.about-hero__brand-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.about-levels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.about-levels span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 8px;
  background: rgba(212,33,47,0.18);
  color: #e87080;
  font-family: "Manrope", var(--font-main);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(212,33,47,0.25);
}

.about-mission {
  background:
    linear-gradient(90deg, rgba(212, 33, 47, 0.06), transparent 50%),
    var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.about-mission h2 {
  font-size: 2.4rem;
}

.about-mission p {
  color: var(--graphite);
  font-size: 1.12rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.about-approach__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.about-approach__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--graphite);
  box-shadow: 0 4px 14px rgba(15,23,42,0.04);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.about-approach__item:hover {
  border-color: rgba(212,33,47,0.3);
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

.about-approach__item-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(15,23,42,0.05);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,33,47,0.25);
  box-shadow: 0 16px 40px rgba(15,23,42,0.1);
}

.value-card__check {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  margin-bottom: 16px;
}

.value-card__check svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.about-cta {
  text-align: center;
  padding: 72px 32px;
  background:
    linear-gradient(135deg, rgba(212,33,47,0.07) 0%, transparent 60%),
    var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 24px;
}

.about-cta h2 {
  margin-bottom: 16px;
}

.about-cta p {
  color: var(--graphite);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ── Application page ────────────────────────────────────────────────────── */

.application-page {
  padding: 88px 0 108px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 60px;
  align-items: start;
}

.application-page__copy {
  position: sticky;
  top: 120px;
}

.application-page__copy h1 {
  font-size: 3.8rem;
}

.application-page__copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.application-page__features {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.application-page__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--graphite);
  font-weight: 700;
  font-size: 0.98rem;
}

.application-page__feature-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(212,33,47,0.1);
  color: var(--red);
}

.application-page__feature-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Success popup ───────────────────────────────────────────────────────── */

.success-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.success-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.success-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.success-popup__panel {
  position: relative;
  max-width: 480px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 48px 40px 40px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.22);
  transform: translateY(20px) scale(0.97);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-popup.is-open .success-popup__panel {
  transform: translateY(0) scale(1);
}

.success-popup__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.success-popup__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-popup__title {
  margin-bottom: 12px;
  font-size: 1.8rem;
  color: var(--navy);
}

.success-popup__subtitle {
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 32px;
}

.success-popup__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 160px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--paper);
  padding: 0 28px;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.success-popup__close:hover,
.success-popup__close:focus-visible {
  background: var(--red);
  box-shadow: 0 10px 24px rgba(212,33,47,0.22);
  transform: translateY(-2px);
}

/* ── Nav CTA button ──────────────────────────────────────────────────────── */

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--paper);
  padding: 0 16px;
  font-size: 0.91rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  box-shadow: 0 4px 14px rgba(212,33,47,0.22);
}

.nav__cta:hover,
.nav__cta:focus-visible {
  background: var(--red-dark);
  box-shadow: 0 8px 20px rgba(212,33,47,0.3);
  transform: translateY(-1px);
}

.nav__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — tablet (≤ 1080px)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1080px) {
  .nav {
    gap: 14px;
  }

  .nav__links {
    gap: 14px;
    font-size: 0.9rem;
  }

  .nav__cta {
    display: none;
  }

  /* Hero */
  .hero,
  .contact,
  .audience,
  .launch {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
    gap: 44px;
  }

  .hero__visual {
    max-width: 680px;
    margin: 0 auto;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  /* Courses */
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-card--accent {
    grid-column: 1 / -1;
  }

  .course-card__top {
    min-height: auto;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Steps */
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* CTA band */
  .home-cta-band {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px;
  }

  /* Footer */
  .footer--modern {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__brand-col {
    grid-column: 1 / -1;
  }

  /* Forms */
  .contact__copy {
    position: static;
  }

  /* Legal */
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  /* About */
  .about-hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    gap: 40px;
  }

  .about-hero__copy {
    max-width: 100%;
  }

  .about-approach-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* Application */
  .application-page {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .application-page__copy {
    position: static;
  }

  .application-page__copy h1 {
    font-size: 3rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — mobile (≤ 760px)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 760px) {
  :root {
    --container: min(100% - 24px, 1180px);
  }

  /* ── Nav ── */
  .nav {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 10px 0 10px;
  }

  .icon-button {
    display: grid;
  }

  .nav__actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding-bottom: 4px;
  }

  .support-link {
    width: 100%;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .language-switcher {
    justify-self: end;
  }

  .lang-dropdown__trigger {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .lang-dropdown__menu {
    right: 0;
    min-width: 150px;
  }

  /* Mobile nav drawer */
  .nav__links {
    position: fixed;
    top: 118px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    padding: 6px;
    z-index: 60;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links a {
    padding: 13px 14px;
    border-radius: calc(var(--radius) - 2px);
  }

  .nav__links a:hover {
    background: var(--mist);
  }

  .nav__links a::after {
    display: none;
  }

  /* ── Typography ── */
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  /* ── Hero ── */
  .hero {
    gap: 32px;
    padding: 44px 0 40px;
  }

  .hero__lead {
    font-size: 1.05rem;
    margin-bottom: 26px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero__actions .button,
  .button--wide {
    width: 100%;
  }

  /* ── Metrics ── */
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric {
    min-height: 100px;
    padding: 18px 20px;
  }

  .metric strong {
    font-size: 2.4rem;
  }

  /* ── Sections ── */
  .section {
    padding: 64px 0;
  }

  .section__heading {
    margin-bottom: 28px;
  }

  /* ── Courses ── */
  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card--accent {
    grid-column: auto;
  }

  .course-card,
  .lead-form {
    padding: 22px;
  }

  .course-recommend-banner {
    padding: 14px 16px;
    gap: 12px;
  }

  /* ── Benefits ── */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit {
    min-height: auto;
    padding: 22px;
  }

  .benefit__icon {
    margin-bottom: 20px;
  }

  /* ── Steps ── */
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    min-height: auto;
    padding: 22px;
  }

  .step span {
    margin-bottom: 24px;
    font-size: 2rem;
  }

  /* ── Audience ── */
  .audience__list {
    border-left: 0;
    padding-left: 0;
  }

  /* ── CTA band ── */
  .home-cta-band {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px;
  }

  .home-cta-band h2 {
    font-size: 1.8rem;
  }

  /* ── Footer ── */
  .footer--modern {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 40px 0 32px;
  }

  .footer__brand-col {
    grid-column: 1 / -1;
  }

  /* ── Forms ── */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* ── Legal ── */
  .legal-hero {
    padding: 56px 0 36px;
  }

  .legal-card {
    padding: 24px 20px;
  }

  /* ── About ── */
  .about-mission {
    padding: 32px 20px;
  }

  .about-mission h2 {
    font-size: 1.85rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-cta {
    padding: 40px 20px;
  }

  .about-cta h2 {
    font-size: 1.8rem;
  }

  /* ── Application ── */
  .application-page {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .application-page__copy h1 {
    font-size: 2.2rem;
  }

  .trial-highlight {
    padding: 16px;
    gap: 14px;
  }

  /* ── Success popup ── */
  .success-popup__panel {
    padding: 32px 20px 28px;
    border-radius: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — small mobile (≤ 520px)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 520px) {
  :root {
    --container: min(100% - 20px, 1180px);
  }

  .lang-dropdown__label {
    display: none;
  }

  .lang-dropdown__trigger {
    gap: 4px;
    padding: 0 8px;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero {
    padding: 36px 0 32px;
  }

  .hero__note {
    font-size: 0.9rem;
  }

  .metric strong {
    font-size: 2rem;
  }

  .metric span {
    font-size: 0.82rem;
  }

  .section {
    padding: 52px 0;
  }

  .footer--modern {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 24px;
  }

  .course-card,
  .lead-form {
    padding: 18px;
  }

  .about-hero__visual {
    display: none;
  }

  .choice-group label,
  .choice-group--courses label {
    flex: 1 1 100%;
  }

  .home-cta-band {
    padding: 22px 18px;
  }

  .home-cta-band h2 {
    font-size: 1.6rem;
  }

  .trial-highlight__price {
    width: 50px;
    height: 50px;
    font-size: 0.95rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — tiny (≤ 380px)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 380px) {
  :root {
    --container: min(100% - 16px, 1180px);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .brand__name {
    font-size: 1rem;
  }

  .brand__mark {
    width: 36px;
    font-size: 0.68rem;
  }

  .section {
    padding: 44px 0;
  }

  .metric {
    padding: 14px 16px;
  }

  .metric strong {
    font-size: 1.8rem;
  }

  .nav__links {
    top: 112px;
  }

  .footer--modern {
    grid-template-columns: 1fr;
  }
}
