:root {
  --bg: #081425;
  --panel: #0e1f37;
  --panel-soft: #132846;
  --line: #2b4567;
  --ink: #e8f0ff;
  --muted: #a9bbd8;
  --gold: #ffb545;
  --blue: #4ea2ff;
  --green: #2ec8ab;
  --orange: #ff8640;
  --violet: #7d7cff;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 22px 44px rgba(2, 10, 21, 0.45);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Outfit", "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  font-size: 17px;
  background: radial-gradient(circle at 20% 0%, #12284a, #081425 58%);
  overflow-x: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(78, 162, 255, 0.38);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  transition: color 220ms ease;
}

p {
  margin: 0;
  line-height: 1.72;
  font-size: 1.02rem;
  color: var(--muted);
  transition: color 220ms ease;
}

ul, ol { margin: 0; padding: 0; }

.container {
  width: min(1220px, 93vw);
  margin: 0 auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(#fff 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  z-index: -5;
}

.light {
  position: fixed;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
  z-index: -4;
}

.light-left {
  width: 440px;
  height: 440px;
  left: -140px;
  top: -120px;
  background: radial-gradient(circle at 35% 35%, rgba(78, 162, 255, 0.5), rgba(78, 162, 255, 0));
}

.light-right {
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -140px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 181, 69, 0.38), rgba(255, 181, 69, 0));
}

.bg-human-story {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  overflow: hidden;
}

.bg-human-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 42% at 34% 16%, rgba(7, 18, 42, 0.84) 0%, rgba(7, 18, 42, 0.56) 44%, rgba(7, 18, 42, 0) 74%),
    radial-gradient(ellipse 65% 44% at 33% 50%, rgba(6, 15, 36, 0.82) 0%, rgba(6, 15, 36, 0.52) 46%, rgba(6, 15, 36, 0) 74%),
    radial-gradient(ellipse 68% 46% at 34% 84%, rgba(5, 12, 30, 0.8) 0%, rgba(5, 12, 30, 0.48) 44%, rgba(5, 12, 30, 0) 72%);
  opacity: 0.82;
  transition: opacity 220ms ease, background 260ms ease;
}

.story-frame {
  position: absolute;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(95, 132, 186, 0.52);
  background: rgba(16, 33, 59, 0.65);
  box-shadow: 0 22px 48px rgba(2, 10, 24, 0.38);
  opacity: 0.56;
}

.story-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(127, 173, 240, 0.1), rgba(7, 15, 34, 0.14));
}

.story-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.08) brightness(1.02);
  transition: filter 220ms ease;
}

.story-frame-parent {
  width: clamp(194px, 21vw, 346px);
  height: clamp(240px, 27vw, 432px);
  top: 120px;
  left: clamp(-62px, 0.7vw, 8px);
  transform: rotate(-7deg);
}

.story-frame-school {
  width: clamp(214px, 23.5vw, 380px);
  height: clamp(168px, 18.5vw, 294px);
  right: clamp(-78px, -0.8vw, -10px);
  top: 33%;
  transform: rotate(7deg);
}

.story-frame-class {
  width: clamp(204px, 21.5vw, 356px);
  height: clamp(168px, 18.3vw, 294px);
  right: clamp(20px, 6vw, 114px);
  bottom: 20px;
  transform: rotate(-6deg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 69, 103, 0.62);
  background: rgba(8, 20, 37, 0.84);
}

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

.brand {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1px;
}

.brand--logo {
  gap: 0;
}

.brand-logo-wrap {
  line-height: 0;
  margin-bottom: -30px;
}

.brand-logo {
  display: block;
  width: clamp(210px, 24vw, 360px);
  height: auto;
  max-width: min(340px, 46vw);
  max-height: 66px;
  object-fit: contain;
}

.brand-logo--on-light {
  display: none;
}

.brand-slogan {
  margin-left: clamp(64px, 7.2vw, 106px);
  margin-top: -4px;
  font-size: 0.72rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #bcd1ec;
  white-space: nowrap;
}

.logo-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(125, 176, 233, 0.48);
  background: linear-gradient(145deg, #31a0ff, #195fbd);
  box-shadow: 0 10px 18px rgba(7, 34, 69, 0.42);
  position: relative;
  overflow: hidden;
}

.logo-box::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.logo-box span {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-brand-mark {
  width: 98px;
  height: 98px;
  display: block;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
  margin-bottom: 10px;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 1rem;
  color: #c0d0eb;
}

nav a:hover { color: #fff; }

.actions { display: flex; gap: 10px; }

.theme-toggle {
  border: 1px solid #3d5f88;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: rgba(16, 35, 60, 0.85);
  color: #d5e7ff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: #5c83b3;
}

.theme-icon {
  position: absolute;
  line-height: 1;
  font-size: 1rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.theme-icon-moon {
  opacity: 0;
  transform: scale(0.8) rotate(18deg);
}

body[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  transform: scale(0.8) rotate(-18deg);
}

body[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

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

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #091a2d;
  background: linear-gradient(145deg, #ffc768, #ffad34);
  box-shadow: 0 10px 22px rgba(255, 173, 52, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(255, 173, 52, 0.35);
}

.btn-lite {
  color: #c7daff;
  border: 1px solid #34527a;
  background: rgba(19, 40, 70, 0.8);
  box-shadow: none;
}

.btn-link {
  color: #9dcbff;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-link:hover {
  transform: none;
  box-shadow: none;
}

body.has-engage-modal {
  overflow: hidden;
}

.engage-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 12, 25, 0.58);
  z-index: 60;
}

.engage-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 92vw);
  background: rgba(14, 30, 53, 0.98);
  border: 1px solid #3b5a83;
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
  padding: 24px 22px 20px;
  z-index: 61;
}

.engage-modal h3 {
  margin-top: 8px;
  font-size: clamp(1.34rem, 2.5vw, 1.68rem);
}

.engage-modal p {
  margin-top: 10px;
}

.engage-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: none;
  background: transparent;
  color: #c5d9f3;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.btn,
.theme-toggle,
.carousel-btn {
  min-height: 44px;
}

.hero {
  padding: 72px 0 48px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 26px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  border: 1px solid rgba(255, 181, 69, 0.35);
  color: #ffdca8;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(255, 181, 69, 0.08);
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(2.05rem, 4vw, 3.1rem);
  max-width: 18ch;
}

.sub {
  margin-top: 14px;
  max-width: 58ch;
  font-size: 1.02rem;
}

.head p,
.sub {
  max-width: 62ch;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row span {
  border: 1px solid #314f76;
  color: #d5e4ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
  background: rgba(19, 40, 70, 0.7);
}

.hero-panel {
  border: 1px solid #2b4567;
  background: linear-gradient(180deg, rgba(14, 31, 55, 0.9), rgba(12, 27, 47, 0.95));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 16px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.panel-top p {
  font-size: 0.8rem;
  color: #91afd3;
}

.panel-top strong {
  font-size: 0.95rem;
}

.hero-panel img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #35557e;
  display: block;
  height: 320px;
  object-fit: cover;
}

.quick-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick-metrics article {
  border: 1px solid #2d4a70;
  border-radius: 12px;
  padding: 10px;
  background: rgba(22, 47, 81, 0.68);
}

.quick-metrics small {
  font-size: 0.72rem;
  color: #9cb3d3;
}

.quick-metrics strong {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
}

.section {
  padding: 56px 0;
}

.head {
  margin-bottom: 20px;
  max-width: 760px;
}

.head h2 {
  margin-top: 10px;
  font-size: clamp(1.72rem, 3.2vw, 2.3rem);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cap-card {
  text-align: left;
  border: 1px solid #2c4769;
  background: rgba(14, 31, 55, 0.88);
  border-radius: 20px;
  padding: 20px 16px;
  color: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cap-card:hover,
.cap-card.active {
  transform: translateY(-4px);
  border-color: #5b89be;
  box-shadow: 0 16px 30px rgba(2, 12, 28, 0.36);
}

.cap-card h3 {
  margin-top: 12px;
  font-size: 1.15rem;
}

.cap-card p {
  margin-top: 8px;
  font-size: 0.95rem;
}

.cap-card:focus-visible,
.tier:focus-within,
.start-card:focus-within,
.demo-card:focus-within,
.contact-card:focus-within {
  border-color: #6ea4d8;
  box-shadow: 0 0 0 3px rgba(78, 162, 255, 0.22);
}

.cap-icon {
  width: 124px;
  height: 124px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 12px 20px rgba(5, 20, 38, 0.35);
}

.cap-icon svg { width: 40px; height: 40px; fill: #fff; }

.cap-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cap-icon.blue { background: linear-gradient(145deg, #2d97ff, #1459c7); }
.cap-icon.orange { background: linear-gradient(145deg, #ff9c53, #e45f0f); }
.cap-icon.green { background: linear-gradient(145deg, #3fd4b7, #0f8a75); }
.cap-icon.violet { background: linear-gradient(145deg, #8f8dff, #4740d1); }

.tour-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 24px;
}

.carousel-track {
  display: flex;
  transition: transform 420ms ease;
}

.carousel-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #3a5d87;
  background: rgba(17, 37, 63, 0.92);
  color: #d5e6fd;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
}

.carousel-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #5478a3;
  background: #1f426a;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease;
}

.carousel-dot.is-active {
  background: #4ea2ff;
  border-color: #4ea2ff;
  transform: scale(1.18);
}

.tour-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #305179;
  background: #10223d;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 190ms ease;
}

.tour-card img {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
}

.sim-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sim-card {
  border: 1px solid #31537c;
  border-radius: 22px;
  background: rgba(15, 33, 58, 0.9);
  padding: 16px;
}

.sim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sim-head h3 {
  font-size: 1.1rem;
}

.sim-chip {
  border: 1px solid #3d658f;
  border-radius: 999px;
  background: rgba(23, 47, 79, 0.92);
  color: #c4daf5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 9px;
}

.sim-card p {
  margin-top: 8px;
  font-size: 0.95rem;
}

.bus-board {
  margin-top: 12px;
  border: 1px solid #375a84;
  border-radius: 16px;
  background: rgba(18, 40, 68, 0.9);
  padding: 14px 12px;
  position: relative;
}

.sim-stop {
  position: absolute;
  top: 9px;
  font-size: 0.7rem;
  color: #95b2d7;
  font-weight: 700;
}

.sim-stop.start { left: 8px; }
.sim-stop.mid { left: 45%; transform: translateX(-50%); }
.sim-stop.end { right: 8px; }

.bus-track-line {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3a5880, #5f83ad, #7caee0);
  margin: 30px 6px 8px;
}

.bus-car {
  position: absolute;
  top: 42px;
  left: 10%;
  transform: translateX(-50%);
  width: 62px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  transition: left 900ms cubic-bezier(0.18, 0.72, 0.25, 1);
}
.bus-car img {
  width: 62px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
}

.sim-status {
  margin-top: 10px;
  color: #b4cbea;
  font-size: 0.8rem;
  font-weight: 700;
}

.sim-persons {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sim-person {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #395d86;
  border-radius: 14px;
  background: rgba(17, 39, 66, 0.92);
  padding: 11px;
}

.sim-avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  flex: 0 0 58px;
  overflow: hidden;
  border: 1px solid rgba(124, 177, 229, 0.42);
  box-shadow: 0 8px 16px rgba(3, 18, 34, 0.42);
}

.sim-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sim-avatar.security {
  background: linear-gradient(145deg, #35cdb7, #108f7a);
}

.sim-avatar.parent {
  background: linear-gradient(145deg, #5caeff, #1e62be);
}

.sim-person strong {
  display: block;
  font-size: 1rem;
}

.sim-person small {
  display: block;
  margin-top: 2px;
  font-size: 0.84rem;
  color: #9eb8d8;
}

.human-strip {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.human-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid #3a6088;
  background: rgba(19, 40, 70, 0.86);
  padding: 8px 12px 8px 8px;
  box-shadow: 0 10px 18px rgba(2, 12, 28, 0.3);
}

.human-pill img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.human-pill span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #d4e6ff;
}

.sim-alert {
  margin-top: 10px;
  border: 1px solid #44688f;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(30, 98, 190, 0.34), rgba(41, 74, 112, 0.42));
  padding: 11px;
  animation: simPulse 4.8s ease-in-out infinite;
}

.sim-alert strong {
  font-size: 0.84rem;
}

.sim-alert p {
  margin-top: 5px;
  font-size: 0.79rem;
  color: #d0e2f8;
}

.sim-alert small {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  color: #acc8e8;
  font-weight: 700;
}

.sim-alert.is-flash {
  animation: simPulse 420ms ease-out;
}

.sim-log {
  margin-top: 9px;
  border: 1px dashed #3e638e;
  border-radius: 11px;
  background: rgba(18, 42, 72, 0.86);
  color: #b7d0eb;
  padding: 9px;
  font-size: 0.76rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tier {
  border-radius: 24px;
  border: 1px solid #304f74;
  background: linear-gradient(180deg, rgba(14, 31, 55, 0.9), rgba(11, 26, 45, 0.95));
  padding: 20px;
}

.tier.featured {
  border-color: rgba(255, 181, 69, 0.56);
  box-shadow: 0 18px 32px rgba(255, 181, 69, 0.12);
}

.tier.premium {
  border-color: rgba(78, 162, 255, 0.58);
  box-shadow: 0 18px 32px rgba(78, 162, 255, 0.16);
}

.tag {
  display: inline-block;
  border: 1px solid #45658b;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  color: #d4e4ff;
}

.tier h3 {
  margin-top: 14px;
  font-size: 1.3rem;
}

.rate {
  margin-top: 10px;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
}

.rate small {
  color: #a7bedb;
  font-size: 0.8rem;
  font-weight: 600;
}

.tier ul {
  list-style: none;
  margin-top: 14px;
}

.tier li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
  font-size: 0.84rem;
  color: #bfd2ec;
}

.tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.block { margin-top: 16px; width: 100%; display: inline-flex; justify-content: center; }

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

.start-card {
  border: 1px solid #31537c;
  border-radius: 22px;
  background: rgba(15, 33, 58, 0.9);
  padding: 18px;
}

.start-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.start-icon.school { background: linear-gradient(145deg, #47a5ff, #1f6fd2); }
.start-icon.ops { background: linear-gradient(145deg, #ff9f59, #d96520); }
.start-icon.calc { background: linear-gradient(145deg, #3fd3b8, #149a80); }

.start-card h3 {
  margin-top: 12px;
  font-size: 1.05rem;
}

.start-card p {
  margin-top: 8px;
  font-size: 0.84rem;
}

.start-card ul {
  margin-top: 12px;
  list-style: none;
}

.start-card li {
  position: relative;
  padding-left: 17px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #b7cae5;
}

.start-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.impact-grid {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.impact-grid label,
.demo-form label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: #c7daf4;
  font-weight: 700;
}

.impact-grid input,
.demo-form input,
.demo-form select,
.demo-form textarea {
  border: 1px solid #43658f;
  border-radius: 12px;
  background: rgba(17, 39, 66, 0.92);
  color: #e0eeff;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 0.88rem;
  padding: 10px 11px;
  min-height: 44px;
}

.demo-form textarea {
  resize: vertical;
  min-height: 86px;
}

.impact-grid input:focus,
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: #5e86b4;
  box-shadow: 0 0 0 3px rgba(78, 162, 255, 0.2);
  outline: none;
}

.impact-result {
  margin-top: 10px;
  border: 1px dashed #44688f;
  border-radius: 12px;
  background: rgba(18, 42, 72, 0.86);
  color: #b7d0eb;
  padding: 10px;
  font-size: 0.8rem;
}

.impact-result strong {
  color: #ffd28a;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.demo-card,
.demo-form {
  border: 1px solid #31537c;
  border-radius: 22px;
  background: rgba(15, 33, 58, 0.9);
  padding: 16px;
}

.demo-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
}

.demo-card h3,
.demo-form h3 {
  font-size: 1.02rem;
}

.demo-chip {
  margin-top: 8px;
  display: inline-block;
  border: 1px solid #3e638e;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.73rem;
  font-weight: 800;
  color: #c8dcf6;
  background: rgba(23, 47, 79, 0.92);
}

.demo-card p {
  margin-top: 10px;
  font-size: 0.82rem;
}

.demo-form {
  display: grid;
  gap: 10px;
}

.demo-form-fields {
  display: grid;
  gap: 10px;
}

.demo-form-central {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 10px 0 0;
  border-width: 2px;
  border-color: #567ca8;
  box-shadow: 0 20px 42px rgba(2, 14, 33, 0.5);
  padding: 22px;
}

.demo-form-central h3 {
  text-align: center;
}

.demo-form.is-confirmed {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.demo-form.is-confirmed .demo-form-fields {
  display: none;
}

.demo-form.is-confirmed .demo-success {
  display: block;
  width: min(580px, 100%);
}

.demo-success {
  margin: 0;
  border: 2px solid #2f8f74;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(12, 73, 58, 0.56), rgba(12, 73, 58, 0.4));
  color: #a8eed9;
  font-size: 0.84rem;
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: 0 20px 42px rgba(5, 21, 42, 0.46);
}

.demo-success p {
  margin: 10px 0 0;
  color: inherit;
  font-size: 0.86rem;
}

.demo-success h4 {
  margin: 6px 0 0;
  font-size: 1.08rem;
  color: #c9ffe6;
}

.bouquet-scene {
  position: relative;
  width: 220px;
  height: 180px;
  margin: 0 auto 6px;
}

.bouquet-core {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 150px;
  height: 160px;
}

.stem {
  position: absolute;
  bottom: 42px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #79d9be, #1a8f73);
  transform-origin: bottom center;
  opacity: 0;
}

.st1 {
  --stem-angle: -17deg;
  left: 52px;
  height: 82px;
  transform: rotate(var(--stem-angle)) scaleY(0.2);
}

.st2 {
  --stem-angle: 0deg;
  left: 72px;
  height: 94px;
  transform: rotate(var(--stem-angle)) scaleY(0.2);
}

.st3 {
  --stem-angle: 18deg;
  left: 92px;
  height: 82px;
  transform: rotate(var(--stem-angle)) scaleY(0.2);
}

.flower {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.25);
  box-shadow: 0 7px 14px rgba(5, 23, 46, 0.34);
}

.f1 {
  left: 30px;
  top: 52px;
  background: radial-gradient(circle at 30% 30%, #fff4f9, #ff6ea8 62%, #f34b88);
}

.f2 {
  left: 58px;
  top: 32px;
  background: radial-gradient(circle at 30% 30%, #fff8ef, #ffbe56 62%, #f19a24);
}

.f3 {
  left: 88px;
  top: 52px;
  background: radial-gradient(circle at 30% 30%, #eef9ff, #47b8ff 62%, #2089dd);
}

.f4 {
  left: 58px;
  top: 62px;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle at 30% 30%, #effff8, #56d1a9 62%, #22a07f);
}

.wrap {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%) translateY(14px);
  width: 104px;
  height: 70px;
  background: linear-gradient(160deg, #d2ecff, #a9d4ff);
  clip-path: polygon(6% 0, 94% 0, 76% 100%, 24% 100%);
  border-radius: 12px;
  opacity: 0;
}

.ribbon {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 38px;
  height: 14px;
  border-radius: 999px;
  transform: translateX(-50%) scale(0.4);
  background: linear-gradient(145deg, #2a9cff, #1667c9);
  opacity: 0;
}

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0;
}

.s1 {
  left: 30px;
  top: 56px;
  background: #ff9d4f;
}

.s2 {
  left: 78px;
  top: 20px;
  background: #4fb8ff;
}

.s3 {
  right: 34px;
  top: 52px;
  background: #52cdad;
}

.s4 {
  right: 60px;
  top: 28px;
  background: #ff6ea8;
}

.demo-success.is-bloom .stem {
  animation: stemGrow 620ms ease-out forwards;
}

.demo-success.is-bloom .st2 {
  animation-delay: 80ms;
}

.demo-success.is-bloom .st3 {
  animation-delay: 140ms;
}

.demo-success.is-bloom .flower {
  animation: flowerPop 780ms cubic-bezier(0.22, 0.78, 0.26, 1) forwards;
}

.demo-success.is-bloom .f2 {
  animation-delay: 220ms;
}

.demo-success.is-bloom .f1,
.demo-success.is-bloom .f3 {
  animation-delay: 280ms;
}

.demo-success.is-bloom .f4 {
  animation-delay: 340ms;
}

.demo-success.is-bloom .wrap {
  animation: wrapRise 560ms ease-out 260ms forwards;
}

.demo-success.is-bloom .ribbon {
  animation: ribbonPulse 580ms ease-out 420ms forwards;
}

.demo-success.is-bloom .spark {
  animation: sparkleBurst 980ms ease-out 320ms forwards;
}

.contact-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  align-items: stretch;
}

.contact-card,
.contact-form {
  border: 1px solid #31537c;
  border-radius: 22px;
  background: rgba(15, 33, 58, 0.9);
  padding: 16px;
  height: 100%;
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card h3,
.contact-form h3 {
  font-size: 1.02rem;
}

.contact-card p {
  margin-top: 10px;
  font-size: 0.84rem;
}

.contact-card ul {
  margin-top: 10px;
  list-style: none;
}

.contact-card li {
  position: relative;
  margin-top: 8px;
  padding-left: 16px;
  color: #bfd2ec;
  font-size: 0.82rem;
}

.contact-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.contact-mini-map {
  margin-top: 12px;
  border: 1px solid #43658f;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(17, 39, 66, 0.92);
  flex: 1;
  min-height: 240px;
}

.contact-mini-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  filter: brightness(0.88) saturate(0.9) contrast(1.05);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: #c7daf4;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #43658f;
  border-radius: 12px;
  background: rgba(17, 39, 66, 0.92);
  color: #e0eeff;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 0.88rem;
  padding: 10px 11px;
  min-height: 44px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 96px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #5e86b4;
  box-shadow: 0 0 0 3px rgba(78, 162, 255, 0.2);
  outline: none;
}

.contact-success {
  margin: 0;
  border: 1px solid #2f8f74;
  border-radius: 11px;
  background: rgba(12, 73, 58, 0.46);
  color: #a8eed9;
  font-size: 0.79rem;
  padding: 9px 10px;
}

.launch-box {
  border: 1px solid #304f74;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(14, 31, 55, 0.85), rgba(11, 26, 45, 0.95));
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.launch-box ol {
  margin-top: 14px;
  list-style: decimal;
  padding-left: 18px;
}

.launch-box li {
  margin-top: 10px;
  color: #bfd2ec;
  font-size: 0.9rem;
}

.launch-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.launch-stats article {
  border: 1px solid #304f74;
  border-radius: 16px;
  padding: 14px;
  background: rgba(18, 40, 69, 0.75);
}

.launch-stats small {
  color: #9eb5d5;
  font-size: 0.74rem;
}

.launch-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.5rem;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.proof-badge {
  border: 1px solid #3f638d;
  border-radius: 999px;
  background: rgba(19, 40, 70, 0.9);
  color: #d2e5ff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
}

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

.trust-card {
  border: 1px solid #365980;
  border-radius: 20px;
  background: rgba(15, 33, 58, 0.92);
  padding: 18px;
}

.trust-card h3 {
  font-size: 1.02rem;
}

.trust-card p {
  margin-top: 10px;
  font-size: 0.86rem;
  color: #afc8e7;
}

.footer {
  border-top: 1px solid #2f4d73;
  padding: 34px 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.foot-grid h3,
.foot-grid h4 {
  margin-top: 10px;
}

.foot-grid p { margin-top: 8px; font-size: 0.9rem; }

.foot-grid a { color: #ffd38b; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

body[data-theme="light"] {
  --bg: #e3eaf3;
  --panel: #edf4fb;
  --panel-soft: #e4edf7;
  --line: #a9c3dd;
  --ink: #162a42;
  --muted: #536a84;
  --shadow: 0 20px 38px rgba(33, 74, 118, 0.14);
  background: linear-gradient(180deg, #eaf0f6 0%, #dce6f1 100%);
}

body[data-theme="light"] .noise {
  opacity: 0.035;
}

body[data-theme="light"] .bg-human-story::before {
  background:
    radial-gradient(ellipse 60% 42% at 34% 16%, rgba(239, 247, 255, 0.92) 0%, rgba(239, 247, 255, 0.64) 44%, rgba(239, 247, 255, 0) 74%),
    radial-gradient(ellipse 65% 44% at 33% 50%, rgba(234, 244, 252, 0.9) 0%, rgba(234, 244, 252, 0.6) 46%, rgba(234, 244, 252, 0) 74%),
    radial-gradient(ellipse 68% 46% at 34% 84%, rgba(230, 240, 250, 0.88) 0%, rgba(230, 240, 250, 0.56) 44%, rgba(230, 240, 250, 0) 72%);
}

body[data-theme="light"] .story-frame {
  border-color: rgba(137, 172, 210, 0.58);
  background: rgba(238, 247, 255, 0.7);
  box-shadow: 0 16px 35px rgba(30, 68, 109, 0.2);
  opacity: 0.62;
}

body[data-theme="light"] .story-frame::after {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(22, 58, 94, 0.08));
}

body[data-theme="light"] .topbar {
  border-bottom-color: rgba(152, 185, 218, 0.72);
  background: rgba(232, 241, 251, 0.9);
}

body[data-theme="light"] nav {
  color: #2d4f72;
}

body[data-theme="light"] nav a:hover {
  color: #0f3f72;
}

body[data-theme="light"] .brand-logo--on-dark {
  display: none;
}

body[data-theme="light"] .brand-logo--on-light {
  display: block;
}

body[data-theme="light"] .brand-slogan {
  color: #3d5d7f;
}

body[data-theme="light"] .logo-box {
  color: #fff;
  border-color: rgba(130, 174, 220, 0.52);
  background: linear-gradient(145deg, #2f98ff, #1a66c6);
}

body[data-theme="light"] .footer-brand-mark {
  border: 0;
  background: transparent;
}

body[data-theme="light"] .btn {
  color: #fff;
  background: linear-gradient(145deg, #1f7ae0, #165eb0);
  box-shadow: 0 10px 22px rgba(31, 122, 224, 0.26);
}

body[data-theme="light"] .btn-link {
  color: #1f5f97;
}

body[data-theme="light"] .engage-backdrop {
  background: rgba(11, 26, 45, 0.42);
}

body[data-theme="light"] .engage-modal {
  background: rgba(245, 251, 255, 0.98);
  border-color: #aecce7;
  box-shadow: 0 24px 55px rgba(22, 54, 88, 0.28);
}

body[data-theme="light"] .engage-close {
  color: #3a5f84;
}

body[data-theme="light"] .btn-lite,
body[data-theme="light"] .theme-toggle {
  color: #20486f;
  border-color: #aac8e4;
  background: rgba(242, 248, 255, 0.95);
}

body[data-theme="light"] .carousel-btn {
  color: #20486f;
  border-color: #aac8e4;
  background: rgba(242, 248, 255, 0.95);
}

body[data-theme="light"] .pill-row span,
body[data-theme="light"] .human-pill,
body[data-theme="light"] .proof-badge,
body[data-theme="light"] .hero-panel,
body[data-theme="light"] .cap-card,
body[data-theme="light"] .tour-card,
body[data-theme="light"] .tier,
body[data-theme="light"] .contact-card,
body[data-theme="light"] .contact-form,
body[data-theme="light"] .start-card,
body[data-theme="light"] .demo-card,
body[data-theme="light"] .demo-form,
body[data-theme="light"] .launch-box,
body[data-theme="light"] .launch-stats article,
body[data-theme="light"] .sim-card,
body[data-theme="light"] .bus-board,
body[data-theme="light"] .sim-person,
body[data-theme="light"] .sim-alert,
body[data-theme="light"] .sim-log {
  border-color: #aac6e0;
  background: rgba(245, 250, 255, 0.95);
  color: #1a3550;
}

body[data-theme="light"] .human-pill span {
  color: #224b72;
}

body[data-theme="light"] .kicker {
  border-color: rgba(39, 109, 181, 0.28);
  color: #2f5d86;
  background: rgba(67, 138, 212, 0.12);
}

body[data-theme="light"] .tag {
  border-color: #a1c0dc;
  background: #e8f1fb;
  color: #36567a;
}

body[data-theme="light"] .rate {
  color: #1a3654;
}

body[data-theme="light"] .rate small {
  color: #5b7590;
}

body[data-theme="light"] .panel-top p,
body[data-theme="light"] .quick-metrics small,
body[data-theme="light"] .tier li,
body[data-theme="light"] .trust-card p,
body[data-theme="light"] .contact-card li,
body[data-theme="light"] .contact-card p,
body[data-theme="light"] .start-card li,
body[data-theme="light"] .launch-box li,
body[data-theme="light"] .foot-grid p,
body[data-theme="light"] .sim-status,
body[data-theme="light"] .sim-person small,
body[data-theme="light"] .sim-alert p,
body[data-theme="light"] .sim-alert small,
body[data-theme="light"] .sim-log,
body[data-theme="light"] .sim-stop {
  color: #56708b;
}

body[data-theme="light"] .carousel-dot {
  border-color: #aacbe8;
  background: #d7e9f9;
}

body[data-theme="light"] .carousel-dot.is-active {
  background: #1f7ae0;
  border-color: #1f7ae0;
}

body[data-theme="light"] .bus-track-line {
  background: linear-gradient(90deg, #bcd3e8, #89b5df, #4d8bc6);
}

body[data-theme="light"] .sim-stop {
  color: #436788;
}

body[data-theme="light"] .footer {
  border-top-color: #b8d3ed;
}

body[data-theme="light"] .foot-grid a {
  color: #0d6bcf;
}

body[data-theme="light"] .impact-grid label,
body[data-theme="light"] .demo-form label,
body[data-theme="light"] .contact-form label {
  color: #456b90;
}

body[data-theme="light"] .contact-mini-map {
  border-color: #a9c6e1;
  background: #eef6fd;
}

body[data-theme="light"] .contact-mini-map iframe {
  filter: none;
}

body[data-theme="light"] .impact-grid input,
body[data-theme="light"] .demo-form input,
body[data-theme="light"] .demo-form select,
body[data-theme="light"] .demo-form textarea,
body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea {
  border-color: #a9c6e1;
  background: #eef6fd;
  color: #284b6f;
}

body[data-theme="light"] .impact-result {
  border-color: #aac6e1;
  background: #e8f1fa;
  color: #486c8d;
}

body[data-theme="light"] .impact-result strong {
  color: #0d6bcf;
}

body[data-theme="light"] .demo-chip {
  border-color: #b6d3ef;
  background: #eef7ff;
  color: #245b8e;
}

body[data-theme="light"] .demo-success {
  border-color: #9ad7c2;
  background: #e8fbf2;
  color: #1a755f;
}

body[data-theme="light"] .contact-success {
  border-color: #9ad7c2;
  background: #e8fbf2;
  color: #1a755f;
}

body[data-theme="light"] .demo-success h4 {
  color: #145f4e;
}

body[data-theme="light"] .demo-form-central {
  border-color: #9fc4e7;
  box-shadow: 0 20px 42px rgba(33, 74, 118, 0.18);
}

@keyframes simPulse {
  0% { box-shadow: 0 0 0 0 rgba(78, 162, 255, 0.26); }
  60% { box-shadow: 0 0 0 9px rgba(78, 162, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(78, 162, 255, 0); }
}

@keyframes stemGrow {
  0% { opacity: 0; }
  100% { opacity: 1; transform: rotate(var(--stem-angle, 0deg)) scaleY(1); }
}

@keyframes flowerPop {
  0% { opacity: 0; transform: scale(0.25); }
  70% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes wrapRise {
  0% { opacity: 0; transform: translateX(-50%) translateY(16px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes ribbonPulse {
  0% { opacity: 0; transform: translateX(-50%) scale(0.4); }
  70% { opacity: 1; transform: translateX(-50%) scale(1.08); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes sparkleBurst {
  0% { opacity: 0; transform: translateY(8px) scale(0.3); }
  45% { opacity: 1; transform: translateY(-10px) scale(1); }
  100% { opacity: 0; transform: translateY(-20px) scale(0.4); }
}

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

@media (max-width: 1080px) {
  .story-frame-parent {
    width: min(31vw, 326px);
    height: min(39vw, 406px);
    top: 102px;
    left: -66px;
    opacity: 0.44;
  }

  .story-frame-school {
    width: min(34vw, 356px);
    height: min(24vw, 254px);
    right: -86px;
    opacity: 0.4;
  }

  .story-frame-class {
    width: min(31vw, 332px);
    height: min(23vw, 240px);
    right: 8px;
    bottom: 10px;
    opacity: 0.42;
  }

  .nav {
    min-height: auto;
    padding-block: 10px 12px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  nav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 10px;
    padding: 4px 0 2px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    font-size: 0.93rem;
  }

  nav a {
    white-space: nowrap;
    padding: 7px 11px;
    border: 1px solid #3f638f;
    border-radius: 999px;
    background: rgba(16, 32, 55, 0.7);
    color: #d6e8ff;
  }

  .actions {
    margin-left: auto;
  }

  .brand-logo {
    width: min(270px, 58vw);
    max-height: 58px;
  }

  .hero-layout,
  .cap-grid,
  .sim-grid,
  .trust-grid,
  .contact-grid,
  .start-grid,
  .tier-grid,
  .demo-grid,
  .launch-box,
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .engage-modal {
    width: min(95vw, 520px);
    border-radius: 20px;
    padding: 22px 16px 16px;
  }

  .engage-modal .hero-cta .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .bg-human-story::before {
    background:
      radial-gradient(ellipse 92% 60% at 50% 14%, rgba(7, 18, 42, 0.78) 0%, rgba(7, 18, 42, 0.48) 42%, rgba(7, 18, 42, 0) 74%),
      radial-gradient(ellipse 92% 62% at 50% 50%, rgba(6, 15, 36, 0.74) 0%, rgba(6, 15, 36, 0.44) 42%, rgba(6, 15, 36, 0) 74%);
  }

  body[data-theme="light"] .bg-human-story::before {
    background:
      radial-gradient(ellipse 92% 60% at 50% 14%, rgba(239, 247, 255, 0.82) 0%, rgba(239, 247, 255, 0.52) 42%, rgba(239, 247, 255, 0) 74%),
      radial-gradient(ellipse 92% 62% at 50% 50%, rgba(234, 244, 252, 0.78) 0%, rgba(234, 244, 252, 0.48) 42%, rgba(234, 244, 252, 0) 74%);
  }

  .story-frame {
    border-radius: 22px;
  }

  .story-frame-parent {
    width: min(42vw, 218px);
    height: min(51vw, 266px);
    top: 118px;
    left: -70px;
    opacity: 0.36;
  }

  .story-frame-school,
  .story-frame-class {
    display: none;
  }

  .actions .btn-lite { display: none; }

  .brand-logo {
    width: min(232px, 62vw);
    max-height: 50px;
  }

  .brand-slogan {
    margin-left: clamp(48px, 11vw, 70px);
    margin-top: -2px;
    font-size: 0.67rem;
  }

  .brand-logo-wrap {
    margin-bottom: -20px;
  }

  .nav {
    row-gap: 6px;
    padding-block: 8px 10px;
  }

  nav {
    gap: 8px;
    padding-bottom: 0;
    font-size: 0.9rem;
  }

  nav a {
    padding: 7px 10px;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    line-height: 1.12;
  }

  .hero .sub {
    font-size: 1.01rem;
    line-height: 1.5;
  }

  .section-head h2 {
    font-size: clamp(1.56rem, 7.2vw, 1.98rem);
    line-height: 1.24;
  }

  .hero-layout,
  .cap-grid,
  .sim-grid,
  .trust-grid,
  .contact-grid,
  .start-grid,
  .tier-grid,
  .demo-grid,
  .launch-box,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-auto-rows: auto;
  }

  .demo-form-central {
    width: 100%;
  }

  .tour-carousel {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .carousel-btn {
    display: none;
  }

  .sim-persons {
    grid-template-columns: 1fr;
  }

  .human-strip {
    gap: 8px;
  }

  .human-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-panel img { height: 250px; }
}

@media (max-width: 560px) {
  .story-frame-parent {
    width: 164px;
    height: 210px;
    left: -72px;
    opacity: 0.32;
  }

  .brand-logo {
    width: min(214px, 60vw);
    max-height: 46px;
  }

  .brand-slogan {
    margin-left: clamp(44px, 10.4vw, 62px);
    font-size: 0.64rem;
  }

  nav {
    font-size: 0.86rem;
  }

  nav a {
    padding: 6px 9px;
  }
}

@media (max-width: 1080px) {
  body[data-theme="light"] nav a {
    background: rgba(255, 255, 255, 0.84);
    border-color: #b8d5f4;
    color: #21486f;
  }

  body[data-theme="light"] nav a:hover {
    color: #16395d;
    border-color: #91bce8;
  }
}
