*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
  /* Elevation. Five steps, placed where the old values already clustered.
     Geometry only -- the colour stays with each shadow, because dark and light
     need different ones. */
  --elev-1: 0 3px 10px;
  --elev-2: 0 8px 20px;
  --elev-3: 0 12px 30px;
  --elev-4: 0 17px 42px;
  --elev-5: 0 26px 64px;
  /* The light that travels through the Courses label. */
  --cue-glint: #ffffff;
  /* One focus ring, everywhere. */
  --ring-color: rgba(110, 162, 255, 0.9);
  --ring-width: 2px;
  --ring-offset: 3px;
  /* Motion. One curve for anything the user triggers: fast, then settling. */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Ambient loops run out and back forever, so they stay symmetric. */
  --ease-loop: ease-in-out;
  /* Exits accelerate away instead of settling. */
  --ease-exit: cubic-bezier(0.4, 0, 0.2, 1);
  /* Corner scale. Five steps: anything between them was an accident. */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;
      --blue: #356fd6;
      --cyan: #6f8fbd;
      --bg: #0b0d12;
      --bg2: #10141a;
      --text: #f4f6f8;
      --text-muted: #929ba8;
      --border: rgba(190,205,225,0.12);
      --card-bg: #11151c;
      --section-offset-left: 0px;
    }
    html[data-theme="light"] {
  --ring-color: rgba(53, 111, 214, 0.86);
  --cue-glint: #3f84e8;
      --blue: #2f63bd;
      --cyan: #4f6f9f;
      --bg: #f6f7f9;
      --bg2: #eef1f5;
      --text: #151922;
      --text-muted: #66707e;
      --border: rgba(24,32,45,0.11);
      --card-bg: #ffffff;
    }
    html { scroll-behavior: smooth; color-scheme: dark; }
    html[data-theme="light"] { color-scheme: light; }
    body {
      font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden;
      transition: background 0.12s var(--ease), color 0.1s var(--ease);
    }
    html[data-theme="light"] body {
      background: var(--bg);
    }
    img,
    video,
    picture,
    canvas,
    [data-protected-media],
    .protected-media {
      -webkit-user-select: none;
      user-select: none;
      -webkit-user-drag: none;
      user-drag: none;
      -webkit-touch-callout: none;
    }
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 1000;
      pointer-events: none;
      opacity: 0;
      background: radial-gradient(circle at var(--theme-x, calc(100% - 180px)) var(--theme-y, 44px), rgba(88,184,232,0.16) 0%, rgba(28,86,217,0.08) 28%, transparent 66%);
    }
    html.theme-swap body::before { animation: themeBloom 0.22s var(--ease); }

    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 60px;
      background: rgba(7,11,18,0.88);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }
    html[data-theme="light"] nav {
      background: rgba(248,250,254,0.90);
      box-shadow: var(--elev-3) rgba(23,49,89,0.08);
    }
    html[data-theme="dark"] nav img { filter: brightness(0) invert(1) !important; }
    html[data-theme="light"] nav img {
      filter: brightness(0) saturate(100%) invert(8%) sepia(16%) saturate(1511%) hue-rotate(176deg) brightness(93%) contrast(96%) !important;
    }
    .nav-actions { display: flex; align-items: center; gap: 10px; }
    .lang-menu {
      position: relative;
      flex: 0 0 auto;
    }
    .lang-trigger {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      height: 38px;
      padding: 0 10px 0 13px;
      border-radius: var(--r-lg);
      border: 1px solid rgba(255,255,255,0.10);
      background: linear-gradient(180deg, rgba(23,29,42,0.92), rgba(14,19,29,0.92));
      color: #f3f7ff;
      cursor: pointer;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 10px 22px rgba(0,0,0,0.22);
      transition: border-color 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
    }
    .lang-trigger::before { display: none; }
    .lang-trigger:hover,
    .lang-menu.is-open .lang-trigger {
      transform: translateY(-1px);
      border-color: rgba(255,255,255,0.16);
      background: linear-gradient(180deg, rgba(27,34,49,0.96), rgba(15,20,31,0.96));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 12px 26px rgba(0,0,0,0.24);
    }
    .lang-trigger-code {
      display: none;
    }
    .lang-trigger-label {
      font-size: 14px;
      font-weight: 600;
      color: #f4f7fd;
      white-space: nowrap;
    }
    .lang-trigger-chevron {
      width: 13px;
      height: 13px;
      margin-left: 0;
      color: rgba(255,255,255,0.64);
      transition: transform 0.22s var(--ease), color 0.22s var(--ease);
    }
    .lang-menu.is-open .lang-trigger-chevron {
      transform: rotate(180deg);
      color: rgba(255,255,255,0.88);
    }
    .lang-menu-list {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      min-width: 164px;
      padding: 8px;
      border-radius: var(--r-lg);
      border: 1px solid rgba(255,255,255,0.09);
      background: linear-gradient(180deg, rgba(20,26,39,0.98), rgba(13,18,29,0.98));
      box-shadow:
        0 18px 36px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
      backdrop-filter: blur(20px);
      opacity: 0;
      transform: translateY(-8px) scale(0.96);
      transform-origin: top right;
      pointer-events: none;
      transition: opacity 0.24s var(--ease), transform 0.28s var(--ease);
      overflow: hidden;
    }
    .lang-menu-list::before { display: none; }
    .lang-menu.is-open .lang-menu-list {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }
    .lang-menu-item {
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 10px 12px;
      border: 0;
      border-radius: var(--r-md);
      background: transparent;
      color: #ffffff;
      cursor: pointer;
      transition: background 0.22s var(--ease), transform 0.22s var(--ease);
    }
    .lang-menu-item:hover {
      transform: translateY(-1px);
      background: rgba(255,255,255,0.06);
    }
    .lang-menu-item[hidden] {
      display: none;
    }
    .lang-item-code {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 36px;
      height: 24px;
      padding: 0 7px;
      border-radius: 999px;
      background: rgba(255,255,255,0.07);
      color: rgba(255,255,255,0.92);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0;
    }
    .lang-item-label {
      font-size: 14px;
      font-weight: 600;
      color: rgba(255,255,255,0.84);
      white-space: nowrap;
    }
    html[data-theme="light"] .lang-trigger {
      border-color: rgba(17,32,57,0.12);
      background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240,245,252,0.94));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        0 10px 22px rgba(31,61,107,0.09);
    }
    html[data-theme="light"] .lang-trigger-label {
      color: #1a2434;
    }
    html[data-theme="light"] .lang-trigger-chevron {
      color: rgba(26,36,52,0.58);
    }
    html[data-theme="light"] .lang-menu-list {
      border-color: rgba(17,32,57,0.08);
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,247,253,0.98));
      box-shadow:
        0 18px 34px rgba(31,61,107,0.12),
        inset 0 1px 0 rgba(255,255,255,0.72);
    }
    html[data-theme="light"] .lang-menu-item {
      color: #07111f;
    }
    html[data-theme="light"] .lang-menu-item:hover {
      background: rgba(7,17,31,0.05);
    }
    html[data-theme="light"] .lang-item-code {
      background: rgba(7,17,31,0.06);
      color: #07111f;
    }
    html[data-theme="light"] .lang-item-label {
      color: rgba(7,17,31,0.78);
    }
    .theme-toggle {
      position: relative;
      width: 74px;
      height: 38px;
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: var(--r-lg);
      background: linear-gradient(180deg, rgba(23,29,42,0.92), rgba(14,19,29,0.92));
      color: var(--text);
      cursor: pointer;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 10px;
      backdrop-filter: blur(18px) saturate(1.25);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 10px 22px rgba(0,0,0,0.22);
      transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
    }
    .theme-toggle::before {
      content: '';
      position: absolute;
      left: 4px;
      top: 4px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: linear-gradient(180deg, rgba(86,93,107,0.96), rgba(63,71,85,0.96));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 7px 16px rgba(0,0,0,0.22);
      transform: translateX(0);
      transition: transform 0.36s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
    }
    .theme-toggle::after { display: none; }
    .theme-toggle:hover {
      transform: translateY(-1px);
      border-color: rgba(255,255,255,0.16);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 12px 24px rgba(0,0,0,0.24);
    }
    .theme-toggle-icon {
      position: absolute;
      top: 50%;
      z-index: 1;
      width: 16px;
      height: 16px;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transform: translateY(-50%);
      transition: opacity 0.22s var(--ease), color 0.22s var(--ease);
    }
    .theme-toggle-icon svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.9;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .theme-toggle-icon.sun { right: 10px; opacity: 0.58; color: rgba(255,255,255,0.72); }
    .theme-toggle-icon.moon { left: 10px; opacity: 0.95; color: #f4f7fd; }
    .theme-toggle-icon.moon svg { width: 15px; height: 15px; stroke-width: 2.05; }
    html[data-theme="light"] .theme-toggle {
      background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(240,245,252,0.94));
      border-color: rgba(17,32,57,0.12);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.86),
        0 10px 22px rgba(23,49,89,0.11);
    }
    html[data-theme="light"] .theme-toggle::before {
      transform: translateX(36px);
      background: linear-gradient(180deg, rgba(142,218,245,0.98), rgba(96,184,224,0.98));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.46),
        0 8px 18px rgba(31,93,219,0.14);
    }
    html[data-theme="light"] .theme-toggle-icon.sun { opacity: 0.98; color: #0f1728; }
    html[data-theme="light"] .theme-toggle-icon.moon { opacity: 0.62; color: #566476; }
    .nav-cta {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 22px;
      border: 1px solid rgba(102,162,222,0.34);
      border-radius: var(--r-md);
      background:
        linear-gradient(135deg, #1f56cc, #3e8dcf),
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.18), transparent 34%);
      color: #fff;
      font-weight: 750;
      font-size: 14px;
      letter-spacing: 0;
      cursor: pointer;
      text-decoration: none;
      text-shadow: 0 1px 8px rgba(0,0,0,0.16);
      box-shadow:
        0 14px 30px rgba(16,38,78,0.22),
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -12px 20px rgba(11,32,78,0.18);
      transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease), filter 0.24s var(--ease);
    }
    .nav-cta::before {
      content: '';
      position: absolute;
      inset: 1px;
      z-index: 0;
      pointer-events: none;
      border-radius: var(--r-md);
      background:
        linear-gradient(115deg, rgba(255,255,255,0.22), transparent 28%, transparent 72%, rgba(255,255,255,0.12)),
        radial-gradient(circle at 88% 20%, rgba(255,255,255,0.16), transparent 30%);
      opacity: 0.54;
      transition: opacity 0.24s var(--ease), transform 0.34s var(--ease);
    }
    .nav-cta::after {
      content: '';
      position: absolute;
      inset: -42%;
      z-index: 0;
      pointer-events: none;
      background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,0.42), transparent 58%);
      transform: translateX(-72%) rotate(10deg);
      transition: transform 0.72s var(--ease);
    }
    .nav-cta:hover {
      transform: translateY(-2px);
      border-color: rgba(167,205,239,0.44);
      filter: saturate(1.02);
      box-shadow:
        0 18px 36px rgba(16,38,78,0.26),
        0 0 0 4px rgba(88,184,232,0.06),
        inset 0 1px 0 rgba(255,255,255,0.28),
        inset 0 -12px 20px rgba(11,32,78,0.15);
    }
    .nav-cta:hover::before { opacity: 0.82; transform: scale(1.02); }
    .nav-cta:hover::after { transform: translateX(68%) rotate(10deg); }
    .nav-cta:active { transform: translateY(0); }
    html[data-theme="light"] .nav-cta {
      border-color: rgba(31,93,219,0.22);
      box-shadow:
        0 14px 28px rgba(31,61,107,0.16),
        inset 0 1px 0 rgba(255,255,255,0.32),
        inset 0 -10px 18px rgba(31,93,219,0.10);
    }

    section { padding: 100px 60px 100px calc(60px + var(--section-offset-left)); max-width: 1280px; margin: 0 auto; }
    h2 { font-size: clamp(28px,4vw,48px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
    h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
    p { color: var(--text-muted); font-size: 17px; line-height: 1.7; }
    .tag {
      display: inline-block;
      background: rgba(0,102,255,0.15); border: 1px solid rgba(0,102,255,0.4);
      color: var(--cyan); font-size: 13px; font-weight: 600;
      padding: 6px 14px; border-radius: var(--r-lg); margin-bottom: 20px; letter-spacing: 0.5px;
    }

    /* HERO */
    #hero {
      min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
      position: relative; overflow: hidden; max-width: 100%; padding: 140px 60px 100px;
    }
    .hero-map {
      position: absolute;
      top: 52%;
      right: clamp(18px, 3.8vw, 86px);
      width: min(52vw, 800px);
      aspect-ratio: 612 / 411;
      z-index: 0;
      pointer-events: none;
      opacity: 0.92;
      transform: translateY(-50%);
      filter: drop-shadow(0 32px 96px rgba(0,102,255,0.28));
      animation: heroMapFloat 13s var(--ease-loop) infinite;
    }
    .hero-map svg {
      position: relative;
      width: 100%;
      height: 100%;
      display: block;
      overflow: visible;
    }
    .hero-map text {
      font-family: 'Inter', sans-serif;
      user-select: none;
    }
    .hero-map-neighbor {
      fill: rgba(255,255,255,0.04);
      stroke: rgba(148,163,184,0.24);
      stroke-width: 1.2;
      vector-effect: non-scaling-stroke;
      opacity: 0.98;
      transition: fill 0.25s var(--ease), stroke 0.25s var(--ease), opacity 0.25s var(--ease);
    }
    .hero-map-kazakhstan {
      fill: rgba(52,211,153,0.16);
      stroke: rgba(94,234,212,0.30);
      animation-duration: 12.5s;
    }
    .hero-map-turkmenistan {
      fill: rgba(251,191,36,0.16);
      stroke: rgba(251,191,36,0.34);
      animation-duration: 11.2s;
      animation-delay: -2.2s;
    }
    .hero-map-kyrgyzstan {
      fill: rgba(249,115,22,0.17);
      stroke: rgba(251,146,60,0.34);
      animation-duration: 9.6s;
      animation-delay: -1.1s;
    }
    .hero-map-tajikistan {
      fill: rgba(236,72,153,0.17);
      stroke: rgba(244,114,182,0.34);
      animation-duration: 8.8s;
      animation-delay: -3.4s;
    }
    .hero-map-uz {
      fill: url(#uzMapGradient);
      stroke: rgba(0,200,255,0.78);
      stroke-width: 2.4;
      filter: url(#heroMapGlow) drop-shadow(0 0 18px rgba(0,200,255,0.24));
      vector-effect: non-scaling-stroke;
      animation: uzPulse 6.8s var(--ease-loop) infinite;
    }
    .hero-inner { position: relative; z-index: 1; max-width: 860px; margin-left: clamp(34px, 4vw, 72px); }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(0,102,255,0.12); border: 1px solid rgba(0,102,255,0.35);
      padding: 8px 16px; border-radius: 30px;
      font-size: 14px; color: var(--cyan); font-weight: 600; margin-bottom: 32px;
    }
    .hero-badge::before { content: '●'; color: var(--cyan); font-size: 8px; animation: pulse 2s infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
    .hero h1 {
      font-size: clamp(38px,6vw,78px); font-weight: 900;
      line-height: 1.05; margin-bottom: 24px; letter-spacing: -2px;
    }
    .accent {
      background: linear-gradient(90deg, var(--blue), var(--cyan));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .hero-sub { font-size: 20px; color: var(--text-muted); margin-bottom: 48px; max-width: 620px; }
    .hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px clamp(18px, 2vw, 44px); margin-bottom: 48px; }
    .hero-stats > div { min-width: 0; }
    .hero-stat-num { font-size: 36px; font-weight: 900; color: var(--cyan); }
    .hero-stat-label { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
    .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
    .btn-primary {
      background: linear-gradient(135deg, #2057cf, #48a7d8);
      color: #fff; padding: 18px 40px; border-radius: var(--r-md);
      font-weight: 700; font-size: 17px; cursor: pointer; border: none;
      box-shadow: 0 16px 30px rgba(16,38,78,0.18), inset 0 1px 0 rgba(255,255,255,0.22);
      transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; display: inline-block;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(16,38,78,0.24), inset 0 1px 0 rgba(255,255,255,0.24); }
    .btn-secondary {
      background: rgba(255,255,255,0.02); color: #fff; padding: 18px 40px; border-radius: var(--r-md);
      font-weight: 600; font-size: 17px; cursor: pointer;
      border: 1px solid rgba(255,255,255,0.14); text-decoration: none; display: inline-block;
      transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    }
    .btn-secondary:hover { border-color: rgba(88,184,232,0.42); background: rgba(88,184,232,0.05); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }

    /* PROBLEM */
    .full-bg { background: var(--bg2); }
    .full-bg > section { max-width: 1280px; margin: 0 auto; }
    .problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; margin-top: 56px; }
    .problem-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.024), rgba(255,255,255,0.012));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-lg);
      padding: 28px 28px 24px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
      transition: border-color 0.28s var(--ease), transform 0.28s var(--ease), color 0.28s var(--ease);
    }
    .problem-card:hover {
      border-color: rgba(88,184,232,0.24);
      transform: translateY(-2px);
      box-shadow: var(--elev-4) rgba(0,0,0,0.16);
    }
    .problem-num { font-size: 52px; font-weight: 900; color: var(--cyan); margin-bottom: 12px; }

    /* METHOD */
    .method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
    .method-steps { display: flex; flex-direction: column; gap: 24px; }
    .method-step {
      display: flex; gap: 20px; align-items: flex-start;
      background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.012));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-md);
      padding: 22px 22px 20px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    }
    .method-step-icon {
      width: 48px; height: 48px; border-radius: var(--r-md);
      background: linear-gradient(135deg, var(--blue), var(--cyan));
      display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
    }
    .method-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .method-stat-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--r-md); padding: 24px; text-align: center;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    }
    .method-stat-big { font-size: 42px; font-weight: 900; color: var(--cyan); }
    .method-stat-label { font-size: 14px; color: var(--text-muted); margin-top: 6px; }
    .method-stat-src { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 4px; }

    /* FOUNDERS */
    .founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
    .founder-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.024), rgba(255,255,255,0.014));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-xl);
      padding: 32px 32px 26px;
      position: relative;
      overflow: hidden;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
    }
    .founder-card::before {
      content: ''; position: absolute; top: -80px; right: -80px;
      width: 360px; height: 360px;
      background: radial-gradient(ellipse at center, rgba(28,86,217,0.07) 0%, rgba(88,184,232,0.03) 34%, transparent 70%);
      filter: blur(28px);
      pointer-events: none;
    }
    .founder-photo { 
      width: 280px; 
      height: 350px; 
      object-fit: cover; 
      object-position: top; 
      display: block;
      border-radius: var(--r-lg); 
      border: none; 
      background: transparent; 
      mix-blend-mode: normal;
      -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 8%, #000 86%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 8%, #000 88%, transparent 100%);
      -webkit-mask-composite: source-in;
      mask-image:
        linear-gradient(to right, transparent 0%, #000 8%, #000 86%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 8%, #000 88%, transparent 100%);
      mask-composite: intersect;
    }
    .founder-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
    .founder-title { color: var(--cyan); font-size: 14px; font-weight: 600; margin-bottom: 24px; }
    .founder-achievements { display: flex; flex-direction: column; gap: 10px; }
    .achievement { display: flex; gap: 12px; align-items: flex-start; }
    .achievement-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-top: 8px; flex-shrink: 0; }
    .achievement span { font-size: 15px; color: var(--text-muted); }
    .achievement span strong { color: var(--text); }

    /* MODULES */
    .modules-header { text-align: center; margin-bottom: 56px; }
    .modules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
    .module-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.012));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-lg);
      padding: 28px 28px 24px;
      transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
      position: relative; overflow: hidden;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.022);
    }
    .module-card::before { display: none; }
    .module-card:hover {
      border-color: rgba(88,184,232,0.24);
      transform: translateY(-2px);
      box-shadow: var(--elev-4) rgba(0,0,0,0.18);
    }
    .module-num { font-size: 12px; font-weight: 700; color: var(--cyan); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
    .module-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
    .module-tag { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--r-lg); }
    .mt-theory { background: rgba(0,102,255,0.15); color: #60a5fa; border: 1px solid rgba(0,102,255,0.3); }
    .mt-cases { background: rgba(0,200,255,0.1); color: var(--cyan); border: 1px solid rgba(0,200,255,0.3); }
    .mt-practice { background: rgba(16,185,129,0.1); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
    html[data-theme="light"] .mt-theory { background: rgba(0,104,255,0.10); color: #0068ff; border-color: rgba(0,104,255,0.22); }
    html[data-theme="light"] .mt-cases { background: rgba(0,167,232,0.10); color: #008dc4; border-color: rgba(0,167,232,0.24); }
    html[data-theme="light"] .mt-practice { background: rgba(16,185,129,0.12); color: #0f9f72; border-color: rgba(16,185,129,0.24); }
    .module-result {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--r-sm);
      padding: 14px 16px;
      margin-top: 16px;
      box-shadow: none;
    }
    html[data-theme="light"] .module-result {
      background: linear-gradient(135deg, rgba(0,104,255,0.08), rgba(0,167,232,0.06)) !important;
      border-color: rgba(0,104,255,0.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    }
    .module-result-label { font-size: 11px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
    .module-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .module-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-muted); align-items: flex-start; }
    .module-list li::before { content: '→'; color: var(--cyan); flex-shrink: 0; margin-top: 1px; }
    .extra-modules { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 24px; }
    .extra-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--r-lg); padding: 24px; transition: border-color 0.3s, background 0.3s var(--ease);
    }
    .extra-card:hover { border-color: rgba(0,200,255,0.26); background: rgba(255,255,255,0.03); }
    .extra-icon {
      display: grid;
      width: 38px;
      height: 38px;
      margin-bottom: 12px;
      place-items: center;
      border: 1px solid rgba(59, 130, 246, 0.28);
      border-radius: var(--r-sm);
      background: rgba(59, 130, 246, 0.1);
      color: var(--blue);
    }
    .extra-icon svg {
      width: 19px;
      height: 19px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* CERTIFICATE */
    .cert-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 44px; align-items: center; }
    .cert-img {
      display: block;
      width: 100%;
      max-width: none;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: contain;
      border-radius: var(--r-md);
      box-shadow: var(--elev-5) rgba(0,0,0,0.5);
    }
    .cert-features { display: flex; flex-direction: column; gap: 20px; }
    .cert-feature {
      display: flex; gap: 20px; align-items: flex-start;
      background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.012));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-md);
      padding: 22px 22px 20px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    }
    .cert-num {
      width: 40px; height: 40px; border-radius: 50%;
      background: linear-gradient(135deg, var(--blue), var(--cyan));
      display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex-shrink: 0;
    }

    /* NPS */
    .nps-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; margin-top: 56px; }
    .nps-big {
      background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--r-lg); padding: 42px; text-align: center;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    }
    .nps-number { font-size: 96px; font-weight: 900; color: var(--cyan); line-height: 1; }
    .nps-bar-item { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
    .nps-bar-label { display: flex; justify-content: space-between; font-size: 15px; }
    .nps-bar-label span:last-child { font-weight: 700; color: var(--cyan); }
    .nps-bar-track { height: 12px; background: rgba(255,255,255,0.05); border-radius: var(--r-xs); overflow: hidden; }
    .nps-bar-fill { height: 100%; border-radius: var(--r-xs); background: linear-gradient(90deg, var(--blue), var(--cyan)); }
    .nps-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
    .nps-extra-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.012));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-md);
      padding: 18px 18px 16px;
      text-align: left;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    }
    .nps-extra-num { font-size: 28px; font-weight: 900; color: var(--cyan); }
    .nps-extra-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

    /* TESTIMONIALS */
    .testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
    .testimonial-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.012));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-lg);
      padding: 24px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    }
    .testimonial-card:hover {
      border-color: rgba(0,102,255,0.24);
      box-shadow: var(--elev-4) rgba(0,0,0,0.14);
    }
    .testimonial-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
    .testimonial-author { display: flex; gap: 12px; align-items: center; }
    .testimonial-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: linear-gradient(135deg, var(--blue), var(--cyan));
      display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0;
    }
    .testimonial-name { font-weight: 700; font-size: 15px; }
    .testimonial-role { font-size: 13px; color: var(--text-muted); }

    /* COMMUNITY */
    .community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 56px; }
    .community-items { display: flex; flex-direction: column; gap: 16px; }
    .community-item {
      display: flex; gap: 20px; align-items: flex-start;
      background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.012));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-md);
      padding: 20px 20px 18px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    }
    .community-item-num {
      width: 36px; height: 36px; border-radius: var(--r-sm);
      background: linear-gradient(135deg, var(--blue), var(--cyan));
      display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0;
    }
    .community-stat {
      background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
      border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg); padding: 42px; text-align: center;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    }
    .community-big { font-size: 80px; font-weight: 900; color: var(--cyan); line-height: 1; }

    /* PRICING */
    .pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
    .pricing-card {
      background: rgba(255,255,255,0.015);
      border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg); padding: 42px;
      transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s; position: relative;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    }
    .pricing-card.featured {
      border-color: rgba(88,184,232,0.26);
      background: linear-gradient(145deg, rgba(26,39,61,0.92), rgba(11,18,30,0.98));
    }
    .pricing-card.featured::before {
      content: 'РЕКОМЕНДУЕМ'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
      background: linear-gradient(90deg, #2a5fcf, #62b5de);
      font-size: 11px; font-weight: 700; padding: 7px 20px; border-radius: 0 0 12px 12px; letter-spacing: 1px;
      box-shadow: var(--elev-2) rgba(20,40,84,0.16);
    }
    .pricing-card:hover { transform: translateY(-2px); }
    .pricing-plan { font-size: 14px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
    .pricing-price { font-size: 52px; font-weight: 900; margin: 16px 0; }
    .pricing-price span { font-size: 22px; font-weight: 500; color: var(--text-muted); }
    .pricing-hours { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }
    .pricing-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
    .pricing-features li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
    .pricing-features li::before { content: '✓'; color: var(--cyan); font-weight: 700; flex-shrink: 0; }
    .pricing-features li.disabled { color: var(--text-muted); }
    .pricing-features li.disabled::before { content: '—'; color: var(--text-muted); }
    .pricing-cta {
      display: block; text-align: center; padding: 16px 32px; border-radius: var(--r-md);
      font-weight: 700; font-size: 17px; text-decoration: none; transition: all 0.2s;
    }
    .pricing-cta.primary {
      background: linear-gradient(135deg, #2057cf, #48a7d8);
      color: #fff;
      box-shadow: 0 14px 28px rgba(16,38,78,0.18), inset 0 1px 0 rgba(255,255,255,0.22);
    }
    .pricing-cta.primary:hover { box-shadow: 0 18px 34px rgba(16,38,78,0.24), inset 0 1px 0 rgba(255,255,255,0.24); }
    .pricing-cta.secondary {
      border: 1px solid rgba(255,255,255,0.14);
      color: #fff;
      background: rgba(255,255,255,0.02);
    }
    .pricing-cta.secondary:hover { border-color: rgba(88,184,232,0.42); background: rgba(88,184,232,0.05); }

    /* FAQ */
    .faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
    .faq-item {
      background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.012));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-lg);
      overflow: hidden;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    }
    .faq-q {
      padding: 22px 28px; font-weight: 600; font-size: 17px;
      cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    }
    .faq-q:hover { color: var(--cyan); }
    .faq-icon { font-size: 20px; color: var(--cyan); flex-shrink: 0; margin-left: 16px; transition: transform 0.2s; }
    .faq-a { padding: 0 28px 22px; color: var(--text-muted); font-size: 16px; line-height: 1.7; display: none; }
    .faq-item.open .faq-a { display: block; }
    .faq-item.open .faq-icon { transform: rotate(45deg); }

    /* FINAL CTA */
    .final-glow {
      position: relative; overflow: hidden;
      background: linear-gradient(180deg, rgba(20,30,45,0.82) 0%, rgba(11,16,26,0.94) 100%);
      border: 1px solid rgba(88,184,232,0.16); border-radius: var(--r-xl); padding: 80px 60px; text-align: center;
    }
    .final-glow::before {
      content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
      width: 600px; height: 400px;
      background: radial-gradient(ellipse, rgba(28,86,217,0.13), transparent 70%);
    }
    .final-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
    .final-contact {
      display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
      margin-top: 40px; color: var(--text-muted); font-size: 16px;
    }
    .final-contact a { color: var(--cyan); text-decoration: none; font-weight: 600; }

    .top-banner {
      width: 100%;
      padding-top: 77px;
      overflow: visible;
      position: relative;
      z-index: 1;
      background:
        linear-gradient(
          90deg,
          #060810 0%,
          #060810 9%,
          rgba(6, 8, 16, 0.7) 16%,
          rgba(6, 8, 16, 0.15) 24%,
          rgba(6, 8, 16, 0.15) 76%,
          rgba(6, 8, 16, 0.7) 84%,
          #060810 91%,
          #060810 100%
        );
    }

    .top-banner::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: -76px;
      height: 96px;
      z-index: 2;
      pointer-events: none;
      background: linear-gradient(
        to bottom,
        rgba(6, 8, 16, 0) 0%,
        rgba(6, 8, 16, 0.38) 24%,
        rgba(6, 8, 16, 0.78) 56%,
        rgba(6, 8, 16, 0) 100%
      );
    }

    .top-banner-image {
      width: 100%;
      max-height: min(350px, calc(100vh - 77px));
      display: block;
      position: relative;
      z-index: 1;
      object-fit: cover;
      object-position: center;
      -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%),
        linear-gradient(to bottom, #000 0%, #000 94%, transparent 100%);
      -webkit-mask-composite: source-in;
      mask-image:
        linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%),
        linear-gradient(to bottom, #000 0%, #000 94%, transparent 100%);
      mask-composite: intersect;
    }

    .hero-badge { animation: quietFloat 5.5s var(--ease-loop) infinite; }
    .hero-inner > * { animation: premiumFadeUp 0.85s var(--ease) both; }
    .hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
    .hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
    .hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
    .hero-inner > *:nth-child(5) { animation-delay: 0.32s; }

    .btn-primary,
    .pricing-cta.primary {
      position: relative;
      overflow: hidden;
      transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
    }
    .btn-primary::after,
    .pricing-cta.primary::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.26) 45%, transparent 70%);
      transform: translateX(-130%);
      transition: transform 0.7s var(--ease);
      pointer-events: none;
    }
    .btn-primary:hover,
    .pricing-cta.primary:hover {
      transform: translateY(-3px);
      filter: saturate(1.08);
    }
    .btn-primary:hover::after,
    .pricing-cta.primary:hover::after { transform: translateX(130%); }

    .problem-card,
    .module-card,
    .founder-card,
    .testimonial-card,
    .pricing-card,
    .method-step {
      transition:
        opacity 0.6s var(--ease),
        transform 0.35s var(--ease),
        border-color 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        background 0.35s var(--ease);
      will-change: transform;
    }
    .problem-card:hover,
    .module-card:hover,
    .founder-card:hover,
    .testimonial-card:hover {
      transform: translateY(-2px);
      box-shadow: none;
      background: transparent;
    }
    .pricing-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--elev-3) rgba(0,0,0,0.16);
      border-color: rgba(0,200,255,0.26);
    }
    .method-step:hover {
      transform: translateX(4px);
      border-color: rgba(0,200,255,0.32);
      box-shadow: none;
    }
    .method-step-icon { box-shadow: var(--elev-3) rgba(0,102,255,0.25); }

    .reveal-on-scroll {
      opacity: 0;
      transform: translateY(30px);
    }
    .reveal-on-scroll.is-visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-on-scroll.is-visible.problem-card:hover,
    .reveal-on-scroll.is-visible.module-card:hover,
    .reveal-on-scroll.is-visible.founder-card:hover,
    .reveal-on-scroll.is-visible.testimonial-card:hover {
      transform: translateY(-6px);
    }
    .reveal-on-scroll.is-visible.pricing-card:hover { transform: translateY(-7px); }
    /* The whole card rises, frame and content together. Lifting only the link
       inside slid the copy within a card that stayed put. */
    .reveal-on-scroll.is-visible.home-course-card:hover { transform: translateY(-6px); }
    .reveal-on-scroll.is-visible.method-step:hover { transform: translateX(6px); }

    @keyframes premiumFadeUp {
      from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
      to { opacity: 1; transform: translateY(0); filter: blur(0); }
    }
    @keyframes quietFloat {
      0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(0,200,255,0); }
      50% { transform: translateY(-3px); box-shadow: var(--elev-3) rgba(0,102,255,0.12); }
    }

    nav {
      transition: padding 0.28s var(--ease), background 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
    }
    nav img { transition: height 0.28s var(--ease), opacity 0.28s var(--ease); }
    nav.scrolled {
      padding-top: 9px;
      padding-bottom: 9px;
      background: rgba(6,8,16,0.97);
      border-color: rgba(0,200,255,0.18);
      box-shadow: var(--elev-4) rgba(0,0,0,0.34);
    }
    html[data-theme="light"] nav.scrolled {
      background: rgba(245,248,255,0.95);
      border-color: rgba(0,104,255,0.16);
      box-shadow: var(--elev-4) rgba(23,49,89,0.13);
    }
    nav.scrolled img { height: 38px !important; opacity: 0.96; }
    .nav-cta { animation: navCtaBreath 4.8s var(--ease-loop) infinite; }
    .scroll-progress {
      position: fixed;
      top: 75px;
      left: 0;
      right: 0;
      height: 2px;
      z-index: 101;
      pointer-events: none;
      background: transparent;
      transition: top 0.28s var(--ease);
    }
    nav.scrolled + .scroll-progress { top: 56px; }
    .scroll-progress span {
      display: block;
      width: 0;
      height: 100%;
      background: linear-gradient(90deg, var(--blue), var(--cyan));
      box-shadow: 0 0 16px rgba(0,200,255,0.55);
      transition: width 0.08s linear;
    }
    .section-progress-nav {
      --progress-top: 0px;
      --progress-height: 100%;
      --progress-fill: 0px;
      position: fixed;
      left: 12px;
      top: 112px;
      bottom: 16px;
      z-index: 108;
      width: 182px;
      padding: 20px 0 24px;
      background: transparent;
      border-right: 0;
      box-shadow: none;
      overflow: visible;
    }
    .section-progress-rail {
      position: absolute;
      left: 12px;
      top: 0;
      bottom: 0;
      width: 24px;
    }
    .section-progress-line,
    .section-progress-fill {
      position: absolute;
      left: 4px;
      width: 5px;
      top: var(--progress-top);
      border-radius: 999px;
    }
    .section-progress-line {
      height: var(--progress-height);
      background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.22) 48%, rgba(255,255,255,0.08));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 0 10px rgba(0,0,0,0.22);
    }
    .section-progress-fill {
      height: var(--progress-fill);
      background: linear-gradient(180deg, #318dff 0%, #00c8ff 42%, #0078ff 100%);
      background-size: 100% 220%;
      box-shadow: 0 0 9px rgba(0,184,255,0.32), 0 0 20px rgba(0,112,255,0.12);
      transition: height 0.26s var(--ease);
      animation: sectionProgressFlow 4.8s linear infinite;
    }
    .section-progress-fill::after {
      display: none;
    }
    .section-progress-list {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 0 10px 0 12px;
    }
    .section-progress-item {
      position: relative;
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr);
      column-gap: 12px;
      align-items: start;
      color: inherit;
      text-decoration: none;
      min-height: 56px;
      outline: none;
    }
    .section-progress-dot {
      position: relative;
      width: 13px;
      height: 13px;
      margin-top: 19px;
      margin-left: 0;
      border-radius: 50%;
      border: 1px solid rgba(183,205,230,0.54);
      background: radial-gradient(circle at 38% 32%, rgba(255,255,255,0.16), rgba(9,16,30,0.98) 54%);
      box-shadow: 0 0 0 2px rgba(4,10,22,0.84), inset 0 0 0 1px rgba(255,255,255,0.03);
      transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), transform 0.28s var(--ease), background 0.28s var(--ease);
    }
    .section-progress-dot::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 50%;
      width: 23px;
      height: 23px;
      border-radius: 50%;
      border: 1px solid rgba(0,200,255,0);
      transform: translate(-50%, -50%) scale(0.62);
      opacity: 0;
      pointer-events: none;
    }
    .section-progress-dot::after {
      content: '';
      position: absolute;
      left: 50%;
      top: 50%;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      background: transparent;
      transition: background 0.28s var(--ease), opacity 0.28s var(--ease), box-shadow 0.28s var(--ease);
      opacity: 0;
    }
    .section-progress-meta {
      display: flex;
      flex-direction: column;
      gap: 3px;
      min-width: 0;
    }
    .section-progress-num {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.13em;
      color: rgba(255,255,255,0.32);
      transition: color 0.22s var(--ease);
    }
    .section-progress-label {
      font-size: 16px;
      font-weight: 500;
      line-height: 1.22;
      color: rgba(255,255,255,0.46);
      overflow-wrap: break-word;
      word-break: keep-all;
      hyphens: none;
      transition: color 0.22s var(--ease);
    }
    .section-progress-item:hover .section-progress-dot,
    .section-progress-item:focus-visible .section-progress-dot {
      transform: scale(1.08);
      border-color: rgba(206,232,255,0.86);
      box-shadow: 0 0 0 3px rgba(0,136,255,0.08), 0 0 14px rgba(0,184,255,0.12);
    }
    .section-progress-item:hover .section-progress-label,
    .section-progress-item:focus-visible .section-progress-label {
      color: rgba(255,255,255,0.72);
    }
    .section-progress-item.is-complete .section-progress-dot {
      border-color: rgba(106,204,255,0.78);
      background: radial-gradient(circle at 38% 32%, rgba(190,242,255,0.88), rgba(0,126,255,0.9) 46%, rgba(0,72,160,0.96) 100%);
      box-shadow: 0 0 0 2px rgba(4,10,22,0.8), 0 0 10px rgba(0,174,255,0.18);
    }
    .section-progress-item.is-complete .section-progress-dot::after {
      background: rgba(235,251,255,0.94);
      box-shadow: 0 0 5px rgba(210,247,255,0.7);
      opacity: 0.94;
    }
    .section-progress-item.is-complete .section-progress-num {
      color: rgba(145,205,255,0.72);
    }
    .section-progress-item.is-complete .section-progress-label {
      color: rgba(255,255,255,0.64);
    }
    .section-progress-item.is-active .section-progress-dot {
      border-color: rgba(160,232,255,1);
      background: radial-gradient(circle at 36% 30%, #e9fcff 0%, #63dcff 24%, #0088ff 58%, #003d8f 100%);
      box-shadow: 0 0 0 3px rgba(0,136,255,0.12), 0 0 12px rgba(0,200,255,0.5), 0 0 24px rgba(0,104,255,0.24);
      animation: sectionProgressCore 2.6s var(--ease-loop) infinite;
    }
    .section-progress-item.is-active .section-progress-dot::before {
      border-color: rgba(0,200,255,0.58);
      animation: sectionProgressHalo 2.6s var(--ease) infinite;
    }
    .section-progress-item.is-active .section-progress-dot::after {
      width: 3px;
      height: 3px;
      background: #ffffff;
      box-shadow: 0 0 6px rgba(255,255,255,0.95);
      opacity: 1;
    }
    .section-progress-item.is-active .section-progress-num {
      color: var(--cyan);
    }
    .section-progress-item.is-active .section-progress-label {
      color: #ffffff;
    }
    html[data-theme="light"] .section-progress-nav {
      background: transparent;
      border-right-color: transparent;
      box-shadow: none;
    }
    html[data-theme="light"] .section-progress-line {
      background: linear-gradient(90deg, rgba(28,49,84,0.12), rgba(28,49,84,0.34) 48%, rgba(28,49,84,0.12));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45), 0 0 8px rgba(31,61,107,0.08);
    }
    html[data-theme="light"] .section-progress-dot {
      background: radial-gradient(circle at 38% 32%, #ffffff, #eef5ff 62%, #dce9f8 100%);
      border-color: rgba(28,49,84,0.42);
      box-shadow: 0 0 0 2px rgba(237,246,255,0.94), var(--elev-1) rgba(31,61,107,0.1);
    }
    html[data-theme="light"] .section-progress-item.is-complete .section-progress-dot {
      border-color: rgba(0,104,255,0.58);
      background: radial-gradient(circle at 38% 32%, #e8fbff, #35bdf5 44%, #0876df 100%);
      box-shadow: 0 0 0 2px rgba(237,246,255,0.94), var(--elev-1) rgba(0,104,255,0.16);
    }
    html[data-theme="light"] .section-progress-item.is-complete .section-progress-dot::after {
      background: rgba(0,104,255,0.68);
      opacity: 0.88;
    }
    html[data-theme="light"] .section-progress-num {
      color: rgba(28,49,84,0.52);
    }
    html[data-theme="light"] .section-progress-label {
      color: rgba(28,49,84,0.78);
    }
    html[data-theme="light"] .section-progress-item.is-complete .section-progress-num {
      color: rgba(0,104,255,0.72);
    }
    html[data-theme="light"] .section-progress-item.is-complete .section-progress-label {
      color: rgba(28,49,84,0.88);
    }
    html[data-theme="light"] .section-progress-item:hover .section-progress-label,
    html[data-theme="light"] .section-progress-item:focus-visible .section-progress-label,
    html[data-theme="light"] .section-progress-item.is-active .section-progress-label {
      color: #0b1425;
    }
    html[data-theme="light"] .section-progress-item.is-active .section-progress-num {
      color: var(--blue);
    }
    html[data-theme="light"] .section-progress-item.is-active .section-progress-dot {
      border-color: rgba(0,104,255,0.88);
      background: radial-gradient(circle at 36% 30%, #ffffff 0%, #8fe8ff 22%, #118df5 58%, #064ea8 100%);
      box-shadow: 0 0 0 3px rgba(0,104,255,0.12), 0 0 12px rgba(0,167,232,0.32), 0 0 24px rgba(0,104,255,0.16);
    }
    html[data-theme="light"] .section-progress-item.is-active .section-progress-dot::before {
      border-color: rgba(0,104,255,0.42);
    }
    html[data-theme="light"] .section-progress-item.is-active .section-progress-dot::after {
      background: var(--blue);
      opacity: 1;
    }
    #hero,
    #problem,
    #method,
    #founders,
    #modules,
    #certificate,
    #nps,
    #testimonials,
    #community,
    #pricing,
    #faq,
    #final {
      scroll-margin-top: 116px;
    }

    .faq-item {
      position: relative;
      overflow: hidden;
      transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease), transform 0.28s var(--ease);
    }
    .faq-item::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at var(--faq-x, 50%) var(--faq-y, 50%), rgba(0,200,255,0.16), transparent 36%);
      opacity: 0;
      pointer-events: none;
    }
    .faq-item.open {
      border-color: rgba(0,200,255,0.34);
      background: linear-gradient(135deg, rgba(0,102,255,0.11), rgba(14,18,32,0.96));
      box-shadow: var(--elev-4) rgba(0,102,255,0.14);
    }
    .faq-item:hover { transform: translateY(-2px); }
    .faq-item.faq-ripple::before { animation: faqRipple 0.58s var(--ease); }
    .faq-q { position: relative; z-index: 1; }
    .faq-a {
      display: block;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      padding: 0 28px;
      transition: max-height 0.34s var(--ease), opacity 0.26s var(--ease), padding 0.34s var(--ease);
    }
    .faq-item.open .faq-a {
      max-height: 260px;
      opacity: 1;
      padding: 0 28px 24px;
    }
    .faq-icon {
      width: 28px;
      height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(0,200,255,0.08);
      box-shadow: inset 0 0 0 1px rgba(0,200,255,0.18);
    }

    .count-up {
      font-variant-numeric: tabular-nums;
      text-shadow: 0 0 24px rgba(0,200,255,0.18);
    }
    .nps-bar-fill {
      width: 0;
      transition: width 1.25s var(--ease);
    }

    .pricing-card.featured {
      isolation: isolate;
      border-color: rgba(0,200,255,0.72);
      background:
        radial-gradient(circle at 18% 0%, rgba(0,200,255,0.18), transparent 34%),
        linear-gradient(155deg, rgba(0,102,255,0.22), rgba(20,23,36,0.98) 48%, rgba(0,200,255,0.10));
      box-shadow: 0 28px 90px rgba(0,102,255,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
      animation: featuredGlow 5.6s var(--ease-loop) infinite;
    }
    .pricing-card.featured::before {
      z-index: 2;
      box-shadow: var(--elev-3) rgba(0,200,255,0.28);
      animation: recommendPulse 3.8s var(--ease-loop) infinite;
    }
    .pricing-card.featured::after {
      display: none;
    }
    .pricing-card.featured > * { position: relative; z-index: 1; }
    .pricing-card.featured:hover .pricing-features li { transform: translateX(4px); }
    .pricing-features li { transition: transform 0.22s var(--ease); }

    .cert-preview {
      position: relative;
      perspective: 1200px;
      border-radius: var(--r-lg);
      overflow: hidden;
      width: min(100%, 462px);
      max-width: 100%;
      margin-inline: auto;
      transform: translateZ(0);
    }
    .cert-preview::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: var(--r-lg);
      background: linear-gradient(105deg, transparent 22%, rgba(255,255,255,0.18) 48%, transparent 68%);
      opacity: 0;
      transform: translateX(-55%);
      transition: opacity 0.28s var(--ease), transform 0.7s var(--ease);
      pointer-events: none;
      mix-blend-mode: screen;
    }
    .cert-img {
      transition: transform 0.46s var(--ease), box-shadow 0.46s var(--ease), filter 0.46s var(--ease);
      transform-origin: center;
    }
    .cert-preview:hover .cert-img {
      transform: rotateX(3deg) rotateY(-5deg) scale(1.025);
      box-shadow: var(--elev-5) rgba(0,102,255,0.24), var(--elev-5) rgba(0,0,0,0.54);
      filter: saturate(1.05) contrast(1.02);
    }
    .cert-preview:hover::after {
      opacity: 1;
      transform: translateX(55%);
    }
    .cert-feature:hover {
      border-color: rgba(0,200,255,0.28);
      box-shadow: var(--elev-4) rgba(0,102,255,0.12);
    }

    .final-glow {
      isolation: isolate;
      box-shadow: 0 36px 110px rgba(0,102,255,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
    }
    .final-glow::after {
      content: '';
      position: absolute;
      inset: -2px;
      z-index: 0;
      border-radius: 34px;
      background:
        radial-gradient(circle at 18% 18%, rgba(0,200,255,0.16), transparent 26%),
        linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.08) 44%, transparent 62%);
      opacity: 0.72;
      animation: finalAura 7s var(--ease-loop) infinite;
      pointer-events: none;
    }
    .final-contact span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: color 0.25s var(--ease), transform 0.25s var(--ease);
    }
    .final-contact span:hover {
      color: var(--cyan);
      transform: translateY(-2px);
    }

    html[data-theme="light"] .top-banner {
      background: #05070d;
      border-bottom-color: rgba(7,17,31,0.08);
    }
html[data-theme="light"] .top-banner::after {
  background: linear-gradient(180deg, transparent 0%, rgba(245,248,255,0.64) 100%);
}

/* Professional program advisor: deliberately editorial rather than chat-like. */
/* ---------- course matcher: base ---------- */

/* Contextual course matcher */
.course-match-catalog[hidden] { display: none !important; }

.course-match-teaser {
  position: fixed;
  z-index: 142;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  width: min(390px, calc(100vw - 44px));
  min-height: 66px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--blue) 36%, var(--border));
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--bg2) 94%, transparent);
  box-shadow: var(--elev-4) rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.24s var(--ease), transform 0.34s var(--ease);
}

.course-match-teaser.is-visible {
opacity: 1;
pointer-events: auto;
transform: translateY(0);
}

.course-match-teaser-main,
.course-match-teaser-close {
border: 0;
background: transparent;
color: var(--text);
font: inherit;
cursor: pointer;
}

.course-match-teaser-main {
display: grid;
grid-template-columns: 38px minmax(0, 1fr) 18px;
gap: 11px;
align-items: center;
min-width: 0;
padding: 11px 8px 11px 12px;
text-align: left;
}

.course-match-teaser-close svg,
.course-match-close svg,
.course-match-footer button svg {
width: 18px;
height: 18px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}

.course-match-teaser-copy {
display: flex;
min-width: 0;
flex-direction: column;
gap: 3px;
}

.course-match-teaser-copy strong {
overflow: hidden;
color: var(--text);
font-size: 14px;
font-weight: 750;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}

.course-match-teaser-copy small {
overflow: hidden;
color: var(--text-muted);
font-size: 11px;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}

.course-match-teaser-close {
display: grid;
width: 34px;
min-height: 100%;
place-items: center;
border-left: 1px solid var(--border);
color: var(--text-muted);
}

.course-match-teaser-close:hover,
.course-match-teaser-close:focus-visible { color: var(--text); }

.course-match-dialog {
position: fixed;
z-index: 180;
inset: 0;
width: 100vw;
max-width: none;
height: 100dvh;
max-height: none;
margin: 0;
padding: 0;
overflow: hidden;
border: 0;
background: transparent;
color: var(--text);
}

.course-match-dialog:not([open]) { display: none; }
/* The blur lives here, on the dialog's own backdrop, and not on the panel.
   A modal sits in the browser's top layer, where an element's backdrop-filter
   cannot reach the page underneath -- so the panel's glass was only ever a
   tint, and the headline behind it stayed sharp enough to read through the
   questions. The backdrop is the one surface in a dialog that does see the
   page, so it does the work. */
.course-match-dialog::backdrop {
  background: rgba(3, 7, 14, 0.38);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

.course-match-backdrop {
position: absolute;
inset: 0;
background: rgba(3, 7, 14, 0.08);
}

.course-match-panel {
position: absolute;
top: 16px;
right: 16px;
bottom: 16px;
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
width: min(472px, calc(100vw - 32px));
overflow: hidden;
border: 1px solid color-mix(in srgb, var(--blue) 32%, var(--border));
border-radius: var(--r-sm);
background: color-mix(in srgb, var(--bg2) 97%, transparent);
box-shadow: -20px 0 60px rgba(0, 0, 0, 0.32);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
animation: courseMatchEnter 0.34s var(--ease) both;
}

@keyframes courseMatchEnter {
from { opacity: 0; transform: translateX(28px); }
to { opacity: 1; transform: translateX(0); }
}

.course-match-header {
display: grid;
grid-template-columns: minmax(0, 1fr) 38px;
gap: 18px;
align-items: start;
padding: 26px 26px 20px;
}

.course-match-kicker,
.course-match-step-count {
display: block;
color: var(--blue);
font-size: 10px;
font-weight: 800;
line-height: 1.2;
letter-spacing: 0.09em;
}

.course-match-header h2 {
margin: 8px 0 0;
color: var(--text);
font-size: 24px;
font-weight: 820;
line-height: 1.16;
letter-spacing: 0;
}

.course-match-close {
display: grid;
width: 38px;
height: 38px;
place-items: center;
border: 1px solid var(--border);
border-radius: 50%;
background: transparent;
color: var(--text-muted);
cursor: pointer;
}

.course-match-close:hover,
.course-match-close:focus-visible {
border-color: color-mix(in srgb, var(--blue) 48%, var(--border));
color: var(--text);
}

.course-match-body {
min-height: 0;
overflow: auto;
padding: 7px 26px 24px;
overscroll-behavior: contain;
}

.course-match-step,
.course-match-result { animation: courseMatchStep 0.22s var(--ease) both; }

@keyframes courseMatchStep {
from { opacity: 0; transform: translateY(7px); }
to { opacity: 1; transform: translateY(0); }
}

.course-match-step h3 {
margin: 10px 0 20px;
color: var(--text);
font-size: 19px;
font-weight: 760;
line-height: 1.3;
letter-spacing: 0;
}

.course-match-options {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 9px;
}

.course-match-options button {
position: relative;
display: flex;
min-width: 0;
min-height: 88px;
flex-direction: column;
align-items: flex-start;
justify-content: center;
gap: 5px;
padding: 15px 16px;
border: 1px solid var(--border);
border-radius: var(--r-xs);
background: color-mix(in srgb, var(--card-bg) 74%, transparent);
color: var(--text);
font: inherit;
text-align: left;
cursor: pointer;
transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.course-match-options button:hover,
.course-match-options button:focus-visible {
border-color: color-mix(in srgb, var(--blue) 52%, var(--border));
background: color-mix(in srgb, var(--blue) 8%, var(--card-bg));
transform: translateY(-1px);
}

.course-match-options button.is-selected {
border-color: var(--blue);
background: color-mix(in srgb, var(--blue) 12%, var(--card-bg));
}

.course-match-options button strong {
color: var(--text);
font-size: 13px;
font-weight: 760;
line-height: 1.3;
}

.course-match-options button span {
color: var(--text-muted);
font-size: 11px;
line-height: 1.35;
}

.course-match-options--compact { grid-template-columns: 1fr; }
.course-match-options--compact button { min-height: 72px; }

.course-match-result-card {
overflow: hidden;
margin-top: 12px;
border: 1px solid color-mix(in srgb, var(--match-accent) 46%, var(--border));
border-radius: var(--r-sm);
background: color-mix(in srgb, var(--match-accent) 7%, var(--card-bg));
}

.course-match-result-media {
position: relative;
display: grid;
width: 100%;
aspect-ratio: 16 / 7;
place-items: center;
overflow: hidden;
border-bottom: 1px solid color-mix(in srgb, var(--match-accent) 28%, var(--border));
background: color-mix(in srgb, var(--match-accent) 12%, var(--bg));
color: var(--match-accent);
font-size: 20px;
font-weight: 850;
}

.course-match-result-media::after {
content: '';
position: absolute;
inset: 0;
background: rgba(3, 7, 14, 0.14);
pointer-events: none;
}

.course-match-result-media img {
width: 100%;
height: 100%;
object-fit: cover;
}

.course-match-result-copy { padding: 18px; }
.course-match-result-copy > span { color: var(--match-accent); font-size: 10px; font-weight: 800; }

.course-match-result-copy h3 {
margin: 7px 0 8px;
color: var(--text);
font-size: 20px;
font-weight: 800;
line-height: 1.25;
letter-spacing: 0;
}

.course-match-result-copy p {
display: -webkit-box;
overflow: hidden;
margin: 0;
color: var(--text-muted);
font-size: 12px;
line-height: 1.5;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}

.course-match-result-copy > strong {
display: block;
margin-top: 13px;
color: var(--text);
font-size: 14px;
font-weight: 760;
}

.course-match-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 9px;
margin-top: 12px;
}

.course-match-actions a {
display: inline-flex;
min-height: 46px;
align-items: center;
justify-content: center;
gap: 7px;
padding: 10px 12px;
border-radius: var(--r-xs);
font-size: 12px;
font-weight: 760;
line-height: 1.25;
text-align: center;
text-decoration: none;
}

.course-match-primary {
background: var(--blue);
color: #fff;
}

.course-match-secondary {
border: 1px solid var(--border);
background: transparent;
color: var(--text);
}

.course-match-actions a:hover { transform: translateY(-1px); }

.course-match-restart {
display: block;
margin: 16px auto 0;
padding: 4px;
border: 0;
background: transparent;
color: var(--text-muted);
font: inherit;
font-size: 11px;
font-weight: 650;
text-decoration: underline;
text-underline-offset: 3px;
cursor: pointer;
}

.course-match-footer {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 16px;
align-items: center;
padding: 15px 26px;
border-top: 1px solid var(--border);
}

.course-match-footer button {
display: inline-flex;
min-height: 36px;
align-items: center;
gap: 5px;
padding: 4px 0;
border: 0;
background: transparent;
color: var(--text);
font: inherit;
font-size: 11px;
font-weight: 700;
cursor: pointer;
}

.course-match-footer button:disabled { opacity: 0.32; cursor: default; }
body.course-match-open { overflow: hidden; }

html[data-theme="light"] .course-match-teaser,
html[data-theme="light"] .course-match-panel {
background: color-mix(in srgb, #f7f9fc 96%, transparent);
box-shadow: var(--elev-4) rgba(42, 57, 82, 0.18);
}

@media (max-width: 640px) {
.course-match-teaser {
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 10px;
  width: auto;
  min-height: 62px;
}

.course-match-dialog { height: 100dvh; }

.course-match-panel {
top: auto;
right: 6px;
bottom: 6px;
left: 6px;
width: auto;
max-height: min(88dvh, 760px);
border-radius: var(--r-sm);
animation-name: courseMatchEnterMobile;
}

@keyframes courseMatchEnterMobile {
from { opacity: 0; transform: translateY(28px); }
to { opacity: 1; transform: translateY(0); }
}

.course-match-header { padding: 19px 18px 15px; }
.course-match-header h2 { max-width: 280px; font-size: 20px; }
.course-match-body { padding: 6px 18px 20px; }
.course-match-step h3 { margin-bottom: 15px; font-size: 17px; }
.course-match-options { grid-template-columns: 1fr; gap: 7px; }
.course-match-options button,
.course-match-options--compact button {
min-height: 62px;
padding: 11px 13px;
}
.course-match-result-media { aspect-ratio: 16 / 6; }
.course-match-result-copy { padding: 14px; }
.course-match-result-copy h3 { font-size: 17px; }
.course-match-result-copy p { -webkit-line-clamp: 2; }
.course-match-actions { grid-template-columns: 1fr; }
.course-match-actions a { min-height: 44px; }
.course-match-footer { padding: 11px 18px calc(11px + env(safe-area-inset-bottom)); }
}

@media (max-width: 370px) {
.course-match-teaser { grid-template-columns: minmax(0, 1fr) 32px; }
.course-match-teaser-main { grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 8px; }
.course-match-header h2 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
.course-match-teaser,
.course-match-panel,
.course-match-step,
.course-match-result,
.course-match-options button { animation: none !important; transition: none !important; }
}

/* ---------- course matcher: current styling ---------- */

/* Merging the layer in put the component's own typography back in play, and
   it does not match what the dialog has actually been showing -- the page's
   generic heading and footer rules were winning while the layer could not.
   These pin the live values so the merge changes nothing on screen. */
.course-match-header h2 {
  margin: 7px 0 20px;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.18;
}

.course-match-step h3 {
  margin: 8px 0 22px;
  font-size: 21px;
  font-weight: 680;
  line-height: 1.25;
}

.course-match-footer {
  display: grid;
  grid-template-columns: auto minmax(124px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px 30px;
}

.course-match-footer [data-course-match-back] {
  justify-self: start;
}


.course-match-teaser {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(430px, calc(100vw - 44px));
  padding-right: 8px;
  /* Surface, rim and blur are defined once, in the glass block below. */
  border-color: transparent;
  border-radius: var(--r-xl);
}

.course-match-teaser-main {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 6px 10px 18px;
}

/* A badge, rather than two letters standing next to a bar. */
.course-match-teaser-copy { gap: 1px; }

.course-match-teaser-copy small {
  color: var(--blue);
  /* Tight enough that the Russian label stops being cut off mid-word. */
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.05em;
}

/* One line. A long course name wrapping to three is what made this card
   twice as tall as it needed to be. */
.course-match-teaser-copy strong {
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 760;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-match-teaser-copy > span {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* A button. It was an underlined word pinned to the bottom edge, which is
   what left the card looking as though the pieces had settled unevenly. */
.course-match-teaser-action {
  align-self: center;
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.course-match-teaser-main:hover .course-match-teaser-action,
.course-match-teaser-main:focus-visible .course-match-teaser-action {
  background: color-mix(in srgb, var(--blue) 84%, #ffffff 16%);
  color: #fff;
  transform: translateY(-1px);
}

/* No divider column: the card is one surface, not two cells. */
.course-match-teaser-close {
  width: 28px;
  height: 28px;
  align-self: center;
  min-height: 0;
  border: 0;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.course-match-teaser-close:hover,
.course-match-teaser-close:focus-visible {
  background: color-mix(in srgb, var(--text-muted) 16%, transparent);
  color: var(--text);
}

.course-match-teaser-close svg { width: 15px; height: 15px; }

/* A card that ends with its content, floated against the right edge, rather
   than a sheet stretched from the top of the window to the bottom. */
.course-match-panel {
  top: 50%;
  right: 20px;
  bottom: auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(520px, calc(100vw - 32px));
  height: auto;
  max-height: min(88vh, 800px);
  border-color: color-mix(in srgb, #ffffff 16%, transparent);
  border-radius: var(--r-xl);
  background: transparent;
  box-shadow: var(--elev-5) rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: translateY(-50%);
  animation: courseMatchRise 0.36s var(--ease) both;
}

/* The refracting layer. `isolation` belongs here, not on the panel: without
   it the browser drops the backdrop the SVG filter is meant to bend. */
.course-match-panel::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  isolation: isolate;
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  filter: url(#courseMatchDist);
  pointer-events: none;
}

/* Tint and bevel. Denser than the prompt's because this pane has to carry
   text, and lifting rather than only shading so daylight keeps a light
   surface under dark type. */
.course-match-panel::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: rgba(14, 19, 28, 0.55);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.3),
    inset -1px -1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 8px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.course-match-panel > * {
  position: relative;
  z-index: 2;
}

/* The base animation ends on translateX(0), which would throw away the
   centring above, so the centred card brings its own. */
@keyframes courseMatchRise {
  from { opacity: 0; transform: translate(22px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

.course-match-header {
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 18px;
  padding: 28px 30px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}

.course-match-kicker,
.course-match-step-count {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.course-match-header h2 {
  max-width: 370px;
  margin-top: 7px;
  font-size: 23px;
  line-height: 1.18;
}

.course-match-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.course-match-body { padding: 22px 30px 26px; }

.course-match-step h3 {
  max-width: 400px;
  margin: 8px 0 22px;
  font-size: 21px;
  line-height: 1.25;
}

.course-match-step h3:focus { outline: none; }

/* Cards with their own edges, not rows in a box. A hairline between two
   pieces of muted text does not read as something you can choose. */
.course-match-options,
.course-match-options--compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
}

.course-match-options button,
.course-match-options--compact button {
  min-height: 64px;
  padding: 13px 56px 13px 22px;
  /* Translucent, not invisible: at a third of the card colour the answers
     washed out against the glass behind them. */
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--card-bg) 58%, transparent);
  transform: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.course-match-options { counter-reset: match-option; }
.course-match-options button:last-child { border-bottom-width: 1px; }

/* The step bar above already numbers the questions; numbering the answers
   as well was one column of digits nobody needed to read. */
.course-match-options button::before { content: none; }

/* A radio the size of one, and filled when it is chosen. */
.course-match-options button::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 18px;
  height: 18px;
  border: 1px solid color-mix(in srgb, var(--text-muted) 55%, transparent);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.course-match-options button:hover,
.course-match-options button:focus-visible {
  border-color: color-mix(in srgb, var(--blue) 42%, var(--border));
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  transform: translateY(-1px);
}

.course-match-options button.is-selected {
  border-color: color-mix(in srgb, var(--blue) 76%, transparent);
  background: color-mix(in srgb, var(--blue) 16%, transparent);
  box-shadow: none;
}

.course-match-options button.is-selected::before { color: var(--blue); }

.course-match-options button.is-selected::after {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 3px var(--card-bg);
}
.course-match-options button.is-selected::after {
  border: 4px solid var(--blue);
  background: var(--bg2);
}

.course-match-options button strong { font-size: 15px; }
.course-match-options button span { font-size: 12.5px; }

.course-match-result-card {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  margin-top: 12px;
  border-color: color-mix(in srgb, var(--match-accent) 36%, var(--border));
  border-radius: var(--r-xs);
  background: color-mix(in srgb, var(--match-accent) 5%, var(--card-bg));
}

.course-match-result-media {
  min-height: 168px;
  aspect-ratio: auto;
  border-right: 1px solid color-mix(in srgb, var(--match-accent) 24%, var(--border));
  border-bottom: 0;
}

.course-match-result-media::after { background: rgba(3, 7, 14, 0.08); }
.course-match-result-copy { align-self: center; padding: 20px; }
.course-match-result-copy > span { font-size: 10.5px; }
.course-match-result-copy h3 { margin: 7px 0; font-size: 19px; }
.course-match-result-copy p { font-size: 11.5px; -webkit-line-clamp: 3; }

.course-match-result-summary {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.course-match-result-summary > span {
  display: block;
  color: var(--text);
  font-size: 11px;
  font-weight: 760;
}

.course-match-result-summary ul {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.course-match-result-summary li {
  position: relative;
  padding-left: 16px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.35;
}

.course-match-result-summary li::before {
  content: '';
  position: absolute;
  top: 0.5em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.course-match-actions { margin-top: 20px; }
.course-match-actions a { border-radius: var(--r-sm); }

/* It was sitting against the buttons with nothing to separate them. */
.course-match-restart {
  margin-top: 18px;
  font-size: 12px;
}

.course-match-footer {
  grid-template-columns: auto minmax(124px, 1fr);
  padding: 14px 30px;
}

.course-match-footer .course-match-next {
  justify-self: end;
  min-width: 132px;
  min-height: 40px;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid var(--blue);
  border-radius: var(--r-xs);
  background: var(--blue);
  color: #fff;
}

.course-match-footer .course-match-next[hidden] { display: none; }

.course-match-footer .course-match-next:disabled {
  border-color: var(--border);
  background: color-mix(in srgb, var(--text-muted) 11%, transparent);
  color: var(--text-muted);
}

.course-match-footer.is-result { display: none; }

html[data-theme="light"] .course-match-panel {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  box-shadow: var(--elev-5) rgba(39, 55, 82, 0.18);
}

html[data-theme="light"] .course-match-panel::after {
  background: rgba(247, 250, 255, 0.72);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.95),
    inset -1px -1px 0 rgba(255, 255, 255, 0.45),
    inset 0 0 8px rgba(255, 255, 255, 0.4);
}

.course-match-filter {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Glass in three layers: the backdrop is blurred and bent on ::before, the
   tint is the card's own background, and ::after draws the lit rim. */
.course-match-teaser {
  background: rgba(16, 22, 32, 0.28);
  overflow: hidden;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: var(--elev-2) rgba(0, 0, 0, 0.22), var(--elev-1) rgba(0, 0, 0, 0.12);
}

/* The refracting layer. `isolation` belongs here rather than on the card:
   without it the browser drops the backdrop the SVG filter is meant to bend,
   and the pane comes out flat. */
.course-match-teaser::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  isolation: isolate;
  -webkit-backdrop-filter: blur(7px) saturate(1.5);
  backdrop-filter: blur(7px) saturate(1.5);
  filter: url(#courseMatchDist);
  pointer-events: none;
}

/* The rim, and nothing else. The layer is filled edge to edge and then two
   masks are composited so only the one-pixel band is drawn -- unlike a
   gradient border, this does not care that the card underneath is see
   through. Bright where light falls, almost gone across the middle, lifting
   again at the far corner where glass picks up what it stands on. */
.course-match-teaser::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  transition: background 0.3s var(--ease);
  /* Cool near-white, not pure white: on a dark page a 255 hairline reads as
     a drawn stroke however thin it is. Low enough that the edge is felt
     rather than seen. */
  background: linear-gradient(
    148deg,
    rgba(214, 226, 244, 0.3) 0%,
    rgba(214, 226, 244, 0.14) 15%,
    rgba(214, 226, 244, 0.05) 36%,
    rgba(214, 226, 244, 0.03) 58%,
    rgba(214, 226, 244, 0.07) 80%,
    rgba(214, 226, 244, 0.18) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.course-match-teaser > button {
  position: relative;
  z-index: 2;
}

html[data-theme="light"] .course-match-teaser {
  border-color: transparent;
  background: rgba(116, 132, 158, 0.16);
  box-shadow: var(--elev-2) rgba(39, 55, 82, 0.14), var(--elev-1) rgba(39, 55, 82, 0.08);
}

/* Glass is not white, it is faintly grey: a white wash over a white page is
   milk. The tint above is a cool neutral; the rim here is the light on it. */
html[data-theme="light"] .course-match-teaser::after {
  background: linear-gradient(
    148deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.78) 15%,
    rgba(255, 255, 255, 0.4) 36%,
    rgba(255, 255, 255, 0.3) 58%,
    rgba(255, 255, 255, 0.56) 80%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

/* ---------- the entrance ---------- */

.course-match-teaser {
  transform-origin: 100% 100%;
}

.course-match-teaser.is-visible {
  animation: courseMatchBloom 0.86s var(--ease) backwards;
}

/* Squash and stretch. A blob that splats, springs, and settles; the radius
   travels from a pill to the card's own corner on the way. */
@keyframes courseMatchBloom {
  0% {
    opacity: 0;
    border-radius: 999px;
    transform: translate(30px, 40px) scale(0.34, 0.26);
  }
  28% {
    opacity: 1;
    border-radius: 120px;
    transform: translate(-6px, -8px) scale(1.09, 0.9);
  }
  52% {
    border-radius: 52px;
    transform: translate(3px, 4px) scale(0.96, 1.07);
  }
  74% {
    border-radius: 30px;
    transform: translate(-2px, -2px) scale(1.02, 0.98);
  }
  100% {
    opacity: 1;
    border-radius: var(--r-xl);
    transform: none;
  }
}

/* The glass thickens as it lands, on the layer that already blurs. */
.course-match-teaser.is-visible::before {
  animation: courseMatchSettle 0.86s var(--ease) backwards;
}

@keyframes courseMatchSettle {
  0% {
    -webkit-backdrop-filter: blur(26px) saturate(2.4);
    backdrop-filter: blur(26px) saturate(2.4);
  }
  55% {
    -webkit-backdrop-filter: blur(13px) saturate(1.9);
    backdrop-filter: blur(13px) saturate(1.9);
  }
  100% {
    -webkit-backdrop-filter: blur(7px) saturate(1.5);
    backdrop-filter: blur(7px) saturate(1.5);
  }
}

/* ---------- worth clicking ---------- */

.course-match-teaser {
  transition:
    transform 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

@media (hover: hover) {
  .course-match-teaser:hover {
    transform: translateY(-4px);
    box-shadow: var(--elev-4) rgba(0, 0, 0, 0.3), var(--elev-1) rgba(0, 0, 0, 0.16);
  }

  html[data-theme="light"] .course-match-teaser:hover {
    box-shadow: var(--elev-4) rgba(39, 55, 82, 0.2), var(--elev-1) rgba(39, 55, 82, 0.1);
  }

  /* Hovering tips the card toward the light: the bevel brightens all round
     rather than only where it already caught it. */
  .course-match-teaser:hover::after {
    background: linear-gradient(
      148deg,
      rgba(214, 226, 244, 0.46) 0%,
      rgba(214, 226, 244, 0.24) 15%,
      rgba(214, 226, 244, 0.1) 36%,
      rgba(214, 226, 244, 0.07) 58%,
      rgba(214, 226, 244, 0.14) 80%,
      rgba(214, 226, 244, 0.3) 100%
    );
  }

  html[data-theme="light"] .course-match-teaser:hover::after {
    background: linear-gradient(
      148deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.92) 15%,
      rgba(255, 255, 255, 0.56) 36%,
      rgba(255, 255, 255, 0.46) 58%,
      rgba(255, 255, 255, 0.72) 80%,
      rgba(255, 255, 255, 1) 100%
    );
  }
}

.course-match-teaser-action {
  position: relative;
  overflow: hidden;
  box-shadow: var(--elev-2) color-mix(in srgb, var(--blue) 42%, transparent);
}

.course-match-teaser-main:hover .course-match-teaser-action {
  transform: translateY(-1px) scale(1.04);
  box-shadow: var(--elev-2) color-mix(in srgb, var(--blue) 52%, transparent);
}

/* A slow pass of light across the button. Long gaps between sweeps: this is
   meant to be noticed out of the corner of the eye, not watched. */
.course-match-teaser-action::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    104deg,
    transparent 34%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 66%
  );
  transform: translateX(-130%);
  animation: courseMatchSheen 4.6s var(--ease-loop) 1.6s infinite;
  pointer-events: none;
}

@keyframes courseMatchSheen {
  0%, 68% { transform: translateX(-130%); }
  92%, 100% { transform: translateX(130%); }
}

/* The ripple is decoration; motion sensitivity keeps the blur, drops the bend,
   the bloom and the sheen. */
@media (prefers-reduced-motion: reduce) {
  .course-match-teaser::before { filter: none; }

  .course-match-teaser.is-visible,
  .course-match-teaser.is-visible::before,
  .course-match-teaser-action::after {
    animation: none;
  }

  .course-match-teaser:hover { transform: none; }
}


@media (max-width: 640px) {
  .course-match-teaser {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    padding-right: 8px;
  }

  .course-match-teaser-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 11px 4px 11px 16px;
  }

  .course-match-teaser-copy strong { font-size: 14px; }
  .course-match-teaser-copy small { font-size: 10.5px; }
  .course-match-teaser-copy > span { font-size: 12px; }
  .course-match-teaser-action { padding: 8px 14px; font-size: 12px; }

  .course-match-panel {
    top: 6px;
    right: 6px;
    bottom: 6px;
    left: 6px;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: var(--r-xl);
    /* A full-screen sheet again: the desktop card centres itself, and that
       has to be undone or the panel hangs off the top of the screen. */
    transform: none;
    animation-name: courseMatchEnterMobile;
  }

  .course-match-header { padding: 19px 18px 15px; }
  .course-match-header h2 { max-width: 280px; font-size: 19px; }
  .course-match-body { padding: 21px 18px 22px; }
  .course-match-step h3 { margin-bottom: 16px; font-size: 18px; }
  .course-match-options button,
  .course-match-options--compact button { min-height: 64px; padding: 10px 46px 10px 48px; }
  .course-match-options button::before { left: 14px; }
  .course-match-options button::after { right: 15px; }
  .course-match-result-card { grid-template-columns: 112px minmax(0, 1fr); }
  .course-match-result-media { min-height: 154px; }
  .course-match-result-copy { padding: 14px; }
  .course-match-result-copy h3 { font-size: 16px; }
  .course-match-result-copy p { -webkit-line-clamp: 3; }
  .course-match-actions { grid-template-columns: 1fr 1fr; }
  .course-match-footer { padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); }
  .course-match-footer .course-match-next { min-width: 124px; }
  .course-match-footer.is-result { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  /* Too narrow for a button beside the text; the whole card is the button. */
  .course-match-teaser-action { display: none; }
  .course-match-teaser-main { grid-template-columns: minmax(0, 1fr); }
  .course-match-result-card { grid-template-columns: 96px minmax(0, 1fr); }
  .course-match-actions { grid-template-columns: 1fr; }
}


/* Homepage course catalog. Course-specific accents come from the published
   generator document; the landing page owns the restrained card treatment. */
.home-course-band {
  overflow: hidden;
  background: var(--bg2);
}

#pricing.home-course-section {
  width: 100%;
  max-width: 1440px;
  padding-top: 112px;
  padding-bottom: 116px;
  overflow: visible;
}

.home-course-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}

.home-course-heading {
  max-width: 800px;
  min-width: 0;
}

#pricing .home-course-tag {
  display: inline-flex;
  margin-bottom: 18px;
  text-align: left;
}

#pricing .home-course-title {
  max-width: 800px;
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: left;
}

#pricing .home-course-lead {
  max-width: 730px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
}

.home-course-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 2px;
}

.home-course-match {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--blue) 54%, var(--border));
  border-radius: var(--r-xs);
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.home-course-match svg,
.home-course-nav svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-course-match:hover,
.home-course-match:focus-visible {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.home-course-nav {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

.home-course-nav button {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), opacity 0.18s var(--ease);
}

.home-course-nav button:hover:not(:disabled),
.home-course-nav button:focus-visible {
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 10%, transparent);
}

.home-course-nav button:disabled { opacity: 0.32; cursor: default; }

.home-course-live {
  min-width: 62px;
  margin: 0;
  padding: 0 11px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  line-height: 40px;
  text-align: center;
  white-space: nowrap;
}

.home-course-viewport {
  --rail-fade: 30px;
  width: 100%;
  /* The track's padding below is room for the card shadows, which this
     scroll container would otherwise cut off mid-fade. The negative margins
     give exactly that room back, so nothing around the rail moves. */
  margin-top: -16px;
  margin-bottom: -42px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 3px;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
  cursor: grab;
  /* Whichever end has a card cut through it fades out. The script marks the
     ends that are actually at rest, so a fully shown first card keeps a clean
     edge instead of being dimmed for no reason. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--rail-fade), #000 calc(100% - var(--rail-fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--rail-fade), #000 calc(100% - var(--rail-fade)), transparent);
}

.home-course-viewport.at-start {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--rail-fade)), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - var(--rail-fade)), transparent);
}

.home-course-viewport.at-end {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--rail-fade));
  mask-image: linear-gradient(90deg, transparent, #000 var(--rail-fade));
}

/* Everything fits: nothing is cut, so nothing fades. */
.home-course-viewport.at-start.at-end {
  -webkit-mask-image: none;
  mask-image: none;
}

/* While the pointer is down the rail is driven by hand, so snapping and the
   smooth-scroll animation both step aside; they would fight every frame. */
.home-course-viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.home-course-viewport::-webkit-scrollbar {
  display: none;
}

.home-course-viewport:focus-visible {
  outline: var(--ring-width) solid var(--ring-color);
  outline-offset: var(--ring-offset);
}

.home-course-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  /* Deep enough for the drop shadow below and the ambient glow above. */
  padding: 22px 3px 62px;
}

.home-course-card {
  --course-accent: #356fd6;
  --course-action: var(--course-accent);
  position: relative;
  width: 344px;
  min-height: 488px;
  flex: 0 0 344px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid color-mix(in srgb, var(--course-accent) 20%, var(--border));
  border-top: 2px solid var(--course-accent);
  border-radius: var(--r-md);
  background: var(--card-bg);
  box-shadow: var(--elev-2) rgba(2, 7, 15, 0.14);
  transition:
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease);
}

/* The lift itself lives with the other reveal-managed cards, which own the
   transform on these elements. Here the card only deepens: its own accent
   under it, so a hovered card reads as picked up rather than outlined. */
@media (hover: hover) {
  .home-course-card:hover {
    z-index: 2;
    border-color: color-mix(in srgb, var(--course-accent) 48%, var(--border));
    box-shadow:
      0 10px 28px color-mix(in srgb, var(--course-accent) 16%, rgba(2, 7, 15, 0.24));
  }
}

.home-course-card-link {
  height: 100%;
  min-height: 488px;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}

.home-course-card-link:focus-visible {
  outline: var(--ring-width) solid var(--ring-color);
  outline-offset: -3px;
}

.home-course-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--course-accent) 24%, var(--border));
  background: color-mix(in srgb, var(--bg) 86%, var(--course-accent) 14%);
}

.home-course-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 14, 0.34));
}

.home-course-media img,
.home-course-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--course-focus-x, 50%) var(--course-focus-y, 50%);
  transition: transform 0.52s var(--ease), filter 0.3s var(--ease);
}

.home-course-card-link:hover .home-course-media img,
.home-course-card-link:hover .home-course-media video {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.home-course-media-kind {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(5, 9, 15, 0.68);
}

.home-course-media-kind svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}

.home-course-media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--course-accent) 74%, white 26%);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--course-accent) 19%, transparent), transparent 58%),
    color-mix(in srgb, var(--bg) 88%, var(--course-accent) 12%);
}

.home-course-media-placeholder span {
  font-size: 24px;
  font-weight: 850;
}

.home-course-copy {
  min-width: 0;
  flex: 1;
  display: none;
  flex-direction: column;
  padding: 22px 23px 21px;
}

html[data-lang="ru"] .home-course-copy[data-course-lang="ru"],
html[data-lang="uz"] .home-course-copy[data-course-lang="uz"],
html[data-lang="en"] .home-course-copy[data-course-lang="en"] {
  display: flex;
}

.home-course-eyebrow {
  display: block;
  min-height: 18px;
  margin-bottom: 9px;
  color: color-mix(in srgb, var(--course-accent) 78%, white 22%);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-course-copy h3 {
  min-height: 54px;
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: 0;
}

.home-course-description {
  display: -webkit-box;
  min-height: 44px;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-course-meta {
  display: grid;
  gap: 0;
  margin: 16px 0 18px;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--course-accent) 18%, var(--border));
}

.home-course-meta > div {
  display: grid;
  grid-template-columns: minmax(88px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--course-accent) 14%, var(--border));
}

.home-course-meta > div:last-child {
  border-bottom: none;
}

.home-course-meta dt,
.home-course-meta dd {
  min-width: 0;
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}

.home-course-meta dt {
  color: var(--text-muted);
}

.home-course-meta dd {
  color: var(--text);
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}

.home-course-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--course-accent) 24%, var(--border));
  color: color-mix(in srgb, var(--course-action) 78%, white 22%);
  font-size: 13px;
  font-weight: 760;
}

.home-course-open svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s var(--ease);
}

.home-course-card-link:hover .home-course-open svg {
  transform: translateX(4px);
}

html[data-theme="light"] .home-course-card {
  background: #fff;
  box-shadow: var(--elev-2) rgba(28, 39, 56, 0.10);
}

@media (hover: hover) {
  html[data-theme="light"] .home-course-card:hover {
    box-shadow:
      0 12px 30px color-mix(in srgb, var(--course-accent) 18%, rgba(28, 39, 56, 0.18));
  }
}

html[data-theme="light"] .home-course-eyebrow,
html[data-theme="light"] .home-course-open {
  color: color-mix(in srgb, var(--course-accent) 88%, #172033 12%);
}

.home-course-empty {
  display: grid;
  gap: 8px;
  min-height: 220px;
  place-content: center;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  background: color-mix(in srgb, var(--card-bg) 88%, transparent);
  text-align: center;
}

.home-course-empty strong {
  color: var(--text);
  font-size: 20px;
}

@media (max-width: 900px) {
  #pricing.home-course-section {
    padding-top: 86px;
    padding-bottom: 90px;
  }

  .home-course-section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 34px;
  }

  .home-course-tools { width: 100%; }

  #pricing .home-course-title {
    font-size: 36px;
  }

  .home-course-card,
  .home-course-card-link {
    min-height: 474px;
  }

  .home-course-card {
    width: 326px;
    flex-basis: 326px;
  }
}

@media (max-width: 640px) {
  #pricing.home-course-section {
    padding: 76px 20px 80px;
  }

  .home-course-section-head {
    margin-bottom: 26px;
  }

  .home-course-tools {
    align-items: stretch;
    gap: 8px;
  }

  .home-course-match {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
    padding-inline: 12px;
  }

  .home-course-nav { flex: 0 0 auto; }

  #pricing .home-course-tag {
    margin-bottom: 14px;
  }

  #pricing .home-course-title {
    font-size: 29px;
    line-height: 1.12;
  }

  #pricing .home-course-lead {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  .home-course-track {
    gap: 14px;
  }

  .home-course-card {
    width: min(84vw, 344px);
    min-height: 468px;
    flex-basis: min(84vw, 344px);
  }

  .home-course-card-link {
    min-height: 468px;
  }

  .home-course-copy {
    padding: 21px 20px 20px;
  }

  .home-course-copy h3 {
    min-height: 48px;
    font-size: 19px;
  }

  .home-course-description {
    min-height: 41px;
    font-size: 13px;
  }

  .home-course-meta {
    margin-top: 16px;
    margin-bottom: 18px;
  }

  .home-course-meta > div {
    grid-template-columns: minmax(76px, 0.8fr) minmax(0, 1.2fr);
    gap: 10px;
    padding: 8px 0;
  }
}

@media (max-width: 390px) {
  #pricing.home-course-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-course-card {
    width: 84vw;
    flex-basis: 84vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-course-viewport {
    scroll-behavior: auto;
  }

  .home-course-card-link,
  .home-course-media img,
  .home-course-media video,
  .home-course-open svg {
    transition: none;
  }
}

html[data-theme="light"] .top-banner-image {
  -webkit-mask-image:
    linear-gradient(to right, #000 0%, #000 100%),
    linear-gradient(to bottom, #000 0%, #000 96%, transparent 100%);
  mask-image:
    linear-gradient(to right, #000 0%, #000 100%),
    linear-gradient(to bottom, #000 0%, #000 96%, transparent 100%);
}
    html[data-theme="light"] .hero-map {
      opacity: 0.9;
      filter: drop-shadow(0 32px 84px rgba(0,104,255,0.20)) saturate(1.18) contrast(1.08);
    }
    html[data-theme="light"] .hero-map-neighbor {
      fill: rgba(255,255,255,0.18);
      stroke: rgba(0,104,255,0.24);
    }
    html[data-theme="light"] .hero-map-kazakhstan {
      fill: rgba(16,185,129,0.20);
      stroke: rgba(15,118,110,0.34);
    }
    html[data-theme="light"] .hero-map-turkmenistan {
      fill: rgba(245,158,11,0.20);
      stroke: rgba(180,83,9,0.34);
    }
    html[data-theme="light"] .hero-map-kyrgyzstan {
      fill: rgba(249,115,22,0.22);
      stroke: rgba(194,65,12,0.34);
    }
    html[data-theme="light"] .hero-map-tajikistan {
      fill: rgba(236,72,153,0.22);
      stroke: rgba(190,24,93,0.34);
    }
    html[data-theme="light"] .hero-map-uz {
      stroke: rgba(0,167,232,0.98);
      stroke-width: 2.8;
      filter: url(#heroMapGlow) drop-shadow(0 0 24px rgba(0,167,232,0.34));
    }
    html[data-theme="light"] .hero-sub strong { color: var(--text) !important; }
    html[data-theme="light"] .btn-secondary {
      background: rgba(255,255,255,0.72);
      border-color: rgba(7,17,31,0.12);
      color: var(--text);
    }
    html[data-theme="light"] .problem-card,
    html[data-theme="light"] .module-card,
    html[data-theme="light"] .founder-card,
    html[data-theme="light"] .testimonial-card,
    html[data-theme="light"] .method-step,
    html[data-theme="light"] .method-stat-card,
    html[data-theme="light"] .cert-feature,
    html[data-theme="light"] .nps-extra-card,
    html[data-theme="light"] .faq-item {
      background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,250,255,0.84));
      border-color: rgba(7,17,31,0.12);
      box-shadow: 0 16px 34px rgba(35,61,108,0.08), inset 0 1px 0 rgba(255,255,255,0.88);
    }
    html[data-theme="light"] .full-bg {
      background:
        linear-gradient(180deg, rgba(234,242,255,0.68), rgba(245,248,255,0.94)),
        var(--bg2);
    }
    html[data-theme="light"] .nps-big,
    html[data-theme="light"] .final-glow {
      background:
        radial-gradient(circle at 18% 0%, rgba(0,167,232,0.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(238,244,252,0.86));
      border-color: rgba(0,104,255,0.18);
      box-shadow: var(--elev-4) rgba(23,49,89,0.10);
    }
    html[data-theme="light"] .pricing-card {
      background: rgba(255,255,255,0.54);
      border-color: rgba(7,17,31,0.10);
      box-shadow: none;
    }
    html[data-theme="light"] .pricing-card.featured {
      border-color: rgba(0,167,232,0.55);
      background:
        radial-gradient(circle at 18% 0%, rgba(0,167,232,0.16), transparent 34%),
        linear-gradient(155deg, rgba(255,255,255,0.92), rgba(232,242,255,0.90) 52%, rgba(0,167,232,0.10));
      box-shadow: 0 22px 54px rgba(0,104,255,0.12), inset 0 1px 0 rgba(255,255,255,0.82);
    }
    html[data-theme="light"] .pricing-cta.secondary {
      background: rgba(255,255,255,0.78);
      color: #07111f;
      border-color: rgba(0,104,255,0.26);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
    }
    html[data-theme="light"] .pricing-cta.secondary:hover {
      background: linear-gradient(135deg, rgba(0,104,255,0.08), rgba(0,167,232,0.08));
      border-color: rgba(0,167,232,0.36);
      color: #07111f;
    }
    html[data-theme="light"] .faq-item.open {
      background: linear-gradient(135deg, rgba(0,104,255,0.09), rgba(255,255,255,0.92));
      border-color: rgba(0,167,232,0.32);
    }
    html[data-theme="light"] .tag,
    html[data-theme="light"] .hero-badge {
      background: rgba(0,104,255,0.08);
      border-color: rgba(0,104,255,0.20);
    }

    html[data-theme="light"] body {
      background:
        radial-gradient(circle at 78% 0%, rgba(0,167,232,0.16), transparent 30%),
        radial-gradient(circle at 8% 22%, rgba(0,104,255,0.10), transparent 32%),
        #f5f8ff !important;
      color: #07111f !important;
    }
    html[data-theme="light"] nav {
      background: rgba(245,248,255,0.84) !important;
      border-bottom-color: rgba(7,17,31,0.10) !important;
    }
    html[data-theme="light"] nav.scrolled { background: rgba(245,248,255,0.95) !important; }
    html[data-theme="light"] .theme-toggle {
      background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(240,245,252,0.94)) !important;
    }
    html[data-theme="light"] .problem-card,
    html[data-theme="light"] .module-card,
    html[data-theme="light"] .founder-card,
    html[data-theme="light"] .testimonial-card,
    html[data-theme="light"] .method-step,
    html[data-theme="light"] .method-stat-card,
    html[data-theme="light"] .cert-feature,
    html[data-theme="light"] .nps-extra-card,
    html[data-theme="light"] .faq-item {
      background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,250,255,0.84)) !important;
    }
    html[data-theme="dark"] body {
      background: #060810 !important;
      color: #ffffff !important;
    }
    html[data-theme="dark"] nav {
      background: rgba(6,8,16,0.9) !important;
      border-bottom-color: rgba(255,255,255,0.08) !important;
    }
    html[data-theme="dark"] nav.scrolled { background: rgba(6,8,16,0.97) !important; }
    html[data-theme="dark"] .theme-toggle {
      background: linear-gradient(180deg, rgba(23,29,42,0.92), rgba(14,19,29,0.92)) !important;
    }
    html[data-theme="dark"] .problem-card,
    html[data-theme="dark"] .module-card,
    html[data-theme="dark"] .founder-card,
    html[data-theme="dark"] .testimonial-card,
    html[data-theme="dark"] .method-step,
    html[data-theme="dark"] .method-stat-card,
    html[data-theme="dark"] .cert-feature,
    html[data-theme="dark"] .nps-extra-card,
    html[data-theme="dark"] .faq-item {
      background-color: rgba(255,255,255,0.04) !important;
    }

    @keyframes faqRipple {
      0% { opacity: 0; transform: scale(0.92); }
      45% { opacity: 1; }
      100% { opacity: 0; transform: scale(1.04); }
    }
    @keyframes themeBloom {
      0% { opacity: 0; clip-path: circle(0 at var(--theme-x, calc(100% - 180px)) var(--theme-y, 44px)); }
      34% { opacity: 1; clip-path: circle(120vmax at var(--theme-x, calc(100% - 180px)) var(--theme-y, 44px)); }
      100% { opacity: 0; clip-path: circle(145vmax at var(--theme-x, calc(100% - 180px)) var(--theme-y, 44px)); }
    }
    @keyframes navCtaBreath {
      0%, 100% {
        box-shadow:
          0 14px 34px rgba(0,102,255,0.22),
          inset 0 1px 0 rgba(255,255,255,0.28),
          inset 0 -14px 26px rgba(0,42,120,0.16);
      }
      50% {
        box-shadow:
          0 18px 46px rgba(0,200,255,0.26),
          0 0 0 4px rgba(0,200,255,0.06),
          inset 0 1px 0 rgba(255,255,255,0.34),
          inset 0 -14px 26px rgba(0,42,120,0.14);
      }
    }
    @keyframes heroMapFloat {
      0%, 100% { transform: translateY(-50%) rotate(0deg) scale(1); }
      50% { transform: translateY(-51.5%) rotate(0.7deg) scale(1.018); }
    }
    @keyframes featuredGlow {
      0%, 100% { box-shadow: 0 28px 90px rgba(0,102,255,0.20), inset 0 1px 0 rgba(255,255,255,0.06); }
      50% { box-shadow: 0 34px 105px rgba(0,200,255,0.26), inset 0 1px 0 rgba(255,255,255,0.10); }
    }
    @keyframes recommendPulse {
      0%, 100% { filter: brightness(1); }
      50% { filter: brightness(1.13); }
    }
    @keyframes premiumCardShine {
      0%, 52% { transform: translateX(-140%); }
      70%, 100% { transform: translateX(140%); }
    }
    @keyframes finalAura {
      0%, 100% { transform: translate3d(0,0,0); opacity: 0.62; }
      50% { transform: translate3d(1.5%, -2%, 0); opacity: 0.9; }
    }
    @keyframes sectionProgressFlow {
      0% { background-position: 0 0; }
      100% { background-position: 0 220%; }
    }
    @keyframes uzPulse {
      0%, 100% {
        opacity: 0.98;
        filter: url(#heroMapGlow) drop-shadow(0 0 18px rgba(0,200,255,0.24));
      }
      50% {
        opacity: 1;
        filter: url(#heroMapGlow) drop-shadow(0 0 24px rgba(0,200,255,0.34));
      }
    }
    @keyframes sectionProgressCore {
      0%, 100% { filter: brightness(0.96); }
      50% { filter: brightness(1.16); }
    }
    @keyframes sectionProgressHalo {
      0% { transform: translate(-50%, -50%) scale(0.62); opacity: 0; }
      28% { opacity: 0.72; }
      78%, 100% { transform: translate(-50%, -50%) scale(1.08); opacity: 0; }
    }
    /* Font-independent expand icons stay optically centered in every language and theme. */
    .faq-icon {
      position: relative;
      font-size: 0;
      line-height: 0;
    }
    .faq-icon::before,
    .faq-icon::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 10px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transform: translate(-50%, -50%);
    }
    .faq-icon::after {
      transform: translate(-50%, -50%) rotate(90deg);
    }
    @media (prefers-reduced-motion: reduce) {
      .section-progress-fill,
      .section-progress-item.is-active .section-progress-dot,
      .section-progress-item.is-active .section-progress-dot::before {
        animation: none;
      }
      /* The resting weight stays; only the motion goes. */
      .section-progress-item[data-section="pricing"] .section-progress-label {
        background-image: none;
        -webkit-text-fill-color: currentColor;
        animation: none;
      }
      .section-progress-item[data-section="pricing"] .section-progress-dot::before {
        animation: none;
      }
    }

    footer {
      padding: 40px 60px 40px calc(60px + var(--section-offset-left)); max-width: 1280px; margin: 0 auto;
      display: flex; justify-content: space-between; align-items: center;
      border-top: 1px solid var(--border); flex-wrap: wrap; gap: 16px;
    }

    .footer-brand {
      display: inline-flex;
      height: 40px;
      flex: 0 0 auto;
      align-items: center;
    }

    .footer-logo {
      display: block;
      width: auto;
      height: 100%;
      object-fit: contain;
    }

    .footer-logo--dark {
      filter: brightness(0) invert(1);
    }

    .footer-logo--light {
      display: none;
    }

    html[data-theme="light"] .footer-logo--dark {
      display: none;
    }

    html[data-theme="light"] .footer-logo--light {
      display: block;
      filter: contrast(2.4) brightness(1.02);
      mix-blend-mode: multiply;
      opacity: .94;
    }

    /* PROFESSIONAL RESTRAINT PASS */
    body {
      font-feature-settings: 'kern' 1, 'liga' 1;
      background: var(--bg);
    }
    html[data-theme="dark"] body,
    html[data-theme="light"] body {
      background: var(--bg) !important;
      color: var(--text) !important;
    }
    body::before { background: rgba(53,111,214,0.08); }
    html.theme-swap body::before { animation-duration: 0.46s; }

    nav,
    html[data-theme="light"] nav,
    html[data-theme="dark"] nav,
    html[data-theme="light"] nav.scrolled,
    html[data-theme="dark"] nav.scrolled {
      background: color-mix(in srgb, var(--bg) 94%, transparent) !important;
      border-bottom-color: var(--border) !important;
      box-shadow: none;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .lang-trigger,
    .theme-toggle,
    html[data-theme="light"] .lang-trigger,
    html[data-theme="light"] .theme-toggle,
    html[data-theme="dark"] .lang-trigger,
    html[data-theme="dark"] .theme-toggle {
      background: var(--card-bg) !important;
      border-color: var(--border);
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
    .lang-trigger:hover,
    .lang-menu.is-open .lang-trigger,
    html[data-theme="light"] .lang-trigger:hover,
    html[data-theme="light"] .lang-menu.is-open .lang-trigger {
      transform: none;
      background: var(--card-bg);
      border-color: rgba(91,121,166,0.42);
      box-shadow: none;
    }
    .lang-trigger-label,
    .lang-trigger-chevron,
    html[data-theme="light"] .lang-trigger-label,
    html[data-theme="light"] .lang-trigger-chevron {
      color: var(--text);
    }
    .lang-menu-list,
    html[data-theme="light"] .lang-menu-list {
      border-radius: var(--r-sm);
      background: var(--card-bg);
      border-color: var(--border);
      box-shadow: var(--elev-3) rgba(0,0,0,0.20);
      backdrop-filter: none;
    }
    .lang-menu-item,
    .lang-item-label,
    html[data-theme="light"] .lang-menu-item,
    html[data-theme="light"] .lang-item-label { color: var(--text); }
    .lang-menu-item:hover,
    html[data-theme="light"] .lang-menu-item:hover {
      transform: none;
      background: rgba(91,121,166,0.10);
    }
    .lang-item-code,
    html[data-theme="light"] .lang-item-code {
      background: rgba(91,121,166,0.12);
      color: var(--text-muted);
    }
    .theme-toggle::before,
    html[data-theme="light"] .theme-toggle::before {
      background: #273142;
      box-shadow: none;
    }
    html[data-theme="light"] .theme-toggle::before { background: #dce4ef; }
    html[data-theme="dark"] .theme-toggle,
    html[data-theme="light"] .theme-toggle {
      background: var(--card-bg) !important;
    }

    .nav-cta,
    html[data-theme="light"] .nav-cta,
    .btn-primary,
    .pricing-cta.primary {
      background: #356fd6;
      border: 1px solid #477edc;
      color: #fff;
      text-shadow: none;
      box-shadow: var(--elev-2) rgba(20,45,88,0.18);
      filter: none;
      animation: none;
    }
    .nav-cta::before,
    .nav-cta::after,
    .btn-primary::after,
    .pricing-cta.primary::after { display: none; }
    .nav-cta:hover,
    .btn-primary:hover,
    .pricing-cta.primary:hover {
      transform: translateY(-1px);
      border-color: #5d8ce0;
      background: #3b73d5;
      box-shadow: var(--elev-2) rgba(20,45,88,0.22);
      filter: none;
    }
    .btn-secondary,
    .pricing-cta.secondary,
    html[data-theme="light"] .btn-secondary,
    html[data-theme="light"] .pricing-cta.secondary {
      color: var(--text);
      background: transparent;
      border-color: var(--border);
      box-shadow: none;
    }
    .btn-secondary:hover,
    .pricing-cta.secondary:hover,
    html[data-theme="light"] .btn-secondary:hover,
    html[data-theme="light"] .pricing-cta.secondary:hover {
      background: rgba(91,121,166,0.07);
      border-color: rgba(91,121,166,0.42);
      box-shadow: none;
    }

    h2 { font-weight: 750; letter-spacing: 0; }
    h3 { font-weight: 680; letter-spacing: 0; }
    p { line-height: 1.72; }
    .tag,
    .hero-badge {
      padding: 0 0 0 11px;
      border: 0;
      border-left: 2px solid var(--blue);
      border-radius: 0;
      background: transparent;
      color: var(--text-muted);
      letter-spacing: 0.03em;
      animation: none;
      box-shadow: none;
    }
    .tag {
      display: table !important;
      width: auto;
      margin: 0 0 20px;
      padding: 6px 12px;
      border: 1px solid rgba(83,128,201,0.42);
      border-radius: var(--r-xs);
      background: rgba(53,111,214,0.11);
      color: #9db9e8;
      font-weight: 700;
      line-height: 1.2;
      text-align: center;
    }
    .modules-header .tag,
    .tag[style*="text-align:center"],
    .final-glow .tag {
      margin-left: auto;
      margin-right: auto;
    }
    html[data-theme="light"] .tag {
      border-color: rgba(47,99,189,0.30);
      background: rgba(47,99,189,0.08);
      color: #2f63bd;
    }
    .hero-badge::before { display: none; }
    .hero-inner > * { animation: professionalReveal 0.55s var(--ease) both; }
    .hero h1 { font-weight: 780; letter-spacing: 0; line-height: 1.08; }
    .accent {
      background: none;
      color: var(--blue);
      -webkit-background-clip: initial;
      -webkit-text-fill-color: currentColor;
    }
    .hero-sub { color: var(--text-muted); }
    .hero-stat-num,
    .problem-num,
    .method-stat-big,
    .nps-number,
    .nps-extra-num,
    .community-big,
    .count-up {
      color: var(--text);
      text-shadow: none;
      font-weight: 760;
    }
    .hero-stat-num { font-size: 34px; }
    .hero-map {
      opacity: 0.52;
      filter: saturate(0.32) contrast(0.92);
      animation: none;
    }
    #hero > div[style*="radial-gradient"] { display: none; }
    .hero-map-neighbor,
    .hero-map-kazakhstan,
    .hero-map-turkmenistan,
    .hero-map-kyrgyzstan,
    .hero-map-tajikistan {
      fill: rgba(111,127,151,0.12);
      stroke: rgba(151,166,187,0.28);
    }
    .hero-map-uz,
    html[data-theme="light"] .hero-map-uz {
      fill: rgba(53,111,214,0.20);
      stroke: rgba(83,128,201,0.72);
      filter: none;
      animation: none;
    }
    html[data-theme="light"] .hero-map {
      opacity: 0.44;
      filter: saturate(0.28) contrast(0.96);
    }

    .full-bg { background: var(--bg2); }
    .problem-card,
    .method-step,
    .module-card,
    .extra-card,
    .cert-feature,
    .community-item {
      background: var(--card-bg) !important;
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      box-shadow: var(--elev-3) rgba(0,0,0,0.08);
    }
    html[data-theme="dark"] .problem-card,
    html[data-theme="dark"] .module-card,
    html[data-theme="dark"] .founder-card,
    html[data-theme="dark"] .method-step,
    html[data-theme="dark"] .cert-feature,
    html[data-theme="light"] .problem-card,
    html[data-theme="light"] .module-card,
    html[data-theme="light"] .founder-card,
    html[data-theme="light"] .method-step,
    html[data-theme="light"] .cert-feature {
      background: var(--card-bg) !important;
    }
    .problem-card { padding: 28px 28px 24px; }
    .method-step,
    .cert-feature,
    .community-item { padding: 22px 22px 20px; }
    .module-card { padding: 28px 28px 24px; overflow: hidden; }
    .extra-card { padding: 24px; }
    .problem-card:hover,
    .method-step:hover,
    .module-card:hover,
    .extra-card:hover,
    .cert-feature:hover,
    .community-item:hover {
      transform: translateY(-2px);
      background: var(--card-bg);
      border-color: rgba(91,121,166,0.44);
      box-shadow: var(--elev-3) rgba(0,0,0,0.11);
    }
    .method-step-icon,
    .cert-num,
    .community-item-num,
    .testimonial-avatar {
      background: #28364c;
      color: #e8edf4;
      box-shadow: none;
    }
    html[data-theme="light"] .method-step-icon,
    html[data-theme="light"] .cert-num,
    html[data-theme="light"] .community-item-num,
    html[data-theme="light"] .testimonial-avatar {
      background: #edf3fa;
      color: #1d4f88;
      border: 1px solid #d3deeb;
      box-shadow: var(--elev-2) rgba(28, 55, 88, 0.07);
    }
    .method-step-icon,
    .community-item-num { border-radius: var(--r-sm); }
    .method-stat-card,
    .module-result,
    html[data-theme="light"] .module-result,
    .nps-extra-card {
      background: rgba(127,145,170,0.06) !important;
      border: 1px solid var(--border);
      border-radius: var(--r-sm);
      box-shadow: none;
    }
    html[data-theme="dark"] .method-stat-card,
    html[data-theme="dark"] .nps-extra-card,
    html[data-theme="light"] .method-stat-card,
    html[data-theme="light"] .nps-extra-card {
      background: rgba(127,145,170,0.06) !important;
    }
    .module-result { border-left: 2px solid rgba(53,111,214,0.64); }
    .module-num,
    .module-result-label,
    .founder-title,
    .pricing-plan,
    .nps-bar-label span:last-child,
    .final-contact a { color: var(--blue); }
    .module-tag,
    .mt-theory,
    .mt-cases,
    .mt-practice,
    html[data-theme="light"] .mt-theory,
    html[data-theme="light"] .mt-cases,
    html[data-theme="light"] .mt-practice {
      color: var(--text-muted);
      background: rgba(127,145,170,0.07);
      border-color: var(--border);
      border-radius: var(--r-xs);
    }
    .module-list li::before,
    .pricing-features li::before {
      color: var(--blue);
      background: transparent;
    }
    .achievement-dot { background-color: var(--blue); }

    .founder-card {
      background: var(--card-bg) !important;
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      padding: 30px 30px 26px;
      box-shadow: var(--elev-3) rgba(0,0,0,0.09);
    }
    .founder-card::before { display: none; }
    .founder-card:hover {
      transform: translateY(-2px);
      background: var(--card-bg);
      border-color: rgba(91,121,166,0.40);
      box-shadow: var(--elev-4) rgba(0,0,0,0.12);
    }
    .founder-photo { border-radius: var(--r-sm); filter: saturate(0.86) contrast(1.02); }

    .nps-big,
    .community-stat,
    .testimonial-card,
    .pricing-card,
    .faq-item {
      background: var(--card-bg) !important;
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      box-shadow: none;
    }
    .testimonial-card:hover,
    .pricing-card:hover {
      transform: translateY(-1px);
      border-color: rgba(91,121,166,0.38);
      box-shadow: var(--elev-3) rgba(0,0,0,0.10);
      background: var(--card-bg);
    }
    html[data-theme="dark"] .testimonial-card,
    html[data-theme="light"] .testimonial-card {
      background: var(--card-bg) !important;
    }
    .nps-bar-track { height: 8px; background: rgba(127,145,170,0.12); }
    .nps-bar-fill {
      background: #356fd6;
      box-shadow: none;
    }
    .pricing-card.featured,
    html[data-theme="light"] .pricing-card.featured {
      border-color: rgba(53,111,214,0.56);
      background: var(--card-bg);
      box-shadow: var(--elev-4) rgba(20,35,60,0.12);
      animation: none;
    }
    .pricing-card.featured::before {
      background: #356fd6;
      box-shadow: none;
      animation: none;
      border-radius: 0 0 8px 8px;
    }
    .pricing-card.featured:hover .pricing-features li { transform: none; }

    .faq-list { gap: 12px; }
    .faq-item {
      background: var(--card-bg) !important;
      border: 1px solid var(--border);
      border-radius: var(--r-md);
    }
    html[data-theme="dark"] .faq-item,
    html[data-theme="light"] .faq-item {
      background: var(--card-bg) !important;
    }
    .faq-item:hover { transform: none; }
    .faq-item::before { display: none; }
    .faq-item.open {
      background: var(--card-bg);
      border-color: rgba(91,121,166,0.44);
      box-shadow: var(--elev-3) rgba(0,0,0,0.08);
    }
    .faq-q:hover { color: var(--blue); }
    .faq-icon {
      color: var(--text-muted);
      background: transparent;
      box-shadow: inset 0 0 0 1px var(--border);
    }

    .cert-preview::after { display: none; }
    .cert-preview:hover .cert-img {
      transform: translateY(-2px);
      filter: saturate(0.94) contrast(1.02);
      box-shadow: var(--elev-5) rgba(0,0,0,0.30);
    }
    .final-glow,
    html[data-theme="light"] .final-glow {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      box-shadow: none;
    }
    .final-glow::before,
    .final-glow::after { display: none; }
    .final-contact span:hover { color: var(--text); transform: none; }

    .top-banner { background: #07090d; }
    .top-banner-image {
      width: 100%;
      height: auto;
      object-fit: contain;
      object-position: center;
      filter: saturate(0.42) brightness(0.74) contrast(1.04);
    }
    html[data-theme="light"] .top-banner-image {
      filter: none;
      -webkit-mask-image: none;
      mask-image: none;
    }

    .top-banner-image-light {
      display: none;
    }

    html[data-theme="light"] .top-banner-image-dark {
      display: none;
    }

    html[data-theme="light"] .top-banner-image-light {
      display: block;
    }

    html[data-theme="light"] .top-banner {
      background: #f8fbff;
    }

    html[data-theme="light"] .top-banner::after {
      display: none;
    }

    .scroll-progress span {
      background: #356fd6;
      box-shadow: none;
    }
    .section-progress-line,
    html[data-theme="light"] .section-progress-line {
      background: rgba(127,145,170,0.28);
      box-shadow: none;
    }
    .section-progress-fill {
      background: #356fd6;
      box-shadow: none;
      animation: none;
    }
    .section-progress-dot,
    html[data-theme="light"] .section-progress-dot {
      background: var(--bg);
      border-color: rgba(127,145,170,0.64);
      box-shadow: 0 0 0 2px var(--bg);
    }
    .section-progress-item.is-complete .section-progress-dot,
    html[data-theme="light"] .section-progress-item.is-complete .section-progress-dot {
      background: #356fd6;
      border-color: #5a83cb;
      box-shadow: 0 0 0 2px var(--bg);
    }
    .section-progress-item.is-active .section-progress-dot,
    html[data-theme="light"] .section-progress-item.is-active .section-progress-dot {
      background: #356fd6;
      border-color: #8aa9df;
      box-shadow: 0 0 0 3px rgba(53,111,214,0.14);
      animation: none;
    }
    .section-progress-item.is-active .section-progress-dot::before { display: none; }
    .section-progress-item.is-active .section-progress-dot::after { background: #fff; box-shadow: none; }
    .section-progress-item.is-complete .section-progress-dot::after { box-shadow: none; }

    /* Flat glossy dots for dark surfaces: highlight without a 3D sphere. */
    html[data-theme="dark"] .section-progress-dot {
      border-color: rgba(130,157,194,0.68);
      background: linear-gradient(180deg, #516680 0%, #2a3a50 48%, #172235 100%);
      box-shadow:
        0 0 0 2px rgba(11,13,18,0.96),
        inset 0 1px 0 rgba(255,255,255,0.28);
    }
    html[data-theme="dark"] .section-progress-item.is-complete .section-progress-dot {
      border-color: rgba(116,166,228,0.86);
      background: linear-gradient(180deg, #63b1ec 0%, #377fce 48%, #285da5 100%);
      box-shadow:
        0 0 0 2px rgba(11,13,18,0.96),
        inset 0 1px 0 rgba(255,255,255,0.4);
    }
    html[data-theme="dark"] .section-progress-item.is-active .section-progress-dot {
      border-color: rgba(169,211,255,0.96);
      background: linear-gradient(180deg, #7bc8f5 0%, #4b95df 46%, #316cbe 100%);
      box-shadow:
        0 0 0 3px rgba(49,103,184,0.24),
        inset 0 1px 0 rgba(255,255,255,0.5);
    }
    html[data-theme="dark"] .section-progress-dot::after,
    html[data-theme="dark"] .section-progress-item.is-complete .section-progress-dot::after,
    html[data-theme="dark"] .section-progress-item.is-active .section-progress-dot::after {
      display: none;
    }
    .section-progress-dot::after,
    .section-progress-item.is-complete .section-progress-dot::after,
    .section-progress-item.is-active .section-progress-dot::after,
    html[data-theme="light"] .section-progress-dot::after,
    html[data-theme="light"] .section-progress-item.is-complete .section-progress-dot::after,
    html[data-theme="light"] .section-progress-item.is-active .section-progress-dot::after {
      display: none !important;
    }
    html[data-theme="light"] .section-progress-item.is-active .section-progress-dot::before {
      display: none;
    }
    html[data-theme="dark"] .section-progress-item.is-active .section-progress-dot::before {
      display: none;
    }
    html[data-theme="light"] .section-progress-item.is-active .section-progress-dot {
      box-shadow:
        0 0 0 3px rgba(239,246,255,0.96),
        0 0 0 4px rgba(47,99,189,0.38),
        inset 0 1px 0 rgba(255,255,255,0.5);
    }
    html[data-theme="dark"] .section-progress-item.is-active .section-progress-dot {
      box-shadow:
        0 0 0 3px rgba(11,13,18,0.96),
        0 0 0 4px rgba(91,145,218,0.46),
        inset 0 1px 0 rgba(255,255,255,0.36);
    }

    /* Conversion-focused pricing */
    .pricing-grid {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
      gap: 24px;
      align-items: stretch;
    }
    .pricing-card {
      display: flex;
      flex-direction: column;
      padding: 40px;
      overflow: hidden;
    }
    .pricing-card.featured,
    html[data-theme="light"] .pricing-card.featured {
      margin: -14px 0;
      padding: 50px 48px;
      color: #f7f9fc;
      background: #111b2b !important;
      border-color: rgba(88, 126, 185, 0.52);
      border-top: 3px solid #356fd6;
      box-shadow: var(--elev-4) rgba(4, 10, 20, 0.24);
    }
    .pricing-card.featured::before { display: none; }
    .pricing-card.featured::after {
      content: '';
      display: block;
      position: absolute;
      inset: 0 0 auto;
      height: 3px;
      background: #356fd6;
      pointer-events: none;
    }
    .pricing-recommend {
      display: none;
      align-self: flex-start;
      margin-bottom: 24px;
      padding: 7px 11px;
      border: 1px solid rgba(111, 158, 227, 0.38);
      border-radius: var(--r-xs);
      background: rgba(53, 111, 214, 0.14);
      color: #9ebdf0;
      font-size: 11px;
      font-weight: 750;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .pricing-card.featured .pricing-recommend { display: inline-flex; }
    .pricing-plan { letter-spacing: 0.09em; }
    .pricing-price {
      line-height: 0.98;
      letter-spacing: -0.02em;
      margin: 18px 0 14px;
    }
    .pricing-card.featured .pricing-price { font-size: 64px; }
    .pricing-description {
      min-height: 56px;
      margin: 0 0 18px;
      color: var(--text-muted);
      font-size: 15px;
      line-height: 1.55;
    }
    .pricing-hours {
      padding-top: 18px;
      border-top: 1px solid var(--border);
    }
    .pricing-features { flex: 1; }
    .pricing-card.featured .pricing-plan { color: #86aef0; }
    .pricing-card.featured .pricing-price,
    .pricing-card.featured .pricing-features li { color: #f7f9fc; }
    .pricing-card.featured .pricing-price span,
    .pricing-card.featured .pricing-description,
    .pricing-card.featured .pricing-hours,
    .pricing-card.featured .pricing-features li.disabled { color: #aab7c9; }
    .pricing-card.featured .pricing-hours { border-top-color: rgba(255,255,255,0.10); }

    /* Unified line icons */
    .method-step-icon svg {
      width: 23px;
      height: 23px;
      stroke: currentColor;
      stroke-width: 1.7;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Calm motion system */
    .reveal-on-scroll {
      opacity: 0;
      transform: translateY(12px);
      transition:
        opacity 0.52s var(--ease) var(--reveal-delay, 0ms),
        transform 0.52s var(--ease) var(--reveal-delay, 0ms),
        border-color 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        background 0.3s var(--ease);
    }
    .reveal-on-scroll.is-visible {
      opacity: 1;
      transform: translateY(0);
    }
    .stat-sequence {
      opacity: 0;
      animation: professionalReveal 0.52s var(--ease) forwards;
      animation-delay: var(--stat-delay, 0ms);
    }
    .section-progress-fill {
      transition: height 0.36s var(--ease);
    }
    .cert-preview:hover .cert-img {
      transform: translateY(-2px) scale(1.012);
      filter: saturate(0.96) contrast(1.02);
      box-shadow: var(--elev-5) rgba(0,0,0,0.28);
    }
    .faq-a {
      transition: max-height 0.4s var(--ease), opacity 0.28s var(--ease), padding 0.4s var(--ease);
    }
    .faq-icon { transition: transform 0.3s var(--ease), color 0.2s var(--ease); }
    .hero-map {
      animation: heroMapDrift 18s var(--ease-loop) infinite;
    }
    .hero-map-neighbor,
    .hero-map-uz { animation: none; }

    .btn-primary::after,
    .pricing-cta.primary::after {
      content: '→';
      display: inline-block;
      position: static;
      width: auto;
      height: auto;
      margin-left: 8px;
      background: none;
      opacity: 1;
      transform: translateX(0);
      transition: transform 0.22s var(--ease);
    }
    .btn-primary:hover::after,
    .pricing-cta.primary:hover::after { transform: translateX(4px); }

    .final-contact {
      width: min(100%, 760px);
      margin: 36px auto 0;
      padding-top: 24px;
      border-top: 1px solid var(--border);
      gap: 0;
      justify-content: center;
    }
    .final-contact .final-contact-item {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 28px;
      padding: 0 24px;
      color: var(--text-muted);
      opacity: 0;
      transform: translateY(8px);
    }
    .final-contact .final-contact-item + .final-contact-item::before {
      content: '';
      position: absolute;
      left: 0;
      top: 4px;
      bottom: 4px;
      width: 1px;
      background: var(--border);
    }
    .final-contact .final-contact-icon {
      display: inline-flex;
      width: 19px;
      height: 19px;
      flex: 0 0 19px;
      color: var(--blue);
    }
    .final-contact .final-contact-icon svg {
      width: 100%;
      height: 100%;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .final-contact .final-contact-item:hover,
    .final-contact .final-contact-item:hover .final-contact-icon {
      color: var(--text);
      transform: none;
    }
    .final-contact a {
      color: inherit;
      transition: color 0.2s var(--ease);
    }
    .final-glow.is-visible > .tag,
    .final-glow.is-visible > h2,
    .final-glow.is-visible > p,
    .final-glow.is-visible > .final-btns {
      animation: finalContentReveal 0.5s var(--ease) both;
    }
    .final-glow.is-visible > h2 { animation-delay: 60ms; }
    .final-glow.is-visible > p { animation-delay: 120ms; }
    .final-glow.is-visible > .final-btns { animation-delay: 180ms; }
    .final-glow.is-visible .final-contact-item {
      animation: finalContactReveal 0.46s var(--ease) forwards;
    }
    .final-glow.is-visible .final-contact-item:nth-child(1) { animation-delay: 260ms; }
    .final-glow.is-visible .final-contact-item:nth-child(2) { animation-delay: 335ms; }
    .final-glow.is-visible .final-contact-item:nth-child(3) { animation-delay: 410ms; }

    @keyframes finalContentReveal {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes finalContactReveal {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes heroMapDrift {
      0%, 100% { transform: translateY(-50%) translateX(0); }
      50% { transform: translateY(-50.8%) translateX(5px); }
    }

    @media (prefers-reduced-motion: reduce) {
      .reveal-on-scroll,
      .stat-sequence {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
      }
      .hero-map { animation: none !important; }
      .section-progress-fill { transition: none !important; }
      .final-glow > .tag,
      .final-glow > h2,
      .final-glow > p,
      .final-glow > .final-btns,
      .final-contact .final-contact-item {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
      }
    }

    @keyframes professionalReveal {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (min-width: 901px) {
      :root { --section-offset-left: 124px; }
      .hero-stats > div:not(:first-child) {
        border-left: 1px solid var(--border);
        padding-left: 22px;
      }
      #hero {
        min-height: calc(100vh - 260px) !important;
        padding-top: 42px !important;
        padding-bottom: 60px !important;
        padding-left: calc(60px + var(--section-offset-left)) !important;
      }
      .hero-inner {
        margin-left: 0;
      }
    }
    footer p { font-size: 14px; color: var(--text-muted); }

    @media (max-width: 900px) {
      nav { padding: 14px 20px; }
      nav.scrolled { padding: 9px 20px; }
      .scroll-progress { top: 75px; }
      nav.scrolled + .scroll-progress { top: 56px; }
      .nav-actions { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
      .lang-trigger { min-width: 0; height: 34px; padding: 0 8px 0 11px; }
      .lang-trigger-label { font-size: 14px; }
      .lang-menu-list { min-width: 152px; }
      .lang-menu-item { padding: 9px 9px; }
      .lang-item-label { font-size: 12px; }
      .theme-toggle { width: 68px; height: 34px; padding: 0 9px; }
      .theme-toggle::before { width: 24px; height: 24px; }
      html[data-theme="light"] .theme-toggle::before { transform: translateX(34px); }
      .theme-toggle-icon.sun { right: 8px; }
      .theme-toggle-icon.moon { left: 8px; }
      .nav-cta { min-height: 36px; padding: 0 14px; border-radius: var(--r-md); font-size: 13px; }
      .nav-cta::before { border-radius: var(--r-sm); }
      .section-progress-nav { display: none; }
      section { padding: 72px 20px; }
      #hero { padding: 120px 20px 80px; }
      .hero-inner { margin-left: 0; }
      .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
      .hero-map { display: none; }
      .problem-grid, .founders-grid, .method-grid, .modules-grid, .cert-grid,
      .nps-grid, .community-grid, .pricing-grid, .testimonials-grid, .extra-modules { grid-template-columns: 1fr; }
      .pricing-grid { gap: 20px; }
      .pricing-card,
      .pricing-card.featured,
      html[data-theme="light"] .pricing-card.featured {
        margin: 0;
        padding: 34px 26px;
      }
      .pricing-card.featured .pricing-price { font-size: 54px; }
      .pricing-description { min-height: 0; }
      .final-glow { padding: 60px 24px; }
      .final-contact {
        max-width: 520px;
        padding-top: 20px;
        gap: 14px;
      }
      .final-contact .final-contact-item {
        width: 100%;
        padding: 0;
      }
      .final-contact .final-contact-item + .final-contact-item::before { display: none; }
      footer { padding: 32px 20px; flex-direction: column; text-align: center; }
    }

    @media (max-width: 560px) {
      nav {
        display: grid;
        grid-template-columns: 78px minmax(0, 1fr);
        align-items: center;
        min-height: 60px;
        padding: 8px 10px !important;
      }
      nav.scrolled {
        min-height: 56px;
        padding: 6px 10px !important;
      }
      nav > img {
        width: 76px !important;
        max-width: 76px;
        height: auto !important;
        margin-top: 0;
      }
      .nav-actions {
        display: flex;
        flex-wrap: nowrap;
        justify-content: end;
        align-items: center;
        gap: 4px;
        width: auto;
        min-width: 0;
      }
      .lang-trigger {
        height: 32px;
        padding: 0 6px 0 8px;
      }
      .lang-trigger-label {
        max-width: 52px;
        overflow: hidden;
        font-size: 11px;
        white-space: nowrap;
      }
      .lang-trigger-chevron { margin-left: 3px; }
      .lang-menu-list {
        right: 0;
        left: auto;
        min-width: 144px;
      }
      .theme-toggle {
        flex: 0 0 52px;
        width: 52px;
        height: 32px;
        padding: 0 6px;
      }
      .theme-toggle::before {
        top: 4px;
        left: 4px;
        width: 22px;
        height: 22px;
      }
      html[data-theme="light"] .theme-toggle::before { transform: translateX(22px); }
      .theme-toggle-icon,
      .theme-toggle-icon svg,
      .theme-toggle .theme-toggle-icon.moon svg {
        width: 13px;
        height: 13px;
      }
      .theme-toggle-icon.sun { right: 7px; }
      .theme-toggle-icon.moon { left: 7px; }
      .nav-cta {
        flex: 0 0 auto;
        min-height: 32px;
        padding: 0 9px;
        border-radius: var(--r-sm);
        font-size: 10.5px;
        white-space: nowrap;
      }
      .nav-cta::before { border-radius: var(--r-xs); }
      .top-banner { padding-top: 60px !important; }
      .top-banner-image { max-height: none; object-fit: contain; }
      .scroll-progress { top: 60px; }
      nav.scrolled + .scroll-progress { top: 56px; }

      section { padding: 44px 20px !important; }
      #hero {
        min-height: auto !important;
        justify-content: flex-start !important;
        padding: 44px 20px 56px !important;
      }
      .hero-inner {
        width: 100%;
        max-width: none;
        margin-left: 0;
      }
      .hero-badge {
        margin-bottom: 22px;
        padding: 7px 12px;
        font-size: 12px;
      }
      .hero h1 {
        font-size: clamp(36px, 11vw, 46px);
        line-height: 1.08;
        margin-bottom: 18px;
      }
      .hero-sub {
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 1.6;
      }
      .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 16px;
        margin-bottom: 30px;
      }
      .hero-stat-num { font-size: 28px; }
      .hero-stat-label { font-size: 12px; }
      .hero-ctas {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
      }
      .hero-ctas .btn-primary,
      .hero-ctas .btn-secondary {
        width: 100%;
        padding: 14px 18px;
        border-radius: var(--r-sm);
        font-size: 15px;
        text-align: center;
      }

      h2 {
        font-size: 30px;
        line-height: 1.16;
      }
      h3 { font-size: 19px; }
      p { font-size: 15px; line-height: 1.65; }
      .problem-grid,
      .method-grid,
      .founders-grid,
      .modules-grid,
      .cert-grid,
      .nps-grid,
      .pricing-grid,
      .testimonials-grid,
      .community-grid,
      .extra-modules {
        margin-top: 32px;
        gap: 16px;
      }
      .problem-card,
      .module-card,
      .founder-card,
      .pricing-card,
      .testimonial-card,
      .extra-card,
      .community-item,
      .cert-feature {
        padding: 22px 20px !important;
        border-radius: var(--r-sm);
      }
      .community-grid,
      .community-items,
      .community-item,
      .community-stat {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
      }
      .problem-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 24px;
        gap: 10px;
      }
      #problem section { padding-block: 36px !important; }
      #problem .tag { margin-bottom: 14px; }
      #problem h2 {
        margin-bottom: 14px;
        font-size: 27px;
      }
      #problem section > p {
        font-size: 14px;
        line-height: 1.55;
      }
      .problem-card {
        min-width: 0;
        padding: 16px 14px !important;
      }
      .problem-card:nth-child(3) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        grid-template-areas:
          "number title"
          "number copy";
        column-gap: 14px;
        align-items: start;
      }
      .problem-card:nth-child(3) .problem-num {
        grid-area: number;
        align-self: center;
        margin: 0;
        font-size: 30px;
        overflow-wrap: normal;
      }
      .problem-card:nth-child(3) h3 { grid-area: title; }
      .problem-card:nth-child(3) p { grid-area: copy; }
      .problem-num {
        margin-bottom: 8px;
        font-size: 26px !important;
        line-height: 1.12 !important;
        white-space: normal;
        overflow-wrap: anywhere;
      }
      .problem-card h3 {
        margin-bottom: 8px;
        font-size: 16px;
        line-height: 1.25;
        overflow-wrap: anywhere;
      }
      .problem-card p {
        font-size: 12.5px;
        line-height: 1.5;
        overflow-wrap: anywhere;
      }
      .method-grid { gap: 28px; }
      .method-steps { gap: 14px; }
      .method-step {
        gap: 14px;
        padding: 18px 16px !important;
        border-radius: var(--r-sm);
      }
      .method-step-icon {
        width: 42px;
        height: 42px;
        border-radius: var(--r-xs);
      }
      .method-step h3 { font-size: 18px; }
      .method-step p { font-size: 14px; }
      .method-stats { gap: 10px; }
      .method-stat-card { padding: 18px 10px; }
      .method-stat-big { font-size: 32px; }
      .founder-photo {
        width: min(100%, 280px);
        height: auto;
        aspect-ratio: 4 / 5;
        margin-inline: auto;
      }
      .pricing-card,
      .pricing-card.featured,
      html[data-theme="light"] .pricing-card.featured {
        padding: 28px 20px !important;
      }
      .pricing-card.featured .pricing-price { font-size: 46px; }
      .final-glow { padding: 40px 18px !important; }
      .final-glow h2 { font-size: 30px; }
      footer { padding: 28px 20px; }
    }

    @media (max-width: 360px) {
      nav { grid-template-columns: 58px minmax(0, 1fr); }
      nav > img {
        width: 56px !important;
        max-width: 56px;
      }
      .lang-trigger {
        gap: 3px;
        padding-inline: 6px;
      }
      .lang-trigger-code {
        display: inline;
        font-size: 10px;
        font-weight: 700;
      }
      .lang-trigger-label { display: none; }
      .theme-toggle {
        flex-basis: 48px;
        width: 48px;
      }
      .theme-toggle::before {
        width: 20px;
        height: 20px;
        top: 5px;
      }
      html[data-theme="light"] .theme-toggle::before { transform: translateX(20px); }
      .nav-cta {
        padding-inline: 5px;
        font-size: 10px;
      }
    }

    .mobile-module-toggle { display: none; }

    /* MOBILE EXPERIENCE REDESIGN
       Intentionally isolated from the navbar: the desktop and navigation systems
       keep their existing layout and behavior. */
    @media (max-width: 560px) {
      body {
        overflow-x: hidden;
      }

      a,
      button,
      [role="button"],
      .faq-q,
      .theme-toggle {
        -webkit-tap-highlight-color: transparent;
      }

      a:focus,
      button:focus,
      [role="button"]:focus,
      .faq-q:focus,
      .theme-toggle:focus,
      .theme-toggle:focus-visible,
      .theme-toggle:active {
        outline: none !important;
      }

      .reveal-on-scroll,
      .stat-sequence {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
      }

      body > section,
      .full-bg > section {
        padding: 46px 18px !important;
      }

      body > section:not(#hero),
      .full-bg > section {
        border-top: 1px solid var(--border);
      }

      section h2 {
        max-width: 100%;
        margin-bottom: 10px;
        font-size: 28px;
        line-height: 1.14;
        letter-spacing: 0;
      }

      section > p,
      .modules-header > p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.55;
      }

      .tag {
        display: flex !important;
        width: fit-content;
        min-height: 18px;
        margin: 0 0 14px !important;
        padding: 1px 0 1px 10px !important;
        border: 0 !important;
        border-left: 2px solid var(--blue) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--blue-light) !important;
        font-size: 10px !important;
        line-height: 1.6;
        letter-spacing: 1.2px;
        text-align: left !important;
      }

      .hero-inner,
      .modules-header {
        max-width: 100%;
      }

      #hero {
        min-height: 0 !important;
        padding: 38px 18px 46px !important;
      }

      .hero-badge {
        margin-bottom: 20px;
        padding: 7px 10px;
        border-radius: var(--r-xs);
        font-size: 10.5px;
      }

      #hero h1 {
        max-width: 340px;
        margin-bottom: 14px;
        font-size: 35px;
        line-height: 1.08;
      }

      .hero-sub {
        max-width: 350px;
        margin-bottom: 24px;
        font-size: 14.5px;
        line-height: 1.6;
      }

      .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0 0 20px;
      }

      .hero-stat {
        min-height: 82px;
        padding: 13px 12px;
        border: 1px solid var(--border);
        border-radius: var(--r-sm);
        background: var(--card-bg);
      }

      .hero-stat .num {
        font-size: 26px;
        line-height: 1.05;
      }

      .hero-stat .label {
        margin-top: 7px;
        font-size: 10.5px;
        line-height: 1.35;
      }

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

      .hero-ctas .btn-primary,
      .hero-ctas .btn-secondary {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 11px 8px;
        font-size: 12.5px;
        white-space: normal;
      }

      .problem-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin-top: 26px !important;
        border-top: 1px solid var(--border);
      }

      .problem-card,
      .problem-card:nth-child(3) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
          "number"
          "title"
          "copy" !important;
        gap: 5px !important;
        min-height: 0 !important;
        padding: 18px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid var(--border) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
      }

      .problem-card .problem-num,
      .problem-card:nth-child(3) .problem-num {
        grid-area: number;
        align-self: start;
        margin: 0;
        font-size: 28px !important;
        line-height: 1.08 !important;
        overflow-wrap: normal;
      }

      .problem-card h3,
      .problem-card:nth-child(3) h3 {
        grid-area: title;
        margin: 0;
        font-size: 16px;
        line-height: 1.3;
      }

      .problem-card p,
      .problem-card:nth-child(3) p {
        grid-area: copy;
        margin: 2px 0 0;
        font-size: 13px;
        line-height: 1.5;
      }

      .method-grid {
        gap: 22px;
        margin-top: 26px !important;
      }

      .method-steps {
        gap: 0;
        border-top: 1px solid var(--border);
      }

      .method-step {
        gap: 13px;
        padding: 16px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid var(--border) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
      }

      .method-step-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        border-radius: var(--r-xs);
      }

      .method-step h3 {
        margin-bottom: 4px;
        font-size: 16px;
      }

      .method-step p {
        font-size: 13px;
        line-height: 1.5;
      }

      .method-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      .method-stat-card {
        min-height: 94px;
        padding: 15px 10px;
        border-radius: var(--r-sm);
      }

      .method-stat-big {
        font-size: 28px;
      }

      .method-stat-label {
        margin-top: 6px;
        font-size: 11px;
        line-height: 1.35;
      }

      .founders-grid,
      .modules-grid,
      .extra-modules,
      .pricing-grid,
      .testimonials-grid {
        display: flex !important;
        width: auto;
        max-width: none;
        margin-right: -18px !important;
        margin-left: -18px !important;
        padding-right: 18px !important;
        padding-left: 18px !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-inline: 18px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }

      .founders-grid::-webkit-scrollbar,
      .modules-grid::-webkit-scrollbar,
      .extra-modules::-webkit-scrollbar,
      .pricing-grid::-webkit-scrollbar,
      .testimonials-grid::-webkit-scrollbar {
        display: none;
      }

      .founders-grid {
        gap: 12px;
        margin-top: 26px !important;
        padding-bottom: 4px;
      }

      .founder-card {
        flex: 0 0 calc(88vw - 18px);
        max-width: 340px;
        padding: 16px !important;
        border-radius: var(--r-sm) !important;
        scroll-snap-align: start;
        transform: none !important;
      }

      .founder-photo {
        width: min(100%, 230px);
        height: auto;
        aspect-ratio: 4 / 4.2;
        margin: 0 auto 10px;
        object-fit: contain;
        object-position: center bottom;
      }

      .founder-name {
        font-size: 19px;
        line-height: 1.2;
      }

      .founder-title {
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.45;
      }

      .founder-achievements {
        gap: 9px;
        margin-top: 16px;
      }

      .achievement {
        gap: 8px;
        font-size: 12px;
        line-height: 1.45;
      }

      .modules-header {
        margin-bottom: 24px;
        text-align: left;
      }

      .modules-header h2,
      .modules-header p {
        text-align: left;
      }

      .modules-grid {
        gap: 12px !important;
        padding-bottom: 6px !important;
      }

      .module-card {
        flex: 0 0 calc(88vw - 18px);
        max-width: 340px;
        min-height: 0 !important;
        padding: 20px 18px !important;
        border-radius: var(--r-sm) !important;
        scroll-snap-align: start;
        transform: none !important;
      }

      .module-card h3 {
        margin-bottom: 11px;
        font-size: 19px;
        line-height: 1.25;
      }

      .module-num {
        margin-bottom: 10px;
        font-size: 10px;
      }

      .module-tags {
        gap: 5px;
        margin-bottom: 15px;
      }

      .module-tag {
        padding: 5px 8px;
        font-size: 10px;
      }

      .module-list {
        gap: 9px;
        margin-bottom: 16px;
      }

      .module-list li {
        padding-left: 18px;
        font-size: 12.5px;
        line-height: 1.45;
      }

      .module-result {
        margin-top: auto;
        padding: 13px 14px;
        border-radius: var(--r-xs);
      }

      .module-result p {
        font-size: 12.5px;
        line-height: 1.45;
      }

      .extra-modules {
        gap: 10px !important;
        margin-top: 14px !important;
        padding-bottom: 4px !important;
      }

      .extra-card {
        flex: 0 0 76vw;
        max-width: 292px;
        min-height: 148px;
        padding: 17px !important;
        border-radius: var(--r-sm) !important;
        scroll-snap-align: start;
        transform: none !important;
      }

      .extra-card h3 {
        font-size: 16px;
      }

      .extra-card p {
        font-size: 12.5px !important;
        line-height: 1.48;
      }

      .extra-icon {
        margin-bottom: 8px;
        font-size: 22px;
      }

      .cert-grid {
        gap: 22px;
        margin-top: 26px !important;
      }

      .cert-preview {
        width: min(100%, 420px);
        aspect-ratio: 1 / 1;
        margin: 0 auto;
        padding: 0;
        align-items: center !important;
        justify-content: center !important;
      }

      .cert-preview img {
        display: block;
        width: 100%;
        height: 100% !important;
        margin: 0;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        border-radius: var(--r-sm);
        transform: none !important;
      }

      .cert-features {
        gap: 0;
        border-top: 1px solid var(--border);
      }

      .cert-feature {
        gap: 12px;
        padding: 14px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid var(--border) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
      }

      .cert-num {
        width: 32px;
        height: 32px;
        font-size: 13px;
      }

      .cert-feature h3 {
        margin-bottom: 3px;
        font-size: 15px;
      }

      .cert-feature p {
        font-size: 12.5px;
        line-height: 1.45;
      }

      .nps-grid {
        gap: 20px;
        margin-top: 26px !important;
      }

      .nps-big {
        padding: 18px !important;
        border-radius: var(--r-sm);
      }

      .nps-number {
        font-size: 54px;
        line-height: 1;
      }

      .nps-extra {
        gap: 8px;
        margin-top: 8px;
      }

      .nps-extra-card {
        min-height: 92px;
        padding: 14px 12px;
        border-radius: var(--r-sm);
      }

      .nps-extra-num {
        font-size: 25px;
      }

      .nps-extra-label {
        margin-top: 6px;
        font-size: 10.5px;
        line-height: 1.35;
      }

      .nps-bar-item {
        margin-bottom: 14px;
      }

      .nps-bar-label {
        gap: 10px;
        font-size: 12.5px;
      }

      #pricing > .tag,
      #pricing > h2,
      #pricing > p {
        text-align: left !important;
      }

      .pricing-grid {
        gap: 12px !important;
        margin-top: 26px !important;
        padding-top: 6px !important;
        padding-bottom: 8px !important;
      }

      .pricing-card,
      .pricing-card.featured,
      html[data-theme="light"] .pricing-card.featured {
        flex: 0 0 calc(88vw - 18px);
        max-width: 340px;
        min-height: 0;
        padding: 24px 18px 18px !important;
        border-radius: var(--r-sm) !important;
        scroll-snap-align: start;
        transform: none !important;
      }

      .pricing-card.featured {
        order: -1;
      }

      .pricing-recommend {
        top: 0;
        right: 16px;
        padding: 5px 9px;
        font-size: 10.5px;
      }

      .pricing-plan {
        font-size: 10.5px;
      }

      .pricing-price,
      .pricing-card.featured .pricing-price {
        margin: 14px 0 8px;
        font-size: 42px;
      }

      .pricing-description {
        min-height: 0;
        margin-bottom: 12px;
        font-size: 12.5px;
        line-height: 1.45;
      }

      .pricing-hours {
        margin-bottom: 14px;
        font-size: 12px;
      }

      .pricing-features {
        gap: 9px;
        margin-bottom: 18px;
      }

      .pricing-features li {
        padding-left: 23px;
        font-size: 12.5px;
        line-height: 1.4;
      }

      .pricing-cta {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 13px;
      }

      .testimonials-grid {
        gap: 12px !important;
        margin-top: 26px !important;
        padding-bottom: 6px !important;
      }

      .testimonial-card {
        flex: 0 0 82vw;
        max-width: 318px;
        min-height: 260px;
        padding: 20px 18px !important;
        border-radius: var(--r-sm) !important;
        scroll-snap-align: start;
        transform: none !important;
      }

      .testimonial-text {
        font-size: 13px;
        line-height: 1.58;
      }

      /* No sideways browsing on mobile. Long content becomes a compact vertical flow. */
      .founders-grid,
      .modules-grid,
      .extra-modules,
      .pricing-grid,
      .testimonials-grid {
        display: grid !important;
        width: 100%;
        max-width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        overflow: visible;
        scroll-snap-type: none;
      }

      .founders-grid {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .founder-card {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        grid-template-areas:
          "photo name"
          "photo title"
          "achievements achievements";
        align-items: start;
        width: 100%;
        max-width: none;
        padding: 16px !important;
      }

      .founder-photo {
        grid-area: photo;
        width: 88px;
        height: 112px;
        margin: 0;
        aspect-ratio: auto;
        object-fit: contain;
        object-position: center bottom;
      }

      .founder-name {
        grid-area: name;
        align-self: end;
        font-size: 18px;
      }

      .founder-title {
        grid-area: title;
        align-self: start;
        font-size: 11.5px;
      }

      .founder-achievements {
        grid-area: achievements;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--border);
      }

      .modules-grid {
        grid-template-columns: 1fr;
        gap: 8px !important;
      }

      .module-card {
        width: 100%;
        max-width: none;
        padding: 18px 16px !important;
      }

      .module-card.mobile-module-card {
        position: relative;
        min-height: 78px !important;
        padding-right: 58px !important;
        cursor: pointer;
        transition: border-color .25s var(--ease), background-color .25s var(--ease);
      }

      .module-card.mobile-module-card:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(53, 111, 214, .26);
      }

      .module-card.mobile-module-card h3 {
        max-width: 235px;
        margin-bottom: 0;
      }

      .mobile-module-toggle {
        display: block;
        position: absolute;
        top: 21px;
        right: 16px;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 1px solid var(--border);
        border-radius: 50%;
        background: transparent;
        color: var(--text);
        pointer-events: none;
      }

      .mobile-module-toggle::before,
      .mobile-module-toggle::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 11px;
        height: 1.5px;
        border-radius: var(--r-xs);
        background: currentColor;
        transform: translate(-50%, -50%);
        transition: transform .25s var(--ease), opacity .25s var(--ease);
      }

      .mobile-module-toggle::after {
        transform: translate(-50%, -50%) rotate(90deg);
      }

      .mobile-module-card.mobile-open .mobile-module-toggle::after {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg);
      }

      .mobile-module-card .module-tags,
      .mobile-module-card .module-list,
      .mobile-module-card .module-result {
        max-height: 0;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
        border-color: transparent;
        opacity: 0;
        transition:
          max-height .38s var(--ease),
          margin .3s var(--ease),
          padding .3s var(--ease),
          opacity .25s var(--ease),
          border-color .25s var(--ease);
      }

      .mobile-module-card.mobile-open {
        padding-right: 16px !important;
        border-color: rgba(52, 115, 219, .42) !important;
      }

      .mobile-module-card.mobile-open h3 {
        max-width: calc(100% - 42px);
      }

      .mobile-module-card.mobile-open .module-tags {
        max-height: 70px;
        margin-top: 14px;
        margin-bottom: 15px;
        opacity: 1;
      }

      .mobile-module-card.mobile-open .module-list {
        max-height: 360px;
        margin-bottom: 16px;
        opacity: 1;
      }

      .mobile-module-card.mobile-open .module-result {
        max-height: 180px;
        padding: 13px 14px;
        border-color: var(--border);
        opacity: 1;
      }

      .extra-modules {
        grid-template-columns: 1fr;
        gap: 8px !important;
      }

      .extra-card {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 3px 11px;
        width: 100%;
        max-width: none;
        min-height: 0;
        padding: 14px !important;
      }

      .extra-icon {
        grid-row: 1 / span 2;
        margin: 0;
      }

      .extra-card h3 {
        margin: 0;
      }

      .extra-card p {
        margin: 0;
      }

      .pricing-grid {
        grid-template-columns: 1fr;
        gap: 12px !important;
      }

      .pricing-card,
      .pricing-card.featured,
      html[data-theme="light"] .pricing-card.featured {
        width: 100%;
        max-width: none;
      }

      .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 10px !important;
      }

      .testimonial-card {
        width: 100%;
        max-width: none;
        min-height: 0;
        padding: 18px 16px !important;
      }

      .community-grid {
        gap: 20px;
        margin-top: 26px !important;
      }

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

      .community-item {
        display: block;
        min-height: 164px;
        padding: 14px 12px !important;
        border-radius: var(--r-sm) !important;
        transform: none !important;
      }

      .community-item-num {
        width: 27px;
        height: 27px;
        margin-bottom: 10px;
        font-size: 11px;
      }

      .community-item h3 {
        margin-bottom: 5px;
        font-size: 14px;
        line-height: 1.25;
      }

      .community-item p {
        font-size: 11.5px;
        line-height: 1.45;
      }

      .community-stat {
        padding: 20px 18px !important;
        border-radius: var(--r-sm);
      }

      .community-big {
        font-size: 52px;
      }

      #faq h2 {
        text-align: left !important;
      }

      .faq-list {
        width: 100%;
        gap: 10px;
        margin-top: 24px !important;
      }

      .faq-item {
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: var(--r-sm);
        background: var(--card-bg) !important;
      }

      .faq-q {
        min-height: 58px;
        gap: 12px;
        padding: 14px 14px 14px 16px;
        font-size: 14px;
        line-height: 1.35;
      }

      .faq-icon {
        display: inline-flex;
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        margin-left: 8px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
      }

      .faq-a {
        padding: 0 16px;
        font-size: 13px;
        line-height: 1.55;
      }

      .faq-item.open .faq-a {
        max-height: 360px;
        padding: 0 16px 16px;
      }

      .final-glow {
        padding: 30px 18px !important;
        border-radius: var(--r-sm) !important;
        text-align: left;
      }

      .final-glow h2 {
        font-size: 28px;
        line-height: 1.14;
        text-align: left;
      }

      .final-glow > p {
        margin: 10px 0 0 !important;
        font-size: 13px;
        line-height: 1.55;
        text-align: left;
      }

      .final-btns {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
        gap: 8px;
        margin-top: 22px;
      }

      .final-btns .btn-primary,
      .final-btns .btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 48px;
        padding: 11px 8px;
        font-size: 12px;
        text-align: center;
      }

      .final-contact {
        display: grid;
        gap: 0;
        margin-top: 22px;
        padding-top: 4px;
      }

      .final-contact-item {
        justify-content: flex-start;
        min-height: 42px;
        padding: 9px 0;
        border-top: 1px solid var(--border);
        font-size: 12px;
      }

      footer {
        padding: 24px 18px;
        font-size: 11px;
        text-align: left;
      }

      .footer-brand {
        height: 36px;
      }

      .footer-logo {
        width: auto;
        height: 100%;
      }

    }

    /* PROFESSIONAL MOTION AND COMPACT CONTENT */
    html[data-theme="dark"] {
      --map-kz-fill: rgba(38, 112, 103, 0.24);
      --map-kz-stroke: rgba(99, 164, 156, 0.38);
      --map-tm-fill: rgba(126, 96, 34, 0.22);
      --map-tm-stroke: rgba(171, 134, 55, 0.42);
      --map-kg-fill: rgba(137, 70, 44, 0.22);
      --map-kg-stroke: rgba(181, 101, 68, 0.42);
      --map-tj-fill: rgba(123, 52, 91, 0.22);
      --map-tj-stroke: rgba(170, 78, 127, 0.42);
      --map-uz-start: #205fc2;
      --map-uz-mid: #2d8bc1;
      --map-uz-end: #39769a;
      --map-uz-stroke: rgba(87, 166, 222, 0.92);
    }

    html[data-theme="light"] {
      --map-kz-fill: rgba(61, 167, 158, 0.28);
      --map-kz-stroke: rgba(42, 139, 132, 0.44);
      --map-tm-fill: rgba(206, 174, 90, 0.25);
      --map-tm-stroke: rgba(187, 139, 54, 0.46);
      --map-kg-fill: rgba(214, 144, 113, 0.25);
      --map-kg-stroke: rgba(190, 105, 72, 0.45);
      --map-tj-fill: rgba(197, 120, 166, 0.24);
      --map-tj-stroke: rgba(172, 78, 129, 0.42);
      --map-uz-start: #2f72ca;
      --map-uz-mid: #42a8d2;
      --map-uz-end: #6ab8d0;
      --map-uz-stroke: rgba(29, 126, 204, 0.94);
    }

    html[data-theme] .hero-map-kazakhstan { fill: var(--map-kz-fill); stroke: var(--map-kz-stroke); }
    html[data-theme] .hero-map-turkmenistan { fill: var(--map-tm-fill); stroke: var(--map-tm-stroke); }
    html[data-theme] .hero-map-kyrgyzstan { fill: var(--map-kg-fill); stroke: var(--map-kg-stroke); }
    html[data-theme] .hero-map-tajikistan { fill: var(--map-tj-fill); stroke: var(--map-tj-stroke); }
    #uzMapGradient stop:nth-child(1) { stop-color: var(--map-uz-start); }
    #uzMapGradient stop:nth-child(2) { stop-color: var(--map-uz-mid); }
    #uzMapGradient stop:nth-child(3) { stop-color: var(--map-uz-end); }
    .hero-map-neighbor,
    .hero-map-uz,
    #uzMapGradient stop {
      transition: fill 0.38s var(--ease), stroke 0.38s var(--ease), stroke-width 0.28s var(--ease), filter 0.38s var(--ease), stop-color 0.38s var(--ease);
    }
    html[data-theme] .hero-map-uz { stroke: var(--map-uz-stroke); }

    .founder-achievements .mobile-collapse-shell-inner {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    body::before,
    html.theme-swap body::before { animation: none !important; background: transparent !important; }
    html.theme-fast-swap,
    html.theme-fast-swap *,
    html.theme-fast-swap *::before,
    html.theme-fast-swap *::after {
      transition: none !important;
      transition-property: none !important;
      transition-duration: 0ms !important;
      transition-delay: 0ms !important;
    }
    ::view-transition-old(root),
    ::view-transition-new(root) {
      animation: none !important;
    }
    html.theme-fallback body {
      transition: opacity 0.09s var(--ease) !important;
    }
    html.theme-fallback-out body { opacity: 0.94; }
    @keyframes themeCrossfadeOut { to { opacity: 0; } }
    @keyframes themeCrossfadeIn { from { opacity: 0; } }

    :where(a[href], button, [role="button"], .faq-q) { cursor: pointer; }
    :where(a[href], button, [role="button"], .faq-q):focus { outline: none !important; }
    :where(a[href], button, [role="button"], .faq-q):focus-visible {
      outline: var(--ring-width) solid var(--ring-color) !important;
      outline-offset: var(--ring-offset);
    }
    :where(a[href], button, [role="button"], .faq-q):focus:not(:focus-visible) {
      outline: none !important;
    }
    a[href]:focus-visible,
    button:focus-visible,
    [role="button"]:focus-visible,
    .faq-q:focus-visible {
      outline-color: var(--ring-color) !important;
      outline-style: solid !important;
      outline-width: var(--ring-width) !important;
      outline-offset: var(--ring-offset);
    }
    .faq-q { border-radius: var(--r-sm); }

    .career-compare {
      position: relative;
      --compare-head-height: 52px;
      --compare-row-height: 84px;
      margin-top: 46px;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
    }
    .career-compare-head,
    .career-compare-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
      align-items: center;
    }
    .career-compare-head {
      min-height: 52px;
      color: var(--text-muted);
      font-size: 12px;
      font-weight: 750;
      letter-spacing: 1.1px;
      text-transform: uppercase;
    }
    .career-compare-head > :first-child,
    .career-compare-row > :first-child { text-align: right; }
    .career-compare-head > :last-child,
    .career-compare-row > :last-child { text-align: left; }
    .compare-head-arrow,
    .compare-row-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--blue);
    }
    .compare-row-arrow {
      position: relative;
      z-index: 2;
      width: 28px;
      height: 28px;
      margin: 0 auto;
      border: 1px solid color-mix(in srgb, var(--blue) 38%, var(--border));
      border-radius: 50%;
      background: var(--bg2);
    }
    .compare-head-arrow svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; }
    .career-compare-row {
      position: relative;
      min-height: 84px;
      border-top: 1px solid var(--border);
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
    }
    .career-compare.is-visible .career-compare-row { opacity: 1; transform: translateY(0); }
    .career-compare.is-visible .career-compare-row:nth-of-type(4) { transition-delay: 0.06s; }
    .career-compare.is-visible .career-compare-row:nth-of-type(5) { transition-delay: 0.12s; }
    .career-compare.is-visible .career-compare-row:nth-of-type(6) { transition-delay: 0.18s; }
    .career-compare-value { padding: 18px 22px; font-size: 19px; font-weight: 700; line-height: 1.3; }
    .compare-before { color: var(--text-muted); }
    .compare-after { color: var(--text); }
    .compare-row-arrow svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; }
    .career-compare-line {
      position: absolute;
      z-index: 0;
      top: calc(var(--compare-head-height) + var(--compare-row-height) / 2);
      bottom: calc(var(--compare-row-height) / 2);
      left: 50%;
      width: 1px;
      background: var(--border);
      transform: translateX(-50%);
      pointer-events: none;
    }
    .career-compare-line span {
      display: block;
      width: 100%;
      height: 100%;
      background: var(--blue);
      transform: scaleY(0);
      transform-origin: top;
      transition: transform 0.58s var(--ease);
    }
    .career-compare.is-visible .career-compare-line span { transform: scaleY(1); }

    .method-steps { position: relative; gap: 0; }
    .method-step,
    html[data-theme="light"] .method-step {
      position: relative;
      z-index: auto;
      min-height: 104px;
      padding: 18px 0 !important;
      border: 0 !important;
      border-bottom: 1px solid var(--border) !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }
    .method-step.reveal-on-scroll {
      opacity: 1 !important;
      transform: none !important;
    }
    .method-step:first-of-type { border-top: 1px solid var(--border) !important; }
    .method-step:hover { transform: none; border-color: var(--border) !important; box-shadow: none; }
    .method-step-icon { position: relative; z-index: 3; }
    .method-route-line { display: none; }
    .method-step:not(:last-of-type)::before,
    .method-step:not(:last-of-type)::after {
      content: '';
      position: absolute;
      z-index: 1;
      top: 66px;
      bottom: -19px;
      left: 23px;
      width: 2px;
      pointer-events: none;
    }
    .method-step:not(:last-of-type)::before { background: var(--border); }
    .method-step:not(:last-of-type)::after {
      background: var(--blue);
      transform: scaleY(0);
      transform-origin: top;
      transition: transform 0.46s var(--ease);
    }
    .method-steps.is-visible .method-step:not(:last-of-type)::after { transform: scaleY(1); }
    .method-steps.is-visible .method-step:nth-of-type(2)::after { transition-delay: 0.1s; }
    .method-steps.is-visible .method-step:nth-of-type(3)::after { transition-delay: 0.2s; }

    .experience-wordmarks {
      margin-top: 38px;
      padding: 20px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .experience-wordmarks-label {
      margin-bottom: 16px;
      color: var(--text-muted);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .experience-wordmarks-list {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px 24px;
    }
    .experience-wordmark {
      color: var(--text);
      font-size: 15px;
      font-weight: 750;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
    }
    .experience-wordmarks.is-visible .experience-wordmark { opacity: 0.66; transform: translateY(0); }
    .experience-wordmarks.is-visible .experience-wordmark:nth-child(1) { transition-delay: 0ms; }
    .experience-wordmarks.is-visible .experience-wordmark:nth-child(2) { transition-delay: 60ms; }
    .experience-wordmarks.is-visible .experience-wordmark:nth-child(3) { transition-delay: 120ms; }
    .experience-wordmarks.is-visible .experience-wordmark:nth-child(4) { transition-delay: 180ms; }
    .experience-wordmarks.is-visible .experience-wordmark:nth-child(5) { transition-delay: 240ms; }
    .experience-wordmarks.is-visible .experience-wordmark:nth-child(6) { transition-delay: 300ms; }
    .experience-wordmarks.is-visible .experience-wordmark:nth-child(7) { transition-delay: 360ms; }

    .nps-ring {
      position: relative;
      width: min(100%, 220px);
      aspect-ratio: 1;
      margin: 0 auto;
      display: grid;
      place-items: center;
    }
    .nps-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
    .nps-ring circle { fill: none; stroke-width: 7; }
    .nps-ring-track { stroke: var(--border); }
    .nps-ring-value {
      stroke: var(--blue);
      stroke-linecap: round;
      stroke-dasharray: 100;
      stroke-dashoffset: 100;
      transition: stroke-dashoffset 0.9s var(--ease);
    }
    .nps-grid.is-visible .nps-ring-value { stroke-dashoffset: 11; }
    .nps-number { position: relative; z-index: 1; font-size: 66px; }
    .nps-title { margin-top: 16px; font-size: 18px; font-weight: 700; }
    .nps-benchmark { margin-top: 8px; color: var(--text-muted); font-size: 14px; }

    .module-details { display: flex; min-height: 0; flex: 1; flex-direction: column; }
    .module-details-inner { display: flex; min-height: 0; flex: 1; flex-direction: column; }
    .mobile-content-toggle,
    .mobile-list-toggle { display: none; }
    .mobile-sticky-cta { display: none; }

    .program-facts-note,
    .survey-context {
      max-width: 760px;
      margin: 22px 0 0;
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .program-facts-note {
      padding-left: 14px;
      border-left: 2px solid color-mix(in srgb, var(--blue) 55%, var(--border));
    }

    .survey-context {
      margin-top: 14px;
    }

    @media (hover: hover) and (pointer: fine) {
      .cert-preview:hover .cert-img { transform: translateY(-2px) scale(1.012); }
      .hero-map { pointer-events: auto; }
      .hero-map-uz { pointer-events: visiblePainted; cursor: pointer; }
      html[data-theme] .hero-map-uz:hover {
        stroke: rgba(105, 183, 235, 1);
        stroke-width: 3;
        filter: url(#heroMapGlow) drop-shadow(0 0 10px rgba(53, 111, 214, 0.28));
      }
    }

    @media (max-width: 560px) {
      body > section,
      .full-bg > section { padding-top: 34px !important; padding-bottom: 34px !important; }
      #hero { padding-top: 38px !important; padding-bottom: 42px !important; }

      .career-compare { margin-top: 24px; }
      .career-compare {
        --compare-head-height: 42px;
        --compare-row-height: 64px;
      }
      .career-compare-head,
      .career-compare-row { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
      .career-compare-head { min-height: 42px; font-size: 10.5px; letter-spacing: 0.7px; }
      .career-compare-row { min-height: 64px; }
      .career-compare-value { padding: 12px 7px; font-size: 13px; line-height: 1.28; }
      .compare-head-arrow svg,
      .compare-row-arrow svg { width: 14px; height: 14px; }
      .compare-row-arrow { width: 24px; height: 24px; }

      .method-grid { margin-top: 22px !important; }
      .method-step,
      html[data-theme="light"] .method-step {
        min-height: 0;
        padding: 13px 0 !important;
      }
      .method-step:first-of-type { border-top: 1px solid var(--border) !important; }
      .method-step-icon { flex-basis: 40px; width: 40px; height: 40px; }
      .method-step:not(:last-of-type)::before,
      .method-step:not(:last-of-type)::after {
        top: 53px;
        bottom: -14px;
        left: 19px;
      }
      .method-step h3 { font-size: 15px; }
      .method-step p { font-size: 12px; line-height: 1.45; }

      .experience-wordmarks { margin-top: 24px; padding: 16px 0; }
      .experience-wordmarks-label { margin-bottom: 12px; font-size: 10.5px; line-height: 1.4; }
      .experience-wordmarks-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 18px; }
      .experience-wordmark { font-size: 12px; }

      .nps-ring { width: 154px; }
      .nps-ring circle { stroke-width: 6; }
      .nps-number { font-size: 44px; }
      .nps-title { margin-top: 10px; font-size: 15px; }
      .nps-benchmark { margin-top: 5px; font-size: 11px; }

      .mobile-module-card .module-details {
        display: grid;
        grid-template-rows: 0fr;
        flex: none;
        opacity: 0;
        transition: grid-template-rows 0.4s var(--ease), opacity 0.28s var(--ease);
      }
      .mobile-module-card .module-details-inner { min-height: 0; overflow: hidden; }
      .mobile-module-card.mobile-open .module-details { grid-template-rows: 1fr; opacity: 1; }
      .mobile-module-card .module-tags,
      .mobile-module-card .module-list,
      .mobile-module-card .module-result,
      .mobile-module-card.mobile-open .module-tags,
      .mobile-module-card.mobile-open .module-list,
      .mobile-module-card.mobile-open .module-result {
        max-height: none !important;
        opacity: 1 !important;
      }
      .mobile-module-card .module-tags { margin-top: 14px; margin-bottom: 15px; }
      .mobile-module-card .module-list { margin-bottom: 16px; }
      .mobile-module-card .module-result { padding: 13px 14px; border-color: var(--border); }
      .mobile-module-toggle { transition: transform 0.3s var(--ease), border-color 0.25s var(--ease); }
      .mobile-module-card.mobile-open .mobile-module-toggle { transform: rotate(45deg); }
      .mobile-module-card.mobile-open .mobile-module-toggle::after {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(90deg);
      }

    .mobile-collapse-shell {
        display: grid;
        grid-template-rows: 0fr;
        opacity: 0;
        transition: grid-template-rows 0.38s var(--ease), opacity 0.26s var(--ease);
      }
      .mobile-collapse-shell-inner { display: flex; min-height: 0; flex-direction: column; gap: 9px; overflow: hidden; }
      .is-expanded > .mobile-collapse-shell { grid-template-rows: 1fr; opacity: 1; }
      .mobile-collapse-shell-inner .achievement:first-child { margin-top: 9px; }

      .testimonial-text:not(.is-expanded) {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
      }
      #modules:not(.mobile-modules-expanded) .modules-grid > .module-card:nth-child(n+4),
      #modules:not(.mobile-modules-expanded) .extra-modules {
        display: none;
      }

      #testimonials:not(.mobile-reviews-expanded) .testimonial-card:nth-child(n+3) {
        display: none;
      }

      .pricing-card:not(.is-expanded) .pricing-meta-row:nth-child(n+3),
      .pricing-card:not(.is-expanded) .pricing-features li:nth-child(n+5) {
        display: none;
      }

      .mobile-content-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        width: fit-content;
        max-width: 100%;
        min-height: 36px;
        margin-top: 10px;
        padding: 7px 0;
        border: 0;
        background: transparent;
        color: var(--blue);
        font: inherit;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
      }
      .mobile-content-toggle-label {
        display: block;
        white-space: nowrap;
      }
      .mobile-content-toggle svg {
        flex: 0 0 15px;
        width: 15px;
        height: 15px;
        margin-left: 5px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        transition: transform 0.28s var(--ease);
        vertical-align: -3px;
      }
      .mobile-content-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

      .mobile-list-toggle {
        width: 100%;
        min-height: 46px;
        margin-top: 14px;
        padding: 11px 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border: 1px solid var(--border);
        border-radius: var(--r-sm);
        background: var(--card-bg);
        color: var(--text);
        font: inherit;
        font-size: 13px;
        font-weight: 750;
      }

      .mobile-list-toggle svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        transition: transform 0.28s var(--ease);
      }

      .mobile-list-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

      .program-facts-note,
      .survey-context {
        margin-top: 16px;
        font-size: 11px;
        line-height: 1.5;
      }

      .mobile-sticky-cta {
        position: fixed;
        z-index: 130;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 12px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        max-width: 430px;
        margin: 0 auto;
        padding: 10px 10px 10px 14px;
        border: 1px solid var(--border);
        border-radius: var(--r-md);
        background: color-mix(in srgb, var(--bg2) 92%, transparent);
        box-shadow: var(--elev-3) rgba(0,0,0,0.18);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(calc(100% + 28px));
        transition: opacity 0.28s var(--ease), transform 0.34s var(--ease);
      }
      .mobile-sticky-cta.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
      .mobile-sticky-offer { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
      .mobile-sticky-offer strong { color: var(--text); font-size: 14px; line-height: 1.2; }
      .mobile-sticky-offer span { color: var(--text-muted); font-size: 10px; line-height: 1.2; }
      .mobile-sticky-action {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        padding: 9px 13px;
        border-radius: var(--r-sm);
        background: var(--blue);
        color: #fff;
        font-size: 11.5px;
        font-weight: 750;
        text-decoration: none;
        white-space: nowrap;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      ::view-transition-old(root),
      ::view-transition-new(root),
      html.theme-fallback body {
        animation: none !important;
        transition: none !important;
      }
      .career-compare-row,
      .career-compare-line span,
      .method-step:not(:last-of-type)::after,
      .experience-wordmark,
      .nps-ring-value,
      .mobile-module-card .module-details,
      .mobile-collapse-shell,
      .mobile-sticky-cta,
      .mobile-content-toggle svg { transition: none !important; }
      .career-compare-row,
      .experience-wordmark { opacity: 1 !important; transform: none !important; }
      .career-compare-line span,
      .method-step:not(:last-of-type)::after { transform: scaleY(1) !important; }
      .nps-ring-value { stroke-dashoffset: 11 !important; }
    }

    @media (hover: none) and (max-width: 560px) {
      .problem-card:hover,
      .method-step:hover,
      .founder-card:hover,
      .module-card:hover,
      .extra-card:hover,
      .cert-feature:hover,
      .pricing-card:hover,
      .testimonial-card:hover,
      .community-item:hover {
        transform: none !important;
      }
    }

    @media (max-width: 370px) {
      #hero h1,
      section h2 {
        overflow-wrap: anywhere;
      }

      #hero h1 {
        font-size: 32px;
      }

      section h2 {
        font-size: 26px;
      }

      .community-items {
        grid-template-columns: 1fr;
      }

      .community-item {
        min-height: 0;
      }
    }

    /* SELECTED PROFESSIONAL DETAIL EFFECTS */
    .motion-section {
      position: relative;
      isolation: isolate;
      border-top-color: transparent !important;
    }

    .motion-section.motion-tone-alt::before {
      content: '';
      position: absolute;
      z-index: -1;
      top: 0;
      bottom: 0;
      left: 50%;
      width: var(--motion-page-width, 100%);
      background: color-mix(in srgb, var(--bg2) 62%, var(--bg));
      opacity: 0;
      transform: translateX(-50%);
      transition: opacity 0.55s var(--ease), background-color 0.38s var(--ease);
      pointer-events: none;
    }

    .motion-section.motion-tone-alt.is-motion-visible::before { opacity: 1; }

    .section-motion-divider {
      position: absolute;
      z-index: 3;
      top: 0;
      left: 50%;
      width: min(calc(100% - 36px), 1080px);
      height: 1px;
      background: var(--border);
      opacity: 0;
      transform: translateX(-50%) scaleX(0);
      transform-origin: center;
      transition: opacity 0.28s var(--ease), transform 0.62s var(--ease);
      pointer-events: none;
    }

    .motion-section.is-motion-visible > .section-motion-divider {
      opacity: 1;
      transform: translateX(-50%) scaleX(1);
    }

    .scroll-keyphrase {
      color: inherit;
      text-decoration: none !important;
      transition: color 0.42s var(--ease);
    }

    .motion-section.is-motion-visible .scroll-keyphrase,
    #hero.is-motion-visible .scroll-keyphrase {
      color: var(--blue);
      text-decoration: none !important;
    }

    .testimonial-card { position: relative; }

    .founder-photo {
      transition: transform 0.42s var(--ease), filter 0.34s var(--ease);
      transform-origin: center bottom;
    }

    .count-up { display: inline-block; transform-origin: center; }
    .count-up.count-complete { animation: countSettle 0.38s var(--ease); }

    @keyframes countSettle {
      0% { transform: scale(1); }
      46% { transform: scale(1.035); color: var(--blue); }
      100% { transform: scale(1); }
    }

    html.lang-motion .language-motion-text {
      transition: opacity 0.11s var(--ease);
    }

    html.lang-motion.lang-fade-out .language-motion-text { opacity: 0.12; }

    .top-banner-image {
      transform: translate3d(0, var(--banner-parallax, 0px), 0);
      transform-origin: center;
      will-change: transform;
    }

    .map-cursor-label {
      position: absolute;
      z-index: 8;
      top: 0;
      left: 0;
      display: inline-flex;
      min-height: 30px;
      align-items: center;
      padding: 6px 10px;
      border: 1px solid var(--border);
      border-radius: var(--r-xs);
      background: color-mix(in srgb, var(--bg2) 94%, transparent);
      box-shadow: var(--elev-2) rgba(0, 0, 0, 0.16);
      color: var(--text);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0;
      white-space: nowrap;
      opacity: 0;
      transform: translate3d(var(--map-cursor-x, 0), var(--map-cursor-y, 0), 0) translate(13px, -50%);
      transition: opacity 0.16s var(--ease), background-color 0.32s var(--ease), border-color 0.32s var(--ease);
      pointer-events: none;
    }

    .map-cursor-label.is-visible { opacity: 1; }

    /* Cohesive learning route: one rounded surface instead of square divided rows. */
    .method-steps,
    html[data-theme="light"] .method-steps {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 0;
      padding: 14px 18px;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      background: color-mix(in srgb, var(--card-bg) 94%, transparent);
      box-shadow: var(--elev-4) rgba(0, 0, 0, 0.08);
    }

    .method-step,
    html[data-theme="light"] .method-step,
    html[data-theme="dark"] .method-step {
      position: relative;
      z-index: 1;
      min-height: 0;
      gap: 18px;
      align-items: center;
      padding: 14px 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
      transform: none !important;
    }

    .method-step:first-of-type { border-top: 0 !important; }
    .method-step:not(:last-of-type)::before,
    .method-step:not(:last-of-type)::after { display: none !important; }

    .method-step-icon,
    html[data-theme="light"] .method-step-icon {
      position: relative;
      z-index: 3;
      flex: 0 0 46px;
      width: 46px;
      height: 46px;
      border: 1px solid color-mix(in srgb, var(--blue) 42%, var(--border));
      border-radius: 50% !important;
      background: color-mix(in srgb, var(--card-bg) 74%, var(--blue)) !important;
      color: var(--text);
      box-shadow: 0 0 0 5px color-mix(in srgb, var(--card-bg) 96%, transparent);
      transition: border-color 0.24s var(--ease), background-color 0.24s var(--ease);
    }

    .method-step > div:last-child { min-width: 0; padding: 2px 0; }
    .method-step h3 { margin-bottom: 7px; line-height: 1.28; }
    .method-step p { line-height: 1.58; }

    .method-route-line {
      position: absolute;
      z-index: 0;
      top: var(--method-route-top, 51px);
      bottom: var(--method-route-bottom, 51px);
      left: var(--method-route-left, 40px);
      display: block;
      width: 2px;
      overflow: hidden;
      background: var(--border);
      pointer-events: none;
    }

    .method-route-line > span {
      display: block;
      width: 100%;
      height: 100%;
      background: var(--blue);
      transform: scaleY(0);
      transform-origin: top;
      transition: transform 0.58s var(--ease);
    }

    .method-steps.is-visible .method-route-line > span { transform: scaleY(1); }

    @media (hover: hover) and (pointer: fine) {
      .method-step:hover .method-step-icon {
        border-color: var(--blue);
        background: color-mix(in srgb, var(--card-bg) 62%, var(--blue)) !important;
      }
    }

    @media (hover: hover) and (pointer: fine) {
      .founder-card:hover {
        background: color-mix(in srgb, var(--card-bg) 94%, var(--blue)) !important;
      }

      .founder-card:hover .founder-photo {
        filter: saturate(0.92) contrast(1.045);
        transform: scale(1.01);
      }

      .hero-map-uz { cursor: none !important; }
    }

    @media (max-width: 560px) {
      .section-motion-divider { width: calc(100% - 36px); }
      .top-banner-image { transform: none; will-change: auto; }
      .map-cursor-label { display: none; }

      .method-steps,
      html[data-theme="light"] .method-steps {
        padding: 10px 14px;
        border-radius: var(--r-md);
      }
      .method-step,
      html[data-theme="light"] .method-step {
        gap: 13px;
        padding: 12px 0 !important;
      }
      .method-step-icon,
      html[data-theme="light"] .method-step-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--card-bg) 96%, transparent);
      }
      .method-route-line {
        top: var(--method-route-top, 42px);
        bottom: var(--method-route-bottom, 42px);
        left: var(--method-route-left, 33px);
      }
      .method-step h3 { margin-bottom: 5px; font-size: 15px; }
      .method-step p { font-size: 12.5px; line-height: 1.5; }
    }

    @media (prefers-reduced-motion: reduce) {
      .motion-section.motion-tone-alt::before,
      .section-motion-divider,
      .scroll-keyphrase,
      .founder-photo,
      .language-motion-text,
      .map-cursor-label {
        transition: none !important;
      }

      .motion-section.motion-tone-alt::before,
      .section-motion-divider { opacity: 1 !important; }
      .section-motion-divider { transform: translateX(-50%) scaleX(1) !important; }
      .count-up.count-complete { animation: none !important; }
      .top-banner-image { transform: none !important; will-change: auto; }
      .map-cursor-label { display: none !important; }
    }

    /* CENTRAL ASIA MAP — QUIET DEPTH AND CLEAR GEOGRAPHY */
    html[data-theme="dark"] {
      --map-kz-fill: rgba(28, 68, 80, 0.72);
      --map-kz-stroke: rgba(103, 145, 157, 0.64);
      --map-tm-fill: rgba(67, 61, 53, 0.72);
      --map-tm-stroke: rgba(150, 135, 111, 0.62);
      --map-kg-fill: rgba(75, 49, 48, 0.72);
      --map-kg-stroke: rgba(158, 111, 104, 0.62);
      --map-tj-fill: rgba(62, 45, 65, 0.72);
      --map-tj-stroke: rgba(143, 105, 144, 0.62);
      --map-uz-start: #225fae;
      --map-uz-mid: #2d79bb;
      --map-uz-end: #3d8eae;
      --map-uz-stroke: rgba(112, 174, 219, 0.96);
      --map-uz-shadow: rgba(44, 116, 174, 0.34);
      --map-opacity: 0.78;
      --map-depth-shadow: rgba(0, 0, 0, 0.30);
      --map-seam-fill: #233238;
    }

    html[data-theme="light"] {
      --map-kz-fill: rgba(171, 188, 196, 0.52);
      --map-kz-stroke: rgba(94, 119, 132, 0.58);
      --map-tm-fill: rgba(214, 208, 198, 0.58);
      --map-tm-stroke: rgba(147, 132, 111, 0.56);
      --map-kg-fill: rgba(219, 202, 198, 0.58);
      --map-kg-stroke: rgba(157, 123, 116, 0.56);
      --map-tj-fill: rgba(210, 201, 215, 0.58);
      --map-tj-stroke: rgba(139, 117, 148, 0.56);
      --map-uz-start: #2d63b2;
      --map-uz-mid: #347fc2;
      --map-uz-end: #4c98c4;
      --map-uz-stroke: rgba(36, 96, 174, 0.96);
      --map-uz-shadow: rgba(38, 101, 176, 0.24);
      --map-opacity: 0.84;
      --map-depth-shadow: rgba(31, 52, 76, 0.16);
      --map-seam-fill: #c7d1d8;
    }

    html[data-theme] .hero-map {
      opacity: var(--map-opacity);
      filter: drop-shadow(0 22px 36px var(--map-depth-shadow)) saturate(0.82) contrast(1.05);
      animation: heroMapEnter 0.55s var(--ease) both !important;
    }

    html[data-theme] .hero-map-neighbor {
      stroke-width: 1.35;
      opacity: 1;
    }

    .hero-map-seam-underlay {
      pointer-events: none;
      filter: url(#heroMapSeamFill);
    }

    .hero-map-seam-color {
      flood-color: var(--map-seam-fill);
    }

    html[data-theme] .hero-map-uz {
      fill: url(#uzMapGradient);
      stroke: var(--map-uz-stroke);
      stroke-width: 2.45;
      filter: drop-shadow(0 3px 7px var(--map-uz-shadow));
      animation: none;
    }

    @media (hover: hover) and (pointer: fine) {
      html[data-theme] .hero-map-uz:hover {
        stroke: var(--map-uz-stroke);
        stroke-width: 2.7;
        filter: drop-shadow(0 3px 8px var(--map-uz-shadow));
      }
    }

    html[data-theme="dark"] #uzMapGradient stop:nth-child(1) { stop-opacity: 0.68; }
    html[data-theme="dark"] #uzMapGradient stop:nth-child(2) { stop-opacity: 0.58; }
    html[data-theme="dark"] #uzMapGradient stop:nth-child(3) { stop-opacity: 0.46; }
    html[data-theme="light"] #uzMapGradient stop:nth-child(1) { stop-opacity: 0.76; }
    html[data-theme="light"] #uzMapGradient stop:nth-child(2) { stop-opacity: 0.65; }
    html[data-theme="light"] #uzMapGradient stop:nth-child(3) { stop-opacity: 0.52; }

    @keyframes heroMapEnter {
      from {
        opacity: 0;
        transform: translateY(calc(-50% + 8px));
      }
      to {
        opacity: var(--map-opacity);
        transform: translateY(-50%);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html[data-theme] .hero-map {
        opacity: var(--map-opacity) !important;
        transform: translateY(-50%) !important;
        animation: none !important;
      }
    }

    /* UNIFIED HERO PREVIEW
       The former standalone brand banner is folded into one conversion-first
       opening screen. These final overrides keep the experiment isolated and
       easy to remove without touching the rest of the page. */
    #hero {
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--bg) 98%, transparent), var(--bg)),
        radial-gradient(circle at 78% 44%, rgba(53, 111, 214, 0.09), transparent 38%);
    }

    .hero-logo-pattern {
      position: absolute;
      z-index: 0;
      top: 38%;
      right: clamp(-120px, -5vw, -56px);
      width: clamp(625px, 61.25vw, 875px);
      aspect-ratio: 1;
      opacity: 0.14;
      pointer-events: none;
      transform: translateY(-50%);
    }

    .hero-logo-pattern img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      filter: saturate(0.72) brightness(1.08);
    }

    html[data-theme="light"] .hero-logo-pattern {
      opacity: 0.05;
    }

    html[data-theme="light"] .hero-logo-pattern img {
      filter: brightness(0) saturate(100%) invert(22%) sepia(16%) saturate(1240%) hue-rotate(178deg) brightness(88%) contrast(90%);
    }

    @keyframes unifiedHeroMapEnter {
      from { opacity: 0; transform: translate3d(14px, 8px, 0); }
      to { opacity: var(--map-opacity); transform: translate3d(0, 0, 0); }
    }

    @media (min-width: 901px) {
      #hero {
        display: grid !important;
        grid-template-columns: minmax(470px, 0.94fr) minmax(390px, 1.06fr);
        align-items: center;
        column-gap: clamp(30px, 4vw, 72px);
        box-sizing: border-box;
        min-height: calc(100svh - 24px) !important;
        padding-top: 84px !important;
        padding-right: clamp(38px, 5vw, 84px) !important;
        padding-bottom: 18px !important;
      }

      .hero-logo-pattern {
        position: relative;
        grid-column: 2;
        grid-row: 1;
        top: auto;
        right: auto;
        width: min(125%, 875px);
        align-self: center;
        justify-self: center;
        transform: translateX(5%);
      }

      #hero .hero-inner {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        max-width: 610px;
        margin: 0 0 0 16px;
      }

      #hero .hero-map {
        position: relative;
        grid-column: 2;
        grid-row: 1;
        top: auto;
        right: auto;
        width: min(100%, 700px);
        max-width: 700px;
        align-self: center;
        justify-self: center;
        z-index: 1;
        transform: none;
        animation: unifiedHeroMapEnter 0.65s var(--ease) both !important;
      }

      #hero h1 {
        max-width: 600px;
        margin-bottom: 16px;
        font-size: clamp(46px, 4.35vw, 64px);
        line-height: 1.04;
      }

      #hero .hero-sub {
        max-width: 590px;
        margin-bottom: 22px;
        font-size: clamp(16px, 1.35vw, 18px);
        line-height: 1.62;
      }

      #hero .hero-sub strong { white-space: nowrap; }

      #hero .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin: 0 0 22px;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
      }

      #hero .hero-stats > div,
      #hero .hero-stats > div:not(:first-child) {
        min-height: 70px;
        padding: 10px 16px 11px 0;
        border-left: 0;
      }

      #hero .hero-stats > div:nth-child(even) {
        padding-left: 20px;
        border-left: 1px solid var(--border);
      }

      #hero .hero-stats > div:nth-child(n + 3) {
        border-top: 1px solid var(--border);
      }

      #hero .hero-stat-num {
        font-size: clamp(27px, 2.35vw, 34px);
        line-height: 1.08;
      }

      #hero .hero-stat-label {
        max-width: 210px;
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.35;
      }

      #hero .hero-ctas {
        gap: 12px;
      }

      #hero .hero-ctas .btn-primary,
      #hero .hero-ctas .btn-secondary {
        min-height: 52px;
        padding: 15px 26px;
        font-size: 15px;
      }
    }

    @media (min-width: 901px) and (max-width: 1180px) {
      #hero {
        grid-template-columns: minmax(440px, 1fr) minmax(330px, 0.86fr);
        column-gap: 24px;
        padding-right: 32px !important;
      }

      #hero h1 { font-size: clamp(42px, 4.65vw, 55px); }
      #hero .hero-map { width: 100%; }
    }

    @media (max-width: 900px) {
      #hero {
        min-height: auto !important;
        padding-top: 108px !important;
      }

      .hero-logo-pattern {
        top: 62%;
        right: 50%;
        width: min(110vw, 525px);
        max-width: calc(100vw - 20px);
        opacity: 0.045;
        transform: translate(50%, -50%);
      }

      html[data-theme="light"] .hero-logo-pattern {
        opacity: 0.05;
      }

    }

    @media (max-width: 560px) {
      #hero {
        padding-top: 92px !important;
        padding-bottom: 42px !important;
      }
    }

    @media (prefers-reduced-motion: reduce) and (min-width: 901px) {
      html[data-theme] #hero .hero-map {
        opacity: var(--map-opacity) !important;
        transform: none !important;
        animation: none !important;
      }
    }

    /* TRUST, DENSITY AND CONVERSION PASS */
    @media (min-width: 901px) {
      body > section:not(#hero),
      .full-bg > section {
        padding-top: 84px;
        padding-bottom: 84px;
      }
    }

    /* Compact course program: one accessible accordion at every viewport. */
    #modules .modules-header {
      max-width: 780px;
      margin-inline: auto;
      margin-bottom: 38px;
    }
    #modules .modules-grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
      width: min(100%, 940px);
      margin-inline: auto;
    }
    #modules .mobile-module-card {
      min-height: 82px;
      padding: 19px 68px 18px 24px;
      cursor: pointer;
      transform: none;
    }
    #modules .mobile-module-card:hover {
      transform: none;
      border-color: rgba(53,111,214,0.36);
      box-shadow: var(--elev-2) rgba(0,0,0,0.08);
    }
    #modules .mobile-module-card .module-num { margin-bottom: 7px; }
    #modules .mobile-module-card h3 { margin-bottom: 0; font-size: 20px; }
    #modules .mobile-module-card .module-details {
      display: grid !important;
      grid-template-rows: 0fr;
      width: 100%;
      margin-top: 0;
      opacity: 0;
      transition: grid-template-rows 0.34s var(--ease), margin-top 0.34s var(--ease), opacity 0.24s var(--ease);
    }
    #modules .mobile-module-card .module-details-inner {
      min-height: 0;
      overflow: hidden;
    }
    #modules .mobile-module-card.mobile-open .module-details {
      grid-template-rows: 1fr;
      margin-top: 18px;
      opacity: 1;
    }
    #modules .mobile-module-card .mobile-module-toggle {
      display: block;
      position: absolute;
      top: 24px;
      right: 22px;
      width: 30px;
      height: 30px;
      border: 1px solid var(--border);
      border-radius: 50%;
      background: color-mix(in srgb, var(--card-bg) 92%, var(--blue));
      color: var(--text-muted);
      pointer-events: none;
      transition: transform 0.3s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
    }
    #modules .mobile-module-card .mobile-module-toggle::before,
    #modules .mobile-module-card .mobile-module-toggle::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 10px;
      height: 1.5px;
      border-radius: var(--r-xs);
      background: currentColor;
      transform: translate(-50%, -50%);
    }
    #modules .mobile-module-card .mobile-module-toggle::after {
      transform: translate(-50%, -50%) rotate(90deg);
    }
    #modules .mobile-module-card.mobile-open .mobile-module-toggle {
      color: var(--blue);
      border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
      transform: rotate(45deg);
    }
    #modules .module-bonus-card {
      min-height: 104px;
      padding: 22px 24px !important;
      align-items: flex-start !important;
      text-align: left !important;
      background: color-mix(in srgb, var(--card-bg) 94%, var(--blue)) !important;
    }
    #modules .module-bonus-card .module-bonus-symbol {
      margin: 0 0 8px !important;
      color: var(--blue);
      font-size: 24px !important;
      line-height: 1;
    }
    #modules .module-bonus-card h3 { font-size: 19px; }
    #modules .module-bonus-card p { margin-top: 4px !important; font-size: 14px; }
    #modules .extra-modules {
      width: min(100%, 940px);
      margin: 16px auto 0 !important;
      gap: 12px;
    }
    #modules .extra-card { padding: 18px; }

    /* Transparent methodology for claims and survey figures. */
    .metric-methodology {
      width: min(100%, 900px);
      margin: 28px auto 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .metric-methodology summary {
      display: flex;
      min-height: 52px;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: var(--text);
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      list-style: none;
    }
    .metric-methodology summary::-webkit-details-marker { display: none; }
    .metric-methodology summary::after {
      content: '+';
      display: grid;
      width: 26px;
      height: 26px;
      flex: 0 0 26px;
      place-items: center;
      border: 1px solid var(--border);
      border-radius: 50%;
      color: var(--blue);
      font-size: 17px;
      font-weight: 500;
      transition: transform 0.24s var(--ease);
    }
    .metric-methodology[open] summary::after { transform: rotate(45deg); }
    .metric-methodology summary::after {
      content: '';
      background:
        linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat;
    }
    .metric-methodology-body {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0;
      padding: 0 0 18px;
    }
    .metric-methodology-item { padding: 4px 20px 4px 0; }
    .metric-methodology-item + .metric-methodology-item {
      padding-left: 20px;
      border-left: 1px solid var(--border);
    }
    .metric-methodology-item strong {
      display: block;
      margin-bottom: 5px;
      color: var(--text);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .metric-methodology-item span { color: var(--text-muted); font-size: 13px; line-height: 1.55; }

    /* Pricing information is factual and does not use artificial scarcity. */
    .pricing-description { min-height: 52px; margin-bottom: 18px; }
    .pricing-meta {
      margin: 0 0 26px;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .pricing-meta-row {
      display: grid;
      grid-template-columns: minmax(118px, 0.7fr) minmax(0, 1.3fr);
      gap: 16px;
      padding: 11px 0;
    }
    .pricing-meta-row + .pricing-meta-row { border-top: 1px solid var(--border); }
    .pricing-meta dt { color: var(--text-muted); font-size: 12px; }
    .pricing-meta dd { color: var(--text); font-size: 13px; font-weight: 650; line-height: 1.4; }
    .pricing-card.featured .pricing-meta { border-color: rgba(255,255,255,0.12); }
    .pricing-card.featured .pricing-meta-row + .pricing-meta-row { border-top-color: rgba(255,255,255,0.10); }
    .pricing-card.featured .pricing-meta dt { color: #92a2b9; }
    .pricing-card.featured .pricing-meta dd { color: #f4f7fb; }
    .pricing-verification-note {
      display: flex;
      width: min(100%, 820px);
      margin: 24px auto 0;
      align-items: flex-start;
      justify-content: center;
      gap: 10px;
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.55;
      text-align: center;
    }
    .pricing-verification-note svg { width: 17px; height: 17px; flex: 0 0 17px; stroke: var(--blue); }

    /* Final CTA explains the real application flow before asking for data. */
    .final-process {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      width: min(100%, 760px);
      margin: 34px auto 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .final-process-item { padding: 18px 20px; text-align: left; }
    .final-process-item + .final-process-item { border-left: 1px solid var(--border); }
    .final-process-num { display: block; margin-bottom: 7px; color: var(--blue); font-size: 12px; font-weight: 800; }
    .final-process-item strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 14px; }
    .final-process-item small { display: block; color: var(--text-muted); font-size: 12px; line-height: 1.45; }
    .final-privacy {
      display: flex;
      width: min(100%, 650px);
      margin: 18px auto 0 !important;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--text-muted);
      font-size: 12px;
      line-height: 1.45;
    }
    .final-privacy svg { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: var(--blue); }
    .final-privacy a { color: var(--blue); text-decoration: none; font-weight: 650; }

    /* Footer: real contacts and working policy/terms routes. */
    footer.site-footer {
      display: block;
      padding-top: 36px;
      padding-bottom: 26px;
    }
    .footer-main {
      display: grid;
      grid-template-columns: minmax(230px, 1.2fr) minmax(220px, 0.8fr);
      gap: 48px;
      align-items: end;
    }
    .footer-summary { margin-top: 14px; max-width: 520px; line-height: 1.55; }
    .footer-contacts { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
    .footer-contacts a,
    .footer-location { color: var(--text-muted); font-size: 13px; text-decoration: none; }
    .footer-contacts a:hover { color: var(--text); }
    .footer-bottom {
      display: flex;
      margin-top: 26px;
      padding-top: 20px;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      border-top: 1px solid var(--border);
    }
    .footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
    .footer-legal a { color: var(--text-muted); font-size: 12px; text-decoration: none; }
    .footer-legal a:hover { color: var(--blue); }

    @media (min-width: 901px) {
      .pricing-grid { margin-top: 42px; }
      .pricing-card { padding: 32px; }
      .pricing-card.featured,
      html[data-theme="light"] .pricing-card.featured {
        margin: -8px 0;
        padding: 38px 36px;
      }
      .pricing-recommend { margin-bottom: 16px; padding: 6px 10px; }
      .pricing-price { margin: 14px 0 11px; }
      .pricing-card.featured .pricing-price { font-size: 58px; }
      .pricing-description { min-height: 46px; margin-bottom: 14px; line-height: 1.48; }
      .pricing-hours { margin-bottom: 20px; padding-top: 14px; }
      .pricing-meta { margin-bottom: 20px; }
      .pricing-meta-row { padding: 9px 0; }
      .pricing-features { gap: 10px; margin-bottom: 24px; }
      .pricing-features li { font-size: 14px; line-height: 1.45; }
    }

    /* The side rail becomes a quiet dot rail on narrower desktop screens. */
    @media (min-width: 901px) and (max-width: 1180px) {
      :root { --section-offset-left: 78px; }
      .section-progress-nav { left: 8px; width: 54px; }
      .section-progress-list { width: 54px; }
      .section-progress-meta {
        position: absolute;
        left: 34px;
        width: max-content;
        max-width: 150px;
        padding: 7px 10px;
        border: 1px solid var(--border);
        border-radius: var(--r-sm);
        background: color-mix(in srgb, var(--bg) 94%, transparent);
        box-shadow: var(--elev-2) rgba(0,0,0,0.12);
        opacity: 0;
        pointer-events: none;
        transform: translateX(-4px);
        transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
      }
      .section-progress-item:hover .section-progress-meta,
      .section-progress-item:focus-visible .section-progress-meta {
        opacity: 1;
        transform: translateX(0);
      }
      .section-progress-label { white-space: nowrap; }
    }

    .hash-navigation-target .reveal-on-scroll {
      opacity: 1 !important;
      transform: none !important;
      transition-delay: 0ms !important;
    }

    @media (max-width: 900px) {
      #modules .extra-modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .footer-main { grid-template-columns: 1fr; gap: 22px; }
      .footer-contacts { align-items: center; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .footer-legal { justify-content: center; }
    }

    @media (max-width: 560px) {
      #modules .mobile-module-card { min-height: 76px; padding: 17px 58px 16px 17px; }
      #modules .mobile-module-card .mobile-module-toggle { top: 20px; right: 15px; }
      #modules .extra-modules { grid-template-columns: 1fr; }
      .metric-methodology-body { grid-template-columns: 1fr; }
      .metric-methodology-item { padding: 8px 0; }
      .metric-methodology-item + .metric-methodology-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
      .pricing-description { min-height: 0; }
      .pricing-meta-row { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
      .final-process { grid-template-columns: 1fr; margin-top: 24px; }
      .final-process-item { padding: 13px 0; }
      .final-process-item + .final-process-item { border-left: 0; border-top: 1px solid var(--border); }
      .final-privacy { align-items: flex-start; text-align: left; }
      footer.site-footer { padding: 26px 18px 22px; text-align: left; }
      .footer-main { gap: 18px; }
      .footer-contacts { align-items: flex-start; }
      .footer-bottom { align-items: flex-start; text-align: left; }
      .footer-legal { justify-content: flex-start; gap: 12px 16px; }
    }

    /* Final professional controls: restrained actions and a quieter section rail. */
    .nav-cta,
    html[data-theme="light"] .nav-cta,
    .btn-primary,
    .pricing-cta.primary,
    .mobile-sticky-action {
      border: 1px solid #3e6fc5;
      border-radius: var(--r-sm);
      background: #2f63bd;
      color: #fff;
      text-shadow: none;
      box-shadow: var(--elev-2) rgba(20, 45, 88, 0.16);
      filter: none;
      animation: none;
      transition:
        background-color 0.2s var(--ease),
        border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        transform 0.2s var(--ease);
    }
    .nav-cta:hover,
    .btn-primary:hover,
    .pricing-cta.primary:hover,
    .mobile-sticky-action:hover {
      border-color: #4779cb;
      background: #2959aa;
      box-shadow: var(--elev-2) rgba(20, 45, 88, 0.2);
      transform: translateY(-1px);
      filter: none;
    }
    .nav-cta:active,
    .btn-primary:active,
    .pricing-cta.primary:active,
    .mobile-sticky-action:active {
      background: #25519c;
      box-shadow: var(--elev-1) rgba(20, 45, 88, 0.16);
      transform: translateY(0);
    }
    .btn-secondary,
    .pricing-cta.secondary,
    html[data-theme="light"] .btn-secondary,
    html[data-theme="light"] .pricing-cta.secondary {
      border-radius: var(--r-sm);
      background: transparent;
      border-color: color-mix(in srgb, var(--text-muted) 32%, transparent);
      box-shadow: none;
    }
    .btn-secondary:hover,
    .pricing-cta.secondary:hover,
    html[data-theme="light"] .btn-secondary:hover,
    html[data-theme="light"] .pricing-cta.secondary:hover {
      border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
      background: color-mix(in srgb, var(--blue) 6%, transparent);
      box-shadow: none;
      transform: none;
    }

    @media (min-width: 901px) {
      #hero .hero-inner {
        margin-left: clamp(72px, 5.5vw, 96px);
      }
      .section-progress-nav {
        left: 16px;
        top: 120px;
        bottom: 22px;
        width: 174px;
        padding: 10px 0 14px;
      }
      .section-progress-rail {
        left: 12px;
        width: 18px;
      }
      .section-progress-line,
      .section-progress-fill,
      html[data-theme="light"] .section-progress-line {
        left: 4px;
        width: 3px;
        border-radius: var(--r-xs);
        box-shadow: none;
      }
      .section-progress-line,
      html[data-theme="light"] .section-progress-line {
        background: color-mix(in srgb, var(--text-muted) 26%, transparent);
      }
      .section-progress-fill {
        background: color-mix(in srgb, var(--blue) 78%, var(--text-muted));
      }
      .section-progress-list {
        gap: 15px;
        padding: 0 6px 0 12px;
      }
      .section-progress-item {
        grid-template-columns: 20px minmax(0, 1fr);
        column-gap: 8px;
        min-height: 52px;
      }
      .section-progress-dot,
      html[data-theme="light"] .section-progress-dot,
      html[data-theme="dark"] .section-progress-dot {
        width: 12px;
        height: 12px;
        margin-top: 17px;
        border: 1px solid color-mix(in srgb, var(--text-muted) 62%, transparent);
        background: var(--bg);
        box-shadow: 0 0 0 2px var(--bg);
        transform: none;
      }
      .section-progress-item.is-complete .section-progress-dot,
      html[data-theme="light"] .section-progress-item.is-complete .section-progress-dot,
      html[data-theme="dark"] .section-progress-item.is-complete .section-progress-dot {
        border-color: color-mix(in srgb, var(--blue) 52%, var(--text-muted));
        background: color-mix(in srgb, var(--blue) 68%, var(--text-muted));
        box-shadow: 0 0 0 2px var(--bg);
      }
      .section-progress-item.is-active .section-progress-dot,
      html[data-theme="light"] .section-progress-item.is-active .section-progress-dot,
      html[data-theme="dark"] .section-progress-item.is-active .section-progress-dot {
        border-color: color-mix(in srgb, var(--blue) 82%, #fff);
        background: var(--blue);
        box-shadow:
          0 0 0 2px var(--bg),
          0 0 0 4px color-mix(in srgb, var(--blue) 24%, transparent);
        animation: none;
      }
      .section-progress-item:hover .section-progress-dot,
      .section-progress-item:focus-visible .section-progress-dot {
        border-color: color-mix(in srgb, var(--blue) 70%, var(--text-muted));
        box-shadow: 0 0 0 2px var(--bg);
        transform: none;
      }
      .section-progress-meta {
        min-height: 46px;
        justify-content: center;
        gap: 0;
      }
      .section-progress-num {
        color: color-mix(in srgb, var(--text-muted) 66%, transparent);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.11em;
      }
      .section-progress-label {
        color: color-mix(in srgb, var(--text-muted) 82%, transparent);
        font-size: 16px;
        font-weight: 500;
        line-height: 1.25;
      }
      .section-progress-item.is-complete .section-progress-num,
      html[data-theme="light"] .section-progress-item.is-complete .section-progress-num {
        color: color-mix(in srgb, var(--blue) 56%, var(--text-muted));
      }
      .section-progress-item.is-complete .section-progress-label,
      html[data-theme="light"] .section-progress-item.is-complete .section-progress-label {
        color: color-mix(in srgb, var(--text-muted) 90%, var(--text));
      }
      .section-progress-item.is-active .section-progress-num,
      html[data-theme="light"] .section-progress-item.is-active .section-progress-num {
        color: var(--blue);
      }
      .section-progress-item.is-active .section-progress-label,
      html[data-theme="light"] .section-progress-item.is-active .section-progress-label {
        color: var(--text);
        font-weight: 650;
      }
      .section-progress-item:hover .section-progress-label,
      .section-progress-item:focus-visible .section-progress-label,
      html[data-theme="light"] .section-progress-item:hover .section-progress-label,
      html[data-theme="light"] .section-progress-item:focus-visible .section-progress-label {
        color: var(--text);
      }

    }

    /* ---------- the Courses cue ------------------------------------------
       Courses is the one item in this list that leads somewhere we want
       people to go, and it sat at exactly the weight of FAQ. Two quiet cues:
       it rests heavier than its neighbours, and light travels through the
       word every few seconds.

       The glint is painted into the letters rather than laid over them as a
       bar, so nothing crosses the text -- the word itself brightens from one
       end to the other. The gradient is built from currentColor, so it keeps
       following whatever colour the item's state gives the label.

       It sits parked off the word for three quarters of the cycle. Something
       that sweeps continuously stops reading as a cue and turns into a thing
       you wait out. */
    .section-progress-item[data-section="pricing"]:not(.is-active) .section-progress-label {
      /* Heavier than its neighbours, and still clearly lighter than the item
         you are actually on -- otherwise the rail stops answering "where am
         I" and the cue costs more than it earns. */
      color: color-mix(in srgb, var(--text) 45%, var(--text-muted));
    }

    .section-progress-item[data-section="pricing"] .section-progress-label {
      background-image: linear-gradient(
        100deg,
        currentColor 0 40%,
        var(--cue-glint) 50%,
        currentColor 60% 100%
      );
      /* Repeating, not no-repeat. The text is painted by this gradient, so
         anywhere the image does not reach has no paint at all and the letters
         under it vanish -- half the word disappeared at the end of the sweep.
         Copies sit 260% of the word apart, so only one highlight can ever be
         over it. */
      background-repeat: repeat-x;
      background-size: 260% 100%;
      background-position: 130% 0;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: sectionCueGlint 4.2s var(--ease) 1.2s infinite;
    }

    /* Engaged, the cue has done its job. The label goes back to being painted
       normally so its own colour transition reads. */
    .section-progress-item[data-section="pricing"]:hover .section-progress-label,
    .section-progress-item[data-section="pricing"]:focus-visible .section-progress-label,
    .section-progress-item[data-section="pricing"].is-active .section-progress-label {
      background-image: none;
      -webkit-text-fill-color: currentColor;
      animation: none;
    }

    /* One pass of light per ring, on the ring's own beats: 0-22% with the
       first, 26-48% with the second, then both rest together.

       The numbers look odd on purpose. The gradient repeats every 162.5% of
       background-position -- that is the width of one copy expressed in the
       units this property uses -- so stepping by exactly that much lands the
       next highlight where the last one was. Two steps of it gets two passes
       and a loop with no seam, where snapping back would have dragged the
       highlight backwards through the word between beats.

       A larger percentage pushes the gradient further left, so counting down
       walks the highlight across the word from left to right. */
    @keyframes sectionCueGlint {
      0% { background-position: 130% 0; }
      22% { background-position: -32.5% 0; }
      26% { background-position: -32.5% 0; }
      48% { background-position: -195% 0; }
      100% { background-position: -195% 0; }
    }

    /* The dot blooms on the same beat. A shimmer inside 16px of text is easy
       to miss out of the corner of the eye; a ring opening next to it is not,
       and firing them together reads as one event rather than two things
       competing. The active item runs its own halo, so it sits this out. */
    /* The dot carries the weight between pulses too. A ring that only exists
       for a moment leaves nothing behind, and the item goes back to looking
       like every other one for most of the cycle. */
    .section-progress-item[data-section="pricing"]:not(.is-active) .section-progress-dot {
      border-color: color-mix(in srgb, var(--blue) 66%, var(--border));
      box-shadow:
        0 0 0 2px var(--bg),
        0 0 10px color-mix(in srgb, var(--blue) 30%, transparent);
    }

    .section-progress-item[data-section="pricing"]:not(.is-active) .section-progress-dot::before {
      width: 28px;
      height: 28px;
      border: 1.5px solid color-mix(in srgb, var(--blue) 85%, transparent);
      /* A filled bloom, not only an outline. A 1px ring at this size is the
         kind of thing you find when you go looking for it, which is the
         opposite of what a cue is for. */
      background: radial-gradient(
        circle,
        color-mix(in srgb, var(--blue) 24%, transparent) 0%,
        transparent 70%
      );
      animation: sectionCueHalo 4.2s var(--ease) 1.2s infinite;
    }

    /* Twice, then a rest. One ping reads as a stray flicker; two on the same
       beat reads as something asking for attention. */
    @keyframes sectionCueHalo {
      0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
      6% { opacity: 0.9; }
      24% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
      26% { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
      32% { opacity: 0.66; }
      50% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
      100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
    }


    @media (min-width: 901px) and (max-width: 1180px) {
      .section-progress-nav { left: 8px; width: 44px; }
      .section-progress-list { width: 44px; padding-left: 10px; }
      .section-progress-rail { left: 10px; }
      .section-progress-meta { left: 30px; }
    }

    /* Hero hierarchy: the map carries the message; the mandala stays atmospheric. */
    .hero-logo-pattern {
      opacity: 0.02;
    }
    .hero-logo-pattern img {
      filter: saturate(0.12) brightness(0.9) contrast(0.72);
    }
    html[data-theme="light"] .hero-logo-pattern {
      opacity: 0.028;
    }
    html[data-theme="light"] .hero-logo-pattern img {
      filter: brightness(0) saturate(100%) invert(25%) sepia(13%) saturate(1050%) hue-rotate(176deg) brightness(92%) contrast(84%);
    }
    html[data-theme="dark"] { --map-opacity: 0.9; }
    html[data-theme="light"] { --map-opacity: 0.95; }
    html[data-theme] .hero-map {
      filter: drop-shadow(0 20px 32px var(--map-depth-shadow)) saturate(0.88) contrast(1.07);
    }
    html[data-theme] .hero-map-neighbor {
      opacity: 0.7;
      stroke-width: 1.15;
    }
    html[data-theme] .hero-map-uz {
      opacity: 1;
      stroke-width: 3;
      filter: drop-shadow(0 4px 10px var(--map-uz-shadow));
    }
    html[data-theme="dark"] #uzMapGradient stop:nth-child(1) { stop-opacity: 0.86; }
    html[data-theme="dark"] #uzMapGradient stop:nth-child(2) { stop-opacity: 0.76; }
    html[data-theme="dark"] #uzMapGradient stop:nth-child(3) { stop-opacity: 0.64; }
    html[data-theme="light"] #uzMapGradient stop:nth-child(1) { stop-opacity: 0.94; }
    html[data-theme="light"] #uzMapGradient stop:nth-child(2) { stop-opacity: 0.84; }
    html[data-theme="light"] #uzMapGradient stop:nth-child(3) { stop-opacity: 0.72; }
    @media (hover: hover) and (pointer: fine) {
      html[data-theme] .hero-map-uz:hover {
        stroke-width: 3.2;
        filter: drop-shadow(0 5px 12px var(--map-uz-shadow));
      }
    }

    @media (max-width: 900px) {
      .hero-logo-pattern { opacity: 0.04; }
      html[data-theme="light"] .hero-logo-pattern { opacity: 0.025; }
    }

    @media (prefers-reduced-motion: reduce) {
      #modules .module-details,
      #modules .mobile-module-toggle,
      .metric-methodology summary::after,
      .section-progress-meta { transition: none !important; }
    }

    /* PROFESSIONAL EDITORIAL PASS
       Keeps all existing behavior while reducing decorative UI weight. */

    /* Faster first paint and restrained section reveals. */
    .reveal-on-scroll {
      transform: translateY(6px);
      transition-duration: 280ms, 280ms, 220ms, 220ms, 220ms !important;
      transition-delay: 0ms !important;
    }
    @keyframes unifiedHeroMapEnter {
      from { opacity: calc(var(--map-opacity) * 0.82); transform: translate3d(6px, 4px, 0); }
      to { opacity: var(--map-opacity); transform: translate3d(0, 0, 0); }
    }
    @media (min-width: 901px) {
      #hero .hero-map {
        animation-duration: 280ms !important;
      }
    }

    /* Editorial type hierarchy: hero remains the only oversized headline. */
    body > section:not(#hero) > h2,
    .full-bg > section > h2,
    .modules-header h2,
    #final h2 {
      max-width: 820px;
      font-size: 40px;
      line-height: 1.14;
      letter-spacing: 0;
    }
    .modules-header,
    #pricing > .tag,
    #pricing > h2,
    #pricing > p {
      text-align: left !important;
    }
    .modules-header > .tag,
    #pricing > .tag {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }
    .modules-header {
      width: min(100%, 940px);
      max-width: 940px !important;
      margin-inline: auto;
    }
    .modules-header h2,
    .modules-header p,
    #pricing > h2,
    #pricing > p {
      max-width: 760px;
    }
    #faq > .tag,
    #faq > h2 {
      margin-left: auto !important;
      margin-right: auto !important;
      text-align: center !important;
    }
    #faq > h2 {
      max-width: 820px;
    }

    /* Modules become a calm accordion list instead of six nested cards. */
    #modules .modules-grid {
      gap: 0;
      border-top: 1px solid var(--border);
    }
    #modules .module-card,
    html[data-theme="dark"] #modules .module-card,
    html[data-theme="light"] #modules .module-card {
      min-height: 88px;
      padding: 20px 64px 19px 0;
      overflow: visible;
      border: 0;
      border-bottom: 1px solid var(--border);
      border-radius: 0;
      background: transparent !important;
      box-shadow: none;
    }
    #modules .module-card:hover,
    #modules .module-card:focus-visible,
    #modules .module-card.mobile-open {
      border-color: var(--border);
      background: color-mix(in srgb, var(--card-bg) 34%, transparent) !important;
      box-shadow: none;
      transform: none;
    }
    #modules .module-num {
      margin-bottom: 5px;
      color: var(--text-muted);
      font-size: 11px;
      letter-spacing: 0.08em;
    }
    #modules .mobile-module-card h3 {
      font-size: 19px;
      font-weight: 720;
    }
    #modules .mobile-module-card .mobile-module-toggle {
      top: 27px;
      right: 8px;
      width: 28px;
      height: 28px;
      background: transparent;
    }
    #modules .module-tags {
      gap: 6px;
      margin-bottom: 17px;
    }
    #modules .module-tag,
    #modules .mt-theory,
    #modules .mt-cases,
    #modules .mt-practice {
      padding: 4px 9px;
      border: 0;
      border-radius: var(--r-xs);
      background: color-mix(in srgb, var(--text-muted) 8%, transparent);
      color: var(--text-muted);
      font-size: 11px;
    }
    #modules .module-list {
      gap: 9px;
      padding-left: 0;
    }
    #modules .module-list li {
      position: relative;
      gap: 0;
      padding-left: 14px;
      font-size: 14px;
      line-height: 1.5;
    }
    #modules .module-list li::before {
      content: '';
      position: absolute;
      top: 0.62em;
      left: 0;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--text-muted);
    }
    #modules .module-result,
    html[data-theme="light"] #modules .module-result,
    html[data-theme="dark"] #modules .module-result {
      display: grid;
      grid-template-columns: 82px minmax(0, 1fr);
      gap: 14px;
      margin-top: 17px;
      padding: 14px 0 0;
      border: 0;
      border-top: 1px solid var(--border);
      border-radius: 0;
      background: transparent !important;
      box-shadow: none;
    }
    #modules .module-result-label {
      margin: 2px 0 0;
      color: var(--text-muted);
      font-size: 10px;
      letter-spacing: 0.08em;
    }
    #modules .module-result p {
      color: var(--text);
      font-size: 14px;
      line-height: 1.5;
    }
    #modules .module-bonus-card,
    html[data-theme="light"] #modules .module-bonus-card,
    html[data-theme="dark"] #modules .module-bonus-card {
      margin-top: 18px;
      padding: 21px 22px !important;
      border: 1px solid var(--border);
      border-radius: var(--r-sm);
      background: color-mix(in srgb, var(--card-bg) 88%, var(--blue)) !important;
    }

    /* Pricing: clearer comparison, fewer rules, one deliberate accent. */
    .pricing-card,
    html[data-theme="light"] .pricing-card,
    html[data-theme="dark"] .pricing-card {
      border: 1px solid var(--border);
      border-top: 1px solid var(--border);
      border-radius: var(--r-sm);
      box-shadow: none;
    }
    .pricing-card.featured,
    html[data-theme="light"] .pricing-card.featured,
    html[data-theme="dark"] .pricing-card.featured {
      border-color: color-mix(in srgb, var(--blue) 35%, var(--border));
      border-top: 2px solid var(--blue);
      border-radius: var(--r-sm);
      box-shadow: var(--elev-4) rgba(4, 10, 20, 0.16);
    }
    .pricing-card.featured::after { display: none; }
    .pricing-hours {
      padding-top: 0;
      border-top: 0;
    }
    .pricing-meta,
    .pricing-card.featured .pricing-meta {
      display: grid;
      gap: 7px;
      padding: 13px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .pricing-meta-row {
      padding: 0;
    }
    .pricing-meta-row + .pricing-meta-row,
    .pricing-card.featured .pricing-meta-row + .pricing-meta-row {
      border-top: 0;
    }
    .pricing-features {
      gap: 9px;
    }
    .pricing-features li::before {
      color: color-mix(in srgb, var(--blue) 68%, var(--text-muted));
    }

    /* Final conversion section sits directly in the page, framed by two rules. */
    #final .final-glow,
    html[data-theme="light"] #final .final-glow,
    html[data-theme="dark"] #final .final-glow {
      overflow: visible;
      padding: 58px 0 54px;
      border: 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      border-radius: 0;
      background: transparent !important;
      box-shadow: none;
      text-align: left;
    }
    #final .final-glow > .tag,
    #final .final-glow > h2,
    #final .final-glow > p {
      margin-left: 0 !important;
      margin-right: 0 !important;
      text-align: left;
    }
    #final .final-glow > p {
      max-width: 650px !important;
    }
    #final .final-process {
      width: 100%;
      margin-top: 30px;
    }
    #final .final-process-item:first-child { padding-left: 0; }
    #final .final-process-item:last-child { padding-right: 0; }
    #final .final-btns {
      justify-content: flex-start;
      margin-top: 30px;
    }
    #final .final-privacy {
      width: 100%;
      margin: 16px 0 0 !important;
      justify-content: flex-start;
      text-align: left;
    }
    #final .final-contact {
      width: 100%;
      margin-top: 30px;
      justify-content: flex-start;
    }
    #final .final-contact .final-contact-item:first-child { padding-left: 0; }
    #final .final-glow.is-visible > .tag,
    #final .final-glow.is-visible > h2,
    #final .final-glow.is-visible > p,
    #final .final-glow.is-visible > .final-btns,
    #final .final-glow.is-visible .final-contact-item {
      animation-duration: 280ms;
      animation-delay: 0ms;
    }

    @media (max-width: 900px) {
      body > section:not(#hero) > h2,
      .full-bg > section > h2,
      .modules-header h2,
      #final h2 {
        font-size: 34px;
      }
    }

    @media (max-width: 560px) {
      body > section:not(#hero) > h2,
      .full-bg > section > h2,
      .modules-header h2,
      #final h2 {
        font-size: 27px;
        line-height: 1.18;
      }
      #modules .module-card,
      html[data-theme="light"] #modules .module-card,
      html[data-theme="dark"] #modules .module-card {
        min-height: 76px;
        padding: 16px 52px 15px 0;
      }
      #modules .mobile-module-card .mobile-module-toggle {
        top: 20px;
        right: 4px;
      }
      #modules .module-result,
      html[data-theme="light"] #modules .module-result,
      html[data-theme="dark"] #modules .module-result {
        grid-template-columns: 1fr;
        gap: 5px;
      }
      .pricing-card,
      .pricing-card.featured,
      html[data-theme="light"] .pricing-card.featured,
      html[data-theme="dark"] .pricing-card.featured {
        border-radius: var(--r-sm);
      }
      #final .final-glow,
      html[data-theme="light"] #final .final-glow,
      html[data-theme="dark"] #final .final-glow {
        padding: 38px 0 36px !important;
      }
      #final .final-process-item {
        padding: 13px 0;
      }
      #final .final-contact {
        align-items: flex-start;
      }
      #final .final-contact .final-contact-item {
        justify-content: flex-start;
        padding: 5px 0;
      }
    }

    /* Compact mobile rhythm: keep the full content available without a long scroll. */
    @media (max-width: 560px) {
      body > section,
      .full-bg > section {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
      }

      #hero {
        padding-top: calc(76px + env(safe-area-inset-top, 0px)) !important;
        padding-bottom: 34px !important;
      }

      #hero h1 {
        margin-bottom: 11px;
        font-size: 31px;
      }

      .hero-sub {
        margin-bottom: 18px;
        font-size: 13.5px;
        line-height: 1.5;
      }

      .hero-stats {
        gap: 6px;
        margin-bottom: 16px;
      }

      .hero-stat {
        min-height: 70px;
        padding: 10px;
      }

      .hero-stat .num { font-size: 23px; }
      .hero-stat .label { margin-top: 5px; font-size: 10.5px; }

      .hero-ctas .btn-primary,
      .hero-ctas .btn-secondary {
        min-height: 44px;
        padding-block: 9px;
        font-size: 12px;
      }

      body > section:not(#hero) > h2,
      .full-bg > section > h2,
      .modules-header h2,
      #final h2 {
        margin-bottom: 8px;
        font-size: 25px;
        line-height: 1.16;
      }

      section > p,
      .modules-header > p {
        font-size: 13px;
        line-height: 1.48;
      }

      .tag {
        margin-bottom: 10px !important;
        font-size: 10.5px !important;
      }

      .career-compare {
        --compare-head-height: 36px;
        --compare-row-height: 54px;
        margin-top: 18px;
      }

      .career-compare-head { min-height: 36px; }
      .career-compare-row { min-height: 54px; }
      .career-compare-value { padding: 9px 6px; font-size: 12px; }

      .method-grid {
        gap: 14px;
        margin-top: 18px !important;
      }

      .method-step,
      html[data-theme="light"] .method-step {
        gap: 10px;
        min-height: 0;
        padding: 10px 0 !important;
      }

      .method-step-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
      }

      .method-step:not(:last-of-type)::before,
      .method-step:not(:last-of-type)::after {
        top: 46px;
        bottom: -11px;
        left: 17px;
      }

      .method-step h3 { margin-bottom: 2px; font-size: 14px; }
      .method-step p { font-size: 11.5px; line-height: 1.4; }

      .method-stats { gap: 6px; }
      .method-stat-card { min-height: 76px; padding: 10px 8px; }
      .method-stat-big { font-size: 23px; }
      .method-stat-label { margin-top: 4px; font-size: 10.5px; }

      .program-facts-note,
      .survey-context {
        margin-top: 12px;
        font-size: 10.5px;
        line-height: 1.42;
      }

      .experience-wordmarks {
        margin-top: 16px;
        padding: 12px 0;
      }

      .experience-wordmarks-label { margin-bottom: 8px; }
      .experience-wordmarks-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px 12px; }
      .experience-wordmark { font-size: 10.5px; }

      .founders-grid { margin-top: 18px !important; }
      .founder-card {
        grid-template-columns: 78px minmax(0, 1fr);
        padding: 12px !important;
      }
      .founder-photo { width: 70px; height: 90px; }
      .founder-name { font-size: 16.5px; }
      .founder-title { margin-top: 3px; font-size: 10.5px; line-height: 1.35; }
      .founder-achievements {
        gap: 7px;
        margin-top: 10px;
        padding-top: 10px;
      }
      .achievement { gap: 7px; font-size: 11.5px; line-height: 1.38; }

      .modules-header { margin-bottom: 16px; }
      .modules-grid { gap: 6px !important; }
      #modules .mobile-module-card,
      html[data-theme="light"] #modules .mobile-module-card,
      html[data-theme="dark"] #modules .mobile-module-card {
        min-height: 68px;
        padding-top: 13px;
        padding-bottom: 12px;
      }
      #modules .module-num { margin-bottom: 6px; }
      #modules .module-card h3 { font-size: 17px; }
      #modules .mobile-module-card .mobile-module-toggle { top: 17px; }
      .mobile-list-toggle { min-height: 42px; margin-top: 10px; padding-block: 9px; }

      .cert-grid {
        gap: 14px;
        margin-top: 18px !important;
      }
      .cert-preview {
        width: min(100%, 270px);
      }
      .cert-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .cert-feature {
        display: grid !important;
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 7px;
        min-height: 64px;
        padding: 9px 8px !important;
      }
      .cert-feature:nth-child(odd) { border-right: 1px solid var(--border) !important; }
      .cert-num { width: 26px; height: 26px; font-size: 11px; }
      .cert-feature h3 { align-self: center; margin: 0; font-size: 12px; line-height: 1.25; }
      .cert-feature p { display: none; }

      .nps-grid {
        gap: 12px;
        margin-top: 18px !important;
      }
      .nps-big { padding: 12px !important; }
      .nps-ring { width: 118px; }
      .nps-number { font-size: 36px; }
      .nps-title { margin-top: 7px; font-size: 13px; }
      .nps-benchmark { margin-top: 3px; font-size: 10px; }
      .nps-extra-card { min-height: 72px; padding: 10px 8px; }
      .nps-extra-num { font-size: 21px; }
      .nps-extra-label { margin-top: 4px; font-size: 10.5px; }
      .nps-bar-item { margin-bottom: 10px; }
      .nps-bar-label { font-size: 11.5px; }
      .metric-methodology summary { min-height: 46px; font-size: 12px; }

      .pricing-grid {
        gap: 10px !important;
        margin-top: 18px !important;
      }
      .pricing-card,
      .pricing-card.featured,
      html[data-theme="light"] .pricing-card.featured,
      html[data-theme="dark"] .pricing-card.featured {
        padding: 19px 15px 15px !important;
      }
      .pricing-price,
      .pricing-card.featured .pricing-price { margin: 10px 0 6px; font-size: 36px; }
      .pricing-description {
        display: -webkit-box;
        margin-bottom: 9px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 11.5px;
      }
      .pricing-hours { margin-bottom: 10px; font-size: 11px; }
      .pricing-meta { gap: 5px; margin-bottom: 14px; padding: 9px 0; }
      .pricing-meta-row { padding: 0; }
      .pricing-meta dt { font-size: 10px; }
      .pricing-meta dd { font-size: 11px; line-height: 1.32; }
      .pricing-features { gap: 6px; margin-bottom: 12px; }
      .pricing-features li { padding-left: 20px; font-size: 11.5px; line-height: 1.32; }

      #pricing .pricing-card:not(.is-expanded) .pricing-meta,
      #pricing .pricing-card:not(.is-expanded) .pricing-features {
        display: none;
      }

      #pricing .pricing-card.is-expanded .pricing-meta,
      #pricing .pricing-card.is-expanded .pricing-features {
        display: block;
      }

      .pricing-cta { min-height: 44px; padding-block: 10px; }

      .testimonials-grid { margin-top: 18px !important; }
      .testimonial-card { padding: 15px 14px !important; }
      .testimonial-text { font-size: 12px; line-height: 1.48; }

      .community-grid {
        gap: 14px;
        margin-top: 18px !important;
      }
      .community-items { gap: 6px; }
      .community-item {
        min-height: 126px;
        padding: 11px 10px !important;
      }
      .community-item-num { width: 24px; height: 24px; margin-bottom: 7px; font-size: 10px; }
      .community-item h3 { font-size: 12.5px; }
      .community-item p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 10.5px;
        line-height: 1.38;
      }
      .community-stat { padding: 14px !important; }
      .community-big { font-size: 42px; }

      .faq-list { gap: 7px; margin-top: 18px !important; }
      .faq-q { min-height: 50px; padding: 11px 12px; font-size: 13px; }
      .faq-icon { flex-basis: 26px; width: 26px; height: 26px; }
      .faq-a { font-size: 12px; line-height: 1.45; }
      .faq-item.open .faq-a { padding: 0 13px 13px; }

      #final .final-glow,
      html[data-theme="light"] #final .final-glow,
      html[data-theme="dark"] #final .final-glow {
        padding: 28px 0 !important;
      }
      #final .final-glow > p { font-size: 12px; line-height: 1.45; }
      #final .final-process {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 18px;
      }
      #final .final-process-item,
      #final .final-process-item:first-child,
      #final .final-process-item:last-child {
        min-width: 0;
        padding: 10px 7px;
      }
      #final .final-process-item + .final-process-item {
        border-top: 0;
        border-left: 1px solid var(--border);
      }
      .final-process-num { margin-bottom: 5px; font-size: 10px; }
      .final-process-item strong { font-size: 11px; line-height: 1.28; }
      .final-process-item small {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 10.5px;
        line-height: 1.35;
      }
      #final .final-btns { margin-top: 18px; }
      #final .final-contact { margin-top: 18px; }
      #final .final-contact .final-contact-item { min-height: 36px; padding: 4px 0; font-size: 11px; }
      .final-privacy { margin-top: 12px !important; font-size: 10.5px; }

      footer.site-footer {
        padding: 18px 18px 14px;
      }

      footer.site-footer .footer-main {
        gap: 12px;
      }

      footer.site-footer .footer-main > div:first-child {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: center;
        gap: 14px;
      }

      footer.site-footer .footer-brand {
        height: 32px;
      }

      footer.site-footer .footer-summary {
        margin: 0;
        font-size: 11px;
        line-height: 1.38;
      }

      footer.site-footer .footer-contacts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px 14px;
        width: 100%;
      }

      footer.site-footer .footer-contacts a,
      footer.site-footer .footer-location {
        min-width: 0;
        font-size: 11px;
      }

      footer.site-footer .footer-location {
        grid-column: 1 / -1;
      }

      footer.site-footer .footer-bottom {
        margin-top: 15px;
        padding-top: 13px;
        gap: 8px;
      }

      footer.site-footer .footer-copy {
        margin: 0;
        font-size: 11px;
      }

      footer.site-footer .footer-legal {
        gap: 8px 14px;
      }

      footer.site-footer .footer-legal a {
        font-size: 10px;
      }
    }

/* Lively graduate feedback and course media */
#testimonials .testimonials-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  margin-top: 44px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

#testimonials .testimonial-featured {
  width: auto;
  max-width: none;
  min-height: 430px;
  margin: 0;
  padding: 42px 44px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

#testimonials .testimonial-featured:hover,
#testimonials .testimonial-featured.is-visible:hover {
  transform: none !important;
  box-shadow: none !important;
}

#testimonials .testimonial-featured .testimonial-summary,
#testimonials .testimonial-featured .testimonial-text,
#testimonials .testimonial-featured .testimonial-meta,
#testimonials .testimonial-featured .testimonial-author {
  transition:
    opacity 150ms var(--ease),
    transform 150ms var(--ease);
}

#testimonials .testimonial-featured.is-leaving .testimonial-summary,
#testimonials .testimonial-featured.is-leaving .testimonial-text,
#testimonials .testimonial-featured.is-leaving .testimonial-meta,
#testimonials .testimonial-featured.is-leaving .testimonial-author {
  opacity: 0;
  transform: translateY(-5px);
}

#testimonials .testimonial-featured.is-entering .testimonial-summary,
#testimonials .testimonial-featured.is-entering .testimonial-text,
#testimonials .testimonial-featured.is-entering .testimonial-meta,
#testimonials .testimonial-featured.is-entering .testimonial-author {
  animation: testimonialContentEnter 260ms var(--ease);
}

@keyframes testimonialContentEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#testimonials .testimonial-summary {
  max-width: 650px;
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

#testimonials .testimonial-featured .testimonial-text {
  max-width: 720px;
  margin: 15px 0 20px;
  color: var(--text);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 560;
  line-height: 1.48;
  letter-spacing: 0;
}

#testimonials .testimonial-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 11px;
}

#testimonials .testimonial-featured .testimonial-author {
  gap: 14px;
}

#testimonials .testimonial-featured .testimonial-avatar,
.testimonial-profile-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #263a59;
  border: 1px solid rgba(126, 164, 221, 0.3);
  color: #f4f7fb;
  font-size: 14px;
  font-weight: 760;
  box-shadow: none;
}

.testimonial-author-copy {
  min-width: 0;
}

#testimonials .testimonial-featured .testimonial-name {
  color: var(--text);
  font-size: 16px;
}

#testimonials .testimonial-featured .testimonial-role {
  margin-top: 2px;
  font-size: 13px;
}

.testimonial-company {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
}

.testimonial-profiles {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.testimonial-profile {
  position: relative;
  width: 100%;
  min-height: 72px;
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 22px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background-color 220ms var(--ease), color 220ms var(--ease);
}

.testimonial-profile:last-child {
  border-bottom: 0;
}

.testimonial-profile::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #244d8f;
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 220ms var(--ease), transform 260ms var(--ease);
}

.testimonial-profile:hover {
  background: rgba(53, 111, 214, 0.055);
}

.testimonial-profile.is-active {
  background: rgba(53, 111, 214, 0.09);
}

.testimonial-profile.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.testimonial-profile-avatar {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  background: transparent;
  border-color: rgba(107, 139, 186, 0.42);
  color: var(--text);
  font-size: 12px;
}

.testimonial-profile.is-active .testimonial-profile-avatar {
  background: #315f9f;
  border-color: #315f9f;
  color: #fff;
}

.testimonial-profile-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.testimonial-profile-copy strong,
.testimonial-profile-copy span,
.testimonial-profile-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.testimonial-profile-copy strong {
  font-size: 13px;
  font-weight: 720;
}

.testimonial-profile-copy span {
  color: var(--text-muted);
  font-size: 12px;
}

.testimonial-profile-copy small {
  color: color-mix(in srgb, var(--text-muted) 78%, transparent);
  font-size: 10px;
}

.course-media {
  --course-media-glow-main: rgba(53, 111, 214, 0.2);
  --course-media-glow-soft: rgba(111, 143, 189, 0.12);
  --course-media-glow-border: rgba(120, 150, 195, 0.22);
  --course-media-aurora-blue: rgba(67, 119, 188, 0.52);
  --course-media-aurora-cyan: rgba(52, 147, 168, 0.42);
  --course-media-aurora-mint: rgba(54, 139, 117, 0.34);
  --course-media-aurora-lime: rgba(139, 148, 82, 0.22);
  --course-media-aurora-gold: rgba(184, 137, 65, 0.3);
  --course-media-aurora-coral: rgba(171, 88, 78, 0.28);
  --course-media-aurora-pink: rgba(158, 78, 119, 0.32);
  --course-media-aurora-violet: rgba(105, 88, 161, 0.42);
  --course-glow-x: 50%;
  --course-glow-y: 0%;
  --course-media-inset-top: rgba(255, 255, 255, 0.075);
  --course-media-inset-bottom: rgba(255, 255, 255, 0.03);
  --course-media-depth: rgba(0, 0, 0, 0.28);
  position: relative;
  isolation: isolate;
  margin-top: 66px;
  margin-inline: -24px;
  padding: clamp(24px, 3vw, 36px);
  overflow: visible;
  border: 1px solid rgba(138, 166, 205, 0.18);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(22, 33, 48, 0.86), rgba(13, 22, 35, 0.9) 62%, rgba(9, 16, 27, 0.92)),
    radial-gradient(ellipse at 22% 14%, rgba(76, 128, 204, 0.14), transparent 44%),
    radial-gradient(ellipse at 86% 82%, rgba(111, 143, 189, 0.1), transparent 50%);
  box-shadow:
    inset 0 1px 0 var(--course-media-inset-top),
    inset 0 -1px 0 var(--course-media-inset-bottom),
    0 28px 76px var(--course-media-depth),
    0 0 0 1px rgba(53, 111, 214, 0);
  animation: courseMediaModuleGlow 8.5s var(--ease-loop) infinite;
  will-change: box-shadow, border-color;
}

.course-media-aurora {
  position: absolute;
  z-index: -1;
  inset: -44px;
  overflow: visible;
  border-radius: 66px;
  pointer-events: none;
  opacity: 0.9;
  transform: translateZ(0);
  transition: opacity 420ms var(--ease), transform 520ms var(--ease);
}

.course-media-wave {
  position: absolute;
  display: block;
  inset: 10px;
  border-radius: 56px;
  pointer-events: none;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

.course-media-wave--spectrum {
  background-image:
    radial-gradient(circle, var(--course-media-aurora-blue) 0%, transparent 74%),
    radial-gradient(circle, var(--course-media-aurora-cyan) 0%, transparent 74%),
    radial-gradient(circle, var(--course-media-aurora-mint) 0%, transparent 72%),
    radial-gradient(circle, var(--course-media-aurora-gold) 0%, transparent 73%),
    radial-gradient(circle, var(--course-media-aurora-coral) 0%, transparent 73%),
    radial-gradient(circle, var(--course-media-aurora-pink) 0%, transparent 74%),
    radial-gradient(circle, var(--course-media-aurora-violet) 0%, transparent 75%);
  background-size: 48% 42%;
  background-position: -12% -10%, 18% -14%, 62% -12%, 110% 4%, 108% 78%, 62% 112%, 4% 108%;
  filter: blur(22px) saturate(1.24);
  opacity: 0.9;
  animation: courseMediaSpectrumWave 11.6s var(--ease-loop) infinite;
  will-change: background-position;
}

.course-media-wave--ambient {
  inset: 4px;
  border-radius: 62px;
  background-image: linear-gradient(
    112deg,
    var(--course-media-aurora-blue) 0%,
    var(--course-media-aurora-cyan) 14%,
    var(--course-media-aurora-mint) 27%,
    var(--course-media-aurora-lime) 38%,
    var(--course-media-aurora-gold) 49%,
    var(--course-media-aurora-coral) 61%,
    var(--course-media-aurora-pink) 74%,
    var(--course-media-aurora-violet) 88%,
    var(--course-media-aurora-blue) 100%
  );
  background-size: 220% 220%;
  background-position: 0% 35%;
  filter: blur(36px) saturate(1.16);
  opacity: 0.56;
  animation: courseMediaAmbientWave 17.3s var(--ease-loop) infinite;
  will-change: background-position, opacity;
}

.course-media-wave--pointer {
  inset: 8px;
  border-radius: 58px;
  background:
    radial-gradient(
      ellipse 520px 320px at var(--course-glow-x) var(--course-glow-y),
      rgba(241, 247, 255, 0.26) 0%,
      rgba(111, 166, 198, 0.2) 26%,
      rgba(92, 116, 168, 0.13) 52%,
      transparent 78%
    );
  filter: blur(34px) saturate(1.08);
  opacity: 0;
  transform: translateZ(0) scale(0.99);
  transition: opacity 280ms var(--ease), transform 480ms var(--ease);
  will-change: background, opacity, transform;
}

.course-media:hover .course-media-aurora {
  opacity: 1;
  transform: translateZ(0) scale(1.006);
}

.course-media.is-aurora-pointer-active .course-media-wave--pointer {
  opacity: 0.62;
  transform: translateZ(0) scale(1.006);
}

html[data-theme="light"] .course-media-aurora {
  opacity: 0.98;
}

html[data-theme="light"] .course-media:hover .course-media-aurora {
  opacity: 1;
}

html[data-theme="light"] .course-media-wave--spectrum {
  opacity: 0.98;
  filter: blur(20px) saturate(1.2) contrast(1.08);
}

html[data-theme="light"] .course-media-wave--ambient {
  opacity: 0.68;
  filter: blur(32px) saturate(1.16) contrast(1.06);
}

html[data-theme="light"] .course-media-wave--pointer {
  filter: blur(34px) saturate(1.16) contrast(1.04);
}

.course-media::before,
.course-media::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.course-media::before {
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 520px 320px at var(--course-glow-x) var(--course-glow-y), rgba(121, 172, 214, 0.12), transparent 62%),
    radial-gradient(ellipse at 28% 24%, rgba(76, 128, 204, 0.1), transparent 40%),
    radial-gradient(ellipse at 72% 68%, rgba(111, 143, 189, 0.07), transparent 46%),
    linear-gradient(115deg, transparent 0 43%, rgba(255, 255, 255, 0.045) 50%, transparent 58%),
    linear-gradient(180deg, rgba(22, 33, 48, 0.94), rgba(13, 22, 35, 0.96) 62%, rgba(9, 16, 27, 0.97));
  opacity: 1;
  transition: opacity 260ms var(--ease);
}

.course-media::after {
  inset: 16px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(130, 160, 205, 0.08);
  opacity: 0.9;
}

html[data-theme="light"] .course-media {
  --course-media-glow-main: rgba(47, 99, 189, 0.23);
  --course-media-glow-soft: rgba(83, 139, 202, 0.19);
  --course-media-glow-border: rgba(47, 99, 189, 0.28);
  --course-media-aurora-blue: rgba(45, 91, 158, 0.62);
  --course-media-aurora-cyan: rgba(35, 119, 139, 0.5);
  --course-media-aurora-mint: rgba(37, 112, 93, 0.4);
  --course-media-aurora-lime: rgba(112, 120, 61, 0.26);
  --course-media-aurora-gold: rgba(155, 105, 39, 0.36);
  --course-media-aurora-coral: rgba(143, 63, 57, 0.34);
  --course-media-aurora-pink: rgba(128, 54, 94, 0.38);
  --course-media-aurora-violet: rgba(78, 60, 133, 0.52);
  --course-media-inset-top: rgba(255, 255, 255, 0.88);
  --course-media-inset-bottom: rgba(47, 99, 189, 0.05);
  --course-media-depth: rgba(31, 72, 132, 0.16);
  border-color: rgba(47, 99, 189, 0.17);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.91), rgba(239, 245, 255, 0.84) 58%, rgba(232, 241, 254, 0.76)),
    radial-gradient(ellipse at 18% 12%, rgba(47, 99, 189, 0.12), transparent 42%),
    radial-gradient(ellipse at 84% 82%, rgba(79, 111, 159, 0.12), transparent 48%);
  box-shadow:
    inset 0 1px 0 var(--course-media-inset-top),
    inset 0 -1px 0 var(--course-media-inset-bottom),
    0 34px 90px var(--course-media-depth),
    0 0 0 1px rgba(47, 99, 189, 0);
}

html[data-theme="light"] .course-media::before {
  background:
    radial-gradient(ellipse 520px 320px at var(--course-glow-x) var(--course-glow-y), rgba(77, 131, 197, 0.14), transparent 62%),
    radial-gradient(ellipse at 25% 22%, rgba(47, 99, 189, 0.11), transparent 38%),
    radial-gradient(ellipse at 70% 65%, rgba(79, 111, 159, 0.1), transparent 44%),
    linear-gradient(115deg, transparent 0 43%, rgba(255, 255, 255, 0.44) 50%, transparent 58%),
    linear-gradient(180deg, #ffffff, #eff5ff 58%, #e8f1fe);
  opacity: 1;
}

html[data-theme="light"] .course-media::after {
  border-color: rgba(47, 99, 189, 0.1);
  opacity: 1;
}

@keyframes courseMediaModuleGlow {
  0%,
  100% {
    border-color: color-mix(in srgb, var(--course-media-glow-border) 58%, transparent);
    box-shadow:
      inset 0 1px 0 var(--course-media-inset-top),
      inset 0 -1px 0 var(--course-media-inset-bottom),
      0 32px 86px var(--course-media-depth),
      0 0 22px color-mix(in srgb, var(--course-media-glow-main) 20%, transparent);
  }
  52% {
    border-color: color-mix(in srgb, var(--course-media-glow-border) 78%, transparent);
    box-shadow:
      inset 0 1px 0 var(--course-media-inset-top),
      inset 0 -1px 0 var(--course-media-inset-bottom),
      0 36px 98px var(--course-media-depth),
      0 0 30px color-mix(in srgb, var(--course-media-glow-main) 30%, transparent);
  }
}

@keyframes courseMediaSpectrumWave {
  0%,
  100% {
    background-position: -12% -10%, 18% -14%, 62% -12%, 110% 4%, 108% 78%, 62% 112%, 4% 108%;
  }
  19% {
    background-position: 8% -14%, 48% -11%, 96% -4%, 108% 44%, 82% 110%, 30% 111%, -10% 72%;
  }
  43% {
    background-position: 58% -13%, 102% 12%, 108% 58%, 76% 110%, 22% 113%, -10% 82%, -9% 22%;
  }
  68% {
    background-position: 108% 18%, 106% 74%, 60% 111%, 9% 112%, -12% 60%, -8% 4%, 40% -14%;
  }
  86% {
    background-position: 62% 111%, 16% 112%, -10% 72%, -9% 12%, 34% -14%, 82% -9%, 108% 48%;
  }
}

@keyframes courseMediaAmbientWave {
  0%,
  100% {
    background-position: 0% 35%;
    opacity: 0.48;
  }
  27% {
    background-position: 68% 0%;
  }
  61% {
    background-position: 100% 72%;
    opacity: 0.68;
  }
  82% {
    background-position: 32% 100%;
  }
}

.course-media-heading,
.course-media-grid,
.course-telegram-media {
  position: relative;
  z-index: 1;
}

.course-media-heading {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(340px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: 26px;
}

.course-media-label {
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.course-media-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.1;
}

.course-media-heading p {
  max-width: 610px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.course-media-intro {
  display: block;
}

.course-media-grid {
  min-height: 446px;
  display: grid;
  grid-template-columns: minmax(0, 1.56fr) minmax(290px, 0.78fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.course-telegram-media {
  margin-top: 2px;
  padding: 2px 0 0;
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(540px, 1.18fr);
  gap: clamp(28px, 3.2vw, 42px);
  align-items: center;
}

.course-telegram-cover {
  min-width: 0;
  width: calc(100% + 8px);
  left: 14px;
  aspect-ratio: 3 / 2;
  padding: 24px;
  opacity: 0.92;
  transform: translateY(2px) scale(0.985);
}

.course-telegram-cover .course-media-visual > img {
  object-position: center;
}

.course-telegram-cover .course-media-caption strong {
  font-size: clamp(18px, 1.8vw, 26px);
}

.course-telegram-cover .course-media-caption small {
  opacity: 0.82;
}

.course-telegram-slots {
  position: relative;
  left: -16px;
  top: 8px;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(28px, 3.2vw, 42px);
  padding-left: clamp(0px, 0.7vw, 12px);
}

.telegram-video-slot {
  --telegram-tilt-x: 0deg;
  --telegram-tilt-y: 0deg;
  --telegram-pointer-x: 0px;
  --telegram-pointer-y: 0px;
  position: relative;
  flex: 0 0 auto;
  width: 268px;
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  align-content: start;
  gap: 11px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: center;
  transform-style: preserve-3d;
}

html[data-theme="light"] .telegram-video-slot {
  background: transparent;
  box-shadow: none;
}

.telegram-video-ring {
  --telegram-preview-progress: 8deg;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(
    #3390ec 0deg var(--telegram-preview-progress),
    rgba(51, 144, 236, 0.2) var(--telegram-preview-progress) 360deg
  );
  box-shadow:
    0 14px 28px rgba(4, 13, 24, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 -1px 3px rgba(4, 13, 24, 0.16);
  transform: none;
  transform-style: preserve-3d;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    filter 220ms var(--ease);
  will-change: transform;
}

.telegram-video-caption {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  display: grid;
  gap: 3px;
  padding: 0 6px;
  box-sizing: border-box;
  text-align: center;
  pointer-events: none;
}

.telegram-video-caption strong,
.telegram-video-caption small {
  display: block;
  min-width: 0;
}

.telegram-video-caption strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  transition: color 180ms var(--ease);
}

.telegram-video-caption small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}

.telegram-video-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: #17212b;
  box-shadow:
    inset 0 10px 18px rgba(2, 8, 15, 0.14),
    inset 0 -8px 16px rgba(2, 8, 15, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.telegram-video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 46%, transparent 62%, rgba(1, 8, 15, 0.12) 82%, rgba(1, 8, 15, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.09));
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.045),
    inset 0 8px 14px rgba(0, 0, 0, 0.08),
    inset 0 -12px 20px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.telegram-video-preview > img,
.telegram-video-preview > video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: translate3d(var(--telegram-pointer-x), var(--telegram-pointer-y), 0) scale(1.04);
  transition: transform 180ms var(--ease);
  will-change: transform;
}

.telegram-video-preview > video {
  filter: blur(3.2px) saturate(0.9) contrast(1.02);
  transform: translate3d(var(--telegram-pointer-x), var(--telegram-pointer-y), 0) scale(1.09);
}

.telegram-video-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 16, 26, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  transform: translate(-50%, -50%);
  overflow: hidden;
  transition:
    transform 240ms var(--ease),
    border-color 200ms var(--ease),
    background-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}

.telegram-video-play svg {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  fill: currentColor;
  stroke: none;
}

.telegram-video-duration {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 13px;
  min-width: 38px;
  padding: 3px 7px;
  border-radius: var(--r-sm);
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
}

.telegram-video-slot:focus-visible {
  outline: none !important;
}

.telegram-video-slot:focus-visible .telegram-video-ring {
  outline: var(--ring-width) solid var(--ring-color);
  outline-offset: var(--ring-offset);
}

@media (hover: hover) and (pointer: fine) {
  .telegram-video-slot:hover .telegram-video-ring {
    transform: none;
    box-shadow:
      0 16px 30px rgba(4, 13, 24, 0.16),
      inset 0 1px 1px rgba(255, 255, 255, 0.2),
      inset 0 -1px 3px rgba(4, 13, 24, 0.16);
    filter: saturate(1.02) brightness(1.01);
  }

  .telegram-video-slot:hover .telegram-video-preview > img,
  .telegram-video-slot:hover .telegram-video-preview > video {
    transform: translate3d(var(--telegram-pointer-x), var(--telegram-pointer-y), 0) scale(1.055);
    transition-duration: 90ms;
    transition-timing-function: var(--ease);
  }

  .telegram-video-slot:hover .telegram-video-preview > video {
    transform: translate3d(var(--telegram-pointer-x), var(--telegram-pointer-y), 0) scale(1.11);
  }

  .telegram-video-slot:hover .telegram-video-play {
    transform: translate(-50%, -50%) translateY(-1px) scale(1.035);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(18, 34, 54, 0.56);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 12px 30px rgba(0, 0, 0, 0.3);
  }

  .telegram-video-slot:hover .telegram-video-caption strong {
    color: var(--blue);
  }

  .telegram-video-slot:active .telegram-video-ring {
    transform: none;
  }
}

.course-media-item {
  --media-card-hover-scale: 1;
  --media-card-hover-y: -4px;
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #f8fafc;
  border: 1px solid color-mix(in srgb, var(--border) 78%, rgba(255, 255, 255, 0.08));
  border-radius: var(--r-sm);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: #15202d;
  box-shadow: var(--elev-3) rgba(3, 9, 18, 0.12);
  transition:
    transform 340ms var(--ease),
    border-color 240ms var(--ease),
    box-shadow 340ms var(--ease);
}

.course-media-item::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(4, 10, 17, 0.01) 12%,
    rgba(4, 10, 17, 0.04) 32%,
    rgba(4, 10, 17, 0.14) 50%,
    rgba(4, 10, 17, 0.5) 74%,
    rgba(4, 10, 17, 0.84) 100%
  );
}

.course-media-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background-color: #182433;
  transition: transform 480ms var(--ease);
}

.course-media-visual::before,
.course-media-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.course-media-visual::before {
  opacity: 0.9;
}

.course-media-visual::after {
  border: 1px solid rgba(190, 211, 237, 0.14);
}

.course-media-visual--workshop {
  background:
    radial-gradient(circle at 30% 42%, rgba(97, 137, 185, 0.38), transparent 32%),
    linear-gradient(128deg, rgba(35, 76, 124, 0.92), rgba(15, 29, 44, 0.78) 58%),
    #172638;
}

.course-media-visual--workshop::before {
  width: 68%;
  height: 64%;
  left: -9%;
  top: 10%;
  border: 1px solid rgba(203, 221, 242, 0.14);
  border-radius: 42% 58% 48% 36%;
  background: linear-gradient(145deg, rgba(186, 211, 239, 0.16), rgba(74, 112, 158, 0.03));
  transform: rotate(-8deg);
}

.course-media-visual--workshop::after {
  width: 42%;
  aspect-ratio: 1;
  right: 8%;
  top: 7%;
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(174, 202, 234, 0.025);
}

.course-media-visual--practice {
  background:
    radial-gradient(circle at 50% 45%, rgba(76, 126, 190, 0.38), transparent 28%),
    linear-gradient(142deg, rgba(34, 61, 95, 0.92), rgba(10, 19, 31, 0.94) 70%),
    #152233;
}

.course-media-visual--practice::before {
  width: 58%;
  aspect-ratio: 1;
  left: 50%;
  top: 46%;
  border: 1px solid rgba(197, 218, 242, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(163, 194, 231, 0.025),
    0 0 0 70px rgba(163, 194, 231, 0.016);
  transform: translate(-50%, -50%);
}

.course-media-visual--practice::after {
  width: 34%;
  height: 72%;
  right: -8%;
  bottom: -14%;
  border-radius: 44% 0 0 0;
  background: linear-gradient(150deg, rgba(80, 116, 158, 0.14), transparent 68%);
  transform: rotate(12deg);
}

.course-media-visual--video-frame {
  background: #0d1724;
}

.course-media-visual--video-frame::before,
.course-media-visual--video-frame::after {
  display: none;
}

.course-media-visual--video-frame > video {
  filter: blur(5.5px) saturate(0.88) contrast(1.02);
  transform: scale(1.065);
}

.course-media-visual--team {
  background:
    linear-gradient(116deg, rgba(40, 79, 86, 0.88), rgba(15, 28, 38, 0.95) 72%),
    #17272d;
}

.course-media-visual--team::before {
  inset: 10% -8% 18% 15%;
  border-radius: 44% 30% 52% 36%;
  background:
    radial-gradient(circle at 22% 48%, rgba(135, 180, 184, 0.22) 0 18%, transparent 19%),
    radial-gradient(circle at 53% 38%, rgba(96, 137, 155, 0.2) 0 22%, transparent 23%),
    radial-gradient(circle at 78% 58%, rgba(68, 104, 127, 0.22) 0 20%, transparent 21%);
  transform: rotate(-6deg);
}

.course-media-visual--team::after {
  width: 56%;
  height: 42%;
  left: 19%;
  top: 22%;
  border-radius: 999px;
  transform: rotate(-14deg);
}

.course-media-visual > img,
.course-media-visual > video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.course-media-visual--photo::before,
.course-media-visual--photo::after {
  display: none;
}

.course-media-visual--workshop > img {
  object-position: 50% 50%;
}

.course-media-visual--team > img {
  object-position: 50% 48%;
}

@media (hover: hover) and (pointer: fine) {
  .course-media-item:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--blue) 34%, var(--border));
    box-shadow: var(--elev-4) rgba(3, 9, 18, 0.2);
  }

  .course-media-item:hover .course-media-visual {
    transform: scale(1.04);
  }

  .course-media-item:hover .course-media-open {
    opacity: 1;
  }

  .course-media-item:hover .course-media-play {
    transform: translate(-50%, -50%) translateY(-2px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(18, 34, 54, 0.56);
  }
}

.course-media-main {
  grid-row: 1 / 3;
  --media-card-hover-scale: 1.006;
}

.course-media-video {
  min-height: 0;
  --media-card-hover-scale: 1.014;
  --media-card-hover-y: -5px;
}

.course-media-team {
  --media-card-hover-scale: 1.014;
  --media-card-hover-y: -5px;
}

.course-telegram-cover {
  --media-card-hover-scale: 0.995;
  --media-card-hover-y: -2px;
}

.course-media-visual--students > img {
  object-position: 50% 43%;
}

.course-media-icon {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(224, 236, 250, 0.4);
  border-radius: 50%;
  background: rgba(9, 18, 29, 0.42);
  color: #f5f8fc;
  backdrop-filter: blur(8px);
  transition:
    transform 260ms var(--ease),
    border-color 200ms var(--ease),
    background-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}

.course-media-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.course-media-open {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #f5f8fc;
  opacity: 0.86;
  transition: opacity 200ms var(--ease), transform 240ms var(--ease);
}

.course-media-open::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(178, 202, 236, 0.46);
  border-radius: 50%;
  background: rgba(24, 49, 88, 0.22);
  box-shadow: none;
  transition:
    border-color 200ms var(--ease),
    background-color 200ms var(--ease),
    box-shadow 200ms var(--ease),
    transform 200ms var(--ease);
}

.course-media-open svg {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.course-media-item:hover .course-media-open::before,
.course-media-item:focus-visible .course-media-open::before {
  border-color: rgba(215, 229, 250, 0.72);
  background: rgba(36, 77, 143, 0.3);
  box-shadow: none;
  transform: scale(1.03);
}

.course-media-item:active .course-media-open::before {
  transform: scale(0.94);
}

.course-media-play {
  top: 50%;
  left: 50%;
  width: 58px;
  height: 40px;
  padding: 0;
  place-items: center;
  line-height: 0;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  background: rgba(8, 16, 26, 0.42);
  color: #ffffff;
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 260ms var(--ease),
    border-color 200ms var(--ease),
    background-color 200ms var(--ease),
    box-shadow 200ms var(--ease),
    filter 200ms var(--ease);
}

.course-media-play::before {
  display: none;
}

.course-media-icon.course-media-play svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  display: block;
  flex: none;
  overflow: visible;
  transform: translateX(0.5px);
  transition: transform 220ms var(--ease);
}

.course-media-icon.course-media-play svg path {
  fill: currentColor;
  stroke: none;
}

.course-media-item:hover .course-media-play svg,
.course-media-item:focus-visible .course-media-play svg {
  transform: translateX(0.5px) scale(1.05);
}

.course-media-item:hover .course-media-play,
.course-media-item:focus-visible .course-media-play {
  background: rgba(18, 34, 54, 0.56);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.3);
  filter: none;
}

.course-media-item:active .course-media-play {
  transform: translate(-50%, -50%) scale(0.96);
  box-shadow: var(--elev-1) rgba(2, 8, 16, 0.18);
}

.course-media-caption {
  position: relative;
  z-index: 2;
  margin-top: auto;
  max-width: min(100%, 620px);
  display: grid;
  gap: 5px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.32);
}

.course-media-caption > span {
  display: none;
}

.course-media-caption strong {
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.course-media-caption small {
  color: rgba(236, 242, 249, 0.76);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.course-media-item:active {
  transform: translateY(-1px);
}

.course-media-item:focus-visible {
  outline: var(--ring-width) solid var(--ring-color);
  outline-offset: var(--ring-offset);
}

.course-media-lightbox {
  width: min(1152px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: var(--card-bg);
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--elev-5) rgba(0, 0, 0, 0.35);
}

body.course-media-lightbox-open {
  position: fixed;
  top: var(--course-media-scroll-lock-top, 0);
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.course-media-lightbox::backdrop {
  background: rgba(4, 8, 14, 0.72);
  backdrop-filter: blur(8px);
}

.course-media-lightbox-shell {
  position: relative;
  max-height: calc(100vh - 32px);
}

.course-media-lightbox-close {
  position: absolute;
  z-index: 6;
  top: 22px;
  right: 22px;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(8, 13, 21, 0.68);
  color: #f8fafc;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.course-media-lightbox-close:hover,
.course-media-lightbox-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(17, 31, 49, 0.86);
}

.course-media-lightbox-close:active {
  transform: scale(0.94);
}

.course-media-lightbox-close:focus-visible,
.course-media-lightbox-nav button:focus-visible {
  outline: var(--ring-width) solid var(--ring-color);
  outline-offset: var(--ring-offset);
}

.course-media-lightbox-close svg,
.course-media-lightbox-nav svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.course-media-lightbox-stage {
  height: min(576px, calc(100vh - 170px));
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(49, 95, 159, 0.24), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(126, 145, 172, 0.055) 78px 79px),
    repeating-linear-gradient(0deg, transparent 0 78px, rgba(126, 145, 172, 0.055) 78px 79px),
    #0e141d;
}

.course-media-lightbox-stage.is-workshop {
  background:
    radial-gradient(circle at 30% 42%, rgba(97, 137, 185, 0.34), transparent 27%),
    linear-gradient(128deg, #234d7d, #101e2d 62%);
}

.course-media-lightbox-stage.is-practice {
  background:
    radial-gradient(circle at 50% 46%, rgba(76, 126, 190, 0.3), transparent 24%),
    linear-gradient(142deg, #223e60, #0a131f 72%);
}

.course-media-lightbox-stage.is-video {
  height: auto;
  min-height: 0;
  display: block;
  background:
    radial-gradient(circle at 50% 44%, rgba(58, 99, 158, 0.18), transparent 30%),
    linear-gradient(142deg, #182a41, #08111d 74%);
}

.course-media-lightbox-stage.is-telegram {
  position: relative;
  isolation: isolate;
  height: min(640px, calc(100vh - 134px));
  display: grid;
  place-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 38%),
    radial-gradient(ellipse at 50% 47%, rgba(51, 144, 236, 0.1), transparent 58%),
    linear-gradient(145deg, rgba(17, 32, 47, 0.94), rgba(3, 11, 20, 0.98) 76%);
}

.course-media-lightbox-stage.is-telegram::before,
.telegram-media-player:fullscreen::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 4% 17% 10%;
  border-radius: 50%;
  pointer-events: none;
  background:
    conic-gradient(
      from 18deg at 50% 48%,
      transparent 0deg,
      rgba(51, 144, 236, 0.22) 74deg,
      rgba(119, 213, 255, 0.16) 132deg,
      rgba(126, 112, 255, 0.13) 202deg,
      rgba(51, 144, 236, 0.18) 286deg,
      transparent 360deg
    ),
    radial-gradient(ellipse at 50% 46%, rgba(51, 144, 236, 0.28), transparent 38%),
    radial-gradient(ellipse at 50% 58%, rgba(3, 10, 18, 0.08), rgba(3, 10, 18, 0.92) 72%);
  filter: blur(44px) saturate(1.24);
  opacity: 0.64;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0 58%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 58%, transparent 78%);
  transform: scale(1.02) rotate(0deg);
  animation: telegramAmbientGlow 9s var(--ease-loop) infinite alternate;
}

.course-media-lightbox-stage.is-telegram::after,
.telegram-media-player:fullscreen::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.055) 48%, transparent 56%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 96px);
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse at 50% 46%, #000 0 58%, transparent 82%);
  mask-image: radial-gradient(ellipse at 50% 46%, #000 0 58%, transparent 82%);
}

@keyframes telegramAmbientGlow {
  0% {
    opacity: 0.72;
    transform: scale(1) rotate(-7deg);
  }
  50% {
    opacity: 0.94;
    transform: scale(1.035) rotate(5deg);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.015) rotate(13deg);
  }
}

.course-media-lightbox-stage.is-video .course-media-bootstrap-player {
  width: 100%;
}

.course-media-lightbox-stage.is-video .course-media-bootstrap-ratio {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.course-media-lightbox-stage.is-team {
  background:
    radial-gradient(circle at 27% 48%, rgba(120, 164, 170, 0.22), transparent 18%),
    radial-gradient(circle at 56% 38%, rgba(84, 124, 146, 0.18), transparent 21%),
    linear-gradient(116deg, #284f56, #0f1c26 72%);
}

.course-media-lightbox-stage.is-graduate {
  height: auto;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(circle at 50% 35%, rgba(60, 112, 190, 0.24), transparent 26%),
    linear-gradient(142deg, #132235, #07111d 72%);
}

.course-media-lightbox-placeholder {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 148, 204, 0.42);
  border-radius: 50%;
  color: #74a1e6;
}

.course-media-lightbox-placeholder[hidden] {
  display: none !important;
}

.course-media-lightbox-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #0e141d;
}

.course-media-lightbox-image[hidden] {
  display: none !important;
}

.course-media-lightbox-placeholder svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.telegram-media-player {
  --telegram-surface-offset-y: 24px;
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 8px 18px 58px;
  display: grid;
  place-items: center;
  color: #f8fafc;
}

.telegram-media-player[hidden] {
  display: none !important;
}

.telegram-media-surface {
  --telegram-progress: 0;
  --telegram-progress-angle: 0deg;
  position: relative;
  z-index: 1;
  width: min(550px, calc(100% - 72px), calc(100vh - 200px));
  height: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  isolation: isolate;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.32));
  transform: translate3d(0, var(--telegram-surface-offset-y), 0);
}

.telegram-media-surface::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -14%;
  border-radius: 50%;
  pointer-events: none;
  background:
    conic-gradient(
      from calc(var(--telegram-progress-angle) - 34deg),
      rgba(51, 144, 236, 0.62),
      rgba(115, 212, 255, 0.32) 24%,
      rgba(128, 100, 255, 0.22) 48%,
      rgba(255, 255, 255, 0.1) 66%,
      rgba(51, 144, 236, 0.52)
    );
  filter: blur(34px) saturate(1.32);
  opacity: 0.78;
  transform: scale(0.98);
  animation: telegramHaloFlow 7s linear infinite;
}

.telegram-media-player.is-playing .telegram-media-surface::before {
  opacity: 0.92;
  animation-duration: 5.6s;
}

.telegram-media-player.is-paused .telegram-media-surface::before,
.telegram-media-player.is-ended .telegram-media-surface::before {
  opacity: 0.68;
  animation-play-state: paused;
}

@keyframes telegramHaloFlow {
  to {
    transform: scale(1.02) rotate(360deg);
  }
}

.telegram-media-surface:focus-visible {
  outline: var(--ring-width) solid var(--ring-color);
  outline-offset: var(--ring-offset);
}

.telegram-media-progress {
  position: absolute;
  z-index: 3;
  inset: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  overflow: visible;
  transform: rotate(-90deg);
  cursor: default;
  pointer-events: auto;
  touch-action: none;
}

.telegram-media-progress-hit {
  fill: none;
  stroke: rgba(0, 0, 0, 0.001);
  stroke-width: 3.1;
  cursor: grab;
  pointer-events: stroke;
  touch-action: none;
}

.telegram-media-progress-hit:active {
  cursor: grabbing;
}

.telegram-media-progress-hit,
.telegram-media-progress-track,
.telegram-media-progress-value,
.telegram-media-progress-thumb {
  fill: none;
  stroke-linecap: round;
}

.telegram-media-progress-track,
.telegram-media-progress-value,
.telegram-media-progress-thumb {
  pointer-events: none;
}

.telegram-media-progress-track {
  stroke-width: 0.42;
  stroke: rgba(216, 232, 255, 0.2);
  transition:
    stroke-width 150ms var(--ease),
    stroke 150ms var(--ease);
}

.telegram-media-progress-value {
  stroke-width: 0.72;
  stroke: rgba(82, 166, 255, 0.86);
  stroke-dasharray: var(--telegram-progress) 100;
  filter: drop-shadow(0 0 2px rgba(51, 144, 236, 0.22));
  transition:
    stroke-width 150ms var(--ease),
    filter 150ms var(--ease);
}

.telegram-media-progress-thumb {
  fill: rgba(73, 156, 236, 0.52);
  stroke: rgba(232, 244, 255, 0.78);
  stroke-width: 0.42;
  opacity: 0;
  filter:
    drop-shadow(0 1px 2px rgba(5, 16, 28, 0.22))
    drop-shadow(0 0 3px rgba(51, 144, 236, 0.2));
  vector-effect: non-scaling-stroke;
  transition:
    opacity 100ms var(--ease),
    fill 150ms var(--ease),
    stroke 150ms var(--ease);
}

.telegram-media-progress-hit:hover ~ .telegram-media-progress-track,
.telegram-media-player.is-seeking .telegram-media-progress-track {
  stroke-width: 0.56;
  stroke: rgba(216, 232, 255, 0.28);
}

.telegram-media-progress-hit:hover ~ .telegram-media-progress-value,
.telegram-media-player.is-seeking .telegram-media-progress-value {
  stroke-width: 0.92;
  filter: drop-shadow(0 0 3px rgba(51, 144, 236, 0.28));
}

.telegram-media-progress-hit:hover ~ .telegram-media-progress-thumb,
.telegram-media-player.is-seeking .telegram-media-progress-thumb {
  fill: rgba(68, 151, 235, 0.64);
  stroke: rgba(244, 249, 255, 0.86);
  opacity: 0.86;
}

.telegram-media-image,
.telegram-media-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #17212b;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(51, 144, 236, 0.34);
  transform: scale(1.01);
}

.telegram-media-image[hidden],
.telegram-media-video[hidden] {
  display: none !important;
}

.telegram-media-surface::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%),
    linear-gradient(0deg, rgba(4, 9, 16, 0.3), transparent 42%);
}

.telegram-media-play {
  position: relative;
  z-index: 4;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(8, 16, 26, 0.42);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.28);
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease),
    background-color 180ms var(--ease);
}

.telegram-media-play:hover,
.telegram-media-play:focus-visible {
  background: rgba(18, 34, 54, 0.56);
}

.telegram-media-play:active {
  transform: scale(0.94);
}

.telegram-media-play svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
  stroke: none;
}

.telegram-media-pause-icon,
.telegram-media-player.is-playing .telegram-media-play-icon {
  display: none;
}

.telegram-media-player.is-playing .telegram-media-pause-icon {
  display: block;
}

.telegram-media-player.is-playing .telegram-media-play {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

.telegram-media-surface:hover .telegram-media-play,
.telegram-media-surface:focus-visible .telegram-media-play,
.telegram-media-player.is-paused .telegram-media-play,
.telegram-media-player.is-ended .telegram-media-play {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.telegram-media-time {
  display: none;
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  min-width: 82px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
  backdrop-filter: blur(9px);
}

.course-media-video-controls.telegram-media-controls {
  left: 18px;
  right: 18px;
  bottom: 12px;
  min-height: 70px;
  align-content: end;
  z-index: 4;
  pointer-events: none;
}

.telegram-media-controls .course-media-video-control-row {
  pointer-events: auto;
}

.telegram-media-player.is-playing .course-media-video-play-icon,
.telegram-media-player.is-muted .course-media-video-volume-icon,
.telegram-media-player.is-fullscreen .course-media-video-enter-fullscreen-icon {
  display: none;
}

.telegram-media-player.is-playing .course-media-video-pause-icon,
.telegram-media-player.is-muted .course-media-video-muted-icon,
.telegram-media-player.is-fullscreen .course-media-video-exit-fullscreen-icon {
  display: block;
}

.telegram-media-player:fullscreen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  max-width: none;
  min-height: 100vh;
  padding: 42px 42px 82px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 42%),
    radial-gradient(ellipse at 50% 46%, rgba(51, 144, 236, 0.16), transparent 58%),
    #07111d;
}

.telegram-media-player:fullscreen .telegram-media-surface {
  z-index: 1;
  width: min(84vh, 84vw, calc(100vh - 150px), calc(100vw - 160px));
}

.telegram-media-player:fullscreen .telegram-media-controls {
  z-index: 4;
  left: 42px;
  right: 42px;
  bottom: 24px;
}

.course-media-bootstrap-player {
  width: min(820px, calc(100% - 56px));
  max-width: 100%;
  color: #f8fafc;
}

.course-media-bootstrap-player[hidden] {
  display: none !important;
}

.course-media-bootstrap-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--r-md);
  background: #08111d;
  box-shadow: var(--elev-5) rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.course-media-bootstrap-ratio:focus-visible {
  outline: var(--ring-width) solid var(--ring-color);
  outline-offset: var(--ring-offset);
}

.course-media-bootstrap-ratio::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(3, 8, 16, 0.88));
}

.course-media-bootstrap-ratio video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background:
    linear-gradient(145deg, rgba(36, 71, 112, 0.28), transparent 56%),
    #07111e;
}

.course-media-video-center-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  background: rgba(8, 16, 26, 0.42);
  color: #ffffff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease),
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.course-media-video-center-play:hover,
.course-media-video-center-play:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(18, 34, 54, 0.56);
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.3);
}

.course-media-video-center-play:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.course-media-video-center-play svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  transform: translateX(0.5px);
}

.course-media-bootstrap-player.is-playing .course-media-video-center-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

.course-media-bootstrap-player.has-error .course-media-video-center-play {
  opacity: 0;
  pointer-events: none;
}

.course-media-video-loader {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 2px solid rgba(226, 232, 240, 0.28);
  border-top-color: rgba(248, 250, 252, 0.92);
  border-radius: 999px;
  animation: videoSpin 800ms linear infinite;
}

.course-media-video-error {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(320px, calc(100% - 48px));
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: var(--r-md);
  background: rgba(9, 16, 28, 0.88);
  color: #f8fafc;
  text-align: center;
  transform: translate(-50%, -50%);
}

.course-media-video-error[hidden],
.course-media-video-loader[hidden] {
  display: none !important;
}

.course-media-video-retry {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(147, 197, 253, 0.38);
  border-radius: 999px;
  background: rgba(47, 99, 189, 0.18);
  color: #dbeafe;
  font-weight: 700;
  cursor: pointer;
}

.course-media-video-controls {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 12px;
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f8fafc;
  box-shadow: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.course-media-bootstrap-player.controls-hidden .course-media-video-controls {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.course-media-bootstrap-player:focus-within .course-media-video-controls,
.course-media-bootstrap-player.is-seeking .course-media-video-controls,
.course-media-bootstrap-player.is-paused .course-media-video-controls,
.course-media-bootstrap-player.is-ended .course-media-video-controls,
.course-media-bootstrap-player.is-buffering .course-media-video-controls,
.course-media-bootstrap-player.has-error .course-media-video-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.course-media-video-control-row {
  min-height: 44px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.course-media-video-button {
  min-width: 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(248, 250, 252, 0.9);
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.course-media-video-button:hover,
.course-media-video-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.course-media-video-button:active {
  transform: scale(0.94);
}

.course-media-video-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.course-media-video-play svg {
  fill: currentColor;
  stroke: none;
}

.course-media-video-button .course-media-video-play-icon {
  width: 25px;
  height: 25px;
  transform: translateX(0.5px);
}

.course-media-video-volume-wave {
  opacity: 0;
  transform: translateX(-0.8px) scale(0.98);
  transform-origin: 12px 12px;
  transition:
    opacity 170ms var(--ease),
    transform 220ms var(--ease);
}

.course-media-video-pause-icon,
.course-media-video-muted-icon,
.course-media-bootstrap-player.is-playing .course-media-video-play-icon,
.course-media-bootstrap-player.is-muted .course-media-video-volume-icon,
.course-media-video-exit-fullscreen-icon,
.course-media-bootstrap-player.is-fullscreen .course-media-video-enter-fullscreen-icon {
  display: none;
}

.course-media-bootstrap-player.is-playing .course-media-video-pause-icon,
.course-media-bootstrap-player.is-muted .course-media-video-muted-icon,
.course-media-bootstrap-player.is-fullscreen .course-media-video-exit-fullscreen-icon {
  display: block;
}

.course-media-video-volume-control[data-volume-level="1"] .course-media-video-volume-wave-1,
.course-media-video-volume-control[data-volume-level="2"] .course-media-video-volume-wave-1,
.course-media-video-volume-control[data-volume-level="2"] .course-media-video-volume-wave-2,
.course-media-video-volume-control[data-volume-level="3"] .course-media-video-volume-wave-1,
.course-media-video-volume-control[data-volume-level="3"] .course-media-video-volume-wave-2,
.course-media-video-volume-control[data-volume-level="3"] .course-media-video-volume-wave-3 {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.course-media-video-volume-control {
  --video-volume: 100%;
  --video-volume-bar-idle: rgba(226, 235, 249, 0.24);
  --video-volume-bar-fill: rgba(236, 244, 255, 0.94);
  --volume-track-left: 50px;
  --volume-track-right: 14px;
  --volume-thumb-width: 7px;
  --volume-thumb-height: 20px;
  --volume-thumb-radius: 4px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  flex: 0 0 auto;
  isolation: isolate;
  transition:
    width 260ms var(--ease),
    background-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    padding-right 260ms var(--ease);
}

.course-media-video-volume-bars {
  position: absolute;
  left: var(--volume-track-left);
  right: var(--volume-track-right);
  top: 50%;
  height: 24px;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: translateY(-50%) translateX(-8px);
  transform-origin: left center;
  transition:
    opacity 180ms var(--ease),
    transform 260ms var(--ease);
}

.course-media-video-volume-bars-idle,
.course-media-video-volume-bars-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-media-video-volume-bars-fill {
  -webkit-mask-image: linear-gradient(90deg, #000 0 var(--video-volume), transparent var(--video-volume) 100%);
  mask-image: linear-gradient(90deg, #000 0 var(--video-volume), transparent var(--video-volume) 100%);
}

.course-media-video-volume-bars i {
  width: 3px;
  height: var(--volume-bar-height, 14px);
  border-radius: var(--r-xs);
  flex: 0 0 3px;
  background: var(--video-volume-bar-idle);
}

.course-media-video-volume-bars-fill i {
  background: var(--video-volume-bar-fill);
}

.course-media-video-volume-bars i:nth-child(1) { --volume-bar-height: 9px; }
.course-media-video-volume-bars i:nth-child(2) { --volume-bar-height: 15px; }
.course-media-video-volume-bars i:nth-child(3) { --volume-bar-height: 11px; }
.course-media-video-volume-bars i:nth-child(4) { --volume-bar-height: 16px; }
.course-media-video-volume-bars i:nth-child(5) { --volume-bar-height: 12px; }
.course-media-video-volume-bars i:nth-child(6) { --volume-bar-height: 15px; }
.course-media-video-volume-bars i:nth-child(7) { --volume-bar-height: 10px; }
.course-media-video-volume-bars i:nth-child(8) { --volume-bar-height: 14px; }
.course-media-video-volume-bars i:nth-child(9) { --volume-bar-height: 11px; }
.course-media-video-volume-bars i:nth-child(10) { --volume-bar-height: 16px; }
.course-media-video-volume-bars i:nth-child(11) { --volume-bar-height: 12px; }
.course-media-video-volume-bars i:nth-child(12) { --volume-bar-height: 15px; }
.course-media-video-volume-control:hover,
.course-media-video-volume-control:focus-within {
  width: 140px;
  padding-right: 8px;
  background: rgba(248, 250, 252, 0.09);
  box-shadow: inset 0 0 0 1px rgba(248, 250, 252, 0.08);
}

.course-media-video-volume-control:hover .course-media-video-volume-bars,
.course-media-video-volume-control:focus-within .course-media-video-volume-bars {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.course-media-video-volume-control .course-media-video-button {
  flex: 0 0 44px;
}

.course-media-video-volume-slider {
  --volume-track-height: 16px;
  position: absolute;
  inset:
    0
    calc(var(--volume-track-right) - (var(--volume-thumb-width) / 2))
    0
    calc(var(--volume-track-left) - (var(--volume-thumb-width) / 2));
  z-index: 1;
  width: auto;
  height: 44px;
  margin: 0;
  border: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  touch-action: none;
  transition: opacity 180ms var(--ease), transform 230ms var(--ease);
}

.course-media-video-volume-control:hover .course-media-video-volume-slider,
.course-media-video-volume-control:focus-within .course-media-video-volume-slider {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.course-media-video-volume-slider::-webkit-slider-runnable-track {
  height: var(--volume-track-height);
  border-radius: 999px;
  -webkit-appearance: none;
  background: transparent;
}

.course-media-video-volume-slider::-webkit-slider-thumb {
  box-sizing: border-box;
  width: var(--volume-thumb-width);
  height: var(--volume-thumb-height);
  margin-top: calc((var(--volume-track-height) - var(--volume-thumb-height)) / 2);
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: var(--volume-thumb-radius);
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(180deg, #2c3645, #141b26);
  outline: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18), var(--elev-1) rgba(0, 0, 0, 0.28);
}

.course-media-video-volume-slider::-moz-range-track {
  height: var(--volume-track-height);
  border-radius: 999px;
  background: transparent;
}

.course-media-video-volume-slider::-moz-range-progress {
  height: var(--volume-track-height);
  border-radius: 999px;
  background: transparent;
}

.course-media-video-volume-slider::-moz-range-thumb {
  box-sizing: border-box;
  width: var(--volume-thumb-width);
  height: var(--volume-thumb-height);
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: var(--volume-thumb-radius);
  background: linear-gradient(180deg, #2c3645, #141b26);
  outline: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18), var(--elev-1) rgba(0, 0, 0, 0.28);
}

.course-media-video-volume-slider:focus-visible {
  outline: var(--ring-width) solid var(--ring-color);
  outline-offset: -7px;
  border-radius: 999px;
}

.course-media-video-progress {
  min-width: 0;
  height: 18px;
  display: flex;
  align-items: center;
}

.course-media-video-progress input {
  --video-progress: 0%;
  --video-track-height: 4px;
  --video-thumb-size: 12px;
  width: 100%;
  height: 18px;
  display: block;
  margin: 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  background: transparent;
  touch-action: none;
}

.course-media-video-progress input:disabled {
  cursor: default;
}

.course-media-video-progress input:focus-visible {
  outline: var(--ring-width) solid var(--ring-color);
  outline-offset: var(--ring-offset);
  border-radius: 999px;
}

.course-media-video-progress input:hover,
.course-media-video-progress input:focus-visible,
.course-media-bootstrap-player.is-seeking .course-media-video-progress input {
  --video-track-height: 6px;
}

.course-media-video-progress input::-webkit-slider-runnable-track {
  height: var(--video-track-height);
  border-radius: 999px;
  background: linear-gradient(90deg, #6ea2ff var(--video-progress), rgba(226, 232, 240, 0.26) var(--video-progress));
  transition: height 160ms var(--ease);
}

.course-media-video-progress input::-webkit-slider-thumb {
  box-sizing: border-box;
  width: var(--video-thumb-size);
  height: var(--video-thumb-size);
  margin-top: calc((var(--video-track-height) - var(--video-thumb-size)) / 2);
  border: 2px solid rgba(248, 250, 252, 0.95);
  border-radius: 50%;
  appearance: none;
  background: #3d73d5;
  box-shadow: var(--elev-1) rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease), margin-top 160ms var(--ease);
}

.course-media-video-progress input:hover::-webkit-slider-thumb,
.course-media-video-progress input:focus-visible::-webkit-slider-thumb,
.course-media-bootstrap-player.is-seeking .course-media-video-progress input::-webkit-slider-thumb {
  opacity: 1;
  transform: scale(1.08);
}

.course-media-video-progress input::-moz-range-track {
  height: var(--video-track-height);
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.26);
}

.course-media-video-progress input::-moz-range-progress {
  height: var(--video-track-height);
  border-radius: 999px;
  background: #6ea2ff;
}

.course-media-video-progress input::-moz-range-thumb {
  box-sizing: border-box;
  width: calc(var(--video-thumb-size) - 2px);
  height: calc(var(--video-thumb-size) - 2px);
  border: 2px solid rgba(248, 250, 252, 0.95);
  border-radius: 50%;
  background: #3d73d5;
  box-shadow: var(--elev-1) rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}

.course-media-video-progress input:hover::-moz-range-thumb,
.course-media-video-progress input:focus-visible::-moz-range-thumb,
.course-media-bootstrap-player.is-seeking .course-media-video-progress input::-moz-range-thumb {
  opacity: 1;
  transform: scale(1.08);
}

.course-media-video-time {
  min-width: 84px;
  color: rgba(248, 250, 252, 0.82);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: left;
  white-space: nowrap;
}

.course-media-video-spacer {
  flex: 1 1 auto;
}

.course-media-bootstrap-player:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  display: grid;
  place-items: center;
  background: #030814;
}

.course-media-bootstrap-player:fullscreen .course-media-bootstrap-ratio {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.course-media-bootstrap-player:fullscreen .course-media-bootstrap-ratio video {
  object-fit: contain;
}

@keyframes videoSpin {
  to {
    transform: rotate(360deg);
  }
}

.course-media-lightbox-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 92px;
  padding: 14px 29px 16px;
}

.course-media-lightbox-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.course-media-lightbox-type {
  display: none;
}

.course-media-lightbox-copy h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.course-media-lightbox-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.course-media-lightbox-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.course-media-lightbox-nav button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.course-media-lightbox-nav button:hover,
.course-media-lightbox-nav button:focus-visible {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
  background: color-mix(in srgb, var(--blue) 7%, transparent);
}

.course-media-lightbox-nav button:active {
  transform: scale(0.94);
}

.course-media-lightbox-position {
  min-width: 46px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

html[data-theme="light"] #testimonials .testimonials-showcase {
  background: rgba(255, 255, 255, 0.76);
}

html[data-theme="light"] .testimonial-profile.is-active {
  background: rgba(47, 99, 189, 0.075);
}

html[data-theme="light"] #testimonials .testimonial-featured .testimonial-avatar {
  background: #2f63bd;
  border-color: #2f63bd;
  color: #fff;
}

html[data-theme="light"] .testimonial-profile-avatar {
  background: #f4f7fb;
  border-color: #cfdae8;
  color: #294a72;
}

html[data-theme="light"] .course-media-lightbox {
  background: #fff;
}

html[data-theme="light"] .course-media-open::before {
  border-color: rgba(47, 99, 189, 0.32);
  background: rgba(47, 99, 189, 0.12);
  box-shadow: none;
}

html[data-theme="light"] .course-media-play {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(8, 16, 26, 0.42);
  color: #ffffff;
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html[data-theme="light"] .course-media-item:hover .course-media-play,
html[data-theme="light"] .course-media-item:focus-visible .course-media-play {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(18, 34, 54, 0.56);
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .course-media-lightbox-stage.is-video {
  background: #08111d;
}

html[data-theme="light"] .course-media-lightbox-stage.is-video .course-media-bootstrap-ratio {
  background:
    radial-gradient(circle at 50% 44%, rgba(47, 99, 189, 0.12), transparent 31%),
    linear-gradient(142deg, #dfe9f6, #f8fbff 72%);
}

html[data-theme="light"] .course-media-bootstrap-ratio {
  border-color: rgba(47, 99, 189, 0.18);
  background: #eef4fb;
  box-shadow: var(--elev-4) rgba(22, 46, 84, 0.14);
}

html[data-theme="light"] .course-media-bootstrap-ratio video {
  background:
    linear-gradient(145deg, rgba(47, 99, 189, 0.12), transparent 58%),
    #eef4fb;
}

html[data-theme="light"] .course-media-video-controls {
  color: #f8fafc;
  box-shadow: none;
}

html[data-theme="light"] .course-media-video-button {
  color: rgba(248, 250, 252, 0.9);
}

html[data-theme="light"] .course-media-video-button:hover,
html[data-theme="light"] .course-media-video-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

html[data-theme="light"] .course-media-video-time {
  color: rgba(248, 250, 252, 0.84);
}

html[data-theme="light"] .course-media-video-center-play {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(8, 16, 26, 0.42);
  color: #fff;
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html[data-theme="light"] .course-media-video-center-play:hover,
html[data-theme="light"] .course-media-video-center-play:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(18, 34, 54, 0.56);
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
  #testimonials .testimonials-showcase {
    grid-template-columns: 1fr;
  }

  #testimonials .testimonial-featured {
    min-height: 360px;
    padding: 34px !important;
  }

  .testimonial-profiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .testimonial-profile {
    min-height: 78px;
    border-right: 1px solid var(--border);
  }

  .testimonial-profile:nth-child(even) {
    border-right: 0;
  }

  .testimonial-profile:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .course-media-grid {
    min-height: 410px;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.8fr);
  }

  .course-telegram-media {
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
    gap: 28px;
  }

  .course-telegram-slots {
    gap: 20px;
    padding-left: 4px;
  }

  .telegram-video-slot {
    width: clamp(188px, 24vw, 228px);
  }
}

@media (max-width: 560px) {
  #testimonials .testimonials-showcase {
    margin-top: 24px;
    border-radius: var(--r-sm);
  }

  #testimonials .testimonial-featured {
    min-height: 0;
    padding: 24px 20px !important;
  }

  #testimonials .testimonial-featured .testimonial-text {
    margin: 12px 0 16px;
    font-size: 17px;
    line-height: 1.52;
  }

  #testimonials .testimonial-summary {
    margin-top: 0;
    font-size: 12px;
  }

  #testimonials .testimonial-meta {
    margin-bottom: 20px;
  }

  #testimonials .testimonial-featured .testimonial-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .testimonial-profiles {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-profile {
    min-height: 70px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    padding: 10px 11px;
  }

  .testimonial-profile-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 10px;
  }

  .testimonial-profile-copy strong {
    font-size: 11px;
  }

  .testimonial-profile-copy span {
    font-size: 10px;
  }

  .testimonial-profile-copy small {
    display: none;
  }

  .course-media {
    margin-top: 38px;
    margin-inline: 0;
    padding: 22px 16px 18px;
    border-radius: var(--r-lg);
  }

  .course-media::after {
    inset: 10px;
    border-radius: var(--r-md);
  }

  .course-media-heading {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .course-media-heading p {
    font-size: 13px;
    line-height: 1.5;
  }

  .course-media-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 230px 190px 190px;
    gap: 12px;
  }

  .course-telegram-media {
    margin-top: 6px;
    padding-top: 8px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .course-telegram-cover {
    width: 100%;
    left: 0;
  }

  .course-telegram-slots {
    justify-content: center;
    gap: 14px;
    left: 0;
    padding-left: 0;
  }

  .telegram-video-slot {
    width: min(194px, 45vw);
  }

  .course-media-main {
    grid-column: 1;
    grid-row: 1;
  }

  .course-media-video {
    grid-column: 1;
    grid-row: 2;
  }

  .course-media-team {
    grid-column: 1;
    grid-row: 3;
  }

  .course-media-item {
    min-height: 0;
    padding: 18px;
    border-radius: var(--r-sm);
  }

  .course-media-open {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }

  .course-media-icon {
    top: 14px;
    left: 14px;
    width: 42px;
    height: 42px;
  }

  .course-media-icon svg {
    width: 19px;
    height: 19px;
  }

  .course-media-play {
    top: 50%;
    left: 50%;
    width: 50px;
    height: 35px;
    border-radius: var(--r-sm);
    transform: translate(-50%, -50%);
  }

  .course-media-icon.course-media-play svg {
    width: 23px;
    height: 23px;
  }

  .course-media-caption strong {
    font-size: 18px;
  }

  .course-media-caption small {
    display: block;
    font-size: 11px;
    line-height: 1.4;
  }

  .course-media-lightbox {
    width: calc(100vw - 24px);
    border-radius: var(--r-sm);
  }

  .course-media-lightbox-stage {
    height: 320px;
    min-height: 320px;
  }

  .course-media-lightbox-stage.is-video {
    height: auto;
    min-height: 0;
  }

  .course-media-lightbox-stage.is-telegram {
    height: min(500px, calc(100vh - 120px));
    min-height: 390px;
  }

  .telegram-media-player {
    --telegram-surface-offset-y: 18px;
    padding: 4px 12px 62px;
  }

  .telegram-media-surface {
    width: min(390px, calc(100% - 56px), calc(100vh - 208px));
  }

  .course-media-bootstrap-player {
    width: calc(100% - 28px);
  }

  .course-media-lightbox-stage.is-video .course-media-bootstrap-player {
    width: 100%;
  }

  .course-media-bootstrap-ratio {
    border-radius: var(--r-sm);
  }

  .course-media-lightbox-stage.is-video .course-media-bootstrap-ratio {
    border-radius: 0;
  }

  .course-media-video-controls {
    left: 12px;
    right: 12px;
    bottom: 9px;
    gap: 6px;
  }

  .course-media-video-controls.telegram-media-controls {
    left: 12px;
    right: 12px;
    bottom: 9px;
    min-height: 68px;
  }

  .course-media-video-button {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }

  .course-media-video-button svg {
    width: 18px;
    height: 18px;
  }

  .course-media-video-volume-control,
  .course-media-video-volume-control:hover,
  .course-media-video-volume-control:focus-within {
    width: 44px;
    min-width: 44px;
    padding-right: 0;
    background: transparent;
    box-shadow: none;
  }

  .course-media-video-volume-bars {
    display: none;
  }

  .course-media-video-volume-slider {
    display: none;
  }

  .course-media-video-time {
    min-width: 70px;
    font-size: 11px;
  }

  .course-media-lightbox-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 13px 16px 15px;
  }

  .course-media-lightbox-copy h3 {
    font-size: 20px;
  }

  .course-media-lightbox-nav {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  #testimonials .testimonial-featured .testimonial-summary,
  #testimonials .testimonial-featured .testimonial-text,
  #testimonials .testimonial-featured .testimonial-meta,
  #testimonials .testimonial-featured .testimonial-author,
  .course-media-item,
  .course-media-visual,
  .course-media-icon,
  .course-media-open,
  .telegram-video-ring,
  .telegram-video-preview > img,
  .course-media-video-controls,
  .course-media-video-center-play,
  .course-media-video-button,
  .course-media-video-volume-control,
  .course-media-video-volume-slider,
  .course-media-video-progress input::-webkit-slider-runnable-track,
  .course-media-video-progress input::-webkit-slider-thumb,
  .course-media-video-progress input::-moz-range-thumb,
  .course-media-video-loader {
    animation: none !important;
    transition: none !important;
  }
}

#testimonials .testimonial-avatar,
#testimonials .testimonial-profile-avatar {
  overflow: hidden;
  padding: 0;
}

#testimonials .testimonial-avatar img,
#testimonials .testimonial-profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

/* Community: one editorial surface instead of a stack of separate cards. */
#community > h2 {
  max-width: 760px;
}

#community .community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 42px;
}

#community .community-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--elev-4) rgba(18, 34, 57, 0.08);
}

#community .community-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 176px;
  padding: 28px 26px !important;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

#community .community-item:nth-child(odd) {
  border-right: 1px solid var(--border);
}

#community .community-item:nth-child(-n + 2) {
  border-bottom: 1px solid var(--border);
}

#community .community-item:hover {
  background: rgba(53, 111, 214, 0.035) !important;
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}

#community .community-item-num {
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 50%;
  background: rgba(53, 111, 214, 0.08);
  border: 1px solid rgba(53, 111, 214, 0.22);
  color: var(--blue);
  box-shadow: none;
  font-size: 12px;
}

#community .community-item h3 {
  margin: 1px 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

#community .community-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

#community .community-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 376px;
  padding: 30px 28px !important;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(53, 111, 214, 0.055), transparent 72%),
    var(--card-bg) !important;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--elev-4) rgba(18, 34, 57, 0.08);
  text-align: center;
}

#community .community-network {
  position: relative;
  width: min(100%, 270px);
  aspect-ratio: 1;
  margin: -12px auto -6px;
}

#community .community-network-ring,
#community .community-network-axis {
  position: absolute;
  pointer-events: none;
}

#community .community-network-ring {
  inset: 50%;
  border: 1px solid rgba(53, 111, 214, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

#community .community-network-ring-outer {
  width: 82%;
  height: 82%;
}

#community .community-network-ring-inner {
  width: 48%;
  height: 48%;
  border-style: dashed;
}

#community .community-network-axis {
  top: 50%;
  left: 50%;
  background: rgba(53, 111, 214, 0.14);
  transform: translate(-50%, -50%);
}

#community .community-network-axis-horizontal {
  width: 68%;
  height: 1px;
}

#community .community-network-axis-vertical {
  width: 1px;
  height: 68%;
}

#community .community-network-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(53, 111, 214, 0.20);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#community .community-network-node-top {
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
}

#community .community-network-node-right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

#community .community-network-node-bottom {
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
}

#community .community-network-node-left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

#community .community-network-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(53, 111, 214, 0.28);
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: var(--elev-4) rgba(35, 74, 132, 0.13);
  transform: translate(-50%, -50%);
}

#community .community-big {
  color: var(--text);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

#community .community-stat-copy {
  position: relative;
  z-index: 4;
  margin-top: -2px;
}

#community .community-stat-title {
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

#community .community-stat-sub {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

html[data-theme="dark"] #community .community-items,
html[data-theme="dark"] #community .community-stat {
  box-shadow: var(--elev-4) rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] #community .community-item:hover {
  background: rgba(100, 151, 224, 0.055) !important;
}

html[data-theme="dark"] #community .community-network-node,
html[data-theme="dark"] #community .community-network-core {
  background: #111923;
}

@media (max-width: 920px) {
  #community .community-grid {
    grid-template-columns: 1fr;
  }

  #community .community-stat {
    min-height: 330px;
  }
}

@media (max-width: 560px) {
  #community .community-grid {
    gap: 12px;
    margin-top: 22px !important;
  }

  #community .community-items {
    grid-template-columns: 1fr;
    border-radius: var(--r-sm);
  }

  #community .community-item {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 0;
    gap: 12px;
    padding: 16px 14px !important;
  }

  #community .community-item:nth-child(odd) {
    border-right: 0;
  }

  #community .community-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
  }

  #community .community-item-num {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  #community .community-item h3 {
    margin-top: 0;
    font-size: 14px;
  }

  #community .community-item p {
    display: block;
    font-size: 11.5px;
    line-height: 1.5;
    -webkit-line-clamp: unset;
  }

  #community .community-stat {
    min-height: 286px;
    padding: 18px 16px 20px !important;
    border-radius: var(--r-sm);
  }

  #community .community-network {
    width: 220px;
    margin: -18px auto -12px;
  }

  #community .community-network-core {
    width: 88px;
    height: 88px;
  }

  #community .community-big {
    font-size: 34px;
  }

  #community .community-stat-title {
    font-size: 15px;
  }

  #community .community-stat-sub {
    font-size: 11px;
  }
}

/* Keep the fixed matcher isolated from the landing page's section gutters. */
/* Community statistic: factual, compact, and visually active. */
#community .community-stat {
  justify-content: space-between;
  min-height: 376px;
  padding: 38px 34px 30px !important;
  background:
    radial-gradient(circle at 86% 14%, rgba(53, 111, 214, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(53, 111, 214, 0.035), transparent 58%),
    var(--card-bg) !important;
  text-align: left;
}

#community .community-stat-main {
  position: relative;
  z-index: 2;
}

#community .community-big {
  font-size: clamp(58px, 6vw, 78px);
  font-weight: 820;
  letter-spacing: -0.02em;
}

#community .community-stat-title {
  max-width: 240px;
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.35;
}

#community .community-projects {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  width: 100%;
  margin: 28px 0 24px;
}

#community .community-projects-line {
  position: absolute;
  top: 50%;
  right: 11%;
  left: 11%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(53, 111, 214, 0.18),
    rgba(53, 111, 214, 0.58),
    rgba(53, 111, 214, 0.18)
  );
  transform: translateY(-50%);
}

#community .community-project-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border: 1px solid rgba(53, 111, 214, 0.26);
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--blue);
  box-shadow: var(--elev-2) rgba(35, 74, 132, 0.09);
  transition:
    transform 240ms var(--ease),
    border-color 240ms var(--ease),
    background-color 240ms var(--ease);
}

#community .community-project-node span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(53, 111, 214, 0.09);
  font-size: 10px;
  font-weight: 800;
}

#community .community-stat:hover .community-project-node {
  border-color: rgba(53, 111, 214, 0.44);
  transform: translateY(-2px);
}

#community .community-stat-footer {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

#community .community-project-count {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(53, 111, 214, 0.09);
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

#community .community-stat-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

html[data-theme="dark"] #community .community-project-node {
  background: #111923;
}

@media (max-width: 560px) {
  #community .community-stat {
    min-height: 278px;
    padding: 24px 20px 20px !important;
  }

  #community .community-big {
    font-size: 54px;
  }

  #community .community-stat-title {
    max-width: none;
    margin-top: 8px;
    font-size: 15px;
  }

  #community .community-projects {
    margin: 20px 0 18px;
  }

  #community .community-project-node {
    width: 32px;
    height: 32px;
  }

  #community .community-project-node span {
    width: 19px;
    height: 19px;
    font-size: 10.5px;
  }

  #community .community-stat-footer {
    padding-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #community .community-project-node {
    transition: none;
  }
}

/* HERO SHOWCASE, CERTIFICATE, COMMUNITY AND FINAL CTA
   Scoped additions keep the existing layout and content intact. */
.hero-showcase {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-showcase-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-showcase-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-showcase-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(24px, 0, 0) scale(0.985);
  transition:
    opacity 480ms var(--ease),
    transform 560ms var(--ease);
}

.hero-showcase-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-showcase .hero-map {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
}

.hero-showcase-mentors {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(10px, 2vw, 24px);
  padding: 34px clamp(20px, 4vw, 52px) 48px;
}

.hero-mentor-portrait {
  position: relative;
  display: flex;
  min-width: 0;
  height: 82%;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 28%, var(--border));
}

.hero-mentor-portrait-secondary {
  height: 72%;
}

.hero-mentor-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 24px rgba(13, 31, 58, 0.13));
}

.hero-mentor-name {
  position: absolute;
  right: 0;
  bottom: -30px;
  left: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-showcase-certificate {
  padding: 40px clamp(24px, 5vw, 64px) 52px;
}

.hero-showcase-certificate img {
  display: block;
  width: min(100%, 620px);
  max-height: 82%;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  object-fit: contain;
  box-shadow: var(--elev-5) rgba(19, 37, 68, 0.14);
}

.hero-showcase-controls {
  position: absolute;
  z-index: 5;
  right: clamp(18px, 3vw, 36px);
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-showcase-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-bg) 90%, transparent);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    border-color 180ms var(--ease),
    background-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.hero-showcase-arrow:hover {
  border-color: color-mix(in srgb, var(--blue) 44%, var(--border));
  background: var(--card-bg);
  transform: translateY(-1px);
}

.hero-showcase-arrow:active {
  transform: translateY(0);
}

.hero-showcase-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-showcase-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-showcase-dot {
  width: 18px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-showcase-dot span {
  display: block;
  width: 6px;
  height: 6px;
  margin: auto;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-muted) 54%, transparent);
  transition:
    width 220ms var(--ease),
    background-color 220ms var(--ease);
}

.hero-showcase-dot.is-active span {
  width: 18px;
  background: var(--blue);
}

@media (min-width: 901px) {
  #hero .hero-showcase {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, 720px);
    height: clamp(480px, 54vw, 620px);
    max-height: calc(100svh - 106px);
    align-self: center;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  #hero .hero-showcase {
    order: 2;
    width: min(100%, 620px);
    height: clamp(220px, 58vw, 340px);
    margin: 28px auto 0;
  }

  #hero .hero-inner {
    order: 1;
  }

  .hero-showcase-mentors {
    padding-top: 18px;
    padding-bottom: 42px;
  }

  .hero-showcase-certificate {
    padding: 20px 32px 44px;
  }

  .hero-showcase-controls {
    right: 50%;
    bottom: 2px;
    transform: translateX(50%);
  }
}

@media (max-width: 560px) {
  #hero .hero-showcase {
    height: 204px;
    margin-top: 20px;
  }

  .hero-showcase-mentors {
    gap: 8px;
    padding: 8px 30px 36px;
  }

  .hero-mentor-name {
    bottom: -24px;
    font-size: 10px;
  }

  .hero-showcase-certificate {
    padding: 10px 24px 38px;
  }

  .hero-showcase-certificate img {
    max-height: 78%;
  }

  .hero-showcase-arrow {
    width: 31px;
    height: 31px;
  }
}

/* Top banner carousel. The map in the main hero remains static; only this
   banner uses the carousel behavior. */
.top-banner-showcase {
  min-height: calc(77px + clamp(162px, 25vw, 512px));
  overflow: hidden;
  padding-top: 77px;
}

.top-banner-showcase .top-banner-viewport {
  height: clamp(162px, 25vw, 512px);
}

.top-banner-showcase .hero-showcase-slide {
  transform: translate3d(18px, 0, 0) scale(0.992);
}

.top-banner-showcase .hero-showcase-slide.is-active {
  transform: translate3d(0, 0, 0) scale(1);
}

.top-banner-showcase .top-banner-slide {
  overflow: hidden;
}

.top-banner-showcase .top-banner-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.top-banner-showcase .top-banner-empty-slide {
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 48%),
    linear-gradient(180deg, color-mix(in srgb, var(--card-bg) 72%, transparent), color-mix(in srgb, var(--bg) 98%, transparent));
}

.top-banner-showcase .top-banner-empty-slide span {
  color: color-mix(in srgb, var(--text-muted) 72%, var(--text));
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.top-banner-showcase .hero-showcase-mentors {
  grid-template-columns: repeat(2, minmax(220px, 360px));
  justify-content: center;
  gap: clamp(28px, 5vw, 76px);
  padding: 22px clamp(36px, 8vw, 120px) 58px;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 54%),
    linear-gradient(180deg, color-mix(in srgb, var(--card-bg) 86%, transparent), color-mix(in srgb, var(--bg) 96%, transparent));
}

.top-banner-showcase .hero-mentor-portrait {
  height: min(100%, 300px);
}

.top-banner-showcase .hero-showcase-certificate {
  padding: 24px clamp(36px, 8vw, 120px) 56px;
  background:
    radial-gradient(circle at 50% 16%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 52%),
    var(--bg);
}

.top-banner-showcase .hero-showcase-certificate img {
  width: min(74vw, 680px);
  max-height: 100%;
}

.top-banner-showcase .hero-showcase-controls {
  right: clamp(24px, 5vw, 76px);
  bottom: 18px;
}

@media (max-width: 900px) {
  .top-banner-showcase {
    min-height: calc(60px + clamp(162px, 25vw, 512px));
    padding-top: 60px !important;
  }

  .top-banner-showcase .top-banner-viewport {
    height: clamp(162px, 25vw, 512px);
  }

  .top-banner-showcase .top-banner-image {
    object-fit: contain;
  }

  .top-banner-showcase .hero-showcase-mentors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 14px 34px 44px;
  }

  .top-banner-showcase .hero-showcase-certificate {
    padding: 14px 38px 44px;
  }
}

@media (max-width: 560px) {
  .top-banner-showcase {
    min-height: 222px;
  }

  .top-banner-showcase .top-banner-viewport {
    height: 162px;
  }

  .top-banner-showcase .hero-showcase-controls {
    right: 50%;
    bottom: 6px;
    transform: translateX(50%);
  }

  .top-banner-showcase .hero-showcase-mentors {
    padding-inline: 28px;
  }

  .top-banner-showcase .hero-showcase-certificate img {
    width: min(86vw, 420px);
  }
}

.cert-preview-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  cursor: zoom-in;
}

.cert-preview-button .cert-img {
  display: block;
  width: 100%;
  transition: transform 320ms var(--ease);
}

.cert-preview-action {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--blue) 32%, var(--border));
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-bg) 91%, transparent);
  color: var(--blue);
  opacity: 0;
  transform: translateY(5px);
  backdrop-filter: blur(8px);
  transition:
    opacity 200ms var(--ease),
    transform 220ms var(--ease);
}

.cert-preview-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cert-preview-button:hover .cert-preview-action,
.cert-preview-button:focus-visible .cert-preview-action {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .cert-preview-button:hover .cert-img {
    transform: scale(1.012);
  }
}

#certificate .cert-feature {
  opacity: 0.62;
  transform: translateX(0);
  transition:
    opacity 220ms var(--ease),
    border-color 220ms var(--ease),
    transform 220ms var(--ease);
}

#certificate .cert-feature.is-active,
#certificate .cert-feature:hover,
#certificate .cert-feature:focus-visible {
  opacity: 1;
  border-color: color-mix(in srgb, var(--blue) 28%, var(--border));
  transform: translateX(4px);
}

@media (min-width: 901px) {
  #certificate .cert-preview {
    align-self: start;
  }

  #certificate .cert-preview-button {
    transform: translateY(-16px);
  }
}

.certificate-student-media {
  --certificate-stack-step-x: 50px;
  --certificate-stack-step-y: 32px;
  --certificate-stack-total-x: 100px;
  --certificate-stack-total-y: 64px;
  --certificate-stack-card-trim: 52px;
  width: 100%;
  max-width: 462px;
  margin-top: 8px;
}

#certificate .cert-preview {
  overflow: visible;
}

#certificate .cert-preview::after {
  display: none;
}

.certificate-student-media-grid {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1.31 / 1;
  perspective: 1100px;
  transform-style: preserve-3d;
  isolation: isolate;
}

.certificate-media-item {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - var(--certificate-stack-card-trim));
  height: auto;
  aspect-ratio: 3 / 2;
  min-height: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, scale;
  scale: var(--certificate-hover-scale, 1);
  opacity: 1;
}

.certificate-media-item .course-media-visual > img {
  object-fit: contain;
  object-position: center;
}

.certificate-media-item:first-child {
  z-index: 3;
  transform: translate3d(0, 0, 24px)
    rotateX(calc(0.7deg + var(--certificate-tilt-x, 0deg)))
    rotateY(calc(-1.8deg + var(--certificate-tilt-y, 0deg)));
  box-shadow: var(--elev-4) rgba(3, 9, 18, 0.25);
  transition:
    transform 220ms var(--ease),
    scale 190ms var(--ease),
    opacity 160ms var(--ease),
    filter 180ms var(--ease),
    border-color 140ms var(--ease),
    box-shadow 220ms var(--ease);
}

.certificate-media-item:nth-child(n + 2) {
  --certificate-layer-delay: 120ms;
  transform-origin: left center;
  transition:
    transform 240ms var(--ease),
    scale 190ms var(--ease),
    opacity 180ms var(--ease),
    filter 200ms var(--ease),
    border-color 140ms var(--ease),
    box-shadow 240ms var(--ease),
    z-index 0s linear var(--certificate-layer-delay) allow-discrete;
}

.certificate-media-item:nth-child(2) {
  --certificate-active-x: 2px;
  --certificate-active-y: -12px;
  --certificate-active-z: 56px;
  z-index: 2;
  top: var(--certificate-stack-step-y);
  left: var(--certificate-stack-step-x);
  transform: translate3d(0, 0, -28px)
    rotateX(calc(1.4deg + var(--certificate-tilt-x, 0deg)))
    rotateY(calc(-8deg + var(--certificate-tilt-y, 0deg)))
    rotateZ(1.8deg);
  filter: brightness(0.82) saturate(0.88);
  box-shadow: var(--elev-3) rgba(3, 9, 18, 0.2);
}

.certificate-media-item:nth-child(3) {
  --certificate-active-x: -4px;
  --certificate-active-y: -22px;
  --certificate-active-z: 68px;
  z-index: 1;
  top: var(--certificate-stack-total-y);
  left: var(--certificate-stack-total-x);
  transform: translate3d(0, 0, -82px)
    rotateX(calc(2deg + var(--certificate-tilt-x, 0deg)))
    rotateY(calc(-13deg + var(--certificate-tilt-y, 0deg)))
    rotateZ(3.2deg);
  filter: brightness(0.68) saturate(0.78);
  box-shadow: var(--elev-3) rgba(3, 9, 18, 0.2);
}

@media (min-width: 901px) {
  .certificate-media-item:nth-child(3) {
    --certificate-active-x: -24px;
  }

  #certificate .cert-features {
    position: relative;
    z-index: 5;
  }
}

.certificate-media-item:hover .course-media-visual {
  transform: none;
}

.certificate-media-item.is-stack-front .course-media-visual {
  transform: scale(1.018);
}

.certificate-media-item:first-child.is-stack-front {
  z-index: 4;
  transform: translate3d(-2px, -5px, 38px)
    rotateX(calc(0.4deg + var(--certificate-tilt-x, 0deg)))
    rotateY(calc(-1deg + var(--certificate-tilt-y, 0deg)))
    scale(1.004);
  filter: brightness(1) saturate(1);
  opacity: 1;
}

.certificate-media-item:nth-child(n + 2).is-stack-front {
  --certificate-layer-delay: 36ms;
  z-index: 4;
  transform: translate3d(var(--certificate-active-x), var(--certificate-active-y), var(--certificate-active-z))
    rotateX(calc(0.2deg + var(--certificate-tilt-x, 0deg)))
    rotateY(calc(0.8deg + var(--certificate-tilt-y, 0deg)))
    rotateZ(-0.35deg)
    scale(1.006);
  filter: brightness(1) saturate(1.02);
  opacity: 1;
  box-shadow: var(--elev-5) rgba(3, 9, 18, 0.32);
}

.certificate-student-media-grid.is-stack-active .certificate-media-item:first-child:not(.is-stack-front) {
  transform: translate3d(-6px, 2px, -18px)
    rotateX(calc(0.9deg + var(--certificate-tilt-x, 0deg)))
    rotateY(calc(-3deg + var(--certificate-tilt-y, 0deg)))
    scale(0.992);
  filter: brightness(0.72) saturate(0.84);
  opacity: 0.5;
  box-shadow: var(--elev-3) rgba(3, 9, 18, 0.18);
}

.certificate-student-media-grid.is-stack-active .certificate-media-item:nth-child(n + 2):not(.is-stack-front) {
  opacity: 0.4;
}

.certificate-student-media-grid.is-stack-active .certificate-media-item:nth-child(3):not(.is-stack-front) {
  filter: brightness(0.58) saturate(0.72);
  opacity: 0.3;
}

.certificate-media-item.is-stack-returning {
  opacity: 0.34 !important;
}

.certificate-media-item.has-certificate-parallax {
  --certificate-hover-scale: 1;
  --certificate-visual-scale: 1;
  --certificate-tilt-x: 0deg;
  --certificate-tilt-y: 0deg;
}

.certificate-media-item.has-certificate-parallax.is-stack-front {
  --certificate-visual-scale: 1.018;
}

.certificate-media-item.has-certificate-parallax .course-media-visual {
  transform: scale(var(--certificate-visual-scale));
  transition: transform 110ms var(--ease);
  will-change: transform;
}

.certificate-media-item.has-certificate-parallax .course-media-visual > img {
  --certificate-image-x: 0px;
  --certificate-image-y: 0px;
  --certificate-image-scale: 1;
  transform: translate3d(
    var(--certificate-image-x),
    var(--certificate-image-y),
    0
  ) scale(var(--certificate-image-scale));
  transition: transform 100ms var(--ease);
  will-change: transform;
}

@media (max-width: 900px) {
  .certificate-student-media {
    --certificate-stack-step-x: 44px;
    --certificate-stack-step-y: 30px;
    --certificate-stack-total-x: 88px;
    --certificate-stack-total-y: 60px;
    --certificate-stack-card-trim: 44px;
    max-width: 420px;
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .certificate-student-media {
    --certificate-stack-step-x: 30px;
    --certificate-stack-step-y: 22px;
    --certificate-stack-total-x: 60px;
    --certificate-stack-total-y: 44px;
    --certificate-stack-card-trim: 32px;
    max-width: 270px;
    margin-top: 16px;
  }

  .certificate-student-media-grid {
    height: auto;
    aspect-ratio: 1.25 / 1;
  }
}

.certificate-lightbox {
  width: min(94vw, 1320px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--text);
}

.certificate-lightbox::backdrop {
  background: rgba(5, 10, 18, 0.78);
  backdrop-filter: blur(8px);
}

.certificate-lightbox-shell {
  position: relative;
  display: grid;
  place-items: center;
  max-height: 92vh;
  padding: 26px;
}

.certificate-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 52px);
  border-radius: var(--r-sm);
  object-fit: contain;
  box-shadow: var(--elev-5) rgba(0, 0, 0, 0.34);
}

.certificate-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(12, 20, 32, 0.82);
  color: #fff;
  cursor: pointer;
}

.certificate-lightbox-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#community .community-projects-line {
  overflow: hidden;
  background: color-mix(in srgb, var(--blue) 14%, var(--border));
}

#community .community-projects-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 760ms var(--ease);
}

#community .community-project-node {
  opacity: 0.48;
  transform: scale(0.94);
}

#community .community-stat.is-live .community-projects-line::after {
  transform: scaleX(1);
}

#community .community-stat.is-live .community-project-node {
  opacity: 1;
  transform: scale(1);
}

#community .community-stat.is-live .community-project-node:nth-of-type(2) { transition-delay: 100ms; }
#community .community-stat.is-live .community-project-node:nth-of-type(3) { transition-delay: 220ms; }
#community .community-stat.is-live .community-project-node:nth-of-type(4) { transition-delay: 340ms; }
#community .community-stat.is-live .community-project-node:nth-of-type(5) { transition-delay: 460ms; }

/* Community metric: solid editorial contrast instead of decorative blur. */
#community .community-stat {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 376px;
  padding: 0 !important;
  overflow: hidden;
  background: var(--card-bg) !important;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--elev-3) rgba(18, 34, 57, 0.075);
  text-align: left;
}

#community .community-stat::before,
#community .community-stat::after {
  content: none;
}

#community .community-stat-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 38px 36px 34px;
}

#community .community-stat-main::after {
  content: none;
}

#community .community-big {
  margin: 0;
  color: var(--text);
  font-size: clamp(68px, 7vw, 92px);
  font-weight: 820;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

#community .community-stat-title {
  max-width: 250px;
  margin-top: 20px;
  color: var(--text);
  font-size: 20px;
  font-weight: 760;
  line-height: 1.3;
}

#community .community-stat-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 108px;
  padding: 22px 36px;
  box-sizing: border-box;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

#community .community-project-count {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-size: 40px;
  font-weight: 820;
  letter-spacing: -0.02em;
  line-height: 1;
}

#community .community-stat-sub {
  max-width: 190px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.45;
}

html[data-theme="dark"] #community .community-stat {
  background: #111720 !important;
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] #community .community-stat-footer {
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  #community .community-stat {
    transition:
      border-color 220ms var(--ease),
      transform 220ms var(--ease),
      box-shadow 220ms var(--ease);
  }

  #community .community-stat:hover {
    border-color: color-mix(in srgb, var(--blue) 28%, var(--border));
    box-shadow: var(--elev-4) rgba(18, 34, 57, 0.1);
    transform: translateY(-2px);
  }
}

@media (max-width: 560px) {
  #community .community-stat {
    min-height: 260px;
    border-radius: var(--r-sm);
  }

  #community .community-stat-main {
    padding: 26px 24px 24px;
  }

  #community .community-big {
    font-size: 62px;
  }

  #community .community-stat-title {
    max-width: 210px;
    margin-top: 12px;
    font-size: 16px;
  }

  #community .community-stat-footer {
    min-height: 82px;
    gap: 14px;
    padding: 17px 24px;
  }

  #community .community-project-count {
    font-size: 32px;
  }

  #community .community-stat-sub {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #community .community-stat {
    transition: none !important;
  }
}

#final .final-process {
  position: relative;
  isolation: isolate;
  --final-step-pad: 24px;
  --final-step-size: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#final .final-process-track {
  display: none;
}

#final .final-process-track span {
  display: none;
}

#final .final-process-item {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 21px var(--final-step-pad) 24px;
  opacity: 0.55;
  transform: translateY(8px);
  transition:
    opacity 300ms var(--ease),
    transform 360ms var(--ease);
}

#final .final-process-item:first-child,
#final .final-process-item:last-child {
  padding-right: var(--final-step-pad);
  padding-left: var(--final-step-pad);
}

#final .final-process-item + .final-process-item {
  border-left: 1px solid var(--border);
}

#final .final-process-num {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--blue) 72%, var(--text-muted));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

#final .final-process.is-live .final-process-track span {
  transform: scaleX(1);
}

#final .final-process.is-live .final-process-item {
  opacity: 1;
  transform: translateY(0);
}

#final .final-process.is-live .final-process-item:nth-of-type(3) { transition-delay: 120ms; }
#final .final-process.is-live .final-process-item:nth-of-type(4) { transition-delay: 240ms; }

@media (max-width: 560px) {
  #final .final-process {
    --final-step-pad: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #final .final-process-track {
    display: none;
  }

  #final .final-process-track span {
    display: none;
  }

  #final .final-process-item {
    padding: 13px 7px 14px;
  }

  #final .final-process-item:first-child,
  #final .final-process-item:last-child {
    padding-left: 7px;
    padding-right: 7px;
  }

  #final .final-process-item + .final-process-item {
    border-left: 1px solid var(--border);
    border-top: 0;
  }

  #final .final-process-num {
    position: static;
    margin: 0 0 7px;
    padding: 0;
    font-size: 10px;
  }

  .certificate-lightbox {
    width: 100vw;
  }

  .certificate-lightbox-shell {
    padding: 44px 12px 12px;
  }

  .certificate-lightbox-close {
    top: 0;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase-slide,
  .hero-showcase-dot span,
  .cert-preview-button .cert-img,
  .cert-preview-action,
  #certificate .cert-feature,
  #community .community-projects-line::after,
  #community .community-project-node,
  #final .final-process-track span,
  #final .final-process-item {
    transition: none !important;
  }
}

/* Program facts: solid surfaces and data-led micro-graphics. */
.method-stats .method-stat-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(28px, auto);
  gap: 16px;
  min-height: 190px;
  padding: 22px 22px 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: var(--r-md);
  background: var(--card-bg) !important;
  box-shadow:
    0 14px 34px rgba(15, 32, 58, 0.07),
    inset 0 1px 0 color-mix(in srgb, #fff 56%, transparent);
  text-align: left;
  transition:
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    transform 220ms var(--ease);
}

.method-stats .method-stat-card::before {
  content: none;
}

.method-stats .method-stat-card::after {
  content: none;
}

.method-stats .method-stat-copy {
  display: block;
  min-width: 0;
}

.method-stats .method-stat-big {
  color: var(--text);
  font-size: clamp(38px, 3.2vw, 46px);
  font-variant-numeric: tabular-nums;
  line-height: 0.96;
  letter-spacing: 0;
  white-space: nowrap;
}

.method-stats .method-stat-label {
  max-width: 200px;
  margin-top: 16px;
  padding-top: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.method-stats .method-stat-src {
  max-width: 200px;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.88;
}

.method-stat-visual {
  position: static;
  align-self: end;
  width: 100%;
  min-width: 0;
  color: var(--blue);
  transition: filter 180ms var(--ease);
}

.method-stat-visual i {
  display: block;
}

.method-stat-modules {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.method-stat-modules i {
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--blue) 45%, var(--border));
  border-radius: var(--r-xs);
  background: color-mix(in srgb, var(--blue) 9%, var(--card-bg));
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.method-stat-modules i:nth-child(2),
.method-stat-modules i:nth-child(5),
.method-stat-modules i:nth-child(8) {
  background: color-mix(in srgb, var(--blue) 34%, var(--card-bg));
}

.method-stat-hours {
  display: grid;
  gap: 8px;
}

.method-stat-hours span {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: var(--r-xs);
  background: color-mix(in srgb, var(--text-muted) 14%, transparent);
}

.method-stat-hours span i {
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transform-origin: left center;
  transition: transform 420ms var(--ease);
}

.method-stat-hours span:first-child i {
  width: 47%;
}

.method-stat-hours span:last-child i {
  width: 100%;
  opacity: 0.34;
}

.method-stat-workshops {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 4px;
  height: 32px;
}

.method-stat-workshops i {
  height: 18px;
  border-radius: 2px 2px 0 0;
  background: color-mix(in srgb, var(--blue) 78%, var(--card-bg));
  transform-origin: center bottom;
  transition: height 180ms var(--ease);
}

.method-stat-workshops i:nth-child(2n) {
  height: 30px;
  background: color-mix(in srgb, var(--blue) 34%, var(--card-bg));
}

.method-stat-formats {
  position: relative;
  justify-self: end;
  width: 74px;
  height: 48px;
}

.method-stat-formats i {
  position: absolute;
  width: 46px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--blue) 48%, var(--border));
  border-radius: var(--r-xs);
  background: var(--card-bg);
  box-shadow: var(--elev-2) rgba(24, 50, 91, 0.08);
  transition: transform 220ms var(--ease);
}

.method-stat-formats i:first-child {
  left: 0;
  bottom: 0;
}

.method-stat-formats i:last-child {
  right: 0;
  top: 0;
  border-color: color-mix(in srgb, var(--blue) 75%, var(--border));
  background: color-mix(in srgb, var(--blue) 10%, var(--card-bg));
}

@media (hover: hover) and (pointer: fine) {
  .method-stats .method-stat-card:hover {
    border-color: color-mix(in srgb, var(--blue) 42%, var(--border));
    box-shadow:
      0 18px 38px rgba(15, 32, 58, 0.1),
      inset 0 1px 0 color-mix(in srgb, #fff 56%, transparent);
    transform: translateY(-3px);
  }

  .method-stats .method-stat-card:hover .method-stat-modules i:nth-child(2n) {
    transform: translateY(-3px);
  }

  .method-stats .method-stat-card:hover .method-stat-hours span:first-child i {
    transform: scaleX(1.08);
  }

  .method-stats .method-stat-card:hover .method-stat-workshops i:nth-child(odd) {
    height: 25px;
  }

  .method-stats .method-stat-card:hover .method-stat-formats i:first-child {
    transform: translate(-2px, 2px);
  }

  .method-stats .method-stat-card:hover .method-stat-formats i:last-child {
    transform: translate(2px, -2px);
  }
}

html[data-theme="dark"] .method-stats .method-stat-card {
  background: rgba(127, 145, 170, 0.06) !important;
  border-color: rgba(91, 143, 226, 0.48);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(91, 143, 226, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .method-stats .method-stat-card:hover {
    border-color: rgba(111, 163, 245, 0.78);
    box-shadow:
      0 20px 44px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(91, 143, 226, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.09);
  }
}

/* The data graphics play once when the whole facts block enters the viewport.
   Card surfaces remain neutral and keep their independent pointer hover. */
.method-stats .method-stat-card::before {
  content: none;
}

.method-stats.is-section-entering .method-stat-card:nth-child(1) .method-stat-modules i:nth-child(2n) {
  animation: methodStatModulesEnter 620ms var(--ease) both;
}

.method-stats.is-section-entering .method-stat-card:nth-child(2) .method-stat-hours span:first-child i {
  animation: methodStatHoursEnter 650ms 70ms var(--ease) both;
}

.method-stats.is-section-entering .method-stat-card:nth-child(3) .method-stat-workshops i:nth-child(odd) {
  animation: methodStatWorkshopsEnter 650ms 140ms var(--ease) both;
}

.method-stats.is-section-entering .method-stat-card:nth-child(4) .method-stat-formats i:first-child {
  animation: methodStatFormatFrontEnter 620ms 210ms var(--ease) both;
}

.method-stats.is-section-entering .method-stat-card:nth-child(4) .method-stat-formats i:last-child {
  animation: methodStatFormatBackEnter 620ms 210ms var(--ease) both;
}

.method-stats.is-section-entering .method-stat-card .method-stat-visual {
  animation: methodStatVisualEnter 700ms var(--ease) both;
}

@keyframes methodStatModulesEnter {
  0%, 100% { transform: none; }
  46% { transform: translateY(-4px) scale(1.04); }
}

@keyframes methodStatHoursEnter {
  0%, 100% { transform: scaleX(1); }
  48% { transform: scaleX(1.14); }
}

@keyframes methodStatWorkshopsEnter {
  0%, 100% { height: 18px; }
  48% { height: 25px; }
}

@keyframes methodStatFormatFrontEnter {
  0%, 100% { transform: none; }
  48% { transform: translate(-3px, 3px); }
}

@keyframes methodStatFormatBackEnter {
  0%, 100% { transform: none; }
  48% { transform: translate(3px, -3px); }
}

@keyframes methodStatVisualEnter {
  0%, 100% { filter: none; }
  46% { filter: saturate(1.16) brightness(1.06); }
}

@media (max-width: 560px) {
  .method-stats .method-stat-card {
    min-height: 148px;
    padding: 15px 14px 14px;
    border-radius: var(--r-sm);
    gap: 10px;
  }

  .method-stats .method-stat-label {
    margin-top: 11px;
    padding-top: 0;
    font-size: 13px;
  }

  .method-stats .method-stat-src {
    margin-top: 5px;
    font-size: 11px;
  }

  .method-stat-modules {
    gap: 4px;
  }

  .method-stat-visual {
    width: 100%;
  }

  .method-stat-workshops {
    gap: 3px;
    height: 36px;
  }

  .method-stat-formats {
    width: 52px;
    height: 40px;
  }

  .method-stat-formats i {
    width: 34px;
    height: 28px;
    border-radius: var(--r-xs);
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-stats .method-stat-card,
  .method-stats .method-stat-card *,
  .method-stats .method-stat-card::before,
  .method-stats .method-stat-card::after {
    transition: none !important;
    animation: none !important;
  }

}

/* Certificate fullscreen preview: keep the image truly centered and the close control compact. */
.certificate-lightbox:not([open]) {
  display: none !important;
}

.certificate-lightbox[open] {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 3.5vw, 44px);
  overflow: hidden;
  background: transparent;
}

.certificate-lightbox-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 92vw;
  max-height: calc(100dvh - clamp(32px, 7vw, 88px));
  margin: 0;
  padding: 0;
}

.certificate-lightbox img {
  width: auto;
  max-width: 92vw;
  height: auto;
  max-height: calc(100dvh - clamp(32px, 7vw, 88px));
  border-radius: var(--r-sm);
  object-fit: contain;
}

.certificate-lightbox-close {
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 16, 26, 0.72);
  box-shadow: var(--elev-3) rgba(0, 0, 0, 0.22);
}

.certificate-lightbox-close svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 560px) {
  .certificate-lightbox[open] {
    padding: 14px;
  }

  .certificate-lightbox-shell,
  .certificate-lightbox img {
    max-width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
  }

  .certificate-lightbox-close {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }
}

/* Graduate comments: focused detail with an interactive alumni rail. */
#testimonials .testimonials-showcase {
  grid-template-columns: minmax(0, 1.34fr) minmax(310px, 0.66fr);
  width: min(115%, calc(100vw - 112px));
  justify-self: center;
  position: relative;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--border) 72%, var(--blue) 28%);
  border-radius: var(--r-lg);
  box-shadow: var(--elev-5) rgba(7, 18, 35, 0.08);
  transition:
    transform 320ms var(--ease),
    border-color 240ms var(--ease),
    box-shadow 320ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  #testimonials .testimonials-showcase:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--border) 48%, var(--blue) 52%);
    box-shadow: var(--elev-5) rgba(7, 18, 35, 0.13);
  }
}

#testimonials .testimonial-featured {
  --testimonial-progress: 16.6667%;
  min-height: 538px;
  padding: 39px 53px 37px !important;
  justify-content: center;
  background: color-mix(in srgb, var(--card-bg) 97%, var(--blue) 3%) !important;
}

#testimonials .testimonial-featured .testimonial-summary,
#testimonials .testimonial-featured .testimonial-text,
#testimonials .testimonial-featured .testimonial-meta,
#testimonials .testimonial-featured .testimonial-author {
  transition:
    opacity 150ms var(--ease),
    transform 190ms var(--ease),
    filter 180ms var(--ease);
}

#testimonials .testimonial-featured.is-leaving .testimonial-summary,
#testimonials .testimonial-featured.is-leaving .testimonial-text,
#testimonials .testimonial-featured.is-leaving .testimonial-meta,
#testimonials .testimonial-featured.is-leaving .testimonial-author {
  filter: blur(2px);
}

#testimonials .testimonial-summary {
  margin-top: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.4;
  letter-spacing: 0;
}

#testimonials .testimonial-featured .testimonial-text {
  max-width: 874px;
  margin: 21px 0 25px;
  font-size: clamp(25px, 2.07vw, 32px);
  font-weight: 600;
  line-height: 1.45;
}

#testimonials .testimonial-meta {
  margin-bottom: 25px;
  font-size: 13px;
  line-height: 1.45;
}

#testimonials .testimonial-featured .testimonial-author {
  gap: 18px;
  width: fit-content;
  transition:
    opacity 150ms var(--ease),
    transform 220ms var(--ease),
    filter 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  #testimonials .testimonial-featured .testimonial-author:hover {
    transform: translateX(3px);
  }
}

#testimonials .testimonial-featured .testimonial-role {
  font-size: 15px;
}

#testimonials .testimonial-featured .testimonial-company {
  font-size: 14px;
}

#testimonials .testimonial-featured .testimonial-avatar {
  width: 83px;
  height: 83px;
  flex-basis: 83px;
  background: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 68%, white);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--blue) 9%, transparent);
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

#testimonials .testimonial-featured .testimonial-author:hover .testimonial-avatar {
  transform: translateY(-3px) scale(1.035);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--blue) 13%, transparent);
}

#testimonials .testimonial-profiles {
  position: relative;
  gap: 0;
  padding: 6px 0;
  background: color-mix(in srgb, var(--card-bg) 92%, var(--blue) 8%);
}

#testimonials .testimonial-profile {
  min-height: 90px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 13px 23px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 0;
  transition:
    background-color 220ms var(--ease),
    color 220ms var(--ease);
}

#testimonials .testimonial-profile:last-child {
  border-bottom: 0;
}

#testimonials .testimonial-profile::before {
  inset: 15px auto 15px 0;
  width: 3px;
  border-radius: 999px;
  transform: scaleY(0.35);
  opacity: 0;
  transition: transform 220ms var(--ease), opacity 180ms var(--ease);
}

#testimonials .testimonial-profile:hover {
  padding-left: 23px;
  transform: none;
  background: color-mix(in srgb, var(--blue) 8%, transparent);
}

#testimonials .testimonial-profile.is-active {
  padding-left: 23px;
  transform: none;
  background: color-mix(in srgb, var(--blue) 12%, var(--card-bg));
  box-shadow: none;
}

#testimonials .testimonial-profile.is-active::before {
  transform: scaleY(1);
  opacity: 1;
}

#testimonials .testimonial-profile-avatar {
  width: 53px;
  height: 53px;
  flex-basis: 53px;
  border-color: color-mix(in srgb, var(--blue) 28%, var(--border));
  transition:
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    color 220ms var(--ease),
    transform 260ms var(--ease);
}

#testimonials .testimonial-profile:hover .testimonial-profile-avatar,
#testimonials .testimonial-profile.is-active .testimonial-profile-avatar {
  transform: translateY(-1px) scale(1.07);
}

#testimonials .testimonial-profile.is-active .testimonial-profile-avatar {
  animation: testimonialProfileSettle 320ms var(--ease);
}

#testimonials .testimonial-featured.is-entering .testimonial-avatar {
  animation: testimonialAvatarSettle 260ms var(--ease);
}

@keyframes testimonialContentEnter {
  from {
    opacity: 0;
    transform: translateY(9px) scale(0.992);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes testimonialProfileSettle {
  0% { transform: translateY(1px) scale(0.96); }
  65% { transform: translateY(-2px) scale(1.09); }
  100% { transform: translateY(-1px) scale(1.07); }
}

@keyframes testimonialAvatarSettle {
  0% { transform: translateY(4px) scale(0.94); }
  70% { transform: translateY(-2px) scale(1.025); }
  100% { transform: translateY(0) scale(1); }
}

#testimonials .testimonial-profile-copy strong {
  font-size: 15px;
  line-height: 1.25;
}

#testimonials .testimonial-profile-copy span {
  font-size: 12.5px;
}

#testimonials .testimonial-profile-copy small {
  margin-top: 1px;
}

html[data-theme="light"] #testimonials .testimonials-showcase {
  box-shadow: var(--elev-5) rgba(31, 54, 91, 0.11);
}

html[data-theme="light"] #testimonials .testimonial-profiles {
  background: #f7f9fc;
}

html[data-theme="light"] #testimonials .testimonial-profile.is-active {
  background: #edf3fd;
  box-shadow: none;
}

@media (max-width: 900px) {
  #testimonials .testimonials-showcase {
    grid-template-columns: 1fr;
    border-radius: var(--r-md);
  }

  #testimonials .testimonial-featured {
    min-height: 390px;
  }

  #testimonials .testimonial-profiles {
    padding: 0;
    gap: 0;
  }

  #testimonials .testimonial-profile,
  #testimonials .testimonial-profile:hover,
  #testimonials .testimonial-profile.is-active {
    transform: none;
    border-radius: 0;
  }

  #testimonials .testimonial-profile {
    border-right: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  }

  #testimonials .testimonial-profile:nth-child(even) {
    border-right: 0;
  }

  #testimonials .testimonial-profile:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  #testimonials .testimonial-featured {
    min-height: 0;
    padding: 24px 20px 22px !important;
    justify-content: flex-start;
  }

  #testimonials .testimonial-summary {
    margin-top: 0;
    font-size: 13px;
  }

  #testimonials .testimonial-featured .testimonial-text {
    margin: 14px 0 18px;
    font-size: 17px;
  }

  #testimonials .testimonial-meta {
    margin-bottom: 18px;
    font-size: 11px;
  }

  #testimonials .testimonial-featured .testimonial-avatar {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 9%, transparent);
  }

  #testimonials .testimonial-profile {
    min-height: 82px;
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 10px 12px;
  }

  #testimonials .testimonial-profile-avatar {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  #testimonials .testimonial-profile:hover,
  #testimonials .testimonial-profile.is-active {
    padding-left: 15px;
  }

}

@media (prefers-reduced-motion: reduce) {
  #testimonials .testimonials-showcase,
  #testimonials .testimonial-featured .testimonial-avatar,
  #testimonials .testimonial-profile,
  #testimonials .testimonial-profile-avatar {
    transition: none !important;
    animation: none !important;
  }
}

/* NPS section: quieter, more editorial proof block */
#nps .nps-grid {
  grid-template-columns: minmax(300px, 0.92fr) minmax(460px, 1.35fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 58px);
}

#nps .nps-score-stack {
  display: grid;
  gap: 16px;
}

#nps .nps-big.nps-score-card {
  position: relative;
  display: grid;
  grid-template-columns: 152px minmax(138px, 1fr);
  align-items: center;
  gap: clamp(18px, 2.2vw, 26px);
  min-height: 218px;
  padding: clamp(24px, 2.6vw, 34px) !important;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--blue) 34%, var(--border)) !important;
  background: var(--card-bg);
}

#nps .nps-big.nps-score-card::before {
  content: none;
  display: none;
}

#nps .nps-big.nps-score-card::after {
  content: none;
  display: none;
}

#nps .nps-ring {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 152px;
  height: 152px;
  margin: 0;
  transition: transform 260ms var(--ease);
}

#nps .nps-ring .nps-number {
  position: relative !important;
  inset: auto !important;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  color: var(--text) !important;
  font-size: clamp(38px, 3vw, 46px);
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  transform: none !important;
  font-variant-numeric: tabular-nums;
}

#nps .nps-proof-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  min-width: 138px;
}

#nps .nps-title {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

#nps .nps-benchmark {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
}

#nps .nps-benchmark-track {
  width: min(220px, 100%);
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 72%, transparent);
}

#nps .nps-benchmark-fill {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

#nps .nps-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 !important;
  margin-top: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--card-bg);
  box-shadow: var(--elev-4) rgba(17, 24, 39, 0.06);
}

#nps .nps-extra-card {
  min-height: 96px;
  padding: 18px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#nps .nps-extra-card + .nps-extra-card {
  border-left: 1px solid var(--border) !important;
}

#nps .nps-extra-num {
  color: var(--text) !important;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.03em;
}

#nps .nps-extra-label {
  max-width: 160px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

#nps .nps-survey-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(26px, 3.4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--card-bg);
  box-shadow: var(--elev-5) rgba(17, 24, 39, 0.07);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

#nps .nps-survey-panel::before {
  content: none;
  display: none;
}

#nps .nps-question {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.015em;
}

#nps .nps-bar-list {
  display: grid;
  gap: 18px;
}

#nps .nps-bar-item {
  margin: 0 !important;
}

#nps .nps-bar-label {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

#nps .nps-bar-label span:last-child {
  color: var(--blue) !important;
  font-weight: 800;
}

#nps .nps-bar-track {
  height: 9px;
  overflow: visible;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 72%, transparent);
}

#nps .nps-bar-fill {
  position: relative;
  height: 100%;
  border-radius: inherit;
  background: var(--blue) !important;
}

#nps .nps-bar-fill::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--card-bg);
  transform: translate(50%, -50%);
  box-shadow: var(--elev-1) rgba(37, 99, 235, 0.18);
}

#nps .nps-bar-fill-alt {
  background: #6d63d8 !important;
}

#nps .nps-bar-item:nth-child(3) .nps-bar-fill::after {
  display: none;
}

#nps .nps-insight {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--blue) 42%, var(--border));
  border-radius: var(--r-md);
  background: var(--card-bg);
}

#nps .nps-insight-copy {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

#nps .nps-insight-copy span {
  color: var(--blue) !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] #nps .nps-extra,
html[data-theme="dark"] #nps .nps-survey-panel {
  background: var(--card-bg);
  box-shadow: var(--elev-5) rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] #nps .nps-big.nps-score-card::before {
  content: none;
  display: none;
}

@media (hover: hover) {
  #nps .nps-big.nps-score-card:hover .nps-ring {
    transform: translateY(-2px) scale(1.012);
  }

  #nps .nps-survey-panel:hover {
    border-color: color-mix(in srgb, var(--blue) 26%, var(--border));
    box-shadow: var(--elev-5) rgba(17, 24, 39, 0.09);
    transform: translateY(-2px);
  }
}

@media (max-width: 900px) {
  #nps .nps-grid {
    grid-template-columns: 1fr;
  }

  #nps .nps-big.nps-score-card {
    grid-template-columns: 152px minmax(138px, 1fr);
  }
}

@media (max-width: 560px) {
  #nps .nps-grid {
    gap: 18px;
    margin-top: 28px;
  }

  #nps .nps-big.nps-score-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px 18px !important;
    text-align: center;
  }

  #nps .nps-ring {
    justify-self: center;
    width: 144px;
    height: 144px;
  }

  #nps .nps-ring .nps-number {
    font-size: 38px;
  }

  #nps .nps-benchmark-track {
    justify-self: center;
    width: min(220px, 86%);
  }

  #nps .nps-extra-card {
    min-height: 82px;
    padding: 14px 16px !important;
  }

  #nps .nps-extra-label {
    max-width: none;
    font-size: 12px;
  }

  #nps .nps-survey-panel {
    padding: 22px 18px;
    border-radius: var(--r-md);
  }

  #nps .nps-question {
    margin-bottom: 18px;
  }

  #nps .nps-bar-list {
    gap: 14px;
  }

  #nps .nps-insight {
    margin-top: 20px;
    padding: 15px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #nps .nps-big.nps-score-card,
  #nps .nps-ring,
  #nps .nps-survey-panel {
    transition: none !important;
  }
}

/* Living interface motion: quick, local, and disabled for reduced motion. */
.reveal-on-scroll {
  transform: translateY(14px) scale(0.992);
  transition:
    opacity 420ms var(--ease) var(--reveal-delay, 0ms),
    transform 420ms var(--ease) var(--reveal-delay, 0ms),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    background-color 220ms var(--ease) !important;
}

.living-parallax {
  --living-parallax-y: 0px;
  transform: translate3d(0, var(--living-parallax-y), 0) scale(1.018);
  transform-origin: center;
  transition: transform 180ms linear, filter 240ms var(--ease);
  will-change: transform;
}

.founder-photo.living-parallax {
  transform-origin: center bottom;
}

.course-media-visual > img.living-parallax,
.course-media-visual > video.living-parallax {
  --living-pointer-x: 0px;
  --living-pointer-y: 0px;
  transform: translate3d(
    var(--living-pointer-x),
    calc(var(--living-parallax-y) + var(--living-pointer-y)),
    0
  ) scale(1.035);
}

.course-media-item.has-pointer-parallax {
  --media-tilt-x: 0deg;
  --media-tilt-y: 0deg;
  transform-style: preserve-3d;
}

@media (hover: hover) and (pointer: fine) {
  .course-media-item.has-pointer-parallax:hover {
    transform: translateY(var(--media-card-hover-y)) perspective(900px)
      rotateX(var(--media-tilt-x)) rotateY(var(--media-tilt-y)) scale(var(--media-card-hover-scale));
  }

  .course-telegram-cover.has-pointer-parallax:hover {
    opacity: 1;
  }

  .course-media-item.has-pointer-parallax.is-pointer-active .course-media-visual > img.living-parallax,
  .course-media-item.has-pointer-parallax.is-pointer-active .course-media-visual > video.living-parallax {
    transition-duration: 70ms;
    transition-timing-function: var(--ease);
  }
}

@media (hover: hover) and (pointer: fine) {
  .founder-card:hover .founder-photo.living-parallax {
    transform: translate3d(0, var(--living-parallax-y), 0) scale(1.035);
  }

  .cert-preview-button:hover .cert-img.living-parallax {
    transform: translate3d(0, var(--living-parallax-y), 0) scale(1.028);
  }
}

.living-action {
  --living-action-x: 0px;
  --living-action-y: 0px;
  transform: translate3d(var(--living-action-x), var(--living-action-y), 0);
  transition-property: transform, box-shadow, background-color, border-color, color;
  transition-duration: 140ms, 200ms, 180ms, 180ms, 180ms;
  transition-timing-function: var(--ease), var(--ease), var(--ease), var(--ease), var(--ease);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .living-action:hover {
    transform: translate3d(
      var(--living-action-x),
      calc(var(--living-action-y) - 2px),
      0
    );
  }
}

.living-action:active {
  transform: translate3d(var(--living-action-x), var(--living-action-y), 0) scale(0.982);
  transition-duration: 60ms;
}

/* Premium polish layer for page motion, cards, media focus, and controls. */
#hero {
  isolation: isolate;
}

#hero::before,
#hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

#hero::before {
  inset: -16% -10% -12%;
  background:
    linear-gradient(
      118deg,
      color-mix(in srgb, var(--blue) 10%, transparent) 0%,
      transparent 31%,
      color-mix(in srgb, var(--cyan) 7%, transparent) 54%,
      transparent 72%,
      color-mix(in srgb, #7d8fbf 9%, transparent) 100%
    );
  filter: blur(22px);
  opacity: 0.5;
  transform: translate3d(-1.5%, 0, 0);
  animation: heroAmbientSweep 18s var(--ease-loop) infinite alternate;
}

#hero::after {
  top: 16%;
  right: 5%;
  width: min(48vw, 680px);
  height: 38%;
  background:
    linear-gradient(
      105deg,
      transparent 0%,
      color-mix(in srgb, var(--blue) 8%, transparent) 33%,
      color-mix(in srgb, var(--cyan) 7%, transparent) 52%,
      transparent 82%
    );
  filter: blur(46px);
  opacity: 0.28;
  transform: rotate(-7deg) translate3d(0, 0, 0);
  animation: heroAmbientRibbon 22s var(--ease-loop) infinite alternate;
}

html[data-theme="dark"] #hero::before {
  opacity: 0.3;
}

html[data-theme="dark"] #hero::after {
  opacity: 0.18;
}

.cert-preview-button {
  isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--border) 72%, var(--blue) 28%);
  box-shadow:
    0 18px 46px rgba(8, 19, 38, 0.1),
    inset 0 1px 0 color-mix(in srgb, #fff 42%, transparent);
  transition:
    transform 280ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 280ms var(--ease);
}

.cert-preview-button::before,
.cert-preview-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.cert-preview-button::before {
  z-index: 2;
  inset: -34% -72%;
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 42%,
    color-mix(in srgb, var(--cyan) 18%, rgba(255, 255, 255, 0.1)) 50%,
    rgba(255, 255, 255, 0.06) 56%,
    transparent 68%
  );
  opacity: 0;
  transform: translateX(-42%) rotate(5deg);
  transition:
    opacity 220ms var(--ease),
    transform 720ms var(--ease);
}

.cert-preview-button::after {
  z-index: 1;
  inset: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(4, 12, 24, 0.22);
}

.cert-preview-action {
  z-index: 3;
}

@media (hover: hover) and (pointer: fine) {
  .cert-preview-button:hover,
  .cert-preview-button:focus-visible {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--blue) 48%, var(--border));
    box-shadow:
      0 24px 58px rgba(8, 19, 38, 0.16),
      inset 0 1px 0 color-mix(in srgb, #fff 54%, transparent);
  }

  .cert-preview-button:hover::before,
  .cert-preview-button:focus-visible::before {
    opacity: 1;
    transform: translateX(42%) rotate(5deg);
  }
}

.course-media-item,
.telegram-video-slot {
  transition:
    transform 340ms var(--ease),
    opacity 220ms var(--ease),
    filter 220ms var(--ease),
    border-color 240ms var(--ease),
    box-shadow 340ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .course-media:has(.course-media-item:hover) :is(.course-media-item, .telegram-video-slot):not(:hover),
  .course-media:has(.telegram-video-slot:hover) :is(.course-media-item, .telegram-video-slot):not(:hover) {
    opacity: 0.58;
    filter: saturate(0.72) brightness(0.78);
  }

  .course-media:has(.course-media-item:hover) :is(.course-media-item, .telegram-video-slot):hover,
  .course-media:has(.telegram-video-slot:hover) :is(.course-media-item, .telegram-video-slot):hover {
    opacity: 1;
    filter: none;
  }
}

#testimonials .testimonial-featured.is-entering .testimonial-summary,
#testimonials .testimonial-featured.is-entering .testimonial-text,
#testimonials .testimonial-featured.is-entering .testimonial-meta,
#testimonials .testimonial-featured.is-entering .testimonial-author {
  animation-fill-mode: both;
}

#testimonials .testimonial-featured.is-entering .testimonial-summary {
  animation-delay: 0ms;
}

#testimonials .testimonial-featured.is-entering .testimonial-text {
  animation-delay: 42ms;
}

#testimonials .testimonial-featured.is-entering .testimonial-meta {
  animation-delay: 78ms;
}

#testimonials .testimonial-featured.is-entering .testimonial-author {
  animation-delay: 110ms;
}

#testimonials .testimonial-profile.is-active .testimonial-profile-avatar {
  box-shadow:
    0 0 0 5px color-mix(in srgb, var(--blue) 10%, transparent), var(--elev-2) color-mix(in srgb, var(--blue) 18%, transparent);
}

#testimonials .testimonial-profile.is-active .testimonial-profile-copy strong {
  color: color-mix(in srgb, var(--text) 82%, var(--blue) 18%);
}

#testimonials .testimonial-autoplay-progress {
  overflow: hidden;
  height: 4px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--blue) 82%, #6f8fbd),
    color-mix(in srgb, var(--cyan) 58%, var(--blue))
  );
  box-shadow: 0 0 14px color-mix(in srgb, var(--blue) 34%, transparent);
  opacity: 0.86;
}

#testimonials .testimonial-autoplay-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: translateX(-100%);
  animation: testimonialProgressSheen 1.9s linear infinite;
}

:is(.btn-primary, .btn-secondary, .pricing-cta, .nav-cta, .theme-toggle, .lang-trigger, .hero-showcase-arrow, .course-media-lightbox-close, .course-media-lightbox-nav button) {
  transition:
    transform 180ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 180ms var(--ease),
    background-color 180ms var(--ease),
    color 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  :is(.btn-primary, .btn-secondary, .pricing-cta, .nav-cta, .theme-toggle, .lang-trigger, .hero-showcase-arrow, .course-media-lightbox-close, .course-media-lightbox-nav button):hover {
    transform: translateY(-2px) scale(1.01);
  }
}

:is(.btn-primary, .btn-secondary, .pricing-cta, .nav-cta, .theme-toggle, .lang-trigger, .hero-showcase-arrow, .course-media-lightbox-close, .course-media-lightbox-nav button):active {
  transform: translateY(0) scale(0.982);
  transition-duration: 70ms;
}

@media (hover: hover) and (pointer: fine) {
  nav :is(.nav-cta, .theme-toggle, .lang-trigger):hover,
  nav :is(.nav-cta, .theme-toggle, .lang-trigger):focus-visible {
    transform: none !important;
  }
}

nav :is(.nav-cta, .theme-toggle, .lang-trigger):active {
  transform: none !important;
}

@keyframes heroAmbientSweep {
  0% {
    transform: translate3d(-1.5%, -0.6%, 0) scale(1);
  }
  52% {
    transform: translate3d(1.2%, 0.9%, 0) scale(1.018);
  }
  100% {
    transform: translate3d(2.4%, -0.4%, 0) scale(1.01);
  }
}

@keyframes heroAmbientRibbon {
  0% {
    transform: rotate(-7deg) translate3d(-10px, -4px, 0);
  }
  100% {
    transform: rotate(-4deg) translate3d(18px, 10px, 0);
  }
}

@keyframes testimonialProgressSheen {
  to {
    transform: translateX(100%);
  }
}

.method-stat-separator {
  margin-inline: 3px;
  color: var(--text-muted);
  font-weight: 500;
}

.community-big.count-up {
  display: block;
}

#testimonials .testimonial-autoplay-progress {
  position: absolute;
  z-index: 4;
  right: 46px;
  bottom: 10px;
  left: 46px;
  height: 4px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--blue) 82%, #6f8fbd),
    color-mix(in srgb, var(--cyan) 58%, var(--blue))
  );
  border-radius: 999px;
  box-shadow: 0 0 14px color-mix(in srgb, var(--blue) 34%, transparent);
  opacity: 0.86;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

#testimonials .testimonial-autoplay-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: translateX(-100%);
  animation: testimonialProgressSheen 1.9s linear infinite;
}

/* Hero map: one-time regional reveal and restrained pointer depth. */
#hero .hero-map svg {
  --hero-map-pointer-x: 0px;
  --hero-map-pointer-y: 0px;
  transform: translate3d(
    var(--hero-map-pointer-x),
    var(--hero-map-pointer-y),
    0
  );
  transform-origin: center;
  transition: transform 380ms var(--ease);
  will-change: transform;
}

#hero .hero-logo-pattern img {
  --hero-pattern-pointer-x: 0px;
  --hero-pattern-pointer-y: 0px;
  transform: translate3d(
    var(--hero-pattern-pointer-x),
    var(--hero-pattern-pointer-y),
    0
  );
  transform-origin: center;
  transition: transform 440ms var(--ease);
  will-change: transform;
}

#hero.is-map-pointer-active .hero-map svg,
#hero.is-map-pointer-active .hero-logo-pattern img {
  transition-duration: 90ms;
  transition-timing-function: var(--ease);
}

#hero .hero-map-seam-underlay {
  animation: heroMapUnderlayReveal 420ms 60ms var(--ease) both;
}

#hero .hero-map-neighbor {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroMapNeighborReveal 520ms var(--ease) both !important;
}

#hero .hero-map-kazakhstan { animation-delay: 100ms !important; }
#hero .hero-map-turkmenistan { animation-delay: 180ms !important; }
#hero .hero-map-kyrgyzstan { animation-delay: 260ms !important; }
#hero .hero-map-tajikistan { animation-delay: 340ms !important; }

html[data-theme] #hero .hero-map-uz {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 2px 5px color-mix(in srgb, var(--map-uz-shadow) 72%, transparent));
  animation: heroUzbekistanReveal 760ms 460ms var(--ease) both !important;
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme] #hero .hero-map-uz:hover {
    stroke-width: 3.15;
    filter: drop-shadow(0 3px 7px color-mix(in srgb, var(--map-uz-shadow) 82%, transparent));
  }
}

@keyframes heroMapUnderlayReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroMapNeighborReveal {
  from {
    opacity: 0;
    transform: translateY(7px) scale(0.985);
  }
  to {
    opacity: 0.7;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroUzbekistanReveal {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
    filter: drop-shadow(0 0 0 transparent);
  }
  58% {
    opacity: 1;
    transform: translateY(0) scale(1.025);
    filter: drop-shadow(0 0 12px color-mix(in srgb, var(--map-uz-shadow) 92%, transparent));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 2px 5px color-mix(in srgb, var(--map-uz-shadow) 72%, transparent));
  }
}

@media (max-width: 900px), (hover: none), (pointer: coarse) {
  #hero .hero-map svg,
  #hero .hero-logo-pattern img {
    transform: none;
    transition: none;
    will-change: auto;
  }
}

@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .living-parallax,
  .course-media-visual > img.living-parallax,
  .course-media-visual > video.living-parallax {
    transform: none !important;
    will-change: auto;
  }

  .course-media-item.has-pointer-parallax,
  .course-media-item.has-pointer-parallax:hover {
    transform: none;
  }

  .telegram-video-slot.has-telegram-parallax .telegram-video-ring,
  .telegram-video-slot.has-telegram-parallax:hover .telegram-video-ring {
    transform: none !important;
    will-change: auto;
  }

  .living-action,
  .living-action:hover {
    transform: none;
    will-change: auto;
  }

  .living-action:active {
    transform: scale(0.982);
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero::before,
  #hero::after,
  #hero .hero-map svg,
  #hero .hero-logo-pattern img,
  #hero .hero-map-seam-underlay,
  #hero .hero-map-neighbor,
  html[data-theme] #hero .hero-map-uz,
  .cert-preview-button::before,
  #testimonials .testimonial-autoplay-progress::after {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .living-parallax,
  .course-media-visual > img.living-parallax,
  .course-media-visual > video.living-parallax,
  .course-media-item.has-pointer-parallax,
  .course-media-item.has-pointer-parallax:hover,
  .cert-preview-button,
  .telegram-video-slot.has-telegram-parallax .telegram-video-ring,
  .telegram-video-slot.has-telegram-parallax:hover .telegram-video-ring,
  .living-action,
  .living-action:hover,
  .living-action:active {
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .course-media-lightbox-stage.is-telegram::before,
  .telegram-media-player:fullscreen::before,
  .telegram-media-surface::before,
  .course-media,
  .course-media-wave,
  .telegram-video-ring::before {
    animation: none !important;
  }

  #testimonials .testimonial-autoplay-progress {
    display: none;
  }

  #testimonials .testimonial-featured.is-entering .testimonial-summary,
  #testimonials .testimonial-featured.is-entering .testimonial-text,
  #testimonials .testimonial-featured.is-entering .testimonial-meta,
  #testimonials .testimonial-featured.is-entering .testimonial-author {
    animation: none !important;
  }
}

/* Focused visual polish: localized banner, clearer previews and denser proof blocks. */
.top-banner-showcase .top-banner-slide:first-child {
  position: absolute;
}

.top-banner-language-copy {
  position: absolute;
  z-index: 3;
  top: 57%;
  left: 23.8%;
  display: flex;
  align-items: flex-start;
  width: 52%;
  min-height: 30%;
  padding: 0.25% 0.2%;
  background: #07090d;
  color: #f8fbff;
  font-size: clamp(15px, 1.45vw, 25px);
  line-height: 1.16;
  font-weight: 760;
  letter-spacing: 0;
  text-align: left;
}

html[data-theme="light"] .top-banner-language-copy {
  background: rgb(248, 251, 255);
  box-shadow: 0 0 18px 18px rgb(248, 251, 255);
  color: #06285f;
}

html[data-theme="dark"] .top-banner-language-copy {
  background: rgb(5, 10, 18);
  box-shadow: 0 0 18px 18px rgb(5, 10, 18);
}

.course-media-visual--video-frame > video {
  filter: blur(3.3px) saturate(0.94) contrast(1.025);
  transform: scale(1.052);
  transition: filter 240ms var(--ease), transform 360ms var(--ease);
}

.telegram-video-preview > video {
  filter: blur(2.5px) saturate(0.95) contrast(1.025);
  transition: filter 240ms var(--ease), transform 360ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .course-media-item:hover .course-media-visual--video-frame > video,
  .course-media-item:focus-visible .course-media-visual--video-frame > video {
    filter: blur(1.4px) saturate(1) contrast(1.035);
    transform: scale(1.042);
  }

  .telegram-video-slot:hover .telegram-video-preview > video,
  .telegram-video-slot:focus-visible .telegram-video-preview > video {
    filter: blur(1.3px) saturate(1) contrast(1.035);
  }
}

@media (min-width: 721px) {
  .founder-achievements {
    gap: 12px;
  }

  .founder-achievements .achievement {
    line-height: 1.5;
  }

  .founder-achievements .achievement:nth-child(4) {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }

  .founder-achievements .achievement:nth-child(n + 4) {
    color: color-mix(in srgb, var(--text-muted) 90%, var(--text));
    font-size: 0.94em;
  }

  #pricing .pricing-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
  }

  #pricing .pricing-meta-row {
    display: block;
    min-width: 0;
    padding: 14px 12px;
  }

  #pricing .pricing-meta-row + .pricing-meta-row {
    border-top: 0;
    border-left: 1px solid var(--border);
  }

  #pricing .pricing-meta dt {
    margin-bottom: 7px;
    font-size: 11px;
    line-height: 1.2;
  }

  #pricing .pricing-meta dd {
    font-size: 12px;
    line-height: 1.38;
  }

  #pricing .pricing-features {
    gap: 9px;
  }

  #pricing .pricing-features li {
    line-height: 1.42;
  }
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Cursor-reactive Hero field, adapted from 21cloud's restrained dot physics. */
#hero .hero-field-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.68;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.42), #000 48%, #000);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.42), #000 48%, #000);
}

html[data-theme="light"] #hero .hero-field-canvas {
  opacity: 0.52;
  mix-blend-mode: multiply;
}

#hero .hero-logo-pattern {
  z-index: 1;
}

#hero .hero-map {
  z-index: 2;
}

#hero .hero-inner {
  z-index: 3;
}

@media (max-width: 900px), (hover: none), (pointer: coarse) {
  html[data-theme] #hero .hero-field-canvas {
    opacity: 0.34;
    mix-blend-mode: normal;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), #000 58%, rgba(0, 0, 0, 0.54));
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), #000 58%, rgba(0, 0, 0, 0.54));
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme] #hero .hero-field-canvas {
    opacity: 0.28;
  }
}

@media (max-width: 560px) {
  nav,
  .top-banner,
  .top-banner-showcase,
  .top-banner-viewport,
  body > section,
  .full-bg,
  .full-bg > section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .top-banner-language-copy {
    top: 57%;
    left: 23.8%;
    width: 53%;
    min-height: 32%;
    padding: 0;
    font-size: clamp(7px, 2.45vw, 10px);
    line-height: 1.15;
  }

  .founder-achievements .achievement:nth-child(4) {
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }
}

/* Mobile-only redesign for graduate stories and course media. */
@media (max-width: 560px) {
  #testimonials {
    padding-inline: 16px !important;
  }

  #testimonials > .tag {
    margin-bottom: 9px;
  }

  #testimonials > h2 {
    max-width: 340px;
    margin-bottom: 0;
    font-size: clamp(27px, 7.8vw, 32px);
    line-height: 1.08;
  }

  #testimonials .testimonials-showcase,
  html[data-theme="light"] #testimonials .testimonials-showcase {
    width: 100%;
    display: block;
    margin-top: 18px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #testimonials .testimonial-featured {
    min-height: 0;
    padding: 20px 18px 17px !important;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--border));
    border-radius: var(--r-md);
    background: color-mix(in srgb, var(--card-bg) 97%, var(--blue) 3%) !important;
    box-shadow: var(--elev-3) rgba(18, 35, 61, 0.1);
  }

  #testimonials .testimonial-summary {
    font-size: 12px;
    line-height: 1.42;
  }

  #testimonials .testimonial-featured .testimonial-text {
    margin: 13px 0 0;
    font-size: 17px;
    line-height: 1.48;
  }

  #testimonials .mobile-content-toggle {
    margin-top: 8px;
    min-height: 32px;
    padding-block: 5px;
  }

  #testimonials .testimonial-meta {
    margin: 10px 0 16px;
    gap: 6px;
    font-size: 10.5px;
  }

  #testimonials .testimonial-featured .testimonial-author {
    width: 100%;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  #testimonials .testimonial-featured .testimonial-avatar {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 8%, transparent);
  }

  #testimonials .testimonial-featured .testimonial-name {
    font-size: 15px;
    line-height: 1.25;
  }

  #testimonials .testimonial-featured .testimonial-role,
  #testimonials .testimonial-featured .testimonial-company {
    font-size: 11px;
    line-height: 1.35;
  }

  #testimonials .testimonial-profiles,
  html[data-theme="light"] #testimonials .testimonial-profiles {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 10px;
    padding: 2px 1px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border: 0;
    background: transparent;
  }

  #testimonials .testimonial-profiles::-webkit-scrollbar,
  .course-media-grid::-webkit-scrollbar {
    display: none;
  }

  #testimonials .testimonial-profile,
  #testimonials .testimonial-profile:hover,
  #testimonials .testimonial-profile.is-active {
    width: 96px;
    min-width: 96px;
    min-height: 82px;
    flex: 0 0 96px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 6px;
    padding: 8px 6px;
    scroll-snap-align: center;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: color-mix(in srgb, var(--card-bg) 96%, transparent);
    text-align: center;
    transform: none;
  }

  #testimonials .testimonial-profile.is-active,
  html[data-theme="light"] #testimonials .testimonial-profile.is-active {
    border-color: color-mix(in srgb, var(--blue) 58%, var(--border));
    background: color-mix(in srgb, var(--blue) 10%, var(--card-bg));
    box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--blue) 74%, transparent);
  }

  #testimonials .testimonial-profile::before {
    display: none;
  }

  #testimonials .testimonial-profile-avatar,
  #testimonials .testimonial-profile:hover .testimonial-profile-avatar,
  #testimonials .testimonial-profile.is-active .testimonial-profile-avatar {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    transform: none;
  }

  #testimonials .testimonial-profile-copy {
    width: 100%;
    min-width: 0;
  }

  #testimonials .testimonial-profile-copy strong {
    display: block;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #testimonials .testimonial-profile-copy span {
    display: block;
    overflow: hidden;
    margin-top: 1px;
    font-size: 10.5px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #testimonials .testimonial-profile-copy small {
    display: none;
  }

  .course-media {
    margin-top: 34px;
    margin-inline: 0;
    padding: 18px 12px 16px;
    border-radius: var(--r-lg);
  }

  .course-media::after {
    inset: 7px;
    border-radius: var(--r-md);
  }

  .course-media-heading {
    gap: 7px;
    margin-bottom: 14px;
    padding-inline: 5px;
  }

  .course-media-label {
    margin-bottom: 6px;
    font-size: 10.5px;
  }

  .course-media-heading h3 {
    font-size: 27px;
  }

  .course-media-heading p {
    max-width: 300px;
    font-size: 12px;
    line-height: 1.42;
  }

  .course-media-grid {
    min-height: 0;
    display: flex;
    grid-template: none;
    gap: 10px;
    padding: 1px 5px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .course-media-grid .course-media-item,
  .course-media-grid .course-media-main,
  .course-media-grid .course-media-video,
  .course-media-grid .course-media-team,
  .course-media-grid .course-media-workshop {
    width: auto;
    height: 218px;
    min-height: 218px;
    flex: 0 0 84%;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: center;
    border-radius: var(--r-md);
  }

  .course-media-grid .course-media-main {
    flex-basis: 92%;
  }

  .course-media-item {
    padding: 17px;
  }

  .course-media-open {
    top: 10px;
    right: 10px;
    width: 31px;
    height: 31px;
  }

  .course-media-caption strong,
  .course-telegram-cover .course-media-caption strong {
    font-size: 17px;
    line-height: 1.16;
  }

  .course-media-caption small {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.3;
  }

  .course-telegram-media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 4px;
    padding: 4px 5px 3px;
  }

  .course-telegram-cover {
    width: 100%;
    height: 184px;
    min-height: 184px;
    left: 0;
    aspect-ratio: auto;
    opacity: 1;
    transform: none;
    border-radius: var(--r-md);
  }

  .course-telegram-slots {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 10px;
    left: 0;
    top: 0;
    padding: 0 2px;
  }

  .telegram-video-slot {
    width: min(142px, calc((100vw - 86px) / 2));
  }

  .telegram-video-play {
    width: 43px;
    height: 43px;
  }

  .telegram-video-play svg {
    width: 26px;
    height: 26px;
  }

  .telegram-video-duration {
    bottom: 9px;
    min-width: 34px;
    padding: 2px 6px;
    font-size: 10px;
  }
}

/* Final mobile coherence pass: one grid, readable density and stable controls. */
@media (max-width: 560px) {
  section,
  .full-bg[id],
  .course-media {
    scroll-margin-top: 70px;
  }

  body > section,
  .full-bg > section {
    padding-inline: 16px !important;
  }

  nav {
    min-height: 58px;
    padding: 6px 10px;
  }

  nav > img {
    width: 72px !important;
    height: auto !important;
    max-height: 40px;
  }

  .nav-actions {
    gap: 5px;
  }

  .lang-trigger,
  .theme-toggle {
    min-height: 38px;
  }

  .lang-trigger {
    padding-inline: 9px;
  }

  .theme-toggle {
    width: 44px;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 11px;
    font-size: 10.5px;
    line-height: 1.15;
  }

  #problem .career-compare {
    margin-top: 23px;
  }

  #problem .career-compare-head {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    padding: 0 11px 8px;
  }

  #problem .career-compare-line {
    display: none;
  }

  #problem .career-compare-row {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    gap: 7px;
    min-height: 64px;
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: color-mix(in srgb, var(--card-bg) 96%, var(--blue) 4%);
  }

  #problem .career-compare-value {
    font-size: 12px;
    line-height: 1.32;
  }

  #problem .compare-row-arrow {
    width: 28px;
    height: 28px;
  }

  #method .method-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #method .method-stats .method-stat-card {
    min-height: 154px;
    padding: 14px 12px 12px;
    border-radius: var(--r-md);
  }

  #method .method-stats .method-stat-big {
    font-size: 34px;
    line-height: 1;
  }

  #method .method-stats .method-stat-card:nth-child(2) .method-stat-big {
    font-size: 30px;
  }

  #method .method-stats .method-stat-label {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.3;
  }

  #method .method-stats .method-stat-src {
    font-size: 10px;
    line-height: 1.35;
  }

  #method .experience-wordmarks {
    margin-top: 18px;
    padding: 14px 0 8px;
  }

  #method .experience-wordmarks-label {
    margin-bottom: 7px;
    font-size: 10.5px;
    letter-spacing: 0.11em;
  }

  #method .experience-wordmarks-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  #method .experience-wordmark {
    min-width: 0;
    padding: 8px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
    font-size: 11px;
    line-height: 1.2;
  }

  #certificate .cert-features {
    gap: 8px;
    margin-top: 18px;
    border-top: 0;
  }

  #certificate .cert-feature,
  #certificate .cert-feature:nth-child(odd) {
    min-height: 70px;
    padding: 10px !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--r-sm);
    background: var(--card-bg) !important;
  }

  #certificate .cert-feature.is-active,
  #certificate .cert-feature:hover,
  #certificate .cert-feature:focus-visible {
    transform: none;
  }

  #certificate .cert-num {
    width: 25px;
    height: 25px;
  }

  #certificate .cert-feature h3 {
    font-size: 11.5px;
    line-height: 1.22;
  }

  #final .final-glow,
  html[data-theme="light"] #final .final-glow,
  html[data-theme="dark"] #final .final-glow {
    padding: 28px 0 24px !important;
  }

  #final .final-process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  #final .final-process-item,
  #final .final-process-item:first-child,
  #final .final-process-item:last-child {
    min-height: 78px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 12px;
    padding: 13px 0;
    opacity: 1;
    transform: none;
  }

  #final .final-process-item + .final-process-item {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  #final .final-process-num {
    grid-row: 1 / 3;
    align-self: center;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--border));
    border-radius: 50%;
    background: color-mix(in srgb, var(--blue) 9%, var(--card-bg));
    font-size: 10.5px;
  }

  #final .final-process-item strong {
    align-self: end;
    font-size: 13px;
    line-height: 1.3;
  }

  #final .final-process-item small {
    align-self: start;
    margin-top: 3px;
    overflow: visible;
    font-size: 10.5px;
    line-height: 1.38;
    -webkit-line-clamp: unset;
  }

  #final .final-btns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
  }

  #final .final-btns .btn-primary,
  #final .final-btns .btn-secondary {
    width: 100%;
    min-height: 46px;
  }

  #final .final-privacy {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 14px;
    text-align: left;
  }

  #final .final-contact {
    gap: 0;
    margin-top: 16px;
  }

  #final .final-contact-item {
    width: 100%;
    min-height: 42px;
    padding: 9px 0;
    border-top: 1px solid var(--border);
  }

  footer.site-footer {
    padding: 24px 18px 96px;
  }

  footer.site-footer .footer-main {
    gap: 18px;
  }

  footer.site-footer .footer-main > div:first-child {
    display: block;
  }

  footer.site-footer .footer-brand {
    width: 84px;
    height: 38px;
  }

  footer.site-footer .footer-summary {
    max-width: 300px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.45;
  }

  footer.site-footer .footer-contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 2px;
  }

  footer.site-footer .footer-contacts a,
  footer.site-footer .footer-location {
    min-height: 36px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border);
    font-size: 11.5px;
  }

  footer.site-footer .footer-bottom {
    gap: 12px;
    margin-top: 16px;
    padding-top: 15px;
  }

  footer.site-footer .footer-copy,
  footer.site-footer .footer-legal a {
    font-size: 10.5px;
  }

  .mobile-sticky-cta {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    min-height: 58px;
    padding: 7px 8px 7px 12px;
    border-radius: var(--r-md);
  }

  .mobile-sticky-action {
    min-height: 42px;
    padding-inline: 15px;
  }
}

@media (max-width: 360px) {
  nav {
    padding-inline: 8px;
  }

  nav > img {
    width: 66px !important;
  }

  .lang-trigger {
    width: 48px;
    min-width: 48px;
    padding-inline: 7px;
  }

  .lang-trigger-label {
    display: none;
  }

  .lang-trigger-code {
    display: inline;
    color: var(--text) !important;
    font-size: 10.5px;
  }

  .lang-trigger-chevron {
    color: var(--text);
  }

  .theme-toggle {
    width: 42px;
  }

  .nav-cta {
    max-width: 105px;
    padding-inline: 8px;
    font-size: 10px;
  }
}

/* Final portrait-phone composition. Media becomes a real vertical gallery;
   only the two native Telegram circles remain paired. */
@media (max-width: 560px) {
  .course-media {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 16px 10px 14px;
    overflow: hidden;
  }

  .course-media-aurora {
    inset: -10px !important;
    width: auto !important;
    max-width: none;
    opacity: .62;
  }

  .course-media-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding-inline: 5px;
  }

  .course-media-heading p {
    max-width: none;
  }

  .course-media-grid {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 1px 5px 8px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .course-media-grid .course-media-item,
  .course-media-grid .course-media-main,
  .course-media-grid .course-media-video,
  .course-media-grid .course-media-team,
  .course-media-grid .course-media-workshop {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 196px;
    min-height: 196px;
    flex: none;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: none;
  }

  .course-media-grid .course-media-main {
    height: 224px;
    min-height: 224px;
  }

  .course-media-caption {
    width: auto;
    min-width: 0;
    right: 16px;
  }

  .course-telegram-media {
    width: 100%;
    min-width: 0;
    padding-inline: 5px;
  }

  .course-telegram-cover {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 196px;
    min-height: 196px;
  }

  .course-telegram-slots {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 2px 0 1px;
  }

  .telegram-video-slot {
    width: min(100%, 145px);
    max-width: 145px;
    justify-self: center;
  }

  #testimonials .testimonial-profiles,
  html[data-theme="light"] #testimonials .testimonial-profiles {
    max-width: 100%;
    padding-inline: 1px;
    scroll-padding-inline: 1px;
  }
}

@media (max-width: 360px) {
  .course-media-grid .course-media-item,
  .course-media-grid .course-media-main,
  .course-media-grid .course-media-video,
  .course-media-grid .course-media-team,
  .course-media-grid .course-media-workshop,
  .course-telegram-cover {
    height: 184px;
    min-height: 184px;
  }

  .course-media-grid .course-media-main {
    height: 208px;
    min-height: 208px;
  }

  .telegram-video-slot {
    width: min(100%, 132px);
  }
}

/* Phones and compact tablets in landscape need the mobile content flow even
   when their CSS width crosses the desktop breakpoint. */
@media (min-width: 561px) and (max-width: 1024px) and (max-height: 600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .section-progress-nav {
    display: none !important;
  }

  body > section,
  .full-bg > section,
  section {
    padding-inline: 28px !important;
  }

  #hero {
    display: flex !important;
    min-height: auto !important;
    padding: 42px 28px 56px !important;
  }

  #hero .hero-inner {
    width: min(100%, 720px);
    max-width: none;
    margin-inline: auto;
  }

  #hero .hero-logo-pattern,
  #hero .hero-map,
  #hero .hero-showcase {
    display: none !important;
  }

  .problem-grid,
  .founders-grid,
  .method-grid,
  .modules-grid,
  .cert-grid,
  .nps-grid,
  .community-grid,
  .pricing-grid,
  .testimonials-grid,
  .extra-modules {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #method .method-grid {
    width: min(100%, 720px);
    margin-inline: auto;
    gap: 28px;
  }

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

  .course-media-shell,
  .course-media-module,
  .course-media-grid,
  .course-telegram-media,
  .course-telegram-slots,
  #nps .nps-grid,
  #nps .nps-survey-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* KPI interaction guardrails: no persistent decorative overlays, and pointer
   hover keeps its original physical lift even inside narrow desktop windows. */
.method-stats .method-stat-card::before,
.method-stats .method-stat-card::after {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

@media (hover: hover) and (pointer: fine) {
  .method-stats .method-stat-card:hover {
    transform: translateY(-3px) !important;
  }
}

/* Mobile header and banner repair: stable one-icon theme control and a
   full-height carousel with its navigation restored. */
@media (max-width: 560px) {
  nav {
    min-height: 60px;
    padding: 7px 10px;
  }

  nav > img {
    width: 72px !important;
    max-height: 40px;
  }

  .nav-actions {
    gap: 5px;
  }

  .theme-toggle,
  html[data-theme="light"] .theme-toggle,
  html[data-theme="dark"] .theme-toggle {
    position: relative;
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: color-mix(in srgb, var(--card-bg) 94%, transparent) !important;
    box-shadow: var(--elev-1) rgba(15, 31, 54, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .theme-toggle::before {
    display: none;
  }

  .theme-toggle-icon,
  .theme-toggle-icon.sun,
  .theme-toggle-icon.moon {
    position: absolute;
    top: 50%;
    right: auto;
    left: 50%;
    width: 17px;
    height: 17px;
    color: var(--text);
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 120ms var(--ease), transform 160ms var(--ease);
  }

  .theme-toggle-icon svg,
  .theme-toggle .theme-toggle-icon.moon svg {
    width: 17px;
    height: 17px;
  }

  html[data-theme="light"] .theme-toggle-icon.sun,
  html[data-theme="dark"] .theme-toggle-icon.moon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  html[data-theme="light"] .theme-toggle-icon.moon,
  html[data-theme="dark"] .theme-toggle-icon.sun {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }

  .top-banner-showcase {
    min-height: 220px;
  }

  .top-banner-showcase .top-banner-viewport {
    height: 128px;
  }

  .top-banner-showcase .top-banner-image {
    object-fit: contain;
    object-position: center;
    transform: scale(1.07);
  }

  .top-banner-showcase::after {
    display: none;
  }

  .top-banner-showcase .top-banner-image-dark {
    filter: none;
  }

  .top-banner-showcase .top-banner-language-copy {
    top: 57%;
    left: 23.8%;
    width: 53%;
    min-height: 32%;
    font-size: clamp(7px, 2.45vw, 10px);
  }

  .top-banner-showcase .top-banner-empty-slide span {
    width: min(78%, 280px);
    font-size: clamp(18px, 5.6vw, 23px);
    line-height: 1.18;
    text-align: center;
  }

  .top-banner-showcase .hero-showcase-controls {
    right: 50%;
    bottom: 8px;
    display: flex;
    transform: translateX(50%);
  }

  .top-banner-showcase .hero-showcase-dot:focus-visible {
    outline: none !important;
    box-shadow: none;
  }

  .top-banner-showcase .hero-showcase-arrow:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 20%, transparent);
  }
}

@media (max-width: 360px) {
  nav {
    padding-inline: 8px;
  }

  nav > img {
    width: 66px !important;
  }

  .theme-toggle,
  html[data-theme="light"] .theme-toggle,
  html[data-theme="dark"] .theme-toggle {
    flex-basis: 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }
}

/* Mobile visual polish: tighter proof blocks, cleaner rails, and less
   viewport-heavy media cards. */
@media (max-width: 560px) {
  #certificate .cert-features {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--card-bg);
  }

  #certificate .cert-feature,
  #certificate .cert-feature:nth-child(odd),
  html[data-theme="light"] #certificate .cert-feature {
    min-height: 58px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none;
  }

  #certificate .cert-feature + .cert-feature {
    border-top: 1px solid var(--border) !important;
  }

  #certificate .cert-num {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  #certificate .cert-feature h3 {
    font-size: 13px;
    line-height: 1.24;
  }

  #nps .nps-grid {
    gap: 12px;
  }

  #nps .nps-big.nps-score-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    min-height: 148px;
    padding: 16px !important;
    text-align: left;
    border-radius: var(--r-md);
  }

  #nps .nps-ring {
    width: 108px;
    height: 108px;
  }

  #nps .nps-ring .nps-number {
    font-size: 31px;
  }

  #nps .nps-proof-copy {
    gap: 7px;
    min-width: 0;
  }

  #nps .nps-title {
    font-size: 18px;
    white-space: normal;
  }

  #nps .nps-benchmark {
    font-size: 12px;
    line-height: 1.35;
  }

  #nps .nps-benchmark-track {
    justify-self: stretch;
    width: 100%;
    height: 5px;
  }

  #nps .nps-extra {
    border-radius: var(--r-md);
  }

  #nps .nps-extra-card {
    min-height: 78px;
    padding: 13px 15px !important;
  }

  #nps .nps-extra-num {
    font-size: 28px;
    line-height: 1;
  }

  #nps .nps-extra-label {
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 1.35;
  }

  #nps .nps-survey-panel {
    padding: 18px 16px;
    border-radius: var(--r-md);
  }

  #nps .nps-question {
    margin-bottom: 15px;
    font-size: 20px;
  }

  #pricing .pricing-card,
  #pricing .pricing-card.featured,
  html[data-theme="light"] #pricing .pricing-card.featured,
  html[data-theme="dark"] #pricing .pricing-card.featured {
    padding: 16px 14px 14px !important;
    border-radius: var(--r-sm);
  }

  #pricing .pricing-card.featured {
    box-shadow: var(--elev-3) rgba(13, 29, 54, 0.16);
  }

  #pricing .pricing-recommend {
    margin-bottom: 16px;
    padding: 5px 8px;
    font-size: 10.5px;
  }

  #pricing .pricing-plan {
    font-size: 11px;
    line-height: 1.25;
  }

  #pricing .pricing-price,
  #pricing .pricing-card.featured .pricing-price {
    margin: 9px 0 6px;
    font-size: 34px;
    line-height: 1;
  }

  #pricing .pricing-price span {
    font-size: 18px;
  }

  #pricing .pricing-description {
    margin-bottom: 8px;
    font-size: 11.5px;
    line-height: 1.42;
  }

  #pricing .pricing-hours {
    margin-bottom: 12px;
    font-size: 11px;
  }

  #pricing .pricing-cta {
    min-height: 42px;
    font-size: 12px;
  }

  #testimonials .testimonial-featured {
    padding: 18px 16px 15px !important;
    border-radius: var(--r-md);
    box-shadow: var(--elev-2) rgba(18, 35, 61, 0.08);
  }

  #testimonials .testimonial-featured .testimonial-text {
    font-size: 16px;
    line-height: 1.44;
  }

  #testimonials .testimonial-profiles,
  html[data-theme="light"] #testimonials .testimonial-profiles {
    gap: 7px;
    margin-top: 9px;
    padding-bottom: 6px;
  }

  #testimonials .testimonial-profile,
  #testimonials .testimonial-profile:hover,
  #testimonials .testimonial-profile.is-active {
    width: 108px;
    min-width: 108px;
    min-height: 78px;
    flex-basis: 108px;
    padding: 8px 7px;
    border-radius: var(--r-sm);
  }

  #testimonials .testimonial-profile-avatar,
  #testimonials .testimonial-profile:hover .testimonial-profile-avatar,
  #testimonials .testimonial-profile.is-active .testimonial-profile-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  #testimonials .testimonial-profile-copy strong {
    font-size: 10px;
  }

  #testimonials .testimonial-profile-copy span {
    font-size: 10.5px;
  }

  .course-media {
    margin-top: 26px;
    padding: 14px 9px 12px;
    border-radius: var(--r-md);
  }

  .course-media::after {
    inset: 5px;
    border-radius: var(--r-sm);
  }

  .course-media-heading {
    margin-bottom: 11px;
  }

  .course-media-heading h3 {
    font-size: 25px;
    line-height: 1.1;
  }

  .course-media-heading p {
    font-size: 11.5px;
    line-height: 1.38;
  }

  .course-media-grid {
    gap: 8px;
    padding-inline: 4px;
  }

  .course-media-grid .course-media-item,
  .course-media-grid .course-media-main,
  .course-media-grid .course-media-video,
  .course-media-grid .course-media-team,
  .course-media-grid .course-media-workshop,
  .course-telegram-cover {
    height: 160px;
    min-height: 160px;
    border-radius: var(--r-sm);
  }

  .course-media-grid .course-media-main {
    height: 174px;
    min-height: 174px;
  }

  .course-media-visual--video-frame > video,
  .telegram-video-preview > video {
    filter: blur(1.1px) saturate(0.98) contrast(1.02);
  }

  .course-media-caption {
    right: 13px;
    bottom: 13px;
    left: 13px;
  }

  .course-media-caption strong,
  .course-telegram-cover .course-media-caption strong {
    font-size: 15px;
    line-height: 1.16;
  }

  .course-media-caption small {
    font-size: 10.5px;
  }

  .course-media-open {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }

  .course-telegram-media {
    gap: 9px;
    padding-inline: 4px;
  }

  .course-telegram-slots {
    gap: 10px;
  }

  .telegram-video-slot {
    width: min(100%, 124px);
    max-width: 124px;
  }

  .telegram-video-caption {
    min-height: 34px;
    gap: 2px;
    padding-inline: 2px;
  }

  .telegram-video-caption strong {
    font-size: 11px;
  }

  .telegram-video-caption small {
    font-size: 10.5px;
  }

  .telegram-video-play {
    width: 36px;
    height: 36px;
  }

  .telegram-video-play svg {
    width: 21px;
    height: 21px;
  }

  #community .community-items {
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--card-bg);
  }

  #community .community-item,
  html[data-theme="light"] #community .community-item {
    min-height: 74px;
    padding: 11px 12px !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #community .community-item + .community-item {
    border-top: 1px solid var(--border);
  }

  #community .community-item-num {
    width: 24px;
    height: 24px;
    margin: 1px 0 0;
    font-size: 10.5px;
  }

  #community .community-item h3 {
    font-size: 13px;
    line-height: 1.25;
  }

  #community .community-item p {
    margin-top: 4px;
    font-size: 10.5px;
    line-height: 1.36;
  }

  #community .community-stat {
    min-height: 150px;
    border-radius: var(--r-sm);
  }

  #community .community-stat-main {
    padding: 22px 22px 16px;
  }

  #community .community-big {
    font-size: 56px;
  }

  #community .community-stat-title {
    max-width: 240px;
    margin-top: 8px;
    font-size: 15px;
  }

  #community .community-stat-footer {
    min-height: 62px;
    padding: 13px 22px;
  }

  #community .community-project-count {
    font-size: 27px;
  }

  #community .community-stat-sub {
    max-width: none;
    font-size: 10.5px;
  }

  .mobile-sticky-cta {
    min-height: 50px;
    padding: 6px 7px 6px 11px;
    border-radius: var(--r-sm);
  }

  .mobile-sticky-title {
    font-size: 12px;
  }

  .mobile-sticky-sub {
    font-size: 10.5px;
  }

  .mobile-sticky-action {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  #nps .nps-big.nps-score-card {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 11px;
  }

  #nps .nps-ring {
    width: 96px;
    height: 96px;
  }

  .course-media-grid .course-media-item,
  .course-media-grid .course-media-main,
  .course-media-grid .course-media-video,
  .course-media-grid .course-media-team,
  .course-media-grid .course-media-workshop,
  .course-telegram-cover {
    height: 148px;
    min-height: 148px;
  }

  .telegram-video-slot {
    max-width: 112px;
  }
}

/* Mobile polish pass: larger top carousel, denser certificate separators,
   better Android-style progress affordances. */
@media (max-width: 560px) {
  .top-banner-showcase {
    min-height: 190px;
    padding-bottom: 0;
    background: var(--card-bg);
  }

  .top-banner-showcase .top-banner-viewport {
    height: 154px;
  }

  .top-banner-showcase .top-banner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.14);
  }

  html[data-theme="light"] .top-banner-showcase .top-banner-image-light {
    object-position: 54% center;
  }

  html[data-theme="dark"] .top-banner-showcase .top-banner-image-dark {
    object-position: 54% center;
  }

  .top-banner-showcase .top-banner-language-copy {
    top: 59%;
    left: 24.5%;
    width: 50%;
    font-size: clamp(6.5px, 2.15vw, 9px);
    line-height: 1.12;
  }

  .top-banner-showcase .hero-showcase-controls {
    bottom: 8px;
    gap: 6px;
  }

  .top-banner-showcase .hero-showcase-arrow {
    width: 28px;
    height: 28px;
  }

  .top-banner-showcase .hero-showcase-dots {
    gap: 7px;
  }

  .top-banner-showcase .hero-showcase-dot span {
    width: 5.5px;
    height: 5.5px;
  }

  .top-banner-showcase .hero-showcase-dot.is-active span {
    width: 15px;
  }

  #certificate .cert-features {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--card-bg) 96%, #fff), var(--card-bg));
  }

  #certificate .cert-feature,
  #certificate .cert-feature:nth-child(odd),
  html[data-theme="light"] #certificate .cert-feature {
    min-height: 49px;
    align-items: center;
    padding: 8px 12px !important;
  }

  #certificate .cert-feature + .cert-feature {
    border-top-color: #d9e3f2 !important;
    box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 70%, transparent);
  }

  #certificate .cert-feature h3 {
    font-size: 12.5px;
  }

  #pricing .pricing-recommend {
    margin-left: 7px;
    transform: translateX(8px);
  }

  #testimonials .testimonial-featured {
    position: relative;
    padding-bottom: 20px !important;
  }

  #testimonials .testimonial-featured::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 8px;
    left: 48px;
    height: 3px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--border) 72%, transparent);
    pointer-events: none;
  }

  #testimonials .testimonial-autoplay-progress {
    z-index: 5;
    right: 18px;
    bottom: 8px;
    left: 48px;
    height: 3px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--blue) 72%, #8ab5ff);
    box-shadow: none;
    opacity: 0.9;
    transform-origin: left center;
  }

  #testimonials .testimonial-autoplay-progress::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
    color: color-mix(in srgb, var(--blue) 72%, #8ab5ff);
    transform: translateY(-50%);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 12%, transparent);
  }

  #testimonials .testimonial-autoplay-progress::after {
    display: none;
  }
}

@media (max-width: 360px) {
  .top-banner-showcase {
    min-height: 176px;
  }

  .top-banner-showcase .top-banner-viewport {
    height: 142px;
  }

  .top-banner-showcase .top-banner-image {
    transform: scale(1.12);
  }
}

/* Phone landscape: a dedicated compact composition for short but wide screens. */
@media (min-width: 561px) and (max-width: 1180px) and (max-height: 620px) {
  html,
  body {
    overflow-x: hidden;
  }

  .section-progress-nav,
  .mobile-sticky-cta {
    display: none !important;
  }

  nav {
    min-height: 54px;
    padding: 5px clamp(22px, 5vw, 48px);
  }

  nav > img {
    width: 78px !important;
  }

  .lang-trigger,
  .theme-toggle,
  .nav-cta {
    min-height: 36px;
  }

  .top-banner-showcase {
    display: none !important;
    min-height: 0;
  }

  .top-banner-showcase .top-banner-viewport {
    height: 62px;
  }

  .top-banner-showcase .top-banner-image {
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .top-banner-showcase .hero-showcase-controls {
    bottom: 6px;
  }

  .top-banner-showcase .top-banner-language-copy {
    display: none !important;
  }

  body > section,
  .full-bg > section,
  section {
    scroll-margin-top: 64px;
    padding: 26px clamp(28px, 5vw, 54px) 30px !important;
  }

  section > .tag,
  .modules-header .tag {
    margin-bottom: 8px;
  }

  section h2,
  .modules-header h2,
  #founders h2,
  #pricing h2,
  #testimonials h2 {
    max-width: 760px;
    font-size: clamp(22px, 3vw, 30px) !important;
    line-height: 1.06 !important;
  }

  section > p,
  .modules-header p {
    max-width: 720px;
    font-size: 13px;
    line-height: 1.45;
  }

  #hero {
    min-height: auto !important;
    padding: 74px clamp(34px, 6vw, 62px) 18px !important;
  }

  #hero .hero-inner {
    width: min(100%, 860px);
    max-width: none;
  }

  #hero .hero-logo-pattern,
  #hero .hero-map {
    display: none !important;
  }

  #hero h1 {
    max-width: 820px;
    font-size: clamp(28px, 3.65vw, 36px);
    line-height: 1.03;
  }

  #hero .hero-sub {
    max-width: 760px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  #hero .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  #hero .hero-stat-num {
    font-size: clamp(20px, 3vw, 26px);
  }

  #hero .hero-stat-label {
    font-size: 11px;
  }

  #hero .hero-ctas {
    max-width: 520px;
    margin-top: 10px;
    gap: 10px;
  }

  #hero .btn-primary,
  #hero .btn-secondary {
    min-height: 38px;
    font-size: 13px;
  }

  .founders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
    margin-top: 22px !important;
  }

  #founders section > p,
  #pricing section > p,
  #testimonials section > p,
  .modules-header p {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
  }

  .founder-card {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    grid-template-areas:
      "photo name"
      "photo title"
      "photo achievements";
    column-gap: 16px;
    align-items: start;
    min-height: 0;
    padding: 14px !important;
    border-radius: var(--r-md);
  }

  .founder-photo {
    grid-area: photo;
    width: 126px;
    height: 170px;
    border-radius: var(--r-md);
  }

  .founder-name {
    grid-area: name;
    margin: 4px 0 3px;
    font-size: 18px;
    line-height: 1.12;
  }

  .founder-title {
    grid-area: title;
    margin: 0 0 10px;
    font-size: 11px;
    line-height: 1.3;
  }

  .founder-achievements {
    grid-area: achievements;
    gap: 6px;
    margin: 0;
    padding: 0;
  }

  .founder-achievements .achievement:nth-child(n + 4) {
    display: none;
  }

  .founder-achievements .achievement {
    gap: 7px;
  }

  .founder-achievements .achievement-dot {
    width: 5px;
    height: 5px;
    margin-top: 6px;
  }

  .founder-achievements .achievement span {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .method-grid,
  .cert-grid,
  .nps-grid,
  .pricing-grid,
  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
  }

  .problem-grid,
  #modules .modules-grid,
  .extra-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  #modules .modules-header {
    max-width: 760px !important;
    margin-bottom: 18px !important;
  }

  #modules .modules-grid {
    width: 100% !important;
    border-top: 0 !important;
  }

  .module-card,
  #modules .mobile-module-card,
  #modules .module-card,
  html[data-theme="light"] #modules .module-card,
  html[data-theme="dark"] #modules .module-card,
  .extra-card,
  .problem-card,
  .pricing-card {
    min-height: 0 !important;
    padding: 15px !important;
    overflow: hidden !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--r-md);
    background: var(--card-bg) !important;
    box-shadow: var(--shadow-soft) !important;
  }

  #modules .module-card:hover,
  #modules .module-card:focus-visible,
  #modules .module-card.mobile-open {
    background: var(--card-bg) !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow-soft) !important;
    transform: none !important;
  }

  #modules .module-num {
    margin-bottom: 7px !important;
    font-size: 10px !important;
  }

  #modules .module-card h3,
  #modules .mobile-module-card h3,
  .extra-card h3 {
    font-size: 17px;
    line-height: 1.18;
  }

  #modules .module-card,
  #modules .mobile-module-card {
    height: 96px !important;
    opacity: 1 !important;
    transform: none !important;
  }

  #modules .module-tags,
  #modules .module-result,
  #modules .module-details,
  #modules .mobile-module-card .module-details,
  #modules .mobile-module-card.mobile-open .module-details,
  #modules .module-details-inner,
  #modules .mobile-module-card .mobile-module-toggle,
  #modules .mobile-collapse-shell {
    display: none !important;
  }

  #modules .module-list {
    margin-top: 10px;
  }

  #modules .module-list li {
    font-size: 11.5px;
    line-height: 1.35;
  }

  #modules .module-list li:nth-child(n + 3) {
    display: none;
  }

  #pricing .pricing-grid {
    align-items: stretch !important;
    gap: 14px !important;
    margin-top: 18px !important;
  }

  #pricing .pricing-card,
  #pricing .pricing-card.featured,
  html[data-theme="light"] #pricing .pricing-card.featured,
  html[data-theme="dark"] #pricing .pricing-card.featured {
    min-height: 0 !important;
    padding: 14px !important;
  }

  #pricing .pricing-recommend {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 10px 10px !important;
    padding: 5px 8px !important;
    font-size: 10.5px !important;
    transform: translateX(10px);
  }

  #pricing .pricing-plan {
    font-size: 10.5px !important;
  }

  .pricing-price,
  .pricing-card.featured .pricing-price,
  #pricing .pricing-price,
  #pricing .pricing-card.featured .pricing-price {
    margin: 8px 0 6px !important;
    font-size: clamp(28px, 3.6vw, 34px) !important;
  }

  #pricing .pricing-price span {
    font-size: 16px !important;
  }

  .pricing-description,
  .pricing-hours,
  #pricing .pricing-description,
  #pricing .pricing-hours {
    margin-bottom: 9px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  #pricing .pricing-meta,
  #pricing .pricing-card.featured .pricing-meta,
  #pricing .pricing-features,
  #pricing .pricing-card.featured .pricing-features {
    display: none !important;
  }

  #pricing .pricing-cta {
    min-height: 36px !important;
    font-size: 12px !important;
  }

  .course-media {
    padding: 16px;
    border-radius: var(--r-md);
  }

  .course-media-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
    gap: 16px;
    align-items: end;
    margin-bottom: 12px;
  }

  .course-media-heading h3 {
    font-size: 24px !important;
  }

  .course-media-heading p {
    font-size: 11px !important;
  }

  .course-media-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 136px !important;
    grid-auto-rows: 136px !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
    min-height: 0 !important;
  }

  .course-media-grid .course-media-item,
  .course-media-grid .course-media-main,
  .course-media-grid .course-media-video,
  .course-media-grid .course-media-team,
  .course-media-grid .course-media-workshop,
  .course-telegram-cover {
    grid-column: auto !important;
    grid-row: auto !important;
    height: 136px !important;
    min-height: 136px !important;
  }

  .course-telegram-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 182px;
    gap: 10px;
    margin-top: 10px !important;
    padding: 0 !important;
    align-items: stretch !important;
    min-height: 0 !important;
    min-width: 0;
  }

  .course-telegram-cover {
    left: auto !important;
    width: 100% !important;
    padding: 12px !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .course-telegram-slots {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
    justify-items: center;
    min-width: 0;
  }

  .telegram-video-slot {
    width: min(100%, 82px) !important;
    max-width: 82px !important;
  }

  .telegram-video-caption {
    min-height: 12px;
    padding: 0;
  }

  .telegram-video-caption strong {
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .telegram-video-caption small {
    display: none;
  }

  #testimonials .testimonials-showcase {
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
    gap: 12px;
  }

  #testimonials .testimonial-featured {
    min-height: 0;
    padding: 16px !important;
  }

  #testimonials .testimonial-text {
    font-size: 14px;
    line-height: 1.42;
  }

  #testimonials .testimonial-profiles {
    align-content: start;
    max-height: 250px;
    overflow: auto;
  }
}

/* Tactile glass modules: certificate proof points and NPS evidence. */
#nps {
  --module-surface: rgba(255, 255, 255, 0.76);
  --module-surface-strong: rgba(255, 255, 255, 0.9);
  --module-line: rgba(255, 255, 255, 0.9);
  --module-edge: rgba(124, 157, 207, 0.34);
  --module-shadow: rgba(42, 68, 108, 0.16);
  --module-shadow-soft: rgba(70, 94, 132, 0.08);
  --module-groove: rgba(95, 120, 158, 0.13);
  --module-text-soft: #6d788a;
}

#nps .nps-big.nps-score-card,
#nps .nps-extra,
#nps .nps-survey-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--module-surface) !important;
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(242, 247, 255, 0.58)) !important;
  border: 1px solid var(--module-edge);
  box-shadow:
    0 20px 42px var(--module-shadow-soft),
    0 6px 14px rgba(53, 75, 110, 0.08),
    inset 0 1px 0 var(--module-line),
    inset 0 -1px 0 rgba(88, 118, 164, 0.13);
  backdrop-filter: blur(20px) saturate(1.14);
  -webkit-backdrop-filter: blur(20px) saturate(1.14);
}

#nps .nps-big.nps-score-card,
#nps .nps-survey-panel {
  border-radius: var(--r-md);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

#nps .nps-big.nps-score-card::before,
#nps .nps-survey-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.98), transparent);
  pointer-events: none;
}

#nps .nps-big.nps-score-card::after,
#nps .nps-survey-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-sm);
  pointer-events: none;
}

#nps .nps-big.nps-score-card:hover,
#nps .nps-big.nps-score-card:focus-within,
#nps .nps-survey-panel:hover,
#nps .nps-survey-panel:focus-within {
  border-color: rgba(65, 121, 210, 0.5);
  box-shadow:
    0 24px 48px rgba(42, 68, 108, 0.14),
    0 7px 16px rgba(51, 94, 166, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(74, 110, 169, 0.15);
  transform: translateY(-2px);
}

#nps .nps-ring {
  border: 1px solid rgba(110, 144, 195, 0.25);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.96), rgba(235, 242, 253, 0.88));
  box-shadow:
    0 12px 24px rgba(47, 72, 110, 0.13),
    inset 0 2px 3px rgba(255, 255, 255, 0.98),
    inset 0 -5px 9px rgba(72, 107, 160, 0.13);
}

#nps .nps-number {
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.86), 0 4px 12px rgba(39, 64, 102, 0.1);
}

#nps .nps-benchmark-track,
#nps .nps-bar-track {
  overflow: visible;
  background: var(--module-groove);
  border: 1px solid rgba(92, 119, 160, 0.09);
  box-shadow:
    inset 0 2px 4px rgba(48, 66, 96, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

#nps .nps-benchmark-fill,
#nps .nps-bar-fill {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(25, 65, 133, 0.18),
    0 2px 5px rgba(45, 94, 174, 0.2);
}

#nps .nps-bar-fill::after {
  width: 11px;
  height: 11px;
  border: 2px solid rgba(255, 255, 255, 0.98);
  background: radial-gradient(circle at 35% 30%, #ffffff 0 20%, #dce9fb 45%, #78a2df 100%);
  box-shadow:
    0 3px 7px rgba(42, 71, 115, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

#nps .nps-extra {
  border-radius: var(--r-md);
}

#nps .nps-extra-card {
  background: rgba(255, 255, 255, 0.18);
}

#nps .nps-extra-card + .nps-extra-card {
  border-color: rgba(116, 143, 182, 0.2);
}

#nps .nps-insight {
  background: rgba(218, 230, 247, 0.32);
  border: 1px solid rgba(105, 143, 202, 0.32);
  box-shadow:
    inset 0 2px 6px rgba(74, 98, 134, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] #nps {
  --module-surface: rgba(20, 31, 48, 0.76);
  --module-surface-strong: rgba(26, 39, 59, 0.9);
  --module-line: rgba(255, 255, 255, 0.12);
  --module-edge: rgba(121, 157, 212, 0.24);
  --module-shadow: rgba(0, 0, 0, 0.34);
  --module-shadow-soft: rgba(0, 0, 0, 0.22);
  --module-groove: rgba(4, 12, 24, 0.46);
  --module-text-soft: #aebbd0;
}

html[data-theme="dark"] #nps .nps-big.nps-score-card,
html[data-theme="dark"] #nps .nps-extra,
html[data-theme="dark"] #nps .nps-survey-panel {
  background-color: var(--module-surface) !important;
  background-image: linear-gradient(145deg, rgba(37, 53, 77, 0.76), rgba(15, 25, 40, 0.72)) !important;
  border-color: var(--module-edge);
  box-shadow:
    0 22px 44px var(--module-shadow-soft),
    0 7px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 var(--module-line),
    inset 0 -1px 0 rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] #nps .nps-ring {
  background: radial-gradient(circle at 35% 28%, rgba(84, 111, 151, 0.82), rgba(28, 43, 64, 0.96) 58%, rgba(13, 23, 38, 0.98));
  border-color: rgba(126, 166, 224, 0.32);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.28),
    inset 0 2px 3px rgba(255, 255, 255, 0.12),
    inset 0 -4px 8px rgba(0, 0, 0, 0.42);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] #nps .nps-number {
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.46), 0 4px 12px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] #nps .nps-extra-card {
  background: rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] #nps .nps-insight {
  background: rgba(5, 15, 29, 0.3);
  border-color: rgba(112, 154, 216, 0.28);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 760px) {
  #nps .nps-big.nps-score-card,
  #nps .nps-extra,
  #nps .nps-survey-panel {
    border-radius: var(--r-md);
    box-shadow:
      0 12px 24px var(--module-shadow-soft),
      0 4px 9px rgba(53, 75, 110, 0.07),
      inset 0 1px 0 var(--module-line),
      inset 0 -1px 0 rgba(88, 118, 164, 0.11);
  }

  #nps .nps-big.nps-score-card::after,
  #nps .nps-survey-panel::after {
    inset: 6px;
    border-radius: var(--r-sm);
  }

  #nps .nps-ring {
    box-shadow:
      0 8px 16px rgba(47, 72, 110, 0.12),
      inset 0 2px 3px rgba(255, 255, 255, 0.9),
      inset 0 -4px 7px rgba(72, 107, 160, 0.12);
  }

  html[data-theme="dark"] #nps .nps-ring {
    box-shadow:
      0 8px 16px rgba(0, 0, 0, 0.26),
      inset 0 2px 3px rgba(255, 255, 255, 0.1),
      inset 0 -4px 7px rgba(0, 0, 0, 0.4);
  }

}

@media (prefers-reduced-motion: reduce) {
  #nps .nps-big.nps-score-card,
  #nps .nps-survey-panel {
    transition: none;
  }
}

/* Restrained finish: keep depth, remove glossy and ornamental artifacts. */
#nps .nps-big.nps-score-card,
#nps .nps-extra,
#nps .nps-survey-panel {
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(244, 248, 255, 0.06)) !important;
  box-shadow:
    0 10px 24px rgba(55, 77, 112, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -1px 0 rgba(88, 118, 164, 0.06);
}

#nps .nps-big.nps-score-card::before,
#nps .nps-survey-panel::before {
  opacity: 0.16;
}

#nps .nps-big.nps-score-card::after,
#nps .nps-survey-panel::after,
#nps .nps-bar-fill::after {
  content: none !important;
  display: none !important;
}

#nps .nps-big.nps-score-card:hover,
#nps .nps-big.nps-score-card:focus-within,
#nps .nps-survey-panel:hover,
#nps .nps-survey-panel:focus-within {
  box-shadow:
    0 13px 28px rgba(48, 75, 118, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(74, 110, 169, 0.07);
}

#nps .nps-ring {
  background: #f3f6fb;
  box-shadow:
    0 6px 14px rgba(47, 72, 110, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

#nps .nps-number {
  text-shadow: none;
}

#nps .nps-benchmark-track,
#nps .nps-bar-track {
  box-shadow:
    inset 0 1px 2px rgba(48, 66, 96, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.38);
}

#nps .nps-benchmark-fill,
#nps .nps-bar-fill {
  box-shadow: none;
}

#nps .nps-insight {
  background: rgba(218, 230, 247, 0.18);
  box-shadow: inset 0 1px 3px rgba(74, 98, 134, 0.07);
}

html[data-theme="dark"] #nps .nps-big.nps-score-card,
html[data-theme="dark"] #nps .nps-extra,
html[data-theme="dark"] #nps .nps-survey-panel {
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.028), rgba(0, 0, 0, 0.05)) !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] #nps .nps-big.nps-score-card:hover,
html[data-theme="dark"] #nps .nps-big.nps-score-card:focus-within,
html[data-theme="dark"] #nps .nps-survey-panel:hover,
html[data-theme="dark"] #nps .nps-survey-panel:focus-within {
  box-shadow:
    0 13px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] #nps .nps-ring {
  background: #1a2a40;
  box-shadow:
    0 4px 9px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  text-shadow: none;
}

html[data-theme="dark"] #nps .nps-benchmark-track,
html[data-theme="dark"] #nps .nps-bar-track {
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] #nps .nps-insight {
  background: rgba(5, 15, 29, 0.18);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
}

/* Adaptive dot field shared by the site's primary background surfaces. */
.pointer-field-surface {
  position: relative;
  isolation: isolate;
}

.site-field-canvas {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
  mix-blend-mode: normal;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), #000 12%, #000 88%, rgba(0, 0, 0, 0.48));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), #000 12%, #000 88%, rgba(0, 0, 0, 0.48));
}

html[data-theme="light"] .site-field-canvas {
  opacity: 0.68;
  mix-blend-mode: normal;
}

.pointer-field-surface > :not(.site-field-canvas):not(.hero-logo-pattern):not(.hero-map) {
  position: relative;
  z-index: 1;
}

#hero .site-field-canvas {
  inset: 0;
  z-index: 0;
  transform: none;
}

@media (max-width: 900px), (hover: none), (pointer: coarse) {
  html[data-theme] .site-field-canvas {
    opacity: 0.32;
    mix-blend-mode: normal;
  }

  html[data-theme="light"] .site-field-canvas {
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme] .site-field-canvas {
    opacity: 0.22;
  }

  html[data-theme="light"] .site-field-canvas {
    opacity: 0.42;
  }
}

/* Mobile media and community composition. Keep imagery proportional and
   reserve compact, readable layouts for both phone orientations. */
@media (max-width: 560px) {
  .course-media-grid .course-media-item,
  .course-media-grid .course-media-video,
  .course-media-grid .course-media-team,
  .course-media-grid .course-media-workshop,
  .course-telegram-cover {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .course-media-grid .course-media-main {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .course-telegram-slots {
    gap: 14px;
  }

  .telegram-video-slot {
    width: min(100%, 146px);
    max-width: 146px;
  }

  #community .community-grid {
    gap: 10px;
    margin-top: 18px !important;
  }

  #community > h2 {
    font-size: 24px !important;
    line-height: 1.12 !important;
  }

  #community .community-items {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card-bg);
    box-shadow: var(--shadow-soft);
  }

  #community .community-item,
  html[data-theme="light"] #community .community-item {
    min-height: 80px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-content: center;
    padding: 12px 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none;
  }

  #community .community-item:nth-child(odd),
  #community .community-item:nth-child(-n + 2) {
    border: 0 !important;
  }

  #community .community-item + .community-item {
    border-top: 1px solid var(--border) !important;
  }

  #community .community-item-num {
    width: 28px;
    height: 28px;
    margin: 0;
    font-size: 10px;
  }

  #community .community-item h3 {
    margin: 0 0 4px;
    font-size: 13.5px;
    line-height: 1.22;
  }

  #community .community-item p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #community .community-stat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    min-height: 116px;
  }

  #community .community-stat-main {
    justify-content: center;
    padding: 16px 18px;
  }

  #community .community-big {
    font-size: 44px;
  }

  #community .community-stat-title {
    max-width: 145px;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.25;
  }

  #community .community-stat-footer {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 6px;
    align-content: center;
    padding: 16px 18px;
    border-top: 0;
    border-left: 1px solid var(--border);
  }

  #community .community-project-count {
    font-size: 40px;
    line-height: 0.9;
  }

  #community .community-stat-sub {
    max-width: 120px;
    font-size: 10.5px;
    line-height: 1.35;
  }
}

@media (max-width: 360px) {
  .telegram-video-slot {
    width: min(100%, 136px);
    max-width: 136px;
  }

  #community .community-item,
  html[data-theme="light"] #community .community-item {
    min-height: 76px;
    padding: 11px 12px !important;
  }

  #community .community-stat-main {
    padding-inline: 16px;
  }
}

@media (min-width: 561px) and (max-width: 1180px) and (max-height: 620px) {
  .course-media-grid {
    grid-template-rows: clamp(148px, 19vw, 172px) !important;
    grid-auto-rows: clamp(148px, 19vw, 172px) !important;
  }

  .course-media-grid .course-media-item,
  .course-media-grid .course-media-main,
  .course-media-grid .course-media-video,
  .course-media-grid .course-media-team,
  .course-media-grid .course-media-workshop,
  .course-telegram-cover {
    height: clamp(148px, 19vw, 172px) !important;
    min-height: clamp(148px, 19vw, 172px) !important;
  }

  .course-telegram-media {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.62fr);
  }

  .telegram-video-slot {
    width: min(100%, 110px) !important;
    max-width: 110px !important;
  }

  #community .community-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr) !important;
    gap: 12px;
  }

  #community .community-items {
    grid-template-columns: minmax(0, 1fr);
  }

  #community .community-item {
    min-height: 66px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 11px;
    padding: 10px 14px !important;
  }

  #community .community-item:nth-child(odd) {
    border-right: 0;
  }

  #community .community-item:nth-child(-n + 2) {
    border-bottom: 0;
  }

  #community .community-item + .community-item {
    border-top: 1px solid var(--border);
  }

  #community .community-item-num {
    width: 26px;
    height: 26px;
    font-size: 10.5px;
  }

  #community .community-item h3 {
    margin: 0 0 3px;
    font-size: 13px;
    line-height: 1.2;
  }

  #community .community-item p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #community .community-stat {
    min-height: 278px;
  }

  #community .community-stat-main {
    padding: 24px 26px 20px;
  }

  #community .community-big {
    font-size: clamp(54px, 7vw, 68px);
  }

  #community .community-stat-title {
    margin-top: 10px;
    font-size: 16px;
  }

  #community .community-stat-footer {
    min-height: 72px;
    padding: 14px 26px;
  }
}

/* Founder cards share the same translucent surface as the program KPI cards. */
#founders .founder-card,
#founders .founder-card:hover {
  background: rgba(127, 145, 170, 0.06) !important;
}

/* Certificate benefits use the same translucent surface in every state. */
#certificate .cert-features {
  background: transparent !important;
}

#certificate .cert-feature,
#certificate .cert-feature:nth-child(odd),
#certificate .cert-feature.is-active,
#certificate .cert-feature:hover,
#certificate .cert-feature:focus-visible,
html[data-theme="light"] #certificate .cert-feature,
html[data-theme="dark"] #certificate .cert-feature {
  background: color-mix(in srgb, var(--card-bg) 50%, transparent) !important;
}

/* Community impact: compact editorial metric with a translucent surface. */
#community .community-stat,
html[data-theme="dark"] #community .community-stat {
  align-self: start;
  grid-template-rows: auto 1fr auto;
  min-height: 286px;
  background: rgba(127, 145, 170, 0.06) !important;
}

#community .community-stat-eyebrow {
  padding: 24px 30px 0;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

#community .community-stat-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  justify-content: start;
  padding: 18px 30px 26px;
}

#community .community-big {
  font-size: clamp(58px, 6vw, 76px);
}

#community .community-stat-title {
  max-width: 170px;
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.25;
}

#community .community-stat-footer {
  position: relative;
  min-height: 78px;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 30px;
  border-top: 0;
}

#community .community-stat-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 66%;
  height: 1px;
  background: var(--border);
}

#community .community-project-count {
  font-size: 32px;
}

#community .community-stat-sub {
  max-width: 210px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.35;
}

@media (max-width: 560px) {
  #community .community-stat,
  html[data-theme="dark"] #community .community-stat {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
  }

  #community .community-stat-eyebrow {
    padding: 18px 18px 0;
    font-size: 10.5px;
  }

  #community .community-stat-main {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    padding: 14px 18px 18px;
  }

  #community .community-big {
    font-size: 48px;
  }

  #community .community-stat-title {
    max-width: 150px;
    margin: 0;
    font-size: 14px;
  }

  #community .community-stat-footer {
    min-height: 64px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 15px 18px;
    border-left: 0;
  }

  #community .community-stat-footer::before {
    left: 18px;
    width: 68%;
  }

  #community .community-project-count {
    font-size: 27px;
  }

  #community .community-stat-sub {
    max-width: none;
    font-size: 11px;
  }
}

/* Community overview reads as one connected data module. */
#community .community-grid {
  grid-template-columns: minmax(0, 1.72fr) minmax(300px, 0.88fr) !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(127, 145, 170, 0.06);
}

#community .community-items,
html[data-theme="dark"] #community .community-items {
  grid-auto-rows: 1fr;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

#community .community-stat,
html[data-theme="dark"] #community .community-stat {
  align-self: stretch;
  min-height: 100%;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

#community .community-stat-eyebrow {
  font-size: 12px;
  font-weight: 820;
}

@media (hover: hover) and (pointer: fine) {
  #community .community-stat:hover {
    border-color: var(--border);
    box-shadow: none;
    transform: none;
  }
}

@media (max-width: 920px) {
  #community .community-grid {
    grid-template-columns: 1fr !important;
  }

  #community .community-stat,
  html[data-theme="dark"] #community .community-stat {
    min-height: 240px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 560px) {
  #community .community-grid {
    border-radius: var(--r-sm);
  }

  #community .community-stat,
  html[data-theme="dark"] #community .community-stat {
    min-height: 0;
  }

  #community .community-stat-eyebrow {
    font-size: 10.5px;
  }
}

@media (min-width: 921px) {
  #community .community-item {
    min-height: 142px;
    padding: 22px 24px !important;
  }

  #community .community-stat,
  html[data-theme="dark"] #community .community-stat {
    grid-template-rows: auto auto auto;
    align-content: center;
    row-gap: 20px;
    padding: 24px 0 !important;
  }

  #community .community-stat-eyebrow {
    padding: 0 30px;
  }

  #community .community-stat-main {
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    transform: none;
  }

  #community .community-big {
    font-size: 64px;
  }

  #community .community-stat-title {
    max-width: none;
  }

  html[data-lang="ru"] #community .community-stat-title {
    font-size: 17px;
  }

  html[data-lang="uz"] #community .community-stat-title {
    font-size: 16px;
  }

  #community .community-stat-footer {
    min-height: 0;
    padding: 18px 30px 0;
  }
}

@media (min-width: 921px) and (max-width: 1100px) {
  #community .community-stat-main {
    gap: 10px;
    padding-inline: 12px;
  }

  #community .community-big {
    font-size: 62px;
  }

  #community .community-stat-title,
  html[data-lang="ru"] #community .community-stat-title {
    font-size: 15px;
  }

  html[data-lang="uz"] #community .community-stat-title {
    font-size: 14px;
  }
}

@media (max-width: 920px) {
  #community .community-stat-main {
    transform: none;
  }
}

/* Keep the regional map alive after its entry reveal. Pointer depth is applied
   to the inner SVG, so this slow wrapper motion composes without conflict. */
@keyframes unifiedHeroMapFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(0, -8px, 0) rotate(0.35deg) scale(1.008);
  }
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html[data-theme] #hero .hero-map {
    animation:
      unifiedHeroMapEnter 280ms var(--ease) both,
      unifiedHeroMapFloat 12s 280ms var(--ease-loop) infinite !important;
  }
}

/* Short phone landscape needs its own density, not scaled desktop modules. */
@media (min-width: 561px) and (max-width: 1180px) and (max-height: 620px) {
  #method .method-grid {
    width: 100%;
    max-width: none;
    gap: 14px;
    margin-top: 18px !important;
    align-items: start;
  }

  #method .method-steps {
    --method-route-left: 30px;
    --method-route-top: 31px;
    --method-route-bottom: 31px;
    gap: 0;
    padding: 7px 12px;
    border-radius: var(--r-md);
  }

  #method .method-step {
    gap: 10px;
    padding: 9px 0 !important;
  }

  #method .method-step-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: var(--r-sm);
  }

  #method .method-step-icon svg {
    width: 19px;
    height: 19px;
  }

  #method .method-step h3 {
    margin-bottom: 3px;
    font-size: 15px;
    line-height: 1.24;
  }

  #method .method-step p {
    font-size: 12px;
    line-height: 1.42;
  }

  #method .method-stats {
    gap: 8px;
  }

  #method .method-stats .method-stat-card {
    min-height: 142px;
    gap: 9px;
    padding: 13px 12px 12px;
  }

  #method .method-stats .method-stat-big,
  #method .method-stats .method-stat-card:nth-child(2) .method-stat-big {
    font-size: 30px;
  }

  #method .method-stats .method-stat-label {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.25;
  }

  #method .method-stats .method-stat-src {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.3;
  }

  #method .method-stat-modules {
    gap: 4px;
  }

  #method .method-stat-workshops {
    height: 25px;
  }

  #method .method-stat-workshops i {
    height: 14px;
  }

  #method .method-stat-workshops i:nth-child(2n) {
    height: 23px;
  }

  #method .method-stat-formats {
    width: 58px;
    height: 38px;
  }

  #method .method-stat-formats i {
    width: 36px;
    height: 28px;
  }

  #method .program-facts-note {
    margin-top: 14px;
    font-size: 10.5px;
    line-height: 1.4;
  }

  #method .experience-wordmarks {
    margin-top: 18px;
    padding: 12px 0;
  }

  #method .experience-wordmarks-label {
    margin-bottom: 9px;
    font-size: 10.5px;
  }

  #method .experience-wordmarks-list {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
  }

  #method .experience-wordmark {
    font-size: 10px;
  }

  #certificate .cert-grid {
    gap: 14px;
    margin-top: 18px !important;
    align-items: start;
  }

  #certificate .cert-preview {
    width: 100%;
    max-width: none;
    display: grid !important;
    grid-template-columns: minmax(190px, 1fr) minmax(118px, 0.62fr);
    gap: 12px;
    align-items: center !important;
    overflow: visible;
  }

  #certificate .cert-preview-button {
    width: 100%;
    min-width: 0;
    transform: none;
  }

  #certificate .certificate-student-media {
    --certificate-stack-step-x: 13px;
    --certificate-stack-step-y: 10px;
    --certificate-stack-total-x: 26px;
    --certificate-stack-total-y: 20px;
    --certificate-stack-card-trim: 16px;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  #certificate .cert-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #certificate .cert-feature,
  #certificate .cert-feature:nth-child(odd),
  html[data-theme="light"] #certificate .cert-feature,
  html[data-theme="dark"] #certificate .cert-feature {
    min-height: 126px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-content: start;
    gap: 9px;
    padding: 11px !important;
    border-radius: var(--r-sm);
    opacity: 0.82;
    transform: none;
  }

  #certificate .cert-feature.is-active,
  #certificate .cert-feature:hover,
  #certificate .cert-feature:focus-visible {
    opacity: 1;
    transform: none;
  }

  #certificate .cert-num {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }

  #certificate .cert-feature h3 {
    margin: 1px 0 4px;
    font-size: 13.5px;
    line-height: 1.22;
  }

  #certificate .cert-feature p {
    font-size: 11px;
    line-height: 1.38;
  }

  #testimonials .testimonials-showcase {
    align-items: start;
    margin-top: 18px;
  }

  #testimonials .testimonial-featured {
    min-height: 0;
    padding: 15px !important;
    justify-content: flex-start;
  }

  #testimonials .testimonial-summary {
    font-size: 11px;
    line-height: 1.35;
  }

  #testimonials .testimonial-featured .testimonial-text {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.42;
  }

  #testimonials .testimonial-featured .testimonial-text:not(.is-expanded) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  #testimonials .mobile-content-toggle {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    margin-top: 5px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    font: inherit;
    font-size: 10.5px;
    font-weight: 750;
  }

  #testimonials .mobile-content-toggle svg {
    width: 13px;
    height: 13px;
    margin-left: 4px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform 0.28s var(--ease);
  }

  #testimonials .mobile-content-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  #testimonials .testimonial-meta {
    gap: 5px;
    margin: 7px 0 10px;
    font-size: 10.5px;
  }

  #testimonials .testimonial-featured .testimonial-author {
    gap: 10px;
  }

  #testimonials .testimonial-featured .testimonial-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  #testimonials .testimonial-featured .testimonial-name {
    font-size: 13px;
  }

  #testimonials .testimonial-featured .testimonial-role,
  #testimonials .testimonial-featured .testimonial-company {
    font-size: 10px;
    line-height: 1.3;
  }

  #testimonials .testimonial-profiles {
    align-content: start;
    max-height: 272px;
    overflow: auto;
  }

  #community .community-grid {
    margin-top: 18px !important;
  }

  #community .community-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }

  #community .community-item {
    min-height: 108px;
    gap: 10px;
    padding: 12px !important;
  }

  #community .community-item-num {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }

  #community .community-item h3 {
    margin-bottom: 4px;
    font-size: 13.5px;
    line-height: 1.22;
  }

  #community .community-item p {
    font-size: 10.5px;
    line-height: 1.38;
  }

  #community .community-stat,
  html[data-theme="dark"] #community .community-stat {
    min-height: 216px;
  }

  #community .community-stat-eyebrow {
    padding: 16px 18px 0;
    font-size: 10.5px;
  }

  #community .community-stat-main {
    gap: 12px;
    padding: 12px 18px 16px;
  }

  #community .community-big {
    font-size: 52px;
  }

  #community .community-stat-title,
  html[data-lang="ru"] #community .community-stat-title,
  html[data-lang="uz"] #community .community-stat-title {
    max-width: none;
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
  }

  #community .community-stat-footer {
    min-height: 58px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 18px;
  }

  #community .community-stat-footer::before {
    left: 18px;
    width: 68%;
  }

  #community .community-project-count {
    font-size: 27px;
  }

  #community .community-stat-sub {
    font-size: 10.5px;
  }

  #final .final-glow,
  html[data-theme="light"] #final .final-glow,
  html[data-theme="dark"] #final .final-glow {
    padding: 28px 20px 26px !important;
  }

  #final .final-glow > p {
    max-width: 700px;
    margin-inline: auto;
    font-size: 12px;
    line-height: 1.4;
  }

  #final .final-process {
    margin-top: 18px;
  }

  #final .final-process-item,
  #final .final-process-item:first-child,
  #final .final-process-item:last-child {
    min-height: 96px;
    padding: 13px 16px 15px;
  }

  #final .final-process-num {
    margin-bottom: 7px;
    font-size: 10.5px;
  }

  #final .final-process-item strong {
    font-size: 12.5px;
    line-height: 1.25;
  }

  #final .final-process-item small {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.32;
  }

  #final .final-btns {
    gap: 10px;
    margin-top: 18px;
  }

  #final .final-btns .btn-primary,
  #final .final-btns .btn-secondary {
    min-height: 42px;
    font-size: 12px;
  }

  #final .final-privacy {
    margin-top: 10px;
    font-size: 10.5px;
  }

  #final .final-contact {
    gap: 18px;
    margin-top: 16px;
    padding-top: 16px;
    font-size: 11px;
  }
}

@media (min-width: 700px) and (max-width: 1180px) and (max-height: 620px) {
  #method .method-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  }

  #certificate .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #community .community-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr) !important;
    gap: 0 !important;
  }

  #community .community-stat,
  html[data-theme="dark"] #community .community-stat {
    align-self: stretch;
    border-top: 0;
    border-left: 1px solid var(--border);
  }
}

@media (min-width: 561px) and (max-width: 699px) and (max-height: 620px) {
  #certificate .cert-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #modules .modules-grid,
  #modules .extra-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #testimonials .testimonial-profiles,
  html[data-theme="light"] #testimonials .testimonial-profiles,
  html[data-theme="dark"] #testimonials .testimonial-profiles {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(6, minmax(0, 1fr)) !important;
  }

  #testimonials .testimonial-profile,
  #testimonials .testimonial-profile:hover,
  #testimonials .testimonial-profile.is-active {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 4px 8px !important;
    border-right: 0 !important;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent) !important;
  }

  #testimonials .testimonial-profile:last-child,
  #testimonials .testimonial-profile:last-child:hover,
  #testimonials .testimonial-profile:last-child.is-active {
    border-bottom: 0 !important;
  }

  #testimonials .testimonial-profile-avatar,
  #testimonials .testimonial-profile:hover .testimonial-profile-avatar,
  #testimonials .testimonial-profile.is-active .testimonial-profile-avatar {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
  }
}

/* Landscape proportion polish: preserve hierarchy without hiding useful copy. */
@media (min-width: 561px) and (max-width: 1180px) and (max-height: 620px) {
  #modules .extra-modules {
    align-items: stretch;
  }

  #modules .extra-card,
  html[data-theme="light"] #modules .extra-card,
  html[data-theme="dark"] #modules .extra-card {
    height: 174px;
    min-height: 174px !important;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    row-gap: 5px;
    align-content: start;
    padding: 14px !important;
  }

  #modules .extra-icon {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: var(--r-sm);
  }

  #modules .extra-icon svg {
    width: 17px;
    height: 17px;
  }

  #modules .extra-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.22;
  }

  #modules .extra-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  #certificate .cert-preview {
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
    align-self: center;
  }

  #certificate .certificate-student-media {
    --certificate-stack-card-trim: 12px;
  }

  #testimonials .testimonial-featured {
    position: relative;
    overflow: hidden;
  }

  #testimonials .testimonial-featured::after {
    content: "";
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: color-mix(in srgb, var(--border) 74%, transparent);
    pointer-events: none;
  }

  #testimonials .testimonial-autoplay-progress {
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.78;
  }

  #testimonials .testimonial-profiles,
  html[data-theme="light"] #testimonials .testimonial-profiles,
  html[data-theme="dark"] #testimonials .testimonial-profiles {
    width: 100%;
    min-width: 0;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-self: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: color-mix(in srgb, var(--card-bg) 92%, var(--blue) 8%);
  }

  #testimonials .testimonial-profile,
  #testimonials .testimonial-profile:hover,
  #testimonials .testimonial-profile.is-active {
    width: auto;
    min-width: 0;
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    justify-items: start;
    gap: 9px;
    padding: 7px 10px;
    border: 0;
    border-right: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    border-radius: 0;
    background: transparent;
    text-align: left;
    transform: none;
  }

  #testimonials .testimonial-profile:nth-child(even),
  #testimonials .testimonial-profile:nth-child(even):hover,
  #testimonials .testimonial-profile:nth-child(even).is-active {
    border-right: 0;
  }

  #testimonials .testimonial-profile:nth-last-child(-n + 2),
  #testimonials .testimonial-profile:nth-last-child(-n + 2):hover,
  #testimonials .testimonial-profile:nth-last-child(-n + 2).is-active {
    border-bottom: 0;
  }

  #testimonials .testimonial-profile:hover {
    background: color-mix(in srgb, var(--blue) 7%, transparent);
  }

  #testimonials .testimonial-profile.is-active,
  html[data-theme="light"] #testimonials .testimonial-profile.is-active,
  html[data-theme="dark"] #testimonials .testimonial-profile.is-active {
    background: color-mix(in srgb, var(--blue) 11%, var(--card-bg));
    box-shadow: none;
  }

  #testimonials .testimonial-profile-avatar,
  #testimonials .testimonial-profile:hover .testimonial-profile-avatar,
  #testimonials .testimonial-profile.is-active .testimonial-profile-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  #testimonials .testimonial-profile-copy {
    min-width: 0;
    text-align: left;
  }

  #testimonials .testimonial-profile-copy strong {
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #testimonials .testimonial-profile-copy span {
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #testimonials .testimonial-profile-copy small {
    display: none;
  }

  .course-telegram-slots {
    align-content: center;
  }

  .course-media {
    overflow: hidden;
  }

  .telegram-video-slot {
    width: clamp(104px, 14vw, 128px) !important;
    max-width: 128px !important;
    gap: 7px;
  }

  .telegram-video-caption {
    min-height: 16px;
  }

  .telegram-video-caption strong {
    font-size: 10.5px;
    line-height: 1.2;
  }

  #community .community-item {
    align-content: start;
  }

  #community .community-item h3 {
    font-size: 13px;
    line-height: 1.18;
  }

  #community .community-item p {
    display: -webkit-box;
    max-height: 40px;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

/* The advisor contains semantic sections, but must not inherit page gutters. */
.course-match-dialog .course-match-panel,
.course-match-dialog .course-match-step,
.course-match-dialog .course-match-result {
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

.course-match-dialog .course-match-step,
.course-match-dialog .course-match-result { width: 100%; }

/* ---------- PRESS, THE REST OF IT ---------------------------------------
   The button list above already answered a press. These did not: the course
   cards in the rail, the module cards, the advisor's answer buttons and the
   advisor card itself. All four lift under the pointer, so stopping dead
   under a click was the odd note. Same 0.982 and same 70ms as the buttons.

   The rail's cards sit out while the rail is being dragged -- a card
   shrinking under a finger that is scrolling reads as a misfire, not
   as feedback. */
:is(.course-match-options button, .module-card):active,
.home-course-viewport:not(.is-dragging) .home-course-card-link:active {
  transform: translateY(0) scale(0.982);
  transition-duration: 70ms;
}

/* The advisor presses as one card. The button that takes the click fills it,
   so scaling the button instead would only shrink its contents inside a
   frame that stayed put. */
.course-match-teaser:has(.course-match-teaser-main:active) {
  transform: scale(0.985);
  transition-duration: 70ms;
}

/* ---------- TOUCH TARGETS -------------------------------------------------
   The carousel dots are 18x28 and its arrows 28x28, and the advisor's close
   button is 28x28. Those are the right sizes to look at and the wrong ones to
   hit: a fingertip covers about 44px, so a miss lands on the slide behind.

   The area is enlarged by an overlay rather than by padding, so nothing moves
   and the design is untouched. The dots stop at their own 25px pitch instead
   of 44, because reaching further would mean taking the neighbour's taps. */
.hero-showcase-dot,
.hero-showcase-arrow,
.course-match-teaser-close {
  position: relative;
}

.hero-showcase-dot::after,
.hero-showcase-arrow::after,
.course-match-teaser-close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}

.hero-showcase-dot::after {
  width: 25px;
}

@media (pointer: coarse) {
  /* The advisor card clips its own corners, so an overlay reaching past the
     close button is cut off before a finger ever meets it. The column widens
     instead. The card is 73px tall, so 44 fits without touching anything. */
  .course-match-teaser {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .course-match-teaser-close {
    width: 44px;
    height: 44px;
  }
}

/* ---------------------------------------------------------------------------
   ПОЧЕМУ ЗДЕСЬ НЕТ content-visibility

   Пробовали: браузеру разрешали не отрисовывать секции за экраном, и загрузка
   заметно ускорялась. Но content-visibility включает вместе с собой
   contain: paint, а тот обрезает всё, что выходит за границы элемента. У этой
   вёрстки за границы секций выходит многое: полноширинные подложки
   .motion-tone-alt::before рисуются шире своей секции нарочно, через
   --motion-page-width. С обрезкой они кончались резкой вертикальной кромкой
   посреди экрана.

   Второе, что оно ломало: contain: paint делает элемент содержащим блоком, и
   offsetTop у секций внутри .full-bg начинал отсчитываться от обёртки, а не от
   документа. Боковая навигация из-за этого подсвечивала не тот раздел.

   Оба раза поломка была видна не сразу и не в тех местах, куда смотришь.
   Если возвращать -- то не иначе как с проверкой каждой секции на вылезающие
   за край украшения, во всех темах и на нескольких ширинах.
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   КАРТОЧКА-СОВЕТНИК: ПРИГЛАШЕНИЕ В ОДНУ СТРОКУ

   Было три строки текста в трёх разных начертаниях -- заглавный синий ярлык,
   заголовок и уточнение -- плюс кнопка и крестик. Шесть элементов в карточке
   высотой в палец: глазу негде остановиться, и целое читается как бланк, а не
   как предложение помочь.

   Осталось три вещи: значок, вопрос и стрелка. Значок делает ту работу, ради
   которой стоял ярлык -- сразу говорит, о чём речь, -- но не отнимает строку.
   Вопрос сам зовёт нажать. Стрелка вместо слова: направление понятно без
   перевода и не спорит по весу с вопросом.

   Ярлык и уточнение никуда не делись из разметки: они нужны потом, когда та же
   карточка показывает подобранный курс. Там их две строки уместны -- это уже
   не приглашение, а результат.
   --------------------------------------------------------------------------- */
.course-match-teaser-main {
  grid-template-columns: 36px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  padding: 11px 8px 11px 12px;
}

.course-match-teaser-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 14%, transparent);
  color: var(--blue);
  transition: background 0.18s var(--ease);
}

.course-match-teaser-icon svg {
  width: 20px;
  height: 20px;
}

/* Знак вопроса, пока подбора не было; галочка, когда курс уже подобран. */
.course-match-teaser-icon-done { display: none; }
.course-match-teaser.has-result .course-match-teaser-icon-ask { display: none; }
.course-match-teaser.has-result .course-match-teaser-icon-done { display: block; }

.course-match-teaser:not(.has-result) .course-match-teaser-copy small,
.course-match-teaser:not(.has-result) .course-match-teaser-copy > span { display: none; }

.course-match-teaser-copy strong {
  font-size: 15px;
  font-weight: 720;
}

.course-match-teaser-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.course-match-teaser-arrow svg {
  width: 17px;
  height: 17px;
}

.course-match-teaser-main:hover .course-match-teaser-arrow,
.course-match-teaser-main:focus-visible .course-match-teaser-arrow {
  background: color-mix(in srgb, var(--blue) 84%, #ffffff 16%);
  transform: translateX(2px);
}

.course-match-teaser-main:hover .course-match-teaser-icon,
.course-match-teaser-main:focus-visible .course-match-teaser-icon {
  background: color-mix(in srgb, var(--blue) 22%, transparent);
}

.course-match-teaser-main:active .course-match-teaser-arrow { transform: translateX(1px) scale(0.96); }

/* Слово-действие остаётся в дереве страницы для тех, кто её слушает: кнопке
   нужно имя, а стрелка его не даёт. position: absolute заодно убирает этот
   узел из сетки, чтобы он не занял четвёртую колонку. */
.course-match-teaser-action {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .course-match-teaser-arrow { transition: background 0.18s var(--ease); }
  .course-match-teaser-main:hover .course-match-teaser-arrow,
  .course-match-teaser-main:focus-visible .course-match-teaser-arrow,
  .course-match-teaser-main:active .course-match-teaser-arrow { transform: none; }
}

/* ---------------------------------------------------------------------------
   ОКНО ПОДБОРА: ПО ЦЕНТРУ ЭКРАНА

   Было прижато к правому краю, как выдвижная панель. По центру оно читается
   как разговор, а не как боковая форма: взгляд уже там, где текст.

   Ярлык «ПОДБОР ПРОГРАММЫ» над заголовком убран целиком -- он повторял то,
   что и так написано следующей строкой. Вместе с ним уходит и верхний отступ
   заголовка, который держал под него место.

   Правило в @media (min-width: 641px) намеренно: на телефоне окно остаётся
   листом во весь экран, и центрировать там нечего.
   --------------------------------------------------------------------------- */
.course-match-header h2 { margin-top: 0; }

@media (min-width: 641px) {
  .course-match-panel {
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--elev-5) rgba(0, 0, 0, 0.34);
    animation-name: courseMatchCenterEnter;
  }

  /* Своя анимация: прежняя выезжала справа и жёстко задавала transform,
     который теперь держит центровку. Тронешь её -- окно улетит из центра. */
  @keyframes courseMatchCenterEnter {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.975); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
}

@media (min-width: 641px) and (prefers-reduced-motion: reduce) {
  .course-match-panel { animation: none; }
}
