/* ==========================================================================
   EWA for Business — Custom AI Tutor Scenarios
   Static landing page. No external requests.
   ========================================================================== */

@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/gilroy-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/gilroy-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/gilroy-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/gilroy-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1a2b4a;
  --ink: #06172c;
  --muted: #65738a;
  --blue: #00aaff;
  --blue-dark: #087bb5;
  --surface: #e8f7ff;
  --surface-2: #effaff;
  --surface-3: #f7fbfd;
  --white: #ffffff;
  --line: #e3ebf2;
  --lavender: #f3e9fb;
  --shadow-soft: 0 18px 40px rgba(6, 23, 44, 0.08);
  --shadow-card: 0 10px 30px rgba(6, 23, 44, 0.05);
  --radius-card: 24px;
  --radius-sm: 16px;
  --shell: min(100% - 48px, 1220px);
  --font: "Gilroy", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  color: var(--navy);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section { padding: clamp(64px, 7.5vw, 100px) 0; }
.section-tint { background: var(--surface-3); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
}

h2 {
  font-size: clamp(1.9rem, 3.9vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 4.5vw, 54px);
  text-align: center;
}
.section-head-left {
  margin-inline: 0;
  text-align: left;
  max-width: 720px;
}
.section-head p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 15px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 170, 255, 0.26);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(8, 123, 181, 0.26);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: #fff;
  border-color: #cfe4f3;
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(6, 23, 44, 0.04);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-small { padding: 11px 20px; font-size: 13px; }

.btn-on-dark {
  box-shadow: 0 14px 30px rgba(0, 170, 255, 0.34);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 28px; width: auto; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 11px;
  border-radius: 11px;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.nav-link:hover { background: var(--surface-3); color: var(--blue-dark); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.login-link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.login-link:hover { color: var(--blue-dark); }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.menu-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 40px rgba(6, 23, 44, 0.08);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 14px 0 24px;
}
.mobile-nav-link {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-link:hover { color: var(--blue-dark); }
.mobile-nav-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--surface-3);
  padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 7.5vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: -40% 0 auto 50%;
  width: min(1200px, 120%);
  height: 760px;
  transform: translateX(-50%);
  background:
    radial-gradient(48% 52% at 50% 42%, rgba(0, 170, 255, 0.17), rgba(0, 170, 255, 0) 70%),
    radial-gradient(30% 40% at 18% 60%, rgba(0, 170, 255, 0.08), rgba(0, 170, 255, 0) 72%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  max-width: 980px;
  text-align: center;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
}

.hero-sub {
  max-width: 730px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.62;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 20px;
  margin-top: 30px;
  font-size: 13px;
  font-weight: 500;
  color: #5b6b82;
}
.trust-row li { display: flex; align-items: center; gap: 20px; }
.trust-row li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b9d3e4;
  flex-shrink: 0;
}

/* ---------- Video ---------- */

.video-section { background: #fff; }

.video-wrap { max-width: 1040px; margin: 0 auto; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    radial-gradient(90% 90% at 18% 6%, #14416d 0%, rgba(20, 65, 109, 0) 62%),
    radial-gradient(70% 80% at 88% 96%, #0a2a4d 0%, rgba(10, 42, 77, 0) 60%),
    linear-gradient(160deg, #0a2340 0%, #06172c 58%, #04101f 100%);
  box-shadow: 0 30px 70px rgba(6, 23, 44, 0.18);
  border: 1px solid rgba(6, 23, 44, 0.6);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 50% 50%, rgba(0, 170, 255, 0.14), rgba(0, 170, 255, 0) 100%);
  pointer-events: none;
}

.explainer {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(6, 23, 44, 0.04) 0%, rgba(6, 23, 44, 0.3) 100%);
  cursor: pointer;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.play-overlay[hidden] { display: none; }
.play-overlay:focus-visible { outline-offset: -6px; border-radius: var(--radius-card); }

.play-circle {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  padding-left: 4px;
  box-shadow: 0 18px 40px rgba(6, 23, 44, 0.32);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.play-overlay:hover .play-circle { transform: scale(1.06); color: var(--blue-dark); }

.video-caption {
  max-width: 780px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.step {
  position: relative;
  padding: 32px 28px 34px;
}
.step + .step { border-left: 1px solid var(--line); }

.step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52px;
  height: 1px;
  background: #e9f1f7;
  z-index: 0;
}

.step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.step h3 {
  margin: 22px 0 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Offer band ---------- */

.offer {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 7.5vw, 96px) 0;
  overflow: hidden;
  isolation: isolate;
}

.offer-glow {
  position: absolute;
  inset: -30% -10% auto auto;
  width: 760px;
  height: 620px;
  background: radial-gradient(closest-side, rgba(0, 170, 255, 0.22), rgba(0, 170, 255, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

.offer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.offer h2 {
  color: #fff;
  max-width: 17ch;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
}
.offer p {
  margin-top: 18px;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.72);
}
.offer-action { display: flex; justify-content: flex-end; }
.offer .btn-on-dark:focus-visible { outline-color: #fff; }

/* ---------- Scenario brief ---------- */

.scenario-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}

.brief-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 3vw, 36px);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { margin-bottom: 18px; }
.field-row .field { margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 0; }

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  background: #fbfdff;
  border: 1.5px solid #dfe9f2;
  border-radius: 14px;
  padding: 13px 15px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2365738a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder { color: #9aa8ba; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #c9dcec; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 170, 255, 0.14);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }

.field.has-error input,
.field.has-error textarea {
  border-color: #d64545;
  background: #fffafa;
}
.field.has-error input:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.13); }

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: #c02f2f;
}
.field-error.is-visible { display: block; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.form-actions .btn { flex: 1 1 auto; }

.copy-status {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-dark);
}
.copy-status.is-error { color: #c02f2f; }

.form-note {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.form-note + .form-note { margin-top: 8px; }

.text-link {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--navy); }

/* Preview card */

.preview-card {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 3vw, 32px);
  overflow: hidden;
}
.preview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0%, #7ad4ff 60%, #d9f2ff 100%);
}

.preview-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.chip-soft {
  background: var(--surface-2);
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 600;
  padding: 7px 14px;
}

.preview-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7c8ba0;
}
.preview-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c07a;
  box-shadow: 0 0 0 3px rgba(34, 192, 122, 0.16);
}

.preview-title {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.preview-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}
.route-arrow { color: var(--blue); font-weight: 700; }

.preview-level { margin-top: 16px; }

.preview-progress { margin-top: 20px; }

.preview-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a98ab;
}

.progress-track {
  height: 4px;
  border-radius: 999px;
  background: #eef4f9;
  overflow: hidden;
}
.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, #7ad4ff 100%);
  transition: width 0.35s var(--ease);
}

.preview-scene {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.preview-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a98ab;
  margin-bottom: 8px;
}

.preview-situation {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
  overflow-wrap: anywhere;
  min-height: 96px;
}
.preview-situation.is-empty { color: #9aa8ba; }

.preview-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: #7c8ba0;
}

.wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}
.wave span {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--blue);
  opacity: 0.75;
}
.wave span:nth-child(1) { height: 7px; }
.wave span:nth-child(2) { height: 12px; }
.wave span:nth-child(3) { height: 16px; }
.wave span:nth-child(4) { height: 10px; }
.wave span:nth-child(5) { height: 6px; }

/* ---------- Proof ---------- */

.proof { background: #fff; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.stat:hover {
  transform: translateY(-3px);
  border-color: #cfe6f6;
  box-shadow: var(--shadow-soft);
}

.stat-value {
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.stat-label {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

.proof-line {
  max-width: 720px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Team / product mock ---------- */

.section-team { background: #fff; }

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.app-panel {
  position: relative;
  background: var(--lavender);
  border-radius: 30px;
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 26px 60px rgba(74, 42, 110, 0.12);
  overflow: hidden;
}
.app-panel::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.app-panel-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-pill {
  align-self: flex-start;
  background: #fff;
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(74, 42, 110, 0.1);
}

.task-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  padding: 8px 16px;
  box-shadow: 0 10px 24px rgba(74, 42, 110, 0.08);
}

.task-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 0;
  font-size: 12.8px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--navy);
}
.task-row + .task-row { border-top: 1px solid #f0e9f8; }

.task-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border-radius: 50%;
  background: #dff3ec;
  color: #16916b;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 2px;
}

.chat-row { display: flex; align-items: flex-end; gap: 10px; }
.chat-row-learner { justify-content: flex-end; }

.bubble {
  max-width: 78%;
  padding: 12px 15px;
  font-size: 12.8px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
  border-radius: 18px 18px 18px 6px;
  box-shadow: 0 8px 20px rgba(74, 42, 110, 0.08);
}
.bubble-learner {
  background: #dff2ff;
  border-radius: 18px 18px 6px 18px;
  color: #123a5c;
}

.app-status {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  color: #6b5b80;
  letter-spacing: 0.01em;
}
.wave-dark span { background: #7a5aa8; }

/* Avatar (pure CSS illustration) */

.avatar {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(160deg, #efe3fb 0%, #e2d0f6 100%);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(74, 42, 110, 0.16);
}

.avatar-hair {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 44px;
  height: 45px;
  transform: translateX(-50%);
  background: #5b3d86;
  border-radius: 22px 22px 17px 17px;
}
.avatar-hair::before,
.avatar-hair::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 9px;
  height: 30px;
  background: #5b3d86;
  border-radius: 6px;
}
.avatar-hair::before { left: -4px; }
.avatar-hair::after { right: -4px; }

.avatar-face {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 30px;
  height: 32px;
  transform: translateX(-50%);
  background: #f3cfae;
  border-radius: 15px 15px 16px 16px;
  z-index: 1;
}

.avatar-glasses {
  position: absolute;
  left: 5px;
  top: 10px;
  width: 9px;
  height: 9px;
  border: 1.3px solid #2f2440;
  border-radius: 50%;
  z-index: 2;
}
.avatar-glasses::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 3.5px;
  width: 3px;
  height: 1.2px;
  background: #2f2440;
}
.avatar-glasses::after {
  content: "";
  position: absolute;
  left: 10px;
  top: -1.3px;
  width: 9px;
  height: 9px;
  border: 1.3px solid #2f2440;
  border-radius: 50%;
}

.avatar-mouth {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 9px;
  height: 5px;
  transform: translateX(-50%);
  border-bottom: 1.4px solid #bd7f6c;
  border-radius: 0 0 9px 9px;
}

.avatar-body {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 24px;
  transform: translateX(-50%);
  background: #12857f;
  border-radius: 28px 28px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  z-index: 2;
}
.avatar-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 6px;
  transform: translateX(-50%);
  background: #f3cfae;
  border-radius: 0 0 7px 7px;
}
.avatar-brand {
  position: relative;
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-transform: lowercase;
  line-height: 1;
  margin-top: 1px;
}

.team-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }

.team-lead {
  margin-top: 16px;
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.65;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
}

.feature-list li { display: flex; gap: 14px; }

.feature-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--blue-dark);
}

.feature-list h3 {
  font-size: 17px;
  letter-spacing: -0.018em;
  line-height: 1.3;
  margin-bottom: 5px;
}
.feature-list p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
}

/* ---------- FAQ ---------- */

.faq-section { background: var(--surface-3); }

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item + .faq-item { border-top: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #fbfdff; color: var(--blue-dark); }
.faq-item summary:focus-visible { outline-offset: -4px; }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--blue-dark);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.22s var(--ease); }
.faq-item[open] .faq-icon { background: var(--blue); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-body { padding: 0 26px 24px; }
.faq-body p {
  max-width: 700px;
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */

.final-cta-section { padding: clamp(56px, 7vw, 92px) 0; background: #fff; }

.final-cta {
  position: relative;
  background: linear-gradient(140deg, #effaff 0%, #e8f7ff 62%, #dff2ff 100%);
  border: 1px solid #d5ecfb;
  border-radius: 32px;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final-cta-glow {
  position: absolute;
  inset: -60% -10% auto 50%;
  width: 900px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 170, 255, 0.16), rgba(0, 170, 255, 0));
  z-index: -1;
  pointer-events: none;
}
.final-cta h2 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(1.9rem, 4.2vw, 3.15rem);
}
.final-cta .hero-actions { margin-top: 30px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--surface-3);
  border-top: 1px solid var(--line);
  padding-top: clamp(44px, 5vw, 64px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 32px;
}

.footer-logo { width: auto; height: 58px; }

.footer-brand p {
  margin-top: 18px;
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}
.footer-contact { margin-top: 12px !important; }
.footer-contact a {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
}
.footer-contact a:hover { color: var(--navy); }

.footer-heading {
  margin: 4px 0 14px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  margin: 9px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}
.footer-col a:hover { color: var(--blue-dark); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: #8996a8;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal a:hover { color: var(--navy); }

/* ---------- Reveal animation ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .nav-actions { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .scenario-grid { grid-template-columns: 1fr; }
  .preview-card { position: static; }

  .team-grid { grid-template-columns: 1fr; }
  .app-panel { max-width: 520px; margin-inline: auto; }

  .offer-inner { grid-template-columns: 1fr; }
  .offer-action { justify-content: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 32px, 1220px); }
  html { scroll-padding-top: 84px; }

  .nav-shell { height: 68px; gap: 12px; }
  .brand-logo { height: 26px; }

  .hero { padding-top: 52px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust-row { flex-direction: column; gap: 8px; }
  .trust-row li + li::before { display: none; }

  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 22px 20px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .video-frame { border-radius: 20px; }
  .play-circle { width: 68px; height: 68px; }

  .faq-item summary { padding: 18px 20px; font-size: 15.5px; }
  .faq-body { padding: 0 20px 20px; }

  .final-cta { border-radius: 26px; }
  .final-cta .btn { flex: 1 1 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }

  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .step::after { display: none; }
  .step { padding: 26px 22px 28px; }

  .form-actions .btn { flex: 1 1 100%; }
  .preview-foot { flex-wrap: wrap; }

  .bubble { max-width: 84%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover,
  .stat:hover,
  .play-overlay:hover .play-circle { transform: none; }
}

/* sample offer + brief download */
.hero-sample{margin-top:18px;font-size:15.5px;line-height:1.5;color:var(--muted);max-width:620px}
.hero-sample::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--blue);margin-right:9px;vertical-align:middle}
.brief-download{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px;padding:18px 20px;
  border:1px solid var(--line);border-radius:16px;background:#f7fafd}
.brief-download b{display:block;font-size:15.5px;color:var(--navy)}
.brief-download span{display:block;margin-top:4px;font-size:13.5px;line-height:1.45;color:var(--muted);max-width:340px}
.btn-download{white-space:nowrap;font-size:14px;padding:12px 18px}
@media (max-width:720px){.brief-download{flex-direction:column;align-items:flex-start}}

/* hero brand line + use cases */
.hero-brandline{display:flex;align-items:center;gap:16px;margin-bottom:22px}
.hero-logo{height:54px;width:auto;display:block}
.hero-only{display:inline-flex;align-items:center;height:32px;padding:0 15px;border-radius:999px;background:var(--blue);color:#fff;
  font-size:11.5px;font-weight:800;letter-spacing:.15em}
.hero-uses{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 26px;margin:26px 0 0;max-width:640px}
.hero-uses li{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:600;color:var(--navy)}
.hero-uses li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue);flex:0 0 auto}
.trust-row b{color:var(--blue);font-weight:800;margin-right:4px}
@media (max-width:720px){.hero-uses{grid-template-columns:1fr}}
.hero-logo{height:48px}
.hero-uses{display:inline-grid;grid-template-columns:auto auto;gap:11px 40px;max-width:none;text-align:left}
.hero-sample{max-width:720px;margin:20px auto 0;text-align:center}
.hero-sample::before{display:none}
.hero-only{white-space:nowrap;letter-spacing:.12em;font-size:11px}
.hero-trust{margin:14px 0 0;font-size:19px;font-weight:600;color:var(--navy);letter-spacing:-.01em}
.hero-trust b{color:var(--blue);font-weight:800}
.hero-brandline{margin-bottom:18px}
.hero-trust{margin:14px 0 26px}
.hero-sub2{margin-top:18px}
.hero-sub b{color:var(--navy);font-weight:700}
#hero-title{font-size:clamp(38px,5vw,64px)}
.hero-uses{margin-top:24px}
