:root {
  --page-bg: #f8fbff;
  --text: #07142f;
  --text-muted: #50607f;
  --blue: #2468f2;
  --cyan: #28c9d2;
  --green: #168a45;
  --border: rgba(63, 98, 156, 0.15);
  --card-bg: rgba(255, 255, 255, 0.78);
  --shadow-xs: 0 5px 18px rgba(21, 58, 122, 0.05);
  --shadow-sm: 0 12px 34px rgba(20, 56, 120, 0.08);
  --shadow-md: 0 24px 70px rgba(20, 56, 120, 0.12);
  --content-width: 1424px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

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

svg {
  display: block;
}

.container {
  width: min(var(--content-width), calc(100% - 96px));
  margin-inline: auto;
}

/* Header */

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: #0c1731;
  border: 1px solid rgba(63, 98, 156, 0.18);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 52, 101, 0.14);
  transform: translateY(-160%);
  transition: transform .18s ease;
}

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

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

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

.brand {
  width: 196px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.brand:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.brand img {
  width: 196px;
  height: auto;
  display: block;
}

.desktop-nav {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 38px);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.012em;
}

.desktop-nav a,
.header-login {
  position: relative;
  white-space: nowrap;
  color: #0c1731;
  transition: color 0.18s var(--ease);
}

.desktop-nav a::after,
.header-login::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s var(--ease);
}

.header-login::after {
  bottom: 2px;
}

.desktop-nav a:hover,
.header-login:hover {
  color: var(--blue);
}

.desktop-nav a:hover::after,
.header-login:hover::after {
  transform: scaleX(1);
}

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

.header-login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.button {
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.015em;
  transition:
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease),
    border-color 0.24s var(--ease),
    background 0.24s var(--ease);
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #1f5ff2 0%, #237ff6 48%, #1f9df2 100%);
  box-shadow: 0 14px 32px rgba(35, 109, 242, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button-primary:hover {
  box-shadow: 0 20px 42px rgba(35, 109, 242, 0.31), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(63, 98, 156, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.button-secondary:hover {
  border-color: rgba(36, 104, 242, 0.28);
  box-shadow: var(--shadow-sm);
}

.header-start {
  width: 138px;
  min-width: 138px;
  min-height: 52px;
  padding: 0 18px;
  gap: 12px;
  font-size: 16px;
}

.arrow {
  font-size: 20px;
  line-height: 1;
}

.mobile-menu {
  position: relative;
  z-index: 80;
  display: none;
}

.menu-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  border: 1px solid rgba(64, 97, 156, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.menu-button::-webkit-details-marker {
  display: none;
}

.burger-lines {
  width: 18px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-lines span {
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.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;
  top: calc(100% + 12px);
  right: 0;
  width: min(286px, calc(100vw - 28px));
  padding: 9px;
  border: 1px solid rgba(63, 98, 156, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(20, 56, 120, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.mobile-nav a {
  min-height: 46px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.015em;
}

main {
  flex: 1;
}

/* Hero */
.hero {
  width: min(var(--content-width), calc(100% - 96px));
  margin: 0 auto;
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 650px);
  align-items: center;
  gap: clamp(64px, 5vw, 96px);
}

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

.chips {
  margin-bottom: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(63, 98, 156, 0.14);
  border-radius: 999px;
  color: #30415f;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-xs);
  font-size: 13.5px;
  font-weight: 760;
}

.chip.green {
  color: #106d38;
  border-color: rgba(22, 138, 69, 0.16);
  background: rgba(230, 249, 237, 0.9);
}

.hero h1 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(54px, 4.35vw, 72px);
  line-height: 0.99;
  letter-spacing: -0.058em;
}

.accent {
  color: transparent;
  background: linear-gradient(135deg, #1f5ff2 5%, #27a1ee 58%, #28c9d2 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 670px;
  margin: 30px 0 0;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.62;
  font-weight: 520;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-wrap {
  min-width: 0;
}

/* Trainer preview */
.trainer {
  height: 570px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(63, 98, 156, 0.15);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.trainer-head {
  min-height: 88px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
}

.trainer-title-row {
  min-width: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 13px;
}

.back {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(63, 98, 156, 0.16);
  border-radius: 12px;
  font-size: 28px;
  line-height: 1;
}

.trainer-title-row > div:nth-child(2) {
  min-width: 0;
}

.trainer-title {
  overflow: hidden;
  font-size: 17px;
  font-weight: 820;
  letter-spacing: -0.022em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trainer-sub {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 650;
}

.avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.trainer-progress {
  padding: 0 24px 16px;
  background: #fff;
}

.trainer-progress-row {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #696775;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 750;
}

.trainer-progress-track {
  width: 100%;
  height: 7px;
  display: block;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  background: #e9e8f1;
}

.trainer-progress-track::-webkit-progress-bar {
  border-radius: 999px;
  background: #e9e8f1;
}

.trainer-progress-track::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #675ee8, #9a94ff);
}

.trainer-progress-track::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, #675ee8, #9a94ff);
}

.trainer-stage {
  min-height: 0;
  flex: 1;
  padding: 16px 24px 14px;
  background: #fbfbfe;
}

.speaking {
  margin: 0;
  color: #71809b;
  font-size: 12px;
  font-weight: 760;
}

.message-row {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.message-row .avatar {
  width: 38px;
  height: 38px;
}

.bubble {
  max-width: 78%;
  padding: 14px 16px;
  border: 1px solid rgba(103, 94, 232, 0.22);
  border-radius: 18px 18px 18px 5px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(103, 94, 232, 0.035), var(--shadow-xs);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}

.bubble-tools {
  margin: 9px 0 0 48px;
  display: flex;
  gap: 8px;
}

.bubble-tool {
  min-width: 36px;
  height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  color: #62616c;
  background: #f5f5f8;
  font-size: 11px;
  font-weight: 800;
}

.task {
  margin-top: 18px;
  padding: 16px 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(217, 187, 75, 0.10);
  border-radius: 20px;
  background: #fff2b8;
}

.task-copy {
  min-width: 0;
}

.task-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 16px;
}

.task-label {
  display: block;
  color: #8a7424;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.task-title {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.27;
}

.task-formula {
  margin: 5px 0 0;
  color: #7f702e;
  font-size: 15.5px;
  line-height: 1.27;
  font-weight: 500;
}

.recorder {
  margin-top: 18px;
  display: grid;
  justify-items: center;
}

.mic {
  width: 72px;
  height: 72px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 21, 28, 0.14);
  border-radius: 50%;
  background: #15151c;
  box-shadow: 0 8px 22px rgba(16, 20, 36, 0.18);
}

.mic-glyph {
  position: relative;
  width: 18px;
  height: 27px;
  border: 2px solid #fff;
  border-radius: 10px;
}

.mic-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 28px;
  height: 13px;
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
}

.recorder-caption {
  margin-top: 10px;
  color: #74829c;
  font-size: 12px;
  font-weight: 700;
}

.accepted {
  margin-top: 10px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  color: #15733b;
  background: #edf9f1;
  font-size: 12.5px;
  font-weight: 780;
}

.accepted-check {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #20a155;
  font-size: 12px;
}

/* Content sections */
.section {
  padding: 58px 0;
}

.section-heading {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.54fr);
  align-items: end;
  gap: 56px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 3.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.048em;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 540;
}

/* Topic cards */
.scenario-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 15px;
}

.scenario-card {
  flex: 0 0 calc((100% - 15px) / 2);
  width: calc((100% - 15px) / 2);
  max-width: calc((100% - 15px) / 2);
  min-width: 0;
  min-height: 178px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-xs);
}

.scenario-number {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 20px;
  color: #2468f2;
  background: #edf4ff;
  font-size: 19px;
  line-height: 1;
  font-weight: 860;
}

.scenario-grid .scenario-card:nth-child(3n + 1) .scenario-number {
  color: #2468f2;
  border-color: #cbdcff;
  background: #edf4ff;
}

.scenario-grid .scenario-card:nth-child(3n + 2) .scenario-number {
  color: #7a57f5;
  border-color: #d8ccff;
  background: #f1ebff;
}

.scenario-grid .scenario-card:nth-child(3n + 3) .scenario-number {
  color: #159653;
  border-color: #c7e6d0;
  background: #e7f5eb;
}

.scenario-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.scenario-body h3 {
  margin: 0 0 7px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.scenario-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 520;
}

.scenario-meta {
  width: 100%;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.scenario-practices,
.scenario-steps {
  min-height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9e2f0;
  border-radius: 999px;
  color: #5f6f8a;
  background: #f7f9fc;
  font-size: 12px;
  line-height: 1;
  font-weight: 720;
  white-space: nowrap;
}

/* Practice flow */
.how-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 15px;
}

.how-card {
  flex: 1 1 calc((100% - 30px) / 3);
  min-width: 0;
  min-height: 196px;
  padding: 24px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-xs);
}

.how-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #2468f2, #2da7ea);
  box-shadow: 0 10px 24px rgba(36, 104, 242, 0.18);
  font-size: 14px;
  font-weight: 850;
}

.how-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.how-card p {
  margin: 0 0 2px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.58;
}

/* Course cross-link */
.crosslink {
  padding: 8px 0 42px;
}

.crosslink-inline {
  padding: 22px 2px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border-top: 0;
  border-bottom: 0;
}

.crosslink-copy {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.crosslink-eyebrow,
.final-eyebrow {
  display: inline-flex;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.crosslink-eyebrow {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf5ff;
}

.crosslink-text h3 {
  margin: 0 0 5px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.crosslink-text p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 550;
}

.crosslink-route {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

/* Final call to action */
.final {
  padding: 0 0 58px;
}

.final-card {
  padding: 36px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  border: 1px solid rgba(63, 98, 156, 0.13);
  border-radius: 30px;
  background: linear-gradient(135deg, #fbfdff, #f2f7ff);
  box-shadow: var(--shadow-xs);
}

.final-eyebrow {
  margin-bottom: 8px;
}

.final-card h2 {
  margin: 0 0 9px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.final-card p {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.final-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.final-actions .button {
  min-width: 190px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.52);
}

.footer-inner {
  width: min(var(--content-width), 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: baseline;
  gap: 13px;
  color: #6f7f9b;
}

.copyright,
.footer-note p {
  margin: 0;
  white-space: nowrap;
  color: #6f7f9b;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #31415f;
  border: 1px solid rgba(63, 98, 156, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Responsive layout */
@media (max-width: 1260px) {
  .header-inner {
    width: min(100% - 40px, var(--content-width));
    height: 72px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
  }

  .brand,
  .brand img {
    width: 160px;
  }

  .desktop-nav,
  .header-start {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    width: min(100% - 48px, 1040px);
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(48px, 4.8vw, 60px);
  }
}

@media (max-width: 1080px) {
  .container,
  .hero {
    width: min(100% - 40px, 860px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }

  .chips,
  .hero-actions {
    justify-content: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .demo-wrap {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .section-heading {
    display: block;
    text-align: center;
  }

  .section-heading p {
    max-width: 690px;
    margin: 12px auto 0;
  }

  .scenario-grid {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .scenario-card {
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .how-card {
    flex-basis: calc((100% - 15px) / 2);
  }

  .crosslink-inline {
    align-items: flex-start;
  }

  .crosslink-copy {
    display: block;
  }

  .crosslink-eyebrow {
    margin: 0 0 10px;
  }

  .final-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .button {
    min-height: 54px;
    padding-inline: 22px;
    font-size: 16px;
  }

  .container,
  .hero {
    width: min(100% - 28px, 760px);
  }

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

  .hero h1 {
    font-size: clamp(42px, 8.4vw, 60px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .footer-inner {
    width: min(100% - 28px, 720px);
    padding: 22px 0 26px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .socials {
    order: 1;
  }

  .footer-links {
    order: 2;
    justify-content: flex-start;
  }

  .footer-note {
    min-width: 0;
    order: 3;
  }
}

@media (max-width: 700px) {
  .mobile-menu {
    position: static;
  }

  .site-header:has(.mobile-menu[open]) {
    padding-bottom: 382px;
  }

  .mobile-nav {
    position: absolute;
    top: 82px;
    right: 14px;
    left: 14px;
    width: auto;
    padding: 0;
    display: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-menu[open] .mobile-nav {
    display: grid;
    gap: 10px;
  }

  .mobile-nav a {
    min-height: 50px;
    padding: 0 18px;
    color: var(--text-muted);
    border: 1px solid rgba(63, 98, 156, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    font-size: 17px;
    font-weight: 760;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .scenario-card {
    padding: 18px;
    gap: 14px;
  }

  .scenario-number {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    font-size: 17px;
  }

  .how-shell {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .how-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    padding-bottom: 28px;
  }

  .crosslink {
    padding-bottom: 32px;
  }

  .crosslink-inline {
    display: block;
    padding: 20px 0;
  }

  .crosslink-route {
    margin-top: 16px;
    white-space: normal;
  }

  .final {
    padding-bottom: 38px;
  }

  .final-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .final-card h2 {
    font-size: 28px;
  }

  .final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .final-actions .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: calc(100% - 20px);
    height: 64px;
    gap: 8px;
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-login {
    min-height: 36px;
    font-size: 13.5px;
    line-height: 1;
  }

  .menu-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 12px;
  }

  .burger-lines {
    width: 17px;
    height: 13px;
  }

  .mobile-nav {
    top: 72px;
  }

  .site-header:has(.mobile-menu[open]) {
    padding-bottom: 364px;
  }

  .hero {
    width: calc(100% - 24px);
    padding-top: 28px;
  }

  .chips {
    margin-bottom: 24px;
    gap: 8px;
  }

  .chip {
    min-height: 31px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 49px);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trainer {
    height: auto;
    min-height: 570px;
    border-radius: 26px;
  }

  .trainer-head {
    min-height: 76px;
    padding: 13px 15px;
  }

  .trainer-title-row {
    grid-template-columns: 36px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .trainer-title {
    font-size: 15px;
  }

  .trainer-progress {
    padding: 0 16px 14px;
  }

  .trainer-progress-row {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .trainer-stage {
    padding: 16px 16px 15px;
  }

  .bubble {
    max-width: calc(100% - 48px);
    font-size: 14px;
  }

  .task {
    padding: 14px 12px;
  }

  .task-title {
    font-size: 14px;
  }

  .task-formula {
    font-size: 15px;
  }

  .mic {
    width: 68px;
    height: 68px;
  }

  .footer-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .footer-note p {
    white-space: normal;
    line-height: 1.35;
  }

  .footer-links {
    gap: 9px 16px;
  }
}

@media (max-width: 430px) {
  .scenario-card {
    padding: 17px 16px;
    gap: 12px;
  }

  .scenario-number {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .scenario-practices,
  .scenario-steps {
    min-height: 31px;
    padding-inline: 11px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 18px);
    height: 62px;
    gap: 6px;
  }

  .brand,
  .brand img {
    width: 118px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-login {
    min-height: 34px;
    font-size: 13px;
  }

  .menu-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    border-radius: 11px;
  }

  .mobile-nav {
    top: 68px;
    right: 10px;
    left: 10px;
  }

  .site-header:has(.mobile-menu[open]) {
    padding-bottom: 360px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

/* VOCAVERA_HEADER_LAYOUT_STAGE2_V1_0_3_START */
@media (min-width: 1261px) and (max-width: 1519px) {
  .site-header .header-inner {
    width: min(100% - 40px, var(--content-width));
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
  }

  .site-header .desktop-nav {
    gap: clamp(14px, 2vw, 32px);
  }

  .site-header .header-actions {
    justify-self: end;
    gap: 12px;
  }
}
/* VOCAVERA_HEADER_LAYOUT_STAGE2_V1_0_3_END */
