:root {
      --bg: #f8fbff;
      --text: #07142f;
      --text-2: #50607f;
      --text-3: #7a89a8;
      --blue: #2468f2;
      --blue-2: #2fa4ff;
      --cyan: #28c9d2;
      --purple: #795fff;
      --green: #0f9f45;
      --border: rgba(71, 105, 160, .16);
      --shadow-xs: 0 5px 18px rgba(21, 58, 122, .05);
      --shadow-sm: 0 12px 34px rgba(20, 56, 120, .08);
      --max: 1424px;
      --ease: cubic-bezier(.2,.8,.2,1);
    }

    * { box-sizing: border-box; }

    html {
      min-height: 100%;
      scroll-behavior: smooth;
      background: var(--bg);
    }

    body {
      margin: 0;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background:
        radial-gradient(850px 520px at 72% 19%, rgba(68, 135, 255, .13), transparent 65%),
        radial-gradient(620px 460px at 35% 34%, rgba(46, 201, 210, .055), transparent 72%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 49%, #ffffff 100%);
      overflow-x: hidden;
      text-rendering: geometricPrecision;
      -webkit-font-smoothing: antialiased;
    }

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

    .skip-link {
      position: fixed;
      left: 16px;
      top: -80px;
      z-index: 100;
      padding: 12px 16px;
      border-radius: 12px;
      background: var(--text);
      color: #fff;
      transition: top .2s var(--ease);
    }
    .skip-link:focus { top: 14px; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid rgba(59, 93, 151, .12);
      background: rgba(255,255,255,.72);
      backdrop-filter: blur(22px) saturate(140%);
      -webkit-backdrop-filter: blur(22px) saturate(140%);
    }

    .header-inner {
      width: min(var(--max), calc(100% - 96px));
      height: 84px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 240px 1fr 350px;
      align-items: center;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      width: 196px;
      transition: transform .22s var(--ease), opacity .22s var(--ease);
    }
    .brand:hover { transform: translateY(-1px); opacity: .96; }
    .brand img { width: 196px; height: auto; display: block; }

    .nav {
      display: flex;
      justify-content: center;
      gap: clamp(34px, 4vw, 58px);
      font-weight: 650;
      font-size: 16px;
      letter-spacing: -.012em;
    }

    .nav a, .login-link {
      position: relative;
      color: #0c1731;
      transition: color .18s var(--ease);
    }
    .nav a::after, .login-link::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -8px;
      height: 2px;
      border-radius: 99px;
      transform: scaleX(0);
      transform-origin: center;
      background: linear-gradient(90deg, var(--blue), var(--cyan));
      transition: transform .22s var(--ease);
    }
    .nav a:hover, .login-link:hover { color: var(--blue); }
    .nav a:hover::after, .login-link:hover::after { transform: scaleX(1); }

    .header-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 28px;
      font-weight: 650;
      font-size: 16px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      min-height: 58px;
      padding: 0 30px;
      border-radius: 14px;
      border: 1px solid transparent;
      cursor: pointer;
      user-select: none;
      white-space: nowrap;
      font-weight: 760;
      font-size: 17px;
      letter-spacing: -.015em;
      transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
      will-change: transform;
    }
    .btn .arrow {
      font-size: 20px;
      line-height: 1;
      transform: translateY(-1px);
      transition: transform .24s var(--ease);
    }
    .btn:hover { transform: translateY(-2px); }
    .btn:hover .arrow { transform: translate(4px, -1px); }
    .btn:active { transform: translateY(0); }
    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, #1f5ff2 0%, #237ff6 48%, #1f9df2 100%);
      box-shadow: 0 14px 32px rgba(35, 109, 242, .24), inset 0 1px 0 rgba(255,255,255,.32);
    }
    .btn-primary:hover { box-shadow: 0 20px 42px rgba(35, 109, 242, .31), inset 0 1px 0 rgba(255,255,255,.34); }
    .btn-secondary {
      color: var(--text);
      background: rgba(255,255,255,.72);
      border-color: rgba(64, 97, 156, .18);
      box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.96);
    }
    .btn-secondary:hover { border-color: rgba(36,104,242,.28); box-shadow: var(--shadow-sm); }
    .install-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 18px;
      border-radius: 13px;
      border: 1px solid rgba(36,104,242,.22);
      background: linear-gradient(180deg, rgba(240,247,255,.96), rgba(226,238,255,.90));
      color: #1f5ff2;
      box-shadow: 0 10px 24px rgba(35, 109, 242, .10), inset 0 1px 0 rgba(255,255,255,.96);
      font-weight: 760;
      font-size: 15px;
      letter-spacing: -.015em;
      white-space: nowrap;
      transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease), color .24s var(--ease);
    }
    .install-button:hover {
      transform: translateY(-2px);
      border-color: rgba(36,104,242,.35);
      background: linear-gradient(180deg, rgba(232,243,255,.98), rgba(214,232,255,.94));
      box-shadow: 0 16px 34px rgba(35, 109, 242, .16), inset 0 1px 0 rgba(255,255,255,.98);
    }
    .install-button:active { transform: translateY(0); }

    :focus-visible {
      outline: 3px solid rgba(47,164,255,.44);
      outline-offset: 4px;
      border-radius: 12px;
    }

    main {
      position: relative;
      flex: 1 0 auto;
    }

    .hero {
      width: min(var(--max), calc(100% - 96px));
      margin: 0 auto;
      min-height: 650px;
      display: grid;
      grid-template-columns: minmax(540px, 0.9fr) minmax(670px, 1.1fr);
      align-items: center;
      gap: 48px;
      padding: 34px 0 28px;
    }

    .hero-copy {
      min-width: 0;
      padding: 14px 0 0;
      max-width: 680px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      margin-bottom: 42px;
      padding: 11px 15px 10px;
      border-radius: 13px;
      color: var(--blue);
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(36, 104, 242, .20);
      box-shadow: 0 8px 24px rgba(38, 100, 219, .055), inset 0 1px 0 rgba(255,255,255,.9);
      font-weight: 720;
      font-size: 15px;
      letter-spacing: -.01em;
    }
    .eyebrow svg { flex: 0 0 auto; }
    .eyebrow .dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: currentColor;
      opacity: .75;
    }

    h1 {
      margin: 0;
      max-width: 720px;
      font-size: clamp(58px, 4.55vw, 73px);
      line-height: .985;
      letter-spacing: -.062em;
      font-weight: 830;
      color: var(--text);
    }
    h1 .accent {
      display: inline-block;
      background: linear-gradient(100deg, #1f5ff2 0%, #247eff 49%, #20c8cf 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      letter-spacing: -.066em;
    }

    .lead {
      margin: 26px 0 0;
      max-width: clamp(410px, 30vw, 440px);
      color: var(--text-2);
      font-size: 20px;
      line-height: 1.52;
      letter-spacing: -.018em;
      font-weight: 500;
    }

    .cta-row {
      display: flex;
      align-items: center;
      gap: 28px;
      margin-top: 26px;
    }
    .cta-row .btn {
      flex: 0 0 auto;
      white-space: nowrap;
    }

    .account-link {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-top: 24px;
      color: #637391;
      font-size: 15px;
      font-weight: 650;
      letter-spacing: -.01em;
      transition: color .2s var(--ease), transform .2s var(--ease);
    }
    .account-link:hover { color: var(--blue); transform: translateX(2px); }
    .account-link .mini-icon { opacity: .8; }

    .hero-visual {
      --route-w: 0px;
      --visual-gap: 0px;
      --surface-h: 590px;
      --route-left: 0px;
      --surface-left: 0px;
      position: relative;
      min-width: 0;
      min-height: var(--surface-h);
      isolation: isolate;
    }
    .hero-visual::before {
      content: "";
      position: absolute;
      inset: 0 -34px -18px 20px;
      z-index: -2;
      background:
        radial-gradient(480px 360px at 74% 44%, rgba(63, 128, 255, .15), transparent 72%),
        radial-gradient(360px 260px at 35% 72%, rgba(43, 205, 210, .10), transparent 72%);
      filter: blur(6px);
      pointer-events: none;
    }

    .practice-surface {
      --surface-pad-x: 34px;
      --surface-pad-right: 28px;
      --surface-pad-top: 34px;
      --surface-pad-bottom: 30px;
      --right-col: 196px;
      --col-gap: 24px;
      --row-gap: 24px;
      position: absolute;
      left: var(--surface-left);
      right: 0;
      top: 0;
      height: var(--surface-h);
      min-height: var(--surface-h);
      padding: var(--surface-pad-top) var(--surface-pad-right) var(--surface-pad-bottom) var(--surface-pad-x);
      display: flex;
      flex-direction: column;
      border-radius: 34px;
      border: 1px solid var(--border);
      background:
        linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(247,250,255,.82) 100%);
      box-shadow: 0 34px 86px rgba(19, 68, 160, .13), inset 0 1px 0 rgba(255,255,255,.98);
      overflow: hidden;
    }
    .practice-surface::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(330px 210px at 86% 8%, rgba(36,104,242,.09), transparent 70%),
        radial-gradient(320px 240px at 15% 88%, rgba(48,201,210,.05), transparent 76%);
      pointer-events: none;
    }

    .practice-top {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      padding: 0;
    }
    .practice-body {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1fr) var(--right-col);
      gap: var(--col-gap);
      margin-top: 26px;
      align-items: start;
    }
    .lesson-stack,
    .side-rail {
      display: flex;
      flex-direction: column;
    }
    .lesson-stack {
      gap: var(--row-gap);
      max-width: 420px;
    }
    .side-rail {
      gap: var(--row-gap);
      width: var(--right-col);
      justify-self: end;
      padding-top: 82px;
    }
    .practice-label {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--text-2);
      font-size: 15px;
      font-weight: 720;
      letter-spacing: -.01em;
    }
    .practice-label .blue-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(36,104,242,.08); }
    .surface-title {
      margin: 9px 0 8px;
      font-size: 30px;
      line-height: 1.05;
      letter-spacing: -.04em;
      font-weight: 820;
    }
    .surface-chip {
      display: inline-flex;
      align-items: center;
      height: 26px;
      padding: 0 11px;
      border-radius: 99px;
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(44, 88, 162, .15);
      color: var(--text-2);
      font-size: 13px;
      font-weight: 700;
    }
    .metrics {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 13px 15px 13px 17px;
      min-width: 180px;
      border-radius: 20px;
      background: rgba(255,255,255,.78);
      border: 1px solid rgba(65, 99, 157, .13);
      box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.95);
    }
    .streak { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; }
    .streak span { display: block; color: var(--text-3); font-size: 11px; font-weight: 650; margin-top: 4px; text-align: center; }
    .ring {
      --p: 82%;
      width: 61px;
      height: 61px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: conic-gradient(var(--blue) var(--p), #e1e9fa 0);
      position: relative;
      font-weight: 820;
      letter-spacing: -.02em;
    }
    .ring::after {
      content: "";
      position: absolute;
      inset: 7px;
      border-radius: 50%;
      background: #fff;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
    }
    .ring span { position: relative; z-index: 1; }

    .mentor-card, .speak-card {
      position: relative;
      z-index: 1;
      width: 100%;
      margin: 0;
      border: 1px solid rgba(63, 98, 156, .13);
      background: rgba(255,255,255,.76);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.96);
    }
    .mentor-card {
      min-height: 116px;
      border-radius: 24px;
      display: grid;
      grid-template-columns: 58px 1fr;
      gap: 14px;
      align-items: center;
      padding: 16px 16px 16px 22px;
    }
    .avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(180deg, #fff, #eef5ff);
      border: 1px solid rgba(36,104,242,.15);
      box-shadow: 0 8px 25px rgba(30, 88, 184, .10);
      overflow: hidden;
    }
    .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .mentor-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
    .mentor-head strong { font-size: 17px; font-weight: 820; letter-spacing: -.02em; }
    .mentor-head span { color: var(--text-3); font-size: 12px; font-weight: 700; }
    .mentor-bubble {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      min-height: 48px;
      padding: 8px 12px;
      border-radius: 17px;
      background: rgba(245,248,255,.88);
      color: var(--text);
      border: 1px solid rgba(63, 98, 156, .08);
      font-size: 15px;
      line-height: 1.32;
      font-weight: 550;
    }

    .mini-wave { display: flex; align-items: center; gap: 2px; width: 38px; justify-content: flex-end; }
    .mini-wave i {
      display: block;
      width: 3px;
      height: 16px;
      border-radius: 99px;
      background: linear-gradient(180deg, var(--blue), #a9b8ff);
      transform-origin: center;
      animation: waveSmall 1.2s var(--ease) infinite;
    }
    .mini-wave i:nth-child(2) { animation-delay: -.2s; height: 22px; }
    .mini-wave i:nth-child(3) { animation-delay: -.4s; height: 28px; }
    .mini-wave i:nth-child(4) { animation-delay: -.1s; height: 18px; background: linear-gradient(180deg, var(--purple), #c8bdff); }
    .mini-wave i:nth-child(5) { animation-delay: -.3s; height: 14px; background: linear-gradient(180deg, #b0bcff, #d4dcff); }
    @keyframes waveSmall { 0%,100% { transform: scaleY(.62); opacity: .7; } 50% { transform: scaleY(1.05); opacity: 1; } }

    .speak-card {
      min-height: 260px;
      border-radius: 24px;
      padding: 20px 22px 16px;
    }
    .speak-label { color: var(--text-2); font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
    .phrase { margin: 8px 0 15px; font-size: 21px; line-height: 1.1; font-weight: 840; letter-spacing: -.035em; }
    .waveform {
      width: max-content;
      max-width: 100%;
      margin-inline: auto;
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      overflow: hidden;
      mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
      -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    }
    .waveform i {
      display: block;
      width: 3px;
      min-width: 3px;
      height: var(--h, 26px);
      border-radius: 10px;
      background: linear-gradient(180deg, #1076ff, #2ba6ff 52%, #9868ff);
      transform-origin: center;
      animation: wave 1.65s var(--ease) infinite;
      animation-delay: var(--d, 0ms);
      opacity: var(--o, .94);
    }
    @keyframes wave {
      0%,100% { transform: scaleY(.48); opacity: .55; }
      45% { transform: scaleY(1.02); opacity: 1; }
      70% { transform: scaleY(.76); opacity: .82; }
    }

    .mic-zone {
      position: relative;
      display: grid;
      place-items: center;
      margin: 8px auto 0;
      width: 88px;
      height: 88px;
    }
    .mic-zone::before, .mic-zone::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 1px solid rgba(36,104,242,.13);
      animation: pulse 2.8s var(--ease) infinite;
    }
    .mic-zone::after { animation-delay: .7s; inset: 13px; }
    @keyframes pulse {
      0% { transform: scale(.72); opacity: .55; }
      65% { transform: scale(1.35); opacity: .04; }
      100% { transform: scale(1.35); opacity: 0; }
    }
    .mic-button {
      position: relative;
      z-index: 1;
      width: 64px;
      height: 64px;
      border-radius: 50%;
      border: 0;
      display: grid;
      place-items: center;
      color: #fff;
      cursor: pointer;
      background: radial-gradient(circle at 30% 24%, #49adff, #206af5 62%, #174dd5 100%);
      box-shadow: 0 18px 44px rgba(34, 104, 242, .30), inset 0 1px 0 rgba(255,255,255,.28);
      transition: transform .23s var(--ease), box-shadow .23s var(--ease);
    }
    .mic-button:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 24px 52px rgba(34,104,242,.36), inset 0 1px 0 rgba(255,255,255,.32); }
    .mic-hint { text-align: center; margin-top: 4px; color: var(--text-3); font-size: 13px; font-weight: 650; }

    .feedback-card, .next-card {
      position: relative;
      z-index: 2;
      width: 100%;
      border-radius: 20px;
      border: 1px solid rgba(63,98,156,.13);
      background: rgba(255,255,255,.82);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.96);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }
    .feedback-card { min-height: 146px; padding: 20px; }
    .next-card { min-height: 124px; padding: 17px 16px 16px; }
    .card-kicker { color: var(--text-2); font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
    .score-row { display:flex; align-items:center; gap: 12px; margin: 10px 0 12px; }
    .score { font-size: 36px; line-height: 1; letter-spacing: -.055em; font-weight: 830; }
    .success {
      display: inline-flex;
      align-items: center;
      height: 23px;
      padding: 0 9px;
      border-radius: 99px;
      background: #edf9f0;
      border: 1px solid rgba(15,159,69,.14);
      color: var(--green);
      font-size: 11px;
      font-weight: 800;
    }
    .feedback-card p, .next-card p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.45; font-weight: 600; }
    .feedback-card a { color: var(--blue); font-weight: 800; }
    .next-title { margin: 9px 0 12px; font-size: 15px; line-height: 1.22; font-weight: 830; letter-spacing: -.025em; }
    .progress-mini { display:flex; align-items:center; justify-content:space-between; gap:14px; }
    .progress-bar { flex:1; height: 5px; border-radius: 99px; background: #e5ecfb; overflow:hidden; }
    .progress-bar span { display:block; width:38%; height:100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-2)); }
    .circle-arrow {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid rgba(64, 97, 156, .15);
      background: rgba(255,255,255,.74);
      display:grid;
      place-items:center;
      color: var(--blue);
      font-size: 20px;
      box-shadow: var(--shadow-xs);
      transition: transform .23s var(--ease), border-color .23s var(--ease);
    }
    .circle-arrow:hover { transform: translateX(3px); border-color: rgba(36,104,242,.32); }

    .start-section {
      border-top: 0;
      border-bottom: 0;
      background: rgba(255,255,255,.38);
    }
    .start-inner {
      width: min(var(--max), calc(100% - 96px));
      margin: 0 auto;
      padding: 24px 0 30px;
    }
    .start-title {
      margin: 0 0 22px;
      text-align: center;
      font-size: clamp(26px, 2vw, 34px);
      line-height: 1.08;
      font-weight: 840;
      letter-spacing: -.038em;
    }
    .start-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .route-card {
      min-height: 104px;
      display: grid;
      grid-template-columns: 72px 1fr 48px;
      align-items: center;
      gap: 18px;
      padding: 19px 22px 19px 26px;
      border-radius: 20px;
      border: 1px solid rgba(63,98,156,.15);
      background: rgba(255,255,255,.78);
      box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.92);
      transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
    }
    .route-card:hover {
      transform: translateY(-3px);
      border-color: rgba(36,104,242,.25);
      background: rgba(255,255,255,.92);
      box-shadow: 0 18px 42px rgba(20, 56, 120, .10), inset 0 1px 0 rgba(255,255,255,.95);
    }
    .route-card:hover .card-arrow { transform: translateX(4px); color: var(--blue); }

    .route-card strong { display:block; font-size: 17px; font-weight: 820; letter-spacing: -.02em; margin-bottom: 5px; }
    .route-card span { display:block; color: var(--text-2); font-size: 14px; font-weight: 600; }
    .card-arrow { font-size: 28px; justify-self:end; color: var(--text); transition: transform .23s var(--ease), color .23s var(--ease); }

    .site-footer {
      margin-top: auto;
      background: rgba(255,255,255,.58);
    }
    .footer-inner {
      width: min(var(--max), calc(100% - 96px));
      margin: 0 auto;
      padding: 27px 0 32px;
      display: grid;
      grid-template-columns: 1.35fr .62fr .62fr .62fr 1fr;
      gap: 48px;
      align-items: start;
    }

    .copyright { color: #7685a2; font-size: 13px; font-weight: 550; }

    .socials { display:flex; gap:18px; margin-top: 18px; }
    .socials a {
      width: 42px; height: 42px; border-radius: 14px;
      display:grid; place-items:center;
      border: 1px solid rgba(63,98,156,.13);
      background: rgba(255,255,255,.64);
      color: #233453;
      box-shadow: var(--shadow-xs);
      transition: transform .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
    }
    .socials a:hover { transform: translateY(-2px); color: var(--blue); border-color: rgba(36,104,242,.25); }

    @media (min-width: 1321px) and (max-width: 1440px) {
      .hero-visual { --route-left: -10px; }
    }

    @media (min-width: 1321px) and (max-width: 1380px) {
      .cta-row { gap: 18px; }
      .cta-row .btn { min-height: 56px; padding: 0 24px; font-size: 16px; }
    }

    @media (max-width: 1440px) {
      .practice-surface {
        --surface-pad-x: 26px;
        --surface-pad-right: 20px;
        --right-col: 180px;
        --col-gap: 18px;
      }
      .lesson-stack { max-width: 380px; }
      .side-rail { padding-top: 63px; }
    }

    @media (max-width: 1360px) {
      .header-inner, .hero, .start-inner, .footer-inner { width: min(100% - 48px, var(--max)); }
      .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 42px; min-height: auto; }
      .hero-copy { max-width: 760px; }
      h1 { max-width: 780px; }
      .lead { max-width: 620px; }
      .hero-visual { min-height: var(--surface-h); --route-left: clamp(0px, 4vw, 56px); }
      .hero-visual::before { inset: 0 0 -18px 20px; }
      
      .practice-surface { left: 0; right: clamp(0px, 3vw, 40px); }
    }

    @media (max-width: 900px) {
      .header-inner { height: 72px; grid-template-columns: auto 1fr auto; gap: 12px; }
      .brand { width: 160px; }
      .brand img { width: 160px; }
      .nav { display: none; }
      .header-actions { gap: 14px; font-size: 15px; }
      .header-actions .btn { min-height: 46px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
      .hero { width: min(100% - 28px, 720px); min-height: auto; padding: 30px 0 24px; }
      .eyebrow { margin-bottom: 28px; font-size: 14px; padding: 9px 12px; }
      h1 { font-size: clamp(42px, 11vw, 64px); line-height: 1.02; letter-spacing: -.058em; }
      .lead { font-size: 18px; max-width: 520px; }
      .cta-row { margin-top: 26px; gap: 14px; }
      .btn { min-height: 54px; padding: 0 22px; font-size: 16px; }
      .hero-visual { min-height: auto; display:flex; flex-direction: column; gap: 14px; }
      .hero-visual::before { inset: 0 0 -18px 20px; }

      .practice-surface { position: relative; left: auto; right: auto; top: auto; height: auto; min-height: auto; padding: 0 0 20px; display: block; }
      .practice-top { padding: 26px 22px 0; }
      .practice-body { display:flex; flex-direction:column; align-items:stretch; gap:14px; margin-top: 22px; }
      .lesson-stack, .side-rail { width:auto; max-width:none; gap:14px; padding-top:0; }
      .practice-body { display: flex; flex-direction: column; align-items: stretch; margin-top: 24px; gap: 14px; }
      .lesson-stack, .side-rail { gap: 14px; width: auto; max-width: none; padding-top: 0; }
      .metrics { min-width: auto; gap: 14px; padding: 11px 12px; }
      .streak { display:none; }
      .ring { width: 58px; height: 58px; font-size: 15px; }
      .mentor-card, .speak-card { margin-left: 18px; margin-right: 18px; width: auto; }
      .feedback-card, .next-card { position: relative; right: auto; top: auto; bottom: auto; width: auto; margin: 0 18px; }
      .feedback-card { min-height: auto; padding: 18px; }
      .next-card { min-height: auto; padding: 18px; }
      .start-inner { width: min(100% - 28px, 720px); }
      .start-grid { grid-template-columns: 1fr; gap: 14px; }
      .route-card { min-height: 94px; padding: 17px 20px; }
      .footer-inner { width: min(100% - 28px, 720px); grid-template-columns: 1fr 1fr; gap: 30px 24px; }
      
    }

    @media (max-width: 560px) {
      body { background: linear-gradient(180deg, #fff 0%, #f7fbff 56%, #fff 100%); }
      .header-inner { width: calc(100% - 28px); }
      .brand, .brand img { width: 148px; }
      .header-actions .login-link { display: inline; }
      .header-actions .btn { display:none; }
      .hero { width: calc(100% - 28px); padding-top: 26px; padding-bottom: 24px; gap: 24px; }
      .eyebrow { font-size: 13px; gap: 8px; margin-bottom: 24px; }
      .eyebrow .hide-sm { display:none; }
      h1 { font-size: clamp(39px, 11.6vw, 48px); line-height: 1.03; }
      
      .lead { font-size: 17px; line-height: 1.52; margin-top: 22px; max-width: 340px; }
      .cta-row { display:grid; grid-template-columns: 1fr; gap: 12px; }
      .btn { width: 100%; }
      .account-link { margin-top: 17px; }
      
      .practice-surface { border-radius: 26px; }
      .practice-top { padding: 22px 18px 0; }
      .surface-title { font-size: 26px; }
      .metrics { display:none; }
      .mentor-card { min-height: 112px; grid-template-columns: 48px 1fr; gap: 13px; padding: 18px 14px 18px 16px; border-radius: 22px; }
      .avatar { width: 44px; height:44px; }
      .mentor-bubble { padding: 10px 14px; font-size: 15px; }
      .mini-wave { display:none; }
      .speak-card { min-height: 244px; padding: 22px 18px 18px; }
      .phrase { font-size: 20px; }
      .waveform { height: 46px; gap: 3px; }
      .mic-zone { width: 98px; height: 98px; }
      .mic-button { width: 68px; height: 68px; }
      .score { font-size: 35px; }
      .start-title { font-size: 24px; margin-bottom: 18px; }
      .route-card { grid-template-columns: 58px 1fr 34px; gap: 14px; border-radius: 18px; }
      
      .footer-inner { grid-template-columns: 1fr; padding-top: 25px; }
      
      .socials { gap: 12px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
      }
    }
@media (min-width: 701px) {
      .route-card {
        grid-template-columns: 72px 1fr 48px;
        gap: 18px;
        padding: 19px 22px 19px 26px;
      }

      .route-card strong { color: var(--text); font-weight: 820; }
      .route-card span span { color: #5b6a8b; }
    }

    /* Route cards: text badges instead of illustration icons */
    .route-card {
      grid-template-columns: 76px 1fr 48px;
      gap: 16px;
      padding-left: 22px;
    }
    .route-card .route-badge {
      width: 64px;
      height: 58px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      color: var(--blue);
      background: linear-gradient(180deg, rgba(237,245,255,.98), rgba(228,239,255,.92));
      border: 1px solid rgba(36,104,242,.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 10px 28px rgba(30,88,184,.07);
      font-size: 18px;
      line-height: 1;
      font-weight: 860;
      letter-spacing: -.035em;
      white-space: nowrap;
      text-align: center;
      transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
    }
    .route-card .route-badge.violet {
      color: #7351f4;
      background: linear-gradient(180deg, rgba(244,237,255,.98), rgba(234,224,255,.92));
      border-color: rgba(121,95,255,.13);
    }
    .route-card .route-badge.green {
      color: #139b50;
      background: linear-gradient(180deg, rgba(232,251,240,.98), rgba(221,246,232,.92));
      border-color: rgba(24,170,89,.13);
    }
    .route-card .route-badge.small {
      font-size: 15px;
      letter-spacing: -.03em;
    }
    .route-card .route-badge.compact {
      font-size: 13.5px;
      letter-spacing: -.04em;
    }
    .route-card:hover .route-badge {
      transform: translateY(-1px) scale(1.015);
      border-color: rgba(36,104,242,.20);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 13px 30px rgba(30,88,184,.10);
    }
    .route-card:hover .route-badge.violet { border-color: rgba(121,95,255,.22); }
    .route-card:hover .route-badge.green { border-color: rgba(24,170,89,.22); }

    @media (min-width: 701px) {
      .route-card {
        grid-template-columns: 76px 1fr 48px;
        gap: 16px;
        padding-left: 22px;
      }
      .route-card .route-badge {
        width: 64px;
        height: 58px;
      }
    }

    @media (max-width: 700px) {
      .route-card {
        grid-template-columns: 68px 1fr 34px;
        gap: 14px;
      }
      .route-card .route-badge {
        width: 58px;
        height: 54px;
        border-radius: 17px;
        font-size: 17px;
      }
      .route-card .route-badge.small { font-size: 14px; }
      .route-card .route-badge.compact { font-size: 12.5px; }
    }

    @media (max-width: 560px) {
      .route-card {
        grid-template-columns: 64px 1fr 34px;
      }
      .route-card .route-badge {
        width: 56px;
        height: 52px;
        border-radius: 16px;
        font-size: 16px;
      }
      .route-card .route-badge.small { font-size: 13.5px; }
      .route-card .route-badge.compact { font-size: 12px; }
    }

    /* Compact footer: no repeated wordmark on the short landing page */
    .site-footer {
      border-top: 1px solid rgba(63,98,156,.10);
      background: rgba(255,255,255,.52);
    }
    .compact-footer {
      width: min(var(--max), calc(100% - 96px));
      margin: 0 auto;
      padding: 18px 0 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 26px;
    }
    .footer-note {
      min-width: 250px;
      display: flex;
      align-items: center;
      gap: 13px;
      color: var(--text-2);
    }
    .footer-note p {
      margin: 0;
      color: var(--text-2);
      font-size: 13px;
      line-height: 1.35;
      font-weight: 560;
      white-space: nowrap;
    }
    .copyright {
      color: #6f7f9b;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }
    .footer-links {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px 22px;
    }
    .footer-links a {
      color: var(--text-2);
      font-size: 13px;
      font-weight: 650;
      transition: color .2s var(--ease), transform .2s var(--ease);
    }
    .footer-links a:hover {
      color: var(--blue);
      transform: translateY(-1px);
    }
    .footer-links::before,
    .footer-links::after,
    .footer-links a::before,
    .footer-links a::after {
      content: none !important;
      display: none !important;
    }
    .compact-footer .socials {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0;
      flex: 0 0 auto;
    }
    .compact-footer .socials a {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(63,98,156,.12);
      background: rgba(255,255,255,.62);
      color: #31415f;
      box-shadow: none;
      transition: transform .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
    }
    .compact-footer .socials a:hover {
      transform: translateY(-2px);
      color: var(--blue);
      border-color: rgba(36,104,242,.24);
      background: rgba(255,255,255,.86);
    }
    @media (max-width: 1120px) {
      .compact-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
      }
      .footer-note { min-width: 0; }
      .footer-links { justify-content: flex-start; }
    }
    @media (max-width: 900px) {
      .compact-footer {
        width: min(100% - 28px, 720px);
        padding: 22px 0 26px;
      }
    }
    @media (max-width: 560px) {
      .footer-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
      }
      .footer-note p { white-space: normal; }
      .footer-links { gap: 9px 16px; }
    }

    /* Adaptive polish: stronger desktop/tablet/mobile balance */
    @media (min-width: 1181px) and (max-width: 1360px) {
      .header-inner,
      .hero,
      .start-inner,
      .compact-footer {
        width: min(100% - 48px, var(--max));
      }

      .hero {
        grid-template-columns: minmax(520px, .92fr) minmax(580px, 1.08fr);
        align-items: center;
        gap: clamp(28px, 3vw, 42px);
        min-height: 620px;
        padding: 34px 0 28px;
      }
      .hero-copy {
        max-width: 620px;
        padding-top: 0;
      }
      .eyebrow { margin-bottom: 34px; }
      h1 {
        max-width: 620px;
        font-size: clamp(52px, 4.35vw, 62px);
        line-height: 1.01;
      }
      .lead {
        max-width: 520px;
        font-size: 19px;
      }
      .cta-row { gap: 20px; }
      .cta-row .btn {
        min-height: 56px;
        padding: 0 26px;
      }

      .hero-visual {
        --surface-h: 560px;
        min-height: var(--surface-h);
        display: block;
        max-width: none;
        margin: 0;
      }
      .hero-visual::before { inset: 0 -18px -16px 10px; }
      .practice-surface {
        --surface-pad-x: 26px;
        --surface-pad-right: 20px;
        --surface-pad-top: 30px;
        --surface-pad-bottom: 24px;
        --right-col: 166px;
        --col-gap: 16px;
        --row-gap: 20px;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: var(--surface-h);
        min-height: var(--surface-h);
        padding: var(--surface-pad-top) var(--surface-pad-right) var(--surface-pad-bottom) var(--surface-pad-x);
        display: flex;
      }
      .practice-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) var(--right-col);
        gap: var(--col-gap);
        margin-top: 22px;
      }
      .lesson-stack {
        max-width: 360px;
        gap: var(--row-gap);
      }
      .side-rail {
        width: var(--right-col);
        gap: var(--row-gap);
        padding-top: 64px;
      }
      .surface-title { font-size: 28px; }
      .metrics {
        min-width: 166px;
        gap: 13px;
        padding: 12px 13px;
      }
      .streak { gap: 7px; font-size: 14px; }
      .ring { width: 56px; height: 56px; font-size: 15px; }
      .mentor-card {
        min-height: 108px;
        grid-template-columns: 50px 1fr;
        gap: 12px;
        padding: 14px 14px 14px 18px;
      }
      .avatar { width: 46px; height: 46px; }
      .mentor-head { gap: 9px; }
      .mentor-head strong { font-size: 16px; }
      .mentor-bubble {
        min-height: 46px;
        padding: 8px 11px;
        font-size: 14px;
      }
      .speak-card {
        min-height: 248px;
        padding: 18px 20px 14px;
      }
      .phrase { font-size: 20px; }
      .waveform { gap: 3px; }
      .feedback-card { min-height: 136px; padding: 18px; }
      .next-card { min-height: 118px; padding: 16px 15px; }
      .score { font-size: 34px; }
      .feedback-card p,
      .next-card p { font-size: 12.5px; }
    }

    @media (min-width: 901px) and (max-width: 1180px) {
      .hero {
        gap: 34px;
        padding-top: 38px;
      }
      .hero-copy { max-width: 720px; }
      h1 {
        max-width: 720px;
        font-size: clamp(52px, 6.1vw, 64px);
        line-height: 1.01;
      }
      .lead {
        max-width: 620px;
        font-size: 19px;
      }
      .hero-visual {
        --surface-h: 560px;
        width: 100%;
        max-width: 980px;
        min-height: var(--surface-h);
        margin: 0 auto;
      }
      .practice-surface {
        --surface-pad-x: 26px;
        --surface-pad-right: 20px;
        --surface-pad-top: 30px;
        --surface-pad-bottom: 24px;
        --right-col: 176px;
        --col-gap: 20px;
        --row-gap: 20px;
        height: var(--surface-h);
        min-height: var(--surface-h);
        right: 0;
      }
      .practice-body {
        grid-template-columns: minmax(390px, 1fr) var(--right-col);
        gap: var(--col-gap);
        margin-top: 22px;
      }
      .lesson-stack {
        max-width: 440px;
        gap: var(--row-gap);
      }
      .side-rail {
        width: var(--right-col);
        gap: var(--row-gap);
        padding-top: 62px;
      }
      .mentor-card { min-height: 108px; }
      .speak-card { min-height: 248px; }

      .start-inner { padding-top: 18px; }
      .start-grid { gap: 18px; }
      .route-card {
        grid-template-columns: 62px 1fr 30px;
        gap: 12px;
        min-height: 96px;
        padding: 16px 16px 16px 18px;
      }
      .route-card .route-badge {
        width: 56px;
        height: 54px;
        border-radius: 17px;
        font-size: 16px;
      }
      .route-card .route-badge.small { font-size: 13.5px; }
      .route-card .route-badge.compact { font-size: 12px; }
      .route-card strong { font-size: 16px; }
      .route-card span { font-size: 13.5px; }
      .card-arrow { font-size: 22px; }
    }

    @media (max-width: 900px) {
      .hero-copy { padding-top: 0; }
      .practice-surface {
        box-shadow: 0 26px 66px rgba(19, 68, 160, .12), inset 0 1px 0 rgba(255,255,255,.98);
      }
      .start-inner { padding-top: 18px; }
    }

    @media (max-width: 760px) {
      .hero {
        padding-top: 28px;
        gap: 26px;
      }
      .eyebrow { margin-bottom: 26px; }
      .practice-top { align-items: center; }
      .surface-title { font-size: clamp(26px, 6.8vw, 34px); }
      .surface-chip { height: 24px; font-size: 12px; }
      .mentor-card,
      .speak-card,
      .feedback-card,
      .next-card {
        border-radius: 22px;
      }
    }

    @media (max-width: 430px) {
      .hero { width: calc(100% - 28px); }
      .brand,
      .brand img { width: 138px; }
      .header-inner { height: 70px; }
      h1 {
        font-size: clamp(39px, 11.2vw, 47px);
        letter-spacing: -.06em;
      }
      .lead { max-width: 100%; }
      .practice-surface { border-radius: 24px; }
      .practice-top { padding: 22px 18px 0; }
      .mentor-card {
        grid-template-columns: 48px 1fr;
        padding: 17px 14px 17px 16px;
      }
      .mentor-head { gap: 8px; }
      .mentor-head span { font-size: 11px; }
      .mentor-bubble { font-size: 14.5px; }
      .speak-card { padding: 22px 18px 18px; }
      .feedback-card,
      .next-card { padding: 18px; }
      .route-card {
        grid-template-columns: 64px 1fr 28px;
        gap: 12px;
        padding: 16px 16px 16px 18px;
      }
      .route-card .route-badge {
        width: 56px;
        height: 54px;
        border-radius: 17px;
      }
      .route-card strong { font-size: 16px; }
      .route-card span { font-size: 14px; }
    }

    @media (max-width: 340px) {
      .brand,
      .brand img { width: 132px; }
      h1 { font-size: 38px; }
      .eyebrow { font-size: 12.5px; padding-inline: 11px; }
      .mentor-card {
        grid-template-columns: 44px 1fr;
        gap: 10px;
      }
      .avatar { width: 42px; height: 42px; }
      .mentor-head strong { font-size: 16px; }
      .mentor-bubble { padding: 9px 12px; }
      .phrase { font-size: 19px; }
      .route-card {
        grid-template-columns: 58px 1fr 24px;
        padding-inline: 14px;
      }
      .route-card .route-badge {
        width: 52px;
        height: 50px;
        font-size: 16px;
      }
      .route-card .route-badge.small { font-size: 12.5px; }
      .route-card .route-badge.compact { font-size: 11.5px; }
    }

    /* Final responsive overrides */
    @media (min-width: 1361px) and (max-width: 1400px) {
      .hero {
        grid-template-columns: minmax(560px, .92fr) minmax(620px, 1.08fr);
        gap: 34px;
      }
      h1 {
        max-width: 610px;
        font-size: clamp(56px, 4.35vw, 60px);
        line-height: 1.01;
      }
      .lead { max-width: 500px; }
      .practice-surface {
        --right-col: 174px;
        --col-gap: 16px;
        --surface-pad-x: 26px;
        --surface-pad-right: 20px;
      }
      .lesson-stack { max-width: 360px; }
      .side-rail { padding-top: 66px; }
      .metrics { min-width: 168px; gap: 14px; }
      .ring { width: 58px; height: 58px; }
      .feedback-card { padding: 18px; }
      .score { font-size: 34px; }
    }

    @media (min-width: 1180px) and (max-width: 1360px) {
      .hero {
        grid-template-columns: minmax(500px, .9fr) minmax(570px, 1.1fr);
        gap: 28px;
        min-height: 620px;
        padding: 34px 0 28px;
        align-items: center;
      }
      .hero-copy { max-width: 610px; }
      h1 {
        max-width: 600px;
        font-size: clamp(50px, 4.25vw, 58px);
        line-height: 1.01;
      }
      .hero-visual {
        --surface-h: 560px;
        min-height: var(--surface-h);
        display: block;
        max-width: none;
        margin: 0;
      }
      .practice-surface {
        --surface-pad-x: 24px;
        --surface-pad-right: 18px;
        --surface-pad-top: 30px;
        --surface-pad-bottom: 24px;
        --right-col: 164px;
        --col-gap: 14px;
        --row-gap: 20px;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: var(--surface-h);
        min-height: var(--surface-h);
        display: flex;
      }
      .lesson-stack { max-width: 352px; }
      .side-rail { width: var(--right-col); padding-top: 64px; }
      .surface-title { font-size: 28px; }
      .metrics { min-width: 158px; gap: 12px; }
      .ring { width: 54px; height: 54px; font-size: 14px; }
      .streak { font-size: 14px; gap: 7px; }
      .mentor-card {
        min-height: 108px;
        grid-template-columns: 50px 1fr;
        gap: 12px;
        padding: 14px 14px 14px 18px;
      }
      .avatar { width: 46px; height: 46px; }
      .mentor-bubble { min-height: 46px; font-size: 14px; }
      .speak-card { min-height: 248px; padding: 18px 20px 14px; }
      .phrase { font-size: 20px; }
      .feedback-card { min-height: 136px; padding: 17px; }
      .next-card { min-height: 118px; padding: 16px 15px; }
      .score { font-size: 32px; }
    }

    @media (min-width: 901px) and (max-width: 1179px) {
      .hero-visual {
        --surface-h: 560px;
        width: min(100%, 860px);
        max-width: 860px;
      }
      .start-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
      }
      .start-grid .route-card:nth-child(3) { grid-column: 1 / -1; }
    }

    @media (min-width: 1180px) and (max-width: 1400px) {
      .route-card {
        grid-template-columns: 66px 1fr 36px;
        gap: 12px;
        padding-left: 20px;
        padding-right: 18px;
      }
      .route-card .route-badge {
        width: 58px;
        height: 54px;
        border-radius: 17px;
      }
      .route-card .route-badge.compact { font-size: 12.5px; }
      .card-arrow { font-size: 24px; }
    }

    @media (max-width: 900px) {
      .start-grid .route-card:nth-child(3) { grid-column: auto; }
    }

    /* Keep the hero headline semantic lines on compact desktop widths */
    @media (min-width: 1321px) and (max-width: 1380px) {
      .hero {
        grid-template-columns: minmax(560px, .94fr) minmax(650px, 1.06fr);
        gap: 36px;
      }
      .hero-copy { max-width: 620px; }
      h1 {
        max-width: 590px;
        font-size: 58px;
        line-height: 1.01;
      }
      .lead { max-width: 540px; }
    }

    @media (min-width: 1381px) and (max-width: 1440px) {
      .hero {
        grid-template-columns: minmax(590px, .94fr) minmax(650px, 1.06fr);
        gap: 40px;
      }
      h1 { max-width: 620px; }
    }

    /* Center hero copy on single-column tablet and mobile layouts */
    @media (max-width: 1180px) {
      .hero {
        justify-items: center;
      }
      .hero-copy {
        width: 100%;
        max-width: min(720px, 100%);
        margin-inline: auto;
        justify-self: center;
        text-align: center;
      }
      .hero-copy h1,
      .hero-copy .lead {
        margin-left: auto;
        margin-right: auto;
      }
      .hero-copy .cta-row {
        justify-content: center;
      }
      .hero-copy .account-link {
        justify-content: center;
      }
    }

    @media (max-width: 560px) {
      .hero-copy .cta-row {
        width: min(100%, 420px);
        margin-left: auto;
        margin-right: auto;
      }
      .hero-copy .account-link {
        width: 100%;
      }
    }

    /* Keep the centered mobile headline compact and readable */
    @media (max-width: 430px) {
      .hero-copy h1 {
        font-size: clamp(32.5px, 10.2vw, 44px);
        line-height: 1.04;
        letter-spacing: -.058em;
      }
    }

    /* Final tablet/detail fixes */
    .score-row {
      min-width: 0;
      flex-wrap: nowrap;
    }
    .success {
      flex: 0 0 auto;
      white-space: nowrap;
      line-height: 1;
    }

    @media (min-width: 901px) and (max-width: 1440px) {
      .feedback-card {
        padding-left: 16px;
        padding-right: 16px;
      }
      .score-row { gap: 8px; }
      .score {
        font-size: 32px;
        letter-spacing: -.052em;
      }
      .success {
        height: 22px;
        padding: 0 8px;
        font-size: 10px;
      }
    }

    @media (min-width: 901px) and (max-width: 1180px) {
      .feedback-card {
        padding-left: 15px;
        padding-right: 15px;
      }
      .score-row { gap: 7px; }
      .score { font-size: 31px; }
      .success {
        height: 21px;
        padding: 0 7px;
        font-size: 9.8px;
      }
    }

    /* Tablet start cards: keep the third card from stretching full-width */
    @media (min-width: 701px) and (max-width: 1179px) {
      .start-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
        gap: 18px;
      }
      .start-grid .route-card:nth-child(3) {
        grid-column: 1 / -1;
        width: min(100%, calc((100% - 18px) / 2));
        justify-self: center;
      }
    }

    @media (max-width: 700px) {
      .start-grid {
        max-width: none;
      }
      .start-grid .route-card:nth-child(3) {
        width: auto;
        justify-self: stretch;
      }
    }

    @media (max-width: 420px) {
      .score-row { gap: 9px; }
      .success {
        height: 22px;
        padding: 0 8px;
        font-size: 10px;
      }
    }

    /* Final navigation/footer and practice-top collision fixes */
    .header-inner {
      grid-template-columns: 220px minmax(0, 1fr) 360px;
    }
    .nav {
      gap: clamp(20px, 2.4vw, 38px);
      min-width: 0;
    }
    .header-actions {
      gap: 16px;
    }
    .practice-top {
      gap: 18px;
    }
    .practice-top > div:first-child {
      min-width: 0;
      flex: 1 1 auto;
    }
    .surface-title {
      max-width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .metrics {
      flex: 0 0 auto;
    }
    @media (min-width: 901px) and (max-width: 1180px) {
      .header-inner {
        width: min(100% - 40px, var(--max));
        grid-template-columns: 160px minmax(0, 1fr) 170px;
        gap: 16px;
      }
      .brand,
      .brand img {
        width: 160px;
      }
      .nav {
        gap: clamp(10px, 1.55vw, 18px);
        font-size: 14px;
        letter-spacing: -.018em;
      }
      .header-actions {
        gap: 12px;
        font-size: 14px;
      }
      .header-actions .btn {
        min-height: 44px;
        padding: 0 17px;
        font-size: 15px;
        border-radius: 12px;
      }
    }

    @media (min-width: 901px) and (max-width: 1010px) {
      .header-inner {
        grid-template-columns: 150px minmax(0, 1fr) 118px;
        gap: 14px;
      }
      .brand,
      .brand img {
        width: 150px;
      }
      .login-link {
        display: none;
      }
      .nav {
        gap: 11px;
        font-size: 13.5px;
      }
      .header-actions .btn {
        padding: 0 16px;
      }
    }

    @media (max-width: 900px) {
      .practice-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 16px;
      }
      .surface-title {
        font-size: clamp(30px, 5.2vw, 40px);
        line-height: 1.03;
      }
      .metrics {
        justify-self: end;
        align-self: start;
      }
    }

    @media (max-width: 560px) {
      .practice-top {
        display: block;
      }
      .surface-title {
        font-size: clamp(25px, 6.2vw, 28px);
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
      }
      .footer-links {
        gap: 8px 10px;
      }
    }

    @media (max-width: 340px) {
      .surface-title {
        font-size: 25px;
      }
    }

    /* Mobile/tablet header: keep login, move nav into burger, hide header CTA */
    .mobile-menu {
      display: none;
      position: relative;
      z-index: 80;
    }
    .menu-button {
      list-style: none;
      width: 44px;
      min-width: 44px;
      height: 44px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      padding: 0;
      border-radius: 13px;
      border: 1px solid rgba(64, 97, 156, .16);
      background: rgba(255,255,255,.78);
      box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.95);
      color: var(--text);
      cursor: pointer;
      user-select: none;
      font-weight: 760;
      font-size: 15px;
      letter-spacing: -.015em;
      transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease), color .22s var(--ease);
    }
    .menu-button::-webkit-details-marker { display: none; }
    .menu-button:hover {
      transform: translateY(-1px);
      border-color: rgba(36,104,242,.26);
      color: var(--blue);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.96);
    }
    .burger-lines {
      width: 18px;
      height: 14px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      flex: 0 0 auto;
    }
    .burger-lines span {
      display: block;
      height: 2px;
      border-radius: 99px;
      background: currentColor;
      transition: transform .22s var(--ease), opacity .22s var(--ease);
    }
    .mobile-menu[open] .burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .mobile-menu[open] .burger-lines span:nth-child(2) { opacity: 0; }
    .mobile-menu[open] .burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .mobile-nav {
      position: absolute;
      right: 0;
      top: calc(100% + 12px);
      width: min(286px, calc(100vw - 28px));
      padding: 9px;
      border-radius: 20px;
      border: 1px solid rgba(63,98,156,.16);
      background: rgba(255,255,255,.94);
      box-shadow: 0 24px 70px rgba(20, 56, 120, .16), inset 0 1px 0 rgba(255,255,255,.96);
      backdrop-filter: blur(18px) saturate(140%);
      -webkit-backdrop-filter: blur(18px) saturate(140%);
    }
    .mobile-nav a {
      display: flex;
      align-items: center;
      min-height: 46px;
      padding: 0 13px;
      border-radius: 13px;
      color: var(--text);
      font-size: 15px;
      font-weight: 720;
      letter-spacing: -.015em;
      transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
    }
    .mobile-nav a:hover {
      color: var(--blue);
      background: rgba(36,104,242,.07);
      transform: translateX(2px);
    }

    @media (max-width: 1260px) {
      .header-inner {
        width: min(100% - 40px, var(--max));
        height: 72px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 16px;
      }
      .brand,
      .brand img {
        width: 164px;
      }
      .nav {
        display: none !important;
      }
      .header-actions {
        justify-self: end;
        gap: 12px;
        font-size: 15px;
      }
      .header-actions .header-start,
      .header-actions .btn {
        display: none !important;
      }
      .install-button {
        order: 1;
        min-height: 42px;
        padding: 0 15px;
        border-color: rgba(36,104,242,.30);
        background: linear-gradient(135deg, #eef6ff 0%, #e3f0ff 100%);
        box-shadow: 0 8px 22px rgba(35, 109, 242, .12), inset 0 1px 0 rgba(255,255,255,.96);
      }
      .login-link {
        order: 2;
        display: inline-flex !important;
        align-items: center;
        min-height: 44px;
        white-space: nowrap;
      }
      .mobile-menu {
        order: 3;
        display: block;
      }
    }

    @media (max-width: 560px) {
      .header-inner {
        width: calc(100% - 28px);
        height: 70px;
        gap: 10px;
      }
      .brand,
      .brand img {
        width: 148px;
      }
      .header-actions {
        gap: 8px;
      }
      .install-button {
        min-height: 40px;
        padding: 0 12px;
        border-radius: 12px;
        font-size: 13.5px;
      }
      .login-link {
        font-size: 14px;
        min-height: 42px;
      }
      .menu-button {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
        font-size: 14px;
      }
      .mobile-nav {
        top: calc(100% + 10px);
      }
    }

    @media (max-width: 360px) {
      .header-inner {
        gap: 6px;
      }
      .brand,
      .brand img {
        width: 106px;
      }
      .install-button {
        min-height: 38px;
        padding: 0 7px;
        border-radius: 11px;
        font-size: 12px;
        letter-spacing: -.02em;
      }
      .menu-button {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        padding: 0;
      }
      .burger-lines {
        width: 17px;
        height: 13px;
      }
      .login-link {
        font-size: 13px;
      }
      .header-actions {
        gap: 6px;
      }
    }

    /* Final visual polish: equal CTA sizing, quieter premium gradients, no extra footer rule */
    :root {
      --blue: #245fe8;
      --blue-2: #2686ea;
      --cyan: #1fb3c2;
      --shadow-blue: 0 22px 58px rgba(36, 95, 232, .22);
    }

    h1 .accent {
      display: inline;
      padding-right: .08em;
      margin-right: -.08em;
      background: linear-gradient(103deg, #2457e6 0%, #2a73ed 55%, #1aa7bc 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .btn-primary {
      background: linear-gradient(135deg, #2457e6 0%, #2870ea 52%, #1d8fd4 100%);
      box-shadow: 0 14px 32px rgba(36, 95, 232, .23), inset 0 1px 0 rgba(255,255,255,.30);
    }
    .btn-primary:hover {
      box-shadow: 0 19px 40px rgba(36, 95, 232, .29), inset 0 1px 0 rgba(255,255,255,.32);
    }

    .progress-bar span {
      background: linear-gradient(90deg, #245fe8, #2686ea);
    }

    .site-footer {
      border-top: 0 !important;
    }

    .cta-row .btn {
      width: 248px;
      flex: 0 0 248px;
    }

    @media (min-width: 1261px) {
      .header-inner {
        grid-template-columns: 220px minmax(0, 1fr) 398px;
      }
      .header-actions .install-button,
      .header-actions .header-start {
        width: 138px;
        min-width: 138px;
        min-height: 52px;
        padding: 0 18px;
        border-radius: 14px;
        font-size: 16px;
      }
      .header-actions .header-start {
        gap: 12px;
      }
    }

    @media (min-width: 701px) and (max-width: 1320px) {
      .cta-row .btn {
        width: 236px;
        flex-basis: 236px;
      }
    }

    @media (max-width: 700px) {
      .cta-row .btn {
        width: 100%;
        flex: none;
      }
    }

    /* Final responsive QA pass: stable CTAs across popular mobile/tablet widths */
    @media (max-width: 900px) {
      .hero-copy .cta-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 560px);
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        gap: 14px;
      }
      .hero-copy .cta-row .btn {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        padding-left: 16px;
        padding-right: 16px;
      }
    }

    @media (max-width: 560px) {
      .hero-copy .cta-row {
        grid-template-columns: 1fr;
        width: min(100%, 420px);
        max-width: 420px;
      }
      .hero-copy .cta-row .btn {
        min-height: 54px;
      }
    }

    @media (max-width: 380px) {
      .hero-copy .cta-row {
        width: 100%;
      }
      .hero-copy .cta-row .btn {
        min-height: 52px;
        padding-left: 14px;
        padding-right: 14px;
        font-size: 15.5px;
      }
    }

    /* Prevent rare tablet text/metric collisions in the practice header */
    @media (max-width: 1180px) {
      .practice-top {
        gap: 18px;
      }
      .practice-top > div:first-child {
        min-width: 0;
      }
      .surface-title {
        max-width: 100%;
      }
    }

    @media (max-width: 760px) {
      .practice-top {
        align-items: flex-start;
      }
      .metrics {
        flex: 0 0 auto;
      }
    }

    /* Tablet burger dropdown: keep existing behavior, but make surface calmer and less transparent */
    @media (min-width: 701px) and (max-width: 1260px) {
      .mobile-nav {
        background: rgba(255,255,255,.985);
        border-color: rgba(63,98,156,.18);
        box-shadow: 0 24px 70px rgba(20, 56, 120, .18), inset 0 1px 0 rgba(255,255,255,.98);
      }
    }

    /* Narrow screens: hero CTA buttons stack one per row and fill the available width */
    @media (max-width: 700px) {
      .hero-copy .cta-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: min(100%, 420px) !important;
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 12px !important;
      }
      .hero-copy .cta-row .btn {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        justify-self: stretch !important;
      }
    }

    /* Mobile burger: open as an inline list below the header row and push the page content down */
    @media (max-width: 700px) {
      .site-header {
        transition: padding-bottom .24s var(--ease);
      }
      .mobile-menu {
        position: static;
      }
      .site-header:has(.mobile-menu[open]) {
        padding-bottom: 322px;
      }
      .mobile-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 82px;
        width: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        display: none;
        z-index: 70;
      }
      .mobile-menu[open] .mobile-nav {
        display: grid;
        gap: 10px;
      }
      .mobile-nav a {
        min-height: 50px;
        padding: 0 18px;
        border-radius: 18px;
        border: 1px solid rgba(63,98,156,.16);
        background: rgba(255,255,255,.96);
        box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.96);
        color: var(--text-2);
        font-size: 17px;
        font-weight: 760;
      }
      .mobile-nav a:hover {
        transform: translateX(0);
        color: var(--blue);
        background: rgba(248,251,255,.98);
      }
    }

    @media (max-width: 560px) {
      .site-header:has(.mobile-menu[open]) {
        padding-bottom: 314px;
      }
      .mobile-nav {
        top: 80px;
      }
    }

    @media (max-width: 360px) {
      .site-header:has(.mobile-menu[open]) {
        padding-bottom: 299px;
      }
      .mobile-nav {
        left: 10px;
        right: 10px;
        top: 76px;
      }
      .mobile-nav a {
        min-height: 48px;
        border-radius: 16px;
        font-size: 16px;
      }
    }



    /* Courses page */
    .courses-page {
      flex: 1 0 auto;
    }

    .courses-hero,
    .levels-section,
    .level-test-section {
      width: min(var(--max), calc(100% - 96px));
      margin: 0 auto;
    }

    .courses-hero {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(390px, .66fr);
      align-items: center;
      gap: clamp(42px, 5vw, 78px);
      padding: clamp(54px, 6vw, 88px) 0 48px;
    }

    .courses-copy {
      min-width: 0;
      max-width: 800px;
    }

    .vv-hero-chips {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 34px;
    }
    .vv-hero-chip {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      min-height: 36px;
      padding: 0 14px;
      border-radius: 13px;
      color: var(--blue);
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(36, 104, 242, .20);
      box-shadow: 0 8px 24px rgba(38, 100, 219, .055), inset 0 1px 0 rgba(255,255,255,.9);
      font-weight: 750;
      font-size: 15px;
      letter-spacing: -.01em;
      white-space: nowrap;
    }
    .vv-hero-chip--highlight { color: #168a45; border-color: rgba(15, 159, 69, .16); background: rgba(240, 252, 245, .82); }
    .vv-hero-chip__prefix { line-height: 1; transform: translateY(-.5px); }

    .courses-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      margin-bottom: 34px;
      padding: 11px 15px 10px;
      border-radius: 13px;
      color: var(--blue);
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(36, 104, 242, .20);
      box-shadow: 0 8px 24px rgba(38, 100, 219, .055), inset 0 1px 0 rgba(255,255,255,.9);
      font-weight: 720;
      font-size: 15px;
      letter-spacing: -.01em;
      white-space: nowrap;
    }
    .courses-eyebrow svg { flex: 0 0 auto; }
    .courses-eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .75; }

    .courses-title {
      margin: 0;
      max-width: 850px;
      font-size: clamp(50px, 4.7vw, 76px);
      line-height: .98;
      letter-spacing: -.062em;
      font-weight: 830;
      color: var(--text);
    }

    .courses-lead {
      margin: 28px 0 0;
      max-width: 690px;
      color: var(--text-2);
      font-size: 20px;
      line-height: 1.54;
      letter-spacing: -.018em;
      font-weight: 500;
    }

    .courses-cta-row {
      display: flex;
      align-items: center;
      gap: 22px;
      margin-top: 30px;
    }
    .courses-cta-row .btn { min-width: 212px; }

    .courses-overview {
      position: relative;
      border-radius: 34px;
      border: 1px solid var(--border);
      background: linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(247,250,255,.82) 100%);
      box-shadow: 0 34px 86px rgba(19, 68, 160, .13), inset 0 1px 0 rgba(255,255,255,.98);
      padding: clamp(26px, 3vw, 34px);
      overflow: hidden;
      min-height: 430px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .courses-overview::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(270px 180px at 82% 9%, rgba(36,104,242,.10), transparent 70%),
        radial-gradient(280px 220px at 18% 88%, rgba(48,201,210,.05), transparent 76%);
      pointer-events: none;
    }
    .courses-overview > * { position: relative; z-index: 1; }

    .overview-main {
      display: grid;
      grid-template-columns: 108px 1fr;
      align-items: center;
      gap: 20px;
      padding: 22px;
      border-radius: 26px;
      background: rgba(255,255,255,.74);
      border: 1px solid rgba(63, 98, 156, .13);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.96);
      color: var(--text);
      font-size: 20px;
      line-height: 1.22;
      font-weight: 790;
      letter-spacing: -.035em;
    }
    .overview-number {
      width: 92px;
      height: 92px;
      border-radius: 30px;
      display: grid;
      place-items: center;
      color: #0d58ea;
      background: linear-gradient(180deg, #edf5ff, #e4efff);
      border: 1px solid rgba(36,104,242,.16);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 10px 28px rgba(30,88,184,.08);
      font-size: 44px;
      font-weight: 850;
      letter-spacing: -.06em;
    }

    .overview-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-top: 16px;
    }
    .overview-pill {
      min-height: 104px;
      padding: 18px;
      border-radius: 22px;
      border: 1px solid rgba(63,98,156,.13);
      background: rgba(255,255,255,.74);
      box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.92);
    }
    .overview-pill.wide { grid-column: 1 / -1; min-height: 88px; }
    .overview-pill span {
      display: block;
      color: var(--text-3);
      font-size: 12px;
      font-weight: 780;
      margin-bottom: 8px;
    }
    .overview-pill strong {
      display: block;
      font-size: 16px;
      line-height: 1.28;
      letter-spacing: -.025em;
      font-weight: 830;
    }
    .courses-overview p {
      margin: 18px 2px 0;
      color: var(--text-2);
      font-size: 14px;
      line-height: 1.55;
      font-weight: 600;
    }

    .levels-section {
      padding: 8px 0 54px;
    }
    .courses-section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 30px;
      margin-bottom: 22px;
    }
    .courses-section-head h2 {
      margin: 0;
      color: var(--text);
      font-size: clamp(30px, 2.55vw, 42px);
      line-height: 1.05;
      letter-spacing: -.045em;
      font-weight: 830;
    }
    .courses-section-head p {
      margin: 0;
      max-width: 500px;
      color: var(--text-2);
      font-size: 16px;
      line-height: 1.48;
      font-weight: 580;
      text-align: right;
    }

    .levels-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 22px;
    }
    .level-card {
      position: relative;
      min-height: 300px;
      display: flex;
      flex-direction: column;
      padding: 24px;
      border-radius: 28px;
      border: 1px solid rgba(63,98,156,.15);
      background: rgba(255,255,255,.78);
      box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.92);
      overflow: hidden;
      transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
    }
    .level-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(220px 150px at 82% 0%, rgba(36,104,242,.075), transparent 72%);
      opacity: .9;
      pointer-events: none;
    }
    .level-card > * { position: relative; z-index: 1; }
    .level-card:hover {
      transform: translateY(-4px);
      border-color: rgba(36,104,242,.25);
      background: rgba(255,255,255,.92);
      box-shadow: 0 20px 48px rgba(20,56,120,.11), inset 0 1px 0 rgba(255,255,255,.95);
    }
    .level-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 28px;
    }
    .level-badge {
      min-width: 64px;
      height: 58px;
      padding: 0 14px;
      border-radius: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #1f5ff2;
      background: linear-gradient(180deg, #edf5ff, #e4efff);
      border: 1px solid rgba(36,104,242,.16);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 10px 28px rgba(30,88,184,.07);
      font-size: 22px;
      font-weight: 850;
      letter-spacing: -.035em;
    }
    .level-b1 .level-badge,
    .level-a2 .level-badge { color: #15934c; background: linear-gradient(180deg, #e7fbef, #def6e7); border-color: rgba(15,159,69,.16); }
    .level-a1 .level-badge { color: #7754f3; background: linear-gradient(180deg, #f2eaff, #ece2ff); border-color: rgba(119,84,243,.18); }
    .level-status {
      display: inline-flex;
      align-items: center;
      height: 26px;
      padding: 0 11px;
      border-radius: 99px;
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(44,88,162,.13);
      color: var(--text-2);
      font-size: 12px;
      font-weight: 780;
      white-space: nowrap;
    }
    .level-status.mid { color: #1a8c4b; border-color: rgba(15,159,69,.15); background: #edf9f0; }
    .level-card h3 {
      margin: 0 0 18px;
      color: var(--text);
      font-size: 25px;
      line-height: 1.08;
      letter-spacing: -.045em;
      font-weight: 830;
    }
    .level-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
    }
    .level-meta span {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 10px;
      border-radius: 99px;
      background: rgba(245,248,255,.82);
      border: 1px solid rgba(63,98,156,.10);
      color: var(--text-2);
      font-size: 12px;
      font-weight: 720;
      white-space: nowrap;
    }
    .level-link {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 46px;
      padding: 0 14px 0 16px;
      border-radius: 14px;
      color: var(--blue);
      background: rgba(255,255,255,.75);
      border: 1px solid rgba(36,104,242,.16);
      box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.95);
      font-weight: 790;
      transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
    }
    .level-link:hover { transform: translateY(-1px); border-color: rgba(36,104,242,.28); background: rgba(255,255,255,.94); }

    .level-test-section { padding: 0 0 48px; }
    .test-panel {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 32px;
      padding: clamp(30px, 3.3vw, 44px);
      border-radius: 32px;
      border: 1px solid var(--border);
      background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(246,250,255,.84));
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.96);
      overflow: hidden;
      position: relative;
    }
    .test-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(420px 220px at 88% 20%, rgba(36,104,242,.09), transparent 70%);
      pointer-events: none;
    }
    .test-panel > * { position: relative; z-index: 1; }
    .test-panel h2 {
      margin: 0 0 14px;
      color: var(--text);
      font-size: clamp(30px, 2.65vw, 44px);
      line-height: 1.05;
      letter-spacing: -.045em;
      font-weight: 830;
    }
    .test-panel p {
      margin: 0;
      max-width: 760px;
      color: var(--text-2);
      font-size: 18px;
      line-height: 1.55;
      font-weight: 560;
    }
    .test-panel .btn { min-width: 184px; }

    @media (max-width: 1360px) {
      .courses-hero,
      .levels-section,
      .level-test-section { width: min(100% - 48px, var(--max)); }
      .courses-hero { grid-template-columns: minmax(0, 1fr) 360px; gap: 38px; padding-top: 56px; }
      .courses-title { font-size: clamp(48px, 4.8vw, 64px); }
      .levels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .level-card { min-height: 250px; }
    }

    @media (max-width: 1080px) {
      .courses-hero { grid-template-columns: 1fr; max-width: 920px; }
      .courses-copy { max-width: 780px; margin-inline: auto; text-align: center; }
      .courses-lead { margin-inline: auto; }
      .courses-cta-row { justify-content: center; }
      .courses-overview { max-width: 760px; min-height: auto; margin-inline: auto; }
      .courses-section-head { display: block; text-align: center; }
      .courses-section-head p { margin: 12px auto 0; text-align: center; }
      .test-panel { grid-template-columns: 1fr; text-align: center; justify-items: center; }
      .test-panel p { margin-inline: auto; }
    }

    @media (max-width: 900px) {
      .courses-hero,
      .levels-section,
      .level-test-section { width: min(100% - 28px, 760px); }
      .courses-hero { padding-top: 34px; padding-bottom: 34px; gap: 28px; }
      .courses-title { font-size: clamp(42px, 8.4vw, 60px); }
      .courses-lead { font-size: 18px; }
      .courses-eyebrow { margin-bottom: 24px; max-width: 100%; white-space: normal; justify-content: center; flex-wrap: wrap; }
      .courses-hero-chips { margin-bottom: 24px; justify-content: center; }
      .courses-hero-chip { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
      .overview-main { grid-template-columns: 84px 1fr; text-align: left; font-size: 18px; }
      .overview-number { width: 76px; height: 76px; border-radius: 24px; font-size: 36px; }
      .levels-grid { gap: 16px; }
      .level-card { border-radius: 24px; padding: 22px; }
      .level-card h3 { font-size: 23px; }
      .level-test-section { padding-bottom: 34px; }
    }

    @media (max-width: 640px) {
      .courses-copy { text-align: center; }
      .courses-title { font-size: clamp(38px, 11.4vw, 50px); line-height: 1.02; }
      .courses-lead { font-size: 17px; line-height: 1.54; }
      .courses-cta-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
      .courses-cta-row .btn { width: 100%; min-width: 0; }
      .courses-overview { border-radius: 26px; padding: 18px; }
      .overview-main { grid-template-columns: 72px 1fr; gap: 14px; padding: 16px; border-radius: 22px; }
      .overview-number { width: 62px; height: 62px; border-radius: 20px; font-size: 30px; }
      .overview-grid { grid-template-columns: 1fr; }
      .overview-pill.wide { grid-column: auto; }
      .levels-section { padding-bottom: 36px; }
      .levels-grid { grid-template-columns: 1fr; }
      .courses-section-head h2 { font-size: 28px; }
      .courses-section-head p { font-size: 15px; }
      .level-card { min-height: 0; }
      .level-topline { margin-bottom: 22px; }
      .level-meta span { font-size: 11px; }
      .test-panel { border-radius: 26px; padding: 24px 18px; }
      .test-panel h2 { font-size: 28px; }
      .test-panel p { font-size: 16px; }
      .test-panel .btn { width: 100%; min-width: 0; }
    }

    @media (max-width: 360px) {
      .courses-title { font-size: 35px; }
      .courses-eyebrow { font-size: 13px; gap: 8px; }
      .courses-hero-chips { gap: 8px; }
      .courses-hero-chip { font-size: 13px; }
      .overview-main { grid-template-columns: 1fr; text-align: center; }
      .overview-number { margin-inline: auto; }
      .level-topline { align-items: flex-start; flex-direction: column; }
    }


    /* Courses hero final adjustment: overview panel removed, hero centered on all widths */
    .courses-hero {
      grid-template-columns: minmax(0, 1fr);
      justify-items: center;
      text-align: center;
    }
    .courses-copy {
      max-width: 920px;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }
    .courses-title,
    .courses-lead {
      margin-left: auto;
      margin-right: auto;
    }
    .courses-cta-row {
      justify-content: center;
    }
    .courses-hero-chips {
      justify-content: center;
    }

/* Vocavera dynamic course archive integration guards */
body.vocavera-tutor-course-archive-template-active {
  min-height: 100svh;
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .header-app-desktop,
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .header-app-mobile {
  display: none !important;
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .header-app-desktop.vocavera-install-cta--visible {
  display: inline-flex !important;
}
@media (max-width: 1260px) {
  body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .header-app-desktop.vocavera-install-cta--visible,
.header-actions .header-app-desktop.vocavera-install-cta--visible { display: none !important; }
  body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .header-app-mobile.vocavera-install-cta--visible {
    display: inline-flex !important;
  }
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .header-app-desktop.vocavera-install-cta--visible,
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .header-app-mobile.vocavera-install-cta--visible {
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .level-link--continue {
  color: #0f9f45;
  border-color: rgba(15,159,69,.18);
  background: rgba(237,249,240,.78);
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .level-link--completed {
  color: #7351f4;
  border-color: rgba(121,95,255,.18);
  background: rgba(244,237,255,.78);
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .catalog-empty-state {
  grid-column: 1 / -1;
  min-height: 180px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(63,98,156,.15);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.92);
  text-align: center;
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .catalog-empty-state h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -.035em;
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .catalog-empty-state p {
  margin: 0;
  color: var(--text-2);
  font-weight: 560;
  line-height: 1.5;
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .levels-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px auto 0;
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .levels-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(63,98,156,.15);
  background: rgba(255,255,255,.76);
  color: var(--text-2);
  font-weight: 760;
  text-decoration: none;
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .levels-pagination .page-link.current,
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .levels-pagination .page-link.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #2457e6 0%, #2870ea 52%, #1d8fd4 100%);
}
body.vocavera-tutor-course-archive-template-active .vocavera-courses-archive-page .footer-links a {
  text-decoration: none;
}



/* v652 public header/footer sync: homepage is the visual reference. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(59, 93, 151, .12);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.header-inner {
  width: min(var(--max), calc(100% - 96px));
  height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 398px;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: 196px;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.brand:hover { transform: translateY(-1px); opacity: .96; }
.brand img { width: 196px; height: auto; display: block; }
.nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 38px);
  min-width: 0;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -.012em;
}
.nav a,
.login-link,
.header-login {
  position: relative;
  color: #0c1731;
  transition: color .18s var(--ease);
  text-decoration: none;
}
.nav a { white-space: nowrap; }
.nav a::after,
.login-link::after,
.header-login::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: transform .22s var(--ease);
}
.header-login::after { bottom: 2px; }
.nav a:hover,
.login-link:hover,
.header-login:hover { color: var(--blue); }
.nav a:hover::after,
.login-link:hover::after,
.header-login:hover::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 650;
  font-size: 16px;
}
.header-actions .top-actions-auth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  order: 1;
  min-width: 0;
}
.header-actions .header-start { order: 2; }
.header-actions .mobile-menu { order: 3; }
.header-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-weight: 650;
}
.header-app-desktop,
.header-app-mobile,
.header-actions .header-app-desktop,
.header-actions .header-app-mobile {
  display: none !important;
}
.header-app-desktop.vocavera-install-cta--visible,
.header-app-mobile.vocavera-install-cta--visible,
.header-actions .header-app-desktop.vocavera-install-cta--visible,
.header-actions .header-app-mobile.vocavera-install-cta--visible {
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(36,104,242,.22) !important;
  background: linear-gradient(180deg, rgba(240,247,255,.96), rgba(226,238,255,.90)) !important;
  color: #1f5ff2 !important;
  -webkit-text-fill-color: #1f5ff2 !important;
  box-shadow: 0 10px 24px rgba(35, 109, 242, .10), inset 0 1px 0 rgba(255,255,255,.96) !important;
  font-weight: 760 !important;
  font-size: 15px !important;
  letter-spacing: -.015em !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease), color .24s var(--ease) !important;
}
.header-app-desktop.vocavera-install-cta--visible,
.header-actions .header-app-desktop.vocavera-install-cta--visible {
  display: inline-flex !important;
  order: 1;
}
.header-app-mobile.vocavera-install-cta--visible,
.header-actions .header-app-mobile.vocavera-install-cta--visible {
  display: none !important;
  order: 2;
}
.header-app-desktop.vocavera-install-cta--visible:hover,
.header-app-mobile.vocavera-install-cta--visible:hover,
.header-app-desktop.vocavera-install-cta--visible:focus-visible,
.header-app-mobile.vocavera-install-cta--visible:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36,104,242,.35) !important;
  background: linear-gradient(180deg, rgba(232,243,255,.98), rgba(214,232,255,.94)) !important;
  box-shadow: 0 16px 34px rgba(35, 109, 242, .16), inset 0 1px 0 rgba(255,255,255,.98) !important;
}
.mobile-menu {
  display: none;
  position: relative;
  z-index: 80;
}
.menu-button {
  list-style: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-radius: 13px;
  border: 1px solid rgba(64, 97, 156, .16);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.95);
  color: var(--text);
  cursor: pointer;
  user-select: none;
  font-weight: 760;
  font-size: 15px;
  letter-spacing: -.015em;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease), color .22s var(--ease);
}
.menu-button::-webkit-details-marker { display: none; }
.menu-button:hover {
  transform: translateY(-1px);
  border-color: rgba(36,104,242,.26);
  color: var(--blue);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.96);
}
.burger-lines {
  width: 18px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
}
.burger-lines span {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.mobile-menu[open] .burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] .burger-lines span:nth-child(2) { opacity: 0; }
.mobile-menu[open] .burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(286px, calc(100vw - 28px));
  padding: 9px;
  border-radius: 20px;
  border: 1px solid rgba(63,98,156,.16);
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 70px rgba(20, 56, 120, .16), inset 0 1px 0 rgba(255,255,255,.96);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 13px;
  border-radius: 13px;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -.015em;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.mobile-nav a:hover {
  color: var(--blue);
  background: rgba(36,104,242,.07);
  transform: translateX(2px);
}
.site-footer {
  margin-top: auto;
  border-top: 0 !important;
  background: rgba(255,255,255,.52);
}
.compact-footer,
.footer-inner.compact-footer {
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  padding: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.compact-footer .footer-note,
.footer-note {
  min-width: 250px;
  display: flex;
  align-items: baseline !important;
  gap: 13px !important;
  color: var(--text-2);
}
.copyright {
  color: #6f7f9b !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
.compact-footer .footer-note p,
.footer-note p,
.footer-tagline {
  margin: 0 !important;
  color: #6f7f9b !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.footer-links a {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 650;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-links a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}
.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex: 0 0 auto;
}
.socials .social-icon,
.socials .social-link,
.compact-footer .socials a {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(63,98,156,.12);
  background: rgba(255,255,255,.62);
  color: #31415f;
  box-shadow: none;
  transition: transform .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.socials .social-icon:hover,
.socials .social-link:hover,
.compact-footer .socials a:hover {
  transform: translateY(-2px);
  color: var(--blue);
  border-color: rgba(36,104,242,.24);
  background: rgba(255,255,255,.86);
}
@media (min-width: 1261px) {
  .header-actions .header-app-desktop.vocavera-install-cta--visible,
  .header-actions .header-start,
  .header-actions .install-button,
  .header-actions .btn.header-start {
    width: 138px;
    min-width: 138px;
    min-height: 52px !important;
    padding: 0 18px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
  }
  .header-actions .header-start { gap: 12px; }
}
@media (max-width: 1260px) {
  .header-inner {
    width: min(100% - 40px, var(--max));
    height: 72px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
  }
  .brand,
  .brand img { width: 164px; }
  .nav { display: none !important; }
  .header-actions {
    justify-self: end;
    gap: 12px;
    font-size: 15px;
  }
  .header-actions .header-start,
  .header-actions .btn { display: none !important; }
  .header-actions .top-actions-auth {
    gap: 8px;
    order: 1;
  }
  .header-app-desktop.vocavera-install-cta--visible,
.header-actions .header-app-desktop.vocavera-install-cta--visible { display: none !important; }
  .header-app-mobile.vocavera-install-cta--visible,
  .header-actions .header-app-mobile.vocavera-install-cta--visible {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  order: 2 !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  border-radius: 12px !important;
  border-color: rgba(36,104,242,.30) !important;
  background: linear-gradient(135deg, #eef6ff 0%, #e3f0ff 100%) !important;
  box-shadow: 0 8px 22px rgba(35, 109, 242, .12), inset 0 1px 0 rgba(255,255,255,.96) !important;
}
  .header-login,
  .login-link {
    order: 1;
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
    font-size: 15px;
  }
  .mobile-menu {
    order: 3;
    display: block;
  }
}
@media (max-width: 900px) {
  .compact-footer,
  .footer-inner.compact-footer {
    width: min(100% - 28px, 720px);
    padding: 22px 0 26px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .footer-note { min-width: 0; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .site-header { transition: padding-bottom .24s var(--ease); }
  .mobile-menu { position: static; }
  .site-header:has(.mobile-menu[open]) { padding-bottom: 322px; }
  .mobile-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 82px;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: none;
    z-index: 70;
  }
  .mobile-menu[open] .mobile-nav { display: grid; gap: 10px; }
  .mobile-nav a {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(63,98,156,.16);
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.96);
    color: var(--text-2);
    font-size: 17px;
    font-weight: 760;
  }
  .mobile-nav a:hover {
    transform: translateX(0);
    color: var(--blue);
    background: rgba(248,251,255,.98);
  }
}
@media (max-width: 560px) {
  .header-inner {
    width: calc(100% - 20px) !important;
    height: 64px !important;
    gap: 8px !important;
  }
  .brand,
  .brand img { width: 132px !important; }
  .header-actions,
  .header-actions .top-actions-auth { gap: 6px !important; }
  .header-app-mobile.vocavera-install-cta--visible,
  .header-actions .header-app-mobile.vocavera-install-cta--visible {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  order: 2 !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  padding: 0 8px !important;
  font-size: 12.5px !important;
  line-height: 1 !important;
  border-radius: 11px !important;
}
  .header-login,
  .login-link {
    min-height: 36px !important;
    font-size: 13.5px !important;
    line-height: 1 !important;
  }
  .mobile-menu { margin-right: -4px !important; }
  .menu-button {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 12px !important;
  }
  .burger-lines {
    width: 17px !important;
    height: 13px !important;
  }
  .mobile-nav { top: 72px !important; }
  .site-header:has(.mobile-menu[open]) { padding-bottom: 304px !important; }
  .footer-note {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 5px !important;
  }
  .footer-note p,
  .footer-tagline {
    white-space: normal !important;
    line-height: 1.35 !important;
  }
  .footer-links { gap: 9px 16px; }
}
@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 18px) !important;
    height: 62px !important;
    gap: 6px !important;
  }
  .brand,
  .brand img { width: 118px !important; }
  .header-actions,
  .header-actions .top-actions-auth { gap: 5px !important; }
  .header-app-mobile.vocavera-install-cta--visible,
  .header-actions .header-app-mobile.vocavera-install-cta--visible {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  order: 2 !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  padding: 0 7px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  border-radius: 10px !important;
}
  .header-login,
  .login-link {
    min-height: 34px !important;
    font-size: 13px !important;
  }
  .menu-button {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 11px !important;
  }
  .mobile-menu { margin-right: -5px !important; }
  .mobile-nav {
    left: 10px !important;
    right: 10px !important;
    top: 68px !important;
  }
  .site-header:has(.mobile-menu[open]) { padding-bottom: 294px !important; }
}
@media (max-width: 340px) {
  .brand,
  .brand img { width: 106px !important; }
  .header-app-mobile.vocavera-install-cta--visible,
  .header-actions .header-app-mobile.vocavera-install-cta--visible {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  order: 2 !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  padding: 0 6px !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  border-radius: 10px !important;
}
  .header-login,
  .login-link {
    min-height: 32px !important;
    font-size: 12.5px !important;
  }
  .menu-button {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
  }
  .burger-lines {
    width: 16px !important;
    height: 12px !important;
  }
  .mobile-nav { top: 64px !important; }
}

/* v653 public top-air standard: match homepage header-to-first-sticker spacing. */
@media (min-width: 901px) { .courses-hero { padding-top: 48px !important; } }
@media (max-width: 900px) { .courses-hero { padding-top: 30px !important; } }
@media (max-width: 760px) { .courses-hero { padding-top: 28px !important; } }

/* VOCAVERA_HEADER_SINGLE_INSTALL_CTA_CONTRACT_START */
@media (max-width: 1260px) {
  .site-header .header-actions .header-app-desktop.vocavera-install-cta.vocavera-install-cta--visible,
  .site-header .header-actions .header-app-desktop.vocavera-pwa-app-button.vocavera-install-cta--visible,
  .site-header .header-actions .header-app-desktop.vocavera-install-cta--visible,
  .header-actions .header-app-desktop.vocavera-install-cta.vocavera-install-cta--visible,
  .header-actions .header-app-desktop.vocavera-pwa-app-button.vocavera-install-cta--visible,
  .header-actions .header-app-desktop.vocavera-install-cta--visible {
    display: none !important;
  }

  .site-header .header-actions .header-app-mobile.vocavera-install-cta.vocavera-install-cta--visible,
  .site-header .header-actions .header-app-mobile.vocavera-pwa-app-button.vocavera-install-cta--visible,
  .site-header .header-actions .header-app-mobile.vocavera-install-cta--visible,
  .header-actions .header-app-mobile.vocavera-install-cta.vocavera-install-cta--visible,
  .header-actions .header-app-mobile.vocavera-pwa-app-button.vocavera-install-cta--visible,
  .header-actions .header-app-mobile.vocavera-install-cta--visible {
    display: inline-flex !important;
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    box-sizing: border-box !important;
  }

  .site-header .header-actions .top-actions-auth .header-login,
  .header-actions .top-actions-auth .header-login {
    order: 1 !important;
  }

  .site-header .header-actions .mobile-menu,
  .header-actions .mobile-menu {
    order: 3 !important;
  }
}
/* VOCAVERA_HEADER_SINGLE_INSTALL_CTA_CONTRACT_END */
