:root {
  --bg: #10141a;
  --panel: #171d25;
  --panel-2: #202733;
  --text: #eef3f8;
  --muted: #aab6c6;
  --line: #2a3340;
  --green: #2f9b72;
  --mint: #7fd8bd;
  --blue: #5d8cff;
  --amber: #f4b860;
  --rose: #ef6f86;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

:root[data-theme="light"] {
  --bg: #eef3f6;
  --panel: #ffffff;
  --panel-2: #e8eef3;
  --text: #16202a;
  --muted: #5f6d7c;
  --line: #cbd5df;
  --green: #238b68;
  --mint: #2f9b72;
  --blue: #4f7ff0;
  --amber: #c88420;
  --shadow: 0 24px 70px rgba(23, 38, 54, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  line-height: 1.5;
  transition: background 0.28s ease, color 0.28s ease;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 20, 26, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.logo {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(23, 29, 37, 0.9);
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

:root[data-theme="light"] .theme-toggle {
  background: #ffffff;
}

.theme-toggle:hover {
  border-color: rgba(127, 216, 189, 0.62);
  transform: rotate(-10deg) scale(1.04);
}

.nav a,
.link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover,
.link:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 12px 32px rgba(47, 155, 114, 0.24);
}

.btn-secondary {
  background: #232b38;
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 44px;
  background:
    linear-gradient(145deg, rgba(47, 155, 114, 0.18), transparent 36%),
    linear-gradient(315deg, rgba(93, 140, 255, 0.16), transparent 32%);
}

:root[data-theme="light"] .site-header {
  background: rgba(238, 243, 246, 0.86);
}

:root[data-theme="light"] .hero,
:root[data-theme="light"] .product-section,
:root[data-theme="light"] .roles-section,
:root[data-theme="light"] .pilot-section,
:root[data-theme="light"] .impact-section,
:root[data-theme="light"] .compare-section,
:root[data-theme="light"] .cta {
  background:
    linear-gradient(145deg, rgba(47, 155, 114, 0.1), transparent 34%),
    #eef3f6;
}

:root[data-theme="light"] .card,
:root[data-theme="light"] .compare-card,
:root[data-theme="light"] .feature-tile,
:root[data-theme="light"] .feature-stage,
:root[data-theme="light"] .stage-panel,
:root[data-theme="light"] .role-card,
:root[data-theme="light"] .calculator,
:root[data-theme="light"] .metric,
:root[data-theme="light"] .pilot-board,
:root[data-theme="light"] .pilot-outcome,
:root[data-theme="light"] .lead-form input,
:root[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.88);
}

:root[data-theme="light"] .btn-secondary,
:root[data-theme="light"] .bottom-nav button,
:root[data-theme="light"] .role-switcher button,
:root[data-theme="light"] .scenario-step,
:root[data-theme="light"] .scenario-result {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 48px;
}

.eyebrow,
.caption {
  margin: 0;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.16;
}

.lead,
.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: #dbe6f1;
  background: rgba(23, 29, 37, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.hero-demo {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  min-height: 640px;
}

.phone-shell {
  position: relative;
  width: min(372px, 100%);
  margin: 0 auto;
  border: 1px solid #303847;
  border-radius: 32px;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #2a313d, #0b0e13);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: floatPhone 6s ease-in-out infinite;
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  width: 62px;
  height: 5px;
  border-radius: 999px;
  background: rgba(8, 12, 17, 0.72);
  transform: translateX(-50%);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 4px 18px 11px;
  color: #cfd8e6;
  font-size: 12px;
  font-weight: 800;
}

.signal {
  width: 38px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint) 0 66%, #596273 66%);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 540px;
  border: 1px solid rgba(127, 216, 189, 0.2);
  border-radius: 24px;
  padding: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(127, 216, 189, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(127, 216, 189, 0.08), transparent 30%),
    #111820;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.phone-screen.honor-mode {
  animation: honorGlow 1.4s ease;
}

.app-bar,
.status-card,
.lesson-item,
.live-card,
.stage-panel,
.role-card,
.metric,
.calculator {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 29, 37, 0.9);
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 14px;
  background:
    linear-gradient(135deg, rgba(127, 216, 189, 0.1), transparent 42%),
    rgba(18, 24, 32, 0.92);
}

.app-bar strong {
  display: block;
  font-size: 21px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  color: #10141a;
  background:
    radial-gradient(circle at 32% 26%, #ffe1a4, transparent 36%),
    var(--amber);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(244, 184, 96, 0.24);
}

.notification-fly {
  position: fixed;
  z-index: 90;
  border: 1px solid rgba(127, 216, 189, 0.38);
  border-radius: 8px;
  padding: 8px 10px;
  color: #07110d;
  background: linear-gradient(135deg, var(--mint), #8ba7ff);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: flyToToast 0.78s ease forwards;
}

.status-card {
  margin: 12px 0;
  padding: 13px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(47, 155, 114, 0.12), transparent 54%),
    rgba(23, 29, 37, 0.9);
}

.status-card::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 13px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(127, 216, 189, 0.08);
}

.status-card strong {
  display: block;
  margin: 3px 0 11px;
  font-size: 19px;
}

.progress {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #303846;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--amber));
  animation: progressGlow 2.5s ease-in-out infinite;
}

.lesson-list {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 0;
}

.lesson-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 11px;
  background:
    linear-gradient(90deg, rgba(127, 216, 189, 0.04), transparent 46%),
    rgba(18, 24, 32, 0.88);
  animation: cardIn 0.36s ease both;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lesson-item:hover {
  border-color: rgba(127, 216, 189, 0.42);
  background: rgba(23, 33, 42, 0.96);
  transform: translateX(3px);
}

.honor-item i {
  background: linear-gradient(145deg, #ffe0a1, var(--amber));
}

.lesson-item i {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 36px;
  border-radius: 10px;
  color: #10141a;
  background:
    linear-gradient(145deg, #93ead3, var(--mint));
  font-style: normal;
  font-weight: 900;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.lesson-item strong {
  display: block;
  font-size: 15px;
}

.lesson-item small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.lesson-item em {
  color: var(--amber);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent, rgba(17, 24, 32, 0.82));
}

.bottom-nav button,
.role-switcher button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 7px;
  color: #d8e1ee;
  background: rgba(16, 22, 30, 0.96);
  font-size: 13px;
  font-weight: 800;
}

.bottom-nav button.active,
.role-switcher button.active {
  color: #07110d;
  background:
    linear-gradient(135deg, var(--mint), #8ba7ff);
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(244, 184, 96, 0.52);
}

.live-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(320px, calc(100% - 24px));
  max-width: 320px;
  min-height: 58px;
  padding: 13px 14px;
  border-color: rgba(127, 216, 189, 0.24);
  background:
    linear-gradient(90deg, rgba(47, 155, 114, 0.16), transparent 44%),
    rgba(23, 29, 37, 0.96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  transform: translateY(-18px);
}

.live-card p {
  margin: 0;
  color: #dbe6f1;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

:root[data-theme="light"] .phone-shell {
  border-color: #aebdca;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), transparent 34%),
    linear-gradient(180deg, #dce5ed, #b7c4d1);
  box-shadow:
    0 30px 82px rgba(38, 53, 69, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] .phone-shell::before {
  background: rgba(59, 72, 88, 0.72);
}

:root[data-theme="light"] .phone-top {
  color: #263344;
}

:root[data-theme="light"] .signal {
  background: linear-gradient(90deg, var(--green) 0 66%, #9aa8b8 66%);
}

:root[data-theme="light"] .phone-screen {
  border-color: rgba(35, 139, 104, 0.34);
  color: #16202a;
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 155, 114, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 240, 245, 0.96)),
    #f7fafc;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    inset 0 -18px 38px rgba(36, 55, 74, 0.05);
}

:root[data-theme="light"] .phone-screen .caption {
  color: #238b68;
}

:root[data-theme="light"] .app-bar,
:root[data-theme="light"] .status-card,
:root[data-theme="light"] .lesson-item {
  border-color: #c5d2de;
  background:
    linear-gradient(135deg, rgba(47, 155, 114, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .app-bar strong,
:root[data-theme="light"] .status-card strong,
:root[data-theme="light"] .lesson-item strong {
  color: #16202a;
}

:root[data-theme="light"] .status-card::after {
  background: rgba(47, 155, 114, 0.11);
}

:root[data-theme="light"] .progress {
  background: #d6e0e8;
}

:root[data-theme="light"] .lesson-item:hover {
  border-color: rgba(35, 139, 104, 0.55);
  background:
    linear-gradient(90deg, rgba(47, 155, 114, 0.12), transparent 48%),
    #ffffff;
}

:root[data-theme="light"] .lesson-item small {
  color: #5f6d7c;
}

:root[data-theme="light"] .lesson-item em {
  color: #a66510;
}

:root[data-theme="light"] .bottom-nav {
  border-top-color: rgba(95, 109, 124, 0.2);
  background: linear-gradient(180deg, transparent, rgba(214, 224, 232, 0.7));
}

:root[data-theme="light"] .bottom-nav button {
  border-color: #c4cfdb;
  color: #263344;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 -1px 0 rgba(38, 53, 69, 0.08);
}

:root[data-theme="light"] .bottom-nav button.active {
  border-color: transparent;
  color: #07110d;
  background: linear-gradient(135deg, #7fd8bd, #91b3ff);
  box-shadow: 0 0 0 2px rgba(200, 132, 32, 0.32);
}

:root[data-theme="light"] .live-card {
  border-color: rgba(35, 139, 104, 0.38);
  background:
    linear-gradient(90deg, rgba(47, 155, 114, 0.14), transparent 44%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(38, 53, 69, 0.16);
}

:root[data-theme="light"] .live-card p {
  color: #16202a;
}

.pulse {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(47, 155, 114, 0.7);
  animation: pulse 1.8s infinite;
}

.section {
  padding: 76px 0;
  scroll-margin-top: 84px;
}

.section-head {
  margin-bottom: 28px;
}

.product-section {
  background: #121720;
}

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

.feature-tile {
  min-height: 172px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--text);
  text-align: left;
  background: #171d25;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-tile:hover,
.feature-tile.active {
  transform: translateY(-4px);
  border-color: rgba(127, 216, 189, 0.72);
  background: #1c2630;
}

.feature-tile span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--amber);
  font-weight: 900;
}

.feature-tile strong,
.feature-tile small {
  display: block;
}

.feature-tile small {
  margin-top: 8px;
  color: var(--muted);
}

.feature-stage {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #111820;
}

.stage-copy {
  padding: 14px 8px;
}

.stage-copy p {
  color: var(--muted);
}

.scenario-role-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--muted);
  background: rgba(16, 22, 30, 0.76);
  font-size: 13px;
  font-weight: 800;
}

:root[data-theme="light"] .scenario-role-hint {
  background: rgba(255, 255, 255, 0.76);
}

.scenario-role-hint span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(47, 155, 114, 0.12);
}

.scenario-role-hint strong {
  color: var(--text);
}

.scenario-role-hint.active {
  border-color: rgba(127, 216, 189, 0.6);
}

.stage-panel {
  min-height: 330px;
  padding: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(127, 216, 189, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(93, 140, 255, 0.1), transparent 45%),
    #171d25;
}

.scenario-card {
  display: grid;
  gap: 14px;
  height: 100%;
}

.scenario-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.scenario-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.scenario-head strong {
  color: var(--mint);
  text-align: right;
}

.scenario-steps {
  display: grid;
  gap: 10px;
}

.scenario-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(128px, auto);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(42, 51, 64, 0.84);
  border-radius: 8px;
  padding: 12px;
  background: rgba(16, 22, 30, 0.76);
  animation: cardIn 0.34s ease both;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.scenario-step.role-active {
  border-color: rgba(127, 216, 189, 0.72);
  background:
    linear-gradient(90deg, rgba(47, 155, 114, 0.14), transparent 54%),
    rgba(16, 22, 30, 0.9);
  transform: translateX(4px);
}

.scenario-step > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #10141a;
  background: linear-gradient(135deg, var(--mint), #8ba7ff);
  font-weight: 900;
}

.scenario-step strong {
  display: block;
  color: var(--text);
}

.scenario-step p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.scenario-step b {
  color: var(--mint);
  font-size: 14px;
  text-align: right;
}

.scenario-result {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  border: 1px solid rgba(127, 216, 189, 0.28);
  border-radius: 8px;
  padding: 13px 14px;
  background:
    linear-gradient(90deg, rgba(47, 155, 114, 0.18), transparent 52%),
    rgba(16, 22, 30, 0.9);
}

.scenario-result span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(47, 155, 114, 0.14);
}

.scenario-result p {
  margin: 0;
  color: #dce7f2;
  font-weight: 800;
}

.roles-section {
  background:
    linear-gradient(180deg, rgba(239, 111, 134, 0.08), transparent 40%),
    #10141a;
}

.roles-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 22px;
  align-items: start;
}

.roles-layout .section-head {
  grid-row: span 2;
  margin-bottom: 0;
}

.role-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.role-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
  padding: 22px;
  min-height: 280px;
}

.role-card p,
.compare-card p,
.metric p {
  color: var(--muted);
}

.role-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-points li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #121720;
  animation: cardIn 0.34s ease both;
}

.pilot-section {
  background:
    linear-gradient(180deg, rgba(127, 216, 189, 0.08), transparent 34%),
    #121720;
}

.pilot-layout {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  gap: 18px;
  align-items: stretch;
}

.pilot-layout .section-head {
  grid-column: 1 / -1;
}

.pilot-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111820;
}

.pilot-step {
  position: relative;
  min-height: 240px;
  border-right: 1px solid var(--line);
  padding: 20px;
}

.pilot-step:last-child {
  border-right: 0;
}

.pilot-step::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--blue));
  opacity: 0.75;
}

.pilot-step span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.pilot-step h3 {
  font-size: 22px;
}

.pilot-step p {
  color: var(--muted);
}

.pilot-outcome {
  border: 1px solid rgba(127, 216, 189, 0.34);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(47, 155, 114, 0.18), transparent 48%),
    #171d25;
}

.pilot-outcome ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.pilot-outcome li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.pilot-outcome li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.impact-section {
  background: #151923;
}

.impact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.impact-layout .section-head {
  grid-column: 1 / -1;
}

.calculator {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.calculator label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  color: var(--muted);
  font-weight: 800;
}

.calculator input {
  grid-column: 1 / -1;
  accent-color: var(--green);
}

.calculator strong {
  color: var(--text);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

.metric span {
  display: block;
  margin-bottom: 18px;
  color: var(--mint);
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
}

.compare-section {
  background: #10141a;
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.compare-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #171d25;
}

.cta {
  background:
    linear-gradient(135deg, rgba(47, 155, 114, 0.22), transparent 38%),
    linear-gradient(315deg, rgba(244, 184, 96, 0.16), transparent 32%),
    #121720;
}

.hover-tip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  max-width: min(280px, calc(100vw - 24px));
  border: 1px solid rgba(127, 216, 189, 0.32);
  border-radius: 8px;
  padding: 9px 10px;
  color: #eaf2f8;
  background: rgba(16, 22, 30, 0.96);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%) translateY(-10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hover-tip.visible {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(-14px);
}

.easter-burst {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 100;
  border: 1px solid rgba(127, 216, 189, 0.42);
  border-radius: 8px;
  padding: 14px 18px;
  color: #07110d;
  background: linear-gradient(135deg, var(--mint), #8ba7ff);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  font-weight: 950;
  transform: translate(-50%, -50%);
  animation: burstPop 1.05s ease forwards;
  pointer-events: none;
}

.spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: sparkFly 0.8s ease forwards;
  animation-delay: var(--delay);
}

.cta-inner {
  max-width: 860px;
  text-align: center;
}

.cta-inner .eyebrow,
.cta-inner .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-top: 26px;
}

.lead-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: #10141a;
  min-height: 48px;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  background: #0d1117;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

@keyframes floatPhone {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 14px rgba(47, 155, 114, 0);
  }
}

@keyframes progressGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.35);
  }
}

@keyframes flyToToast {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.72);
  }
}

@keyframes honorGlow {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
  35% {
    box-shadow: inset 0 0 0 2px rgba(244, 184, 96, 0.7), 0 0 42px rgba(244, 184, 96, 0.34);
  }
}

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

.metric span {
  animation: numberPop 0.35s ease both;
}

@keyframes numberPop {
  from {
    transform: translateY(4px) scale(0.96);
    opacity: 0.7;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes burstPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -62%) scale(1.02);
  }
}

@keyframes sparkFly {
  to {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(0.2);
  }
}

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

@media (max-width: 980px) {
  .hero-inner,
  .feature-stage,
  .roles-layout,
  .role-card,
  .pilot-layout,
  .impact-layout {
    grid-template-columns: 1fr;
  }

  .hero-demo {
    min-height: auto;
  }

  .feature-grid,
  .pilot-board,
  .compare-cards,
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pilot-step:nth-child(2) {
    border-right: 0;
  }

  .pilot-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .roles-layout .section-head {
    grid-row: auto;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 64px;
  }

  .nav a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 40px;
  }

  .feature-grid,
  .role-switcher,
  .pilot-board,
  .compare-cards,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .pilot-step,
  .pilot-step:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 190px;
  }

  .pilot-step:last-child {
    border-bottom: 0;
  }

  .phone-shell {
    border-radius: 26px;
  }

  .phone-screen {
    min-height: 540px;
    border-radius: 20px;
  }

  .live-card {
    position: static;
    margin: 14px auto 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
