:root {
  --bg: #edf3fb;
  --bg-soft: #dfeaf6;
  --bg-grad-start: #f4f8fc;
  --bg-grad-end: #dde9f6;
  --ink: #1f2a57;
  --ink-muted: #4d5f89;
  --line: #aecae6;
  --brand: #1f86ff;
  --brand-deep: #1165d3;
  --accent: #ff8b3d;
  --accent-soft: #ffd8bf;
  --mint: #03b79a;
  --card: rgba(248, 252, 255, 0.9);
  --shadow: 0 18px 38px rgba(29, 84, 152, 0.14);
  --header-bg: rgba(236, 245, 253, 0.88);
  --header-border: rgba(104, 150, 198, 0.32);
  --footer-bg: linear-gradient(180deg, rgba(225, 238, 250, 0.95), rgba(208, 226, 243, 0.96));
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Baloo 2", "Nunito", "Avenir Next", sans-serif;
  color: var(--ink);
  font-size: 17px;
  background: linear-gradient(180deg, var(--bg-grad-start) 0%, var(--bg-grad-end) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 240ms ease, color 240ms ease;
}

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(31, 134, 255, 0.38);
  outline-offset: 2px;
}

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

h1,
h2,
h3 {
  font-family: "Fredoka", "Baloo 2", sans-serif;
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  transition: color 220ms ease;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.section {
  padding: 76px 0;
  position: relative;
}

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

.orb-1 {
  width: 480px;
  height: 480px;
  left: -160px;
  top: -120px;
  background: radial-gradient(circle at 35% 30%, rgba(11, 120, 242, 0.34), rgba(11, 120, 242, 0));
  animation: drift 16s ease-in-out infinite;
}

.orb-2 {
  width: 560px;
  height: 560px;
  right: -180px;
  bottom: -140px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 122, 24, 0.3), rgba(255, 122, 24, 0));
  animation: drift 19s ease-in-out infinite reverse;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(12, 85, 170, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 85, 170, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
}

.bg-confetti {
  display: none;
}

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

.bg-human-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 42% at 34% 16%, rgba(237, 245, 253, 0.95) 0%, rgba(237, 245, 253, 0.68) 44%, rgba(237, 245, 253, 0) 74%),
    radial-gradient(ellipse 65% 44% at 33% 50%, rgba(232, 242, 252, 0.94) 0%, rgba(232, 242, 252, 0.66) 46%, rgba(232, 242, 252, 0) 74%),
    radial-gradient(ellipse 68% 46% at 34% 84%, rgba(228, 239, 250, 0.92) 0%, rgba(228, 239, 250, 0.62) 44%, rgba(228, 239, 250, 0) 72%);
  opacity: 0.84;
  transition: opacity 220ms ease, background 260ms ease;
}

.story-frame {
  position: absolute;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(132, 168, 207, 0.56);
  box-shadow: 0 18px 45px rgba(23, 65, 114, 0.25);
  background: rgba(236, 245, 252, 0.82);
  opacity: 0.62;
}

.story-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(15, 52, 99, 0.04));
}

.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(196px, 21vw, 350px);
  height: clamp(242px, 27vw, 438px);
  top: 122px;
  left: clamp(-58px, 0.8vw, 12px);
  transform: rotate(-7deg);
}

.story-frame-school {
  width: clamp(218px, 24vw, 388px);
  height: clamp(170px, 19vw, 300px);
  right: clamp(-74px, -0.6vw, -8px);
  top: 32%;
  transform: rotate(7deg);
}

.story-frame-class {
  width: clamp(208px, 22vw, 364px);
  height: clamp(172px, 18.5vw, 300px);
  right: clamp(22px, 6vw, 118px);
  bottom: 28px;
  transform: rotate(-6deg);
}

.confetti {
  position: absolute;
  display: block;
  border-radius: 999px;
  opacity: 0.4;
  animation: none;
}

.confetti-1 {
  width: 20px;
  height: 20px;
  left: 7%;
  top: 12%;
  background: #ff8b3d;
}

.confetti-2 {
  width: 14px;
  height: 14px;
  left: 18%;
  top: 72%;
  background: #02b99a;
  animation-delay: -1.8s;
}

.confetti-3 {
  width: 16px;
  height: 16px;
  right: 22%;
  top: 18%;
  background: #4f7dff;
  animation-delay: -2.4s;
}

.confetti-4 {
  width: 11px;
  height: 11px;
  right: 12%;
  top: 42%;
  background: #ff5f8e;
  animation-delay: -3.2s;
}

.confetti-5 {
  width: 13px;
  height: 13px;
  left: 36%;
  top: 24%;
  background: #ffd14a;
  animation-delay: -4.3s;
}

.confetti-6 {
  width: 18px;
  height: 18px;
  left: 64%;
  top: 78%;
  background: #36c1ff;
  animation-delay: -5.1s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

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

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

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

.brand-logo {
  display: block;
  width: clamp(220px, 25vw, 360px);
  height: auto;
  max-width: min(340px, 48vw);
  max-height: 68px;
  object-fit: contain;
}

.brand-logo--dark {
  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: #3d5d7f;
  white-space: nowrap;
}

.logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(11, 120, 242, 0.44);
  background: linear-gradient(138deg, #1592ff 0%, #0a5fca 58%, #0c3f84 100%);
  box-shadow: 0 10px 22px rgba(10, 80, 156, 0.28);
  position: relative;
  overflow: hidden;
}

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

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

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

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

.main-nav {
  display: flex;
  gap: 26px;
  font-size: 1rem;
  color: #264967;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  border: 1px solid #b9d6f3;
  background: rgba(255, 255, 255, 0.84);
  color: #22476c;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-family: "Fredoka", "Baloo 2", sans-serif;
  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: #87bdee;
}

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

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

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

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

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

.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;
}

.main-nav a {
  position: relative;
  padding: 3px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 4px;
  background: var(--brand);
  transition: width 220ms ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-family: "Fredoka", "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  box-shadow: 0 10px 24px rgba(11, 120, 242, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  animation: none;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px rgba(11, 120, 242, 0.34);
  filter: saturate(1.06);
}

.btn-sm {
  padding: 11px 18px;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 15px 25px;
  font-size: 1rem;
}

.btn-ghost {
  background: #fff;
  color: var(--brand-deep);
  border: 1px solid #b9d8ff;
  box-shadow: 0 8px 20px rgba(6, 76, 158, 0.15);
}

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

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

.btn-block {
  width: 100%;
  margin-top: 18px;
}

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

.engage-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 36, 0.46);
  z-index: 60;
}

.engage-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 92vw);
  background: rgba(248, 253, 255, 0.98);
  border: 1px solid #b6d4ef;
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(10, 46, 88, 0.34);
  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-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

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

.hero {
  padding-top: 64px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #175ea6;
  background: rgba(44, 144, 255, 0.13);
  border: 1px solid rgba(44, 144, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  margin-bottom: 16px;
  animation: none;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.2rem);
  max-width: 18ch;
  letter-spacing: 0;
}

.lead {
  margin-top: 16px;
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-copy p,
.section-heading p {
  max-width: 62ch;
}

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

.hero-badges {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-chip {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a4c76;
  border: 1px solid #b6d9ff;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 9px 13px;
  animation: none;
}

.badge-chip:nth-child(2) {
  animation-delay: -1.1s;
}

.badge-chip:nth-child(3) {
  animation-delay: -2.2s;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.hero-sticker {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
  box-shadow: 0 14px 24px rgba(34, 98, 170, 0.24);
  z-index: 3;
  animation: none;
}

.sticker-star {
  top: 50px;
  left: -18px;
  background: linear-gradient(145deg, #ffb33b, #ff7f33);
}

.sticker-heart {
  right: -14px;
  top: 160px;
  background: linear-gradient(145deg, #ff5f9a, #ff3e74);
  animation-delay: -1.9s;
}

.sticker-smile {
  right: 32px;
  bottom: -10px;
  background: linear-gradient(145deg, #38c6ff, #1e7bff);
  animation-delay: -3.4s;
}

.device-preview {
  border-radius: var(--radius-xl);
  border: 1px solid #bfdcff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 255, 0.92));
  box-shadow: var(--shadow);
  padding: 14px;
  position: absolute;
  inset: 26px 0 0;
  overflow: hidden;
}

.device-preview img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(114, 163, 215, 0.42);
}

.floating-card {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #bcd8f5;
  border-radius: 16px;
  padding: 10px 13px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e4a73;
  box-shadow: 0 12px 26px rgba(17, 72, 128, 0.2);
  border-style: dashed;
  border-width: 2px;
}

.floating-card.top {
  top: 0;
  right: 18px;
  animation: none;
}

.floating-card.bottom {
  bottom: 8px;
  left: -18px;
  animation: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(1.76rem, 3.5vw, 2.4rem);
}

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

.module-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  backdrop-filter: blur(8px);
  padding: 22px 18px;
  box-shadow: 0 10px 28px rgba(13, 66, 122, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  cursor: pointer;
  animation: none;
}

.module-card:hover,
.module-card.is-active {
  transform: translateY(-8px) rotate(-0.65deg);
  border-color: #6fb7ff;
  box-shadow: 0 16px 34px rgba(11, 87, 173, 0.18);
}

.module-card:nth-child(2) {
  animation-delay: -1.4s;
}

.module-card:nth-child(3) {
  animation-delay: -2.8s;
}

.module-card:nth-child(4) {
  animation-delay: -4.2s;
}

.module-card h3 {
  margin-top: 14px;
  font-size: 1.18rem;
}

.module-card:focus-visible,
.price-card:focus-within,
.starter-card:focus-within,
.timeline-item:focus-within,
.stat-card:focus-within {
  border-color: #5ba9f3;
  box-shadow: 0 0 0 3px rgba(31, 134, 255, 0.2);
}

.module-card p {
  margin-top: 8px;
  font-size: 0.97rem;
}

.icon-wrap {
  width: 126px;
  height: 126px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.16), 0 10px 18px rgba(18, 74, 133, 0.2);
  animation: none;
}

.icon-wrap svg {
  width: 44px;
  height: 44px;
  fill: #fff;
}

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

.icon-portal {
  background: linear-gradient(150deg, #0884ff, #0b4ea6);
}

.icon-parent {
  background: linear-gradient(150deg, #ff871f, #d75302);
}

.icon-security {
  background: linear-gradient(150deg, #0db69f, #0a7f70);
}

.icon-learning {
  background: linear-gradient(150deg, #6a5dff, #2f2db3);
}

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

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

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

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

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid #b9d7f4;
  background: rgba(255, 255, 255, 0.9);
  color: #184b79;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(10, 71, 133, 0.12);
}

.carousel-btn:hover {
  border-color: #8ec0ee;
}

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

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

.carousel-dot.is-active {
  background: var(--brand);
  border-color: var(--brand);
  transform: scale(1.18);
}

.snapshot-card {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid #b7d6f4;
  background: #fff;
  box-shadow: 0 18px 40px rgba(11, 66, 124, 0.15);
  transition: transform 200ms ease;
  transform-style: preserve-3d;
  animation: none;
}

.snapshot-card:hover {
  transform: translateY(-6px);
}

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

.snapshot-meta {
  padding: 16px;
}

.snapshot-meta h3 {
  font-size: 1.12rem;
}

.snapshot-meta p {
  margin-top: 6px;
  font-size: 0.96rem;
}

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

.ops-card {
  border: 1px solid #bad8f5;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(14, 77, 145, 0.12);
  padding: 18px;
  animation: none;
}

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

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

.ops-badge {
  border-radius: 999px;
  border: 1px solid #bddaf6;
  background: #edf6ff;
  color: #1f4d77;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 6px 10px;
}

.ops-sub {
  margin-top: 8px;
  font-size: 0.95rem;
}

.bus-map {
  margin-top: 14px;
  border: 1px solid #c9e0f6;
  border-radius: 18px;
  background: #f5fbff;
  padding: 14px 12px;
  position: relative;
}

.bus-lane {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c7dcf2, #7fb1df, #3d80be);
  margin: 30px 6px 8px;
}

.bus-stop {
  position: absolute;
  top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #335577;
}

.bus-stop.left { left: 10px; }
.bus-stop.mid { left: 44%; transform: translateX(-50%); }
.bus-stop.right { right: 10px; }

.bus-marker {
  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-marker img {
  width: 62px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.ops-status {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #24537f;
}

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

.person-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #c6ddf3;
  border-radius: 16px;
  background: #f6fbff;
  padding: 12px;
}

.person-avatar {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  flex: 0 0 60px;
  overflow: hidden;
  border: 1px solid rgba(22, 78, 146, 0.28);
  box-shadow: 0 10px 18px rgba(11, 63, 120, 0.18);
}

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

.person-security {
  background: linear-gradient(145deg, #17baa2, #0f8b78);
}

.person-parent {
  background: linear-gradient(145deg, #1f7ae0, #154f9f);
}

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

.person-card p {
  font-size: 0.9rem;
  line-height: 1.25;
  margin-top: 2px;
}

.parent-alert {
  margin-top: 12px;
  border: 1px solid #a9d4ff;
  border-radius: 14px;
  background: linear-gradient(140deg, #eaf4ff, #d8eaff);
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  animation: alertPulse 4.6s ease-in-out infinite;
}

.parent-alert.is-flash {
  animation: alertPulse 420ms ease-out;
}

.parent-alert strong {
  font-size: 0.86rem;
}

.parent-alert p {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #2b5378;
}

.parent-alert small {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: #3f678d;
  font-weight: 700;
}

.ops-log {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px dashed #bad8f4;
  background: #f5fbff;
  padding: 10px;
  font-size: 0.78rem;
  color: #2d5379;
}

.pricing-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  border-radius: 28px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #bfdcff;
  box-shadow: 0 14px 34px rgba(11, 70, 136, 0.13);
  position: relative;
  overflow: hidden;
  animation: none;
}

.price-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  right: -90px;
  top: -95px;
  opacity: 0.45;
  background: radial-gradient(circle, rgba(11, 120, 242, 0.45), rgba(11, 120, 242, 0));
}

.price-card.highlight {
  border-color: rgba(255, 122, 24, 0.55);
  transform: translateY(-4px);
}

.price-card.highlight::before {
  background: radial-gradient(circle, rgba(255, 122, 24, 0.52), rgba(255, 122, 24, 0));
}

.price-card.premium {
  border-color: rgba(10, 181, 156, 0.52);
}

.price-card.premium::before {
  background: radial-gradient(circle, rgba(10, 181, 156, 0.52), rgba(10, 181, 156, 0));
}

.plan-tag {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #20517f;
  border-radius: 999px;
  border: 1px solid #bbd8f4;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.9);
}

.price-card h3 {
  margin-top: 16px;
  font-size: 1.35rem;
}

.price {
  margin-top: 8px;
  font-size: 1.9rem;
  font-weight: 800;
  color: #073867;
}

.price span {
  font-size: 0.86rem;
  font-weight: 600;
  color: #46637f;
}

.plan-note {
  margin-top: 10px;
  font-size: 0.96rem;
}

.price-card ul {
  margin-top: 14px;
}

.price-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 22px;
  font-size: 0.95rem;
  color: #2d5071;
}

.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 #bbd8f4;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px 8px 8px;
  box-shadow: 0 8px 18px rgba(11, 70, 136, 0.12);
}

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

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

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

.starter-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.starter-card {
  border-radius: 24px;
  border: 1px solid #bfdcff;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(11, 70, 136, 0.12);
  padding: 20px;
  animation: none;
}

.starter-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 12px 22px rgba(13, 72, 133, 0.18);
}

.starter-school {
  background: linear-gradient(150deg, #2d9cff, #1a63cc);
}

.starter-parent {
  background: linear-gradient(150deg, #ff9836, #f2661f);
}

.starter-ops {
  background: linear-gradient(150deg, #15bf9d, #0a8e78);
}

.starter-card h3 {
  margin-top: 12px;
  font-size: 1.18rem;
}

.starter-card p {
  margin-top: 8px;
  font-size: 0.9rem;
}

.starter-card ul {
  margin-top: 12px;
}

.starter-card li {
  position: relative;
  margin-top: 8px;
  padding-left: 18px;
  font-size: 0.84rem;
  color: #2d5071;
}

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

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

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

.impact-grid input,
.demo-form input,
.demo-form select,
.demo-form textarea {
  border: 1px solid #bdd8f4;
  border-radius: 12px;
  background: #f8fcff;
  color: #254f78;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 0.9rem;
  padding: 10px 12px;
  outline: none;
  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: #72b5f4;
  box-shadow: 0 0 0 3px rgba(31, 122, 224, 0.16);
}

.impact-result {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px dashed #bad8f5;
  background: #f4fbff;
  padding: 10px;
  font-size: 0.83rem;
  color: #2b5378;
}

.impact-result strong {
  color: #0f5bb7;
}

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

.demo-type,
.demo-form {
  border-radius: 24px;
  border: 1px solid #bfdcff;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(11, 70, 136, 0.12);
  padding: 18px;
  animation: none;
}

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

.demo-type h3,
.demo-form h3 {
  font-size: 1.08rem;
}

.demo-time {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #245e93;
  display: inline-block;
  border: 1px solid #bedaf5;
  border-radius: 999px;
  background: #eef7ff;
  padding: 5px 10px;
}

.demo-type p:last-child {
  margin-top: 10px;
  font-size: 0.84rem;
}

.demo-form {
  grid-column: span 1;
}

.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: #9fcbf4;
  box-shadow: 0 20px 42px rgba(12, 74, 141, 0.2);
  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-radius: 14px;
  border: 2px solid #9fd9c8;
  background: linear-gradient(145deg, #ecfff6, #dcf7ec);
  color: #166b58;
  font-size: 0.84rem;
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(20, 102, 83, 0.18);
}

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

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

.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(24, 92, 158, 0.18);
}

.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-shell {
  border: 1px solid #bfdcff;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(14, 77, 145, 0.12);
  padding: 26px;
}

.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 #bfdcff;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(11, 70, 136, 0.1);
  padding: 18px;
  height: 100%;
}

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

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

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

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

.contact-card li {
  position: relative;
  margin-top: 8px;
  padding-left: 18px;
  font-size: 0.84rem;
  color: #2d5071;
}

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

.contact-mini-map {
  margin-top: 12px;
  border: 1px solid #bdd8f4;
  border-radius: 14px;
  overflow: hidden;
  background: #eef6ff;
  flex: 1;
  min-height: 240px;
}

.contact-mini-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
}

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

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

.contact-form input,
.contact-form textarea {
  border: 1px solid #bdd8f4;
  border-radius: 12px;
  background: #f8fcff;
  color: #254f78;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 0.9rem;
  padding: 10px 12px;
  outline: none;
  min-height: 44px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #72b5f4;
  box-shadow: 0 0 0 3px rgba(31, 122, 224, 0.16);
}

.contact-success {
  margin: 0;
  border: 1px solid #b9e7d7;
  border-radius: 11px;
  background: #e9fbf4;
  color: #166b58;
  font-size: 0.8rem;
  padding: 9px 10px;
}

.flow-wrap {
  border: 1px solid #bad8f5;
  border-radius: 30px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(241, 249, 255, 0.86));
  box-shadow: 0 18px 40px rgba(14, 77, 145, 0.12);
}

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

.timeline-item {
  border-radius: 22px;
  background: #fff;
  border: 1px solid #c0dcf8;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(12, 73, 136, 0.1);
  animation: none;
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--brand-deep);
  background: #deeeff;
}

.timeline-item h3 {
  margin-top: 12px;
  font-size: 1rem;
}

.timeline-item p {
  margin-top: 8px;
  font-size: 0.83rem;
}

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

.stat-card {
  border-radius: 22px;
  border: 1px solid #bedcf9;
  background: #fff;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(12, 66, 120, 0.1);
  animation: none;
}

.stat-card h3 {
  font-size: 1.5rem;
}

.stat-card .count {
  color: var(--brand);
}

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

.trust-section .section-heading {
  margin-bottom: 20px;
}

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

.proof-badge {
  border: 1px solid #bbd7f4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #2d557f;
  font-size: 0.84rem;
  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 #bdd9f5;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(11, 70, 136, 0.12);
  padding: 18px;
}

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

.trust-card p {
  margin-top: 10px;
  font-size: 0.88rem;
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid #c5dff7;
  background: var(--footer-bg);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.footer-logo {
  margin-bottom: 10px;
}

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

.footer-block h3 {
  margin-bottom: 10px;
}

.footer-block p,
.footer-block li {
  margin-top: 7px;
  font-size: 0.9rem;
}

.footer-block a {
  color: #0a65c9;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body[data-theme="dark"] {
  --bg-grad-start: #1a1d46;
  --bg-grad-end: #0c1540;
  --ink: #eef3ff;
  --ink-muted: #c4d1f0;
  --line: #445a91;
  --card: rgba(29, 43, 85, 0.9);
  --header-bg: rgba(16, 26, 58, 0.85);
  --header-border: rgba(103, 136, 201, 0.56);
  --footer-bg: linear-gradient(180deg, rgba(19, 32, 69, 0.95), rgba(13, 22, 49, 0.96));
  --shadow: 0 18px 50px rgba(1, 11, 22, 0.5);
}

body[data-theme="dark"] .main-nav {
  color: #d9e4ff;
}

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

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

body[data-theme="dark"] .brand-slogan {
  color: #c9d9f1;
}

body[data-theme="dark"] .logo-mark {
  border-color: rgba(155, 195, 249, 0.62);
  background: linear-gradient(138deg, #6fafff 0%, #428cff 58%, #2d69cf 100%);
}

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

body[data-theme="dark"] .theme-toggle {
  border-color: #486991;
  background: rgba(20, 41, 68, 0.9);
  color: #e2efff;
}

body[data-theme="dark"] .btn-ghost {
  background: rgba(20, 41, 68, 0.92);
  color: #d6e9ff;
  border-color: #4f749f;
}

body[data-theme="dark"] .btn-link {
  color: #8fc8ff;
}

body[data-theme="dark"] .engage-backdrop {
  background: rgba(3, 10, 22, 0.62);
}

body[data-theme="dark"] .engage-modal {
  background: rgba(12, 28, 50, 0.96);
  border-color: #3b5d88;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.52);
}

body[data-theme="dark"] .engage-close {
  color: #b9d5f5;
}

body[data-theme="dark"] .story-frame {
  border-color: rgba(93, 133, 194, 0.62);
  background: rgba(24, 38, 77, 0.7);
  box-shadow: 0 18px 50px rgba(2, 12, 29, 0.5);
  opacity: 0.52;
}

body[data-theme="dark"] .bg-human-story::before {
  background:
    radial-gradient(ellipse 60% 42% at 34% 16%, rgba(8, 18, 44, 0.86) 0%, rgba(8, 18, 44, 0.6) 44%, rgba(8, 18, 44, 0) 74%),
    radial-gradient(ellipse 65% 44% at 33% 50%, rgba(7, 16, 40, 0.86) 0%, rgba(7, 16, 40, 0.58) 46%, rgba(7, 16, 40, 0) 74%),
    radial-gradient(ellipse 68% 46% at 34% 84%, rgba(6, 14, 36, 0.84) 0%, rgba(6, 14, 36, 0.54) 44%, rgba(6, 14, 36, 0) 72%);
}

body[data-theme="dark"] .story-frame::after {
  background: linear-gradient(160deg, rgba(99, 141, 211, 0.2), rgba(4, 10, 26, 0.2));
}

body[data-theme="dark"] .badge-chip,
body[data-theme="dark"] .human-pill,
body[data-theme="dark"] .proof-badge,
body[data-theme="dark"] .floating-card,
body[data-theme="dark"] .module-card,
body[data-theme="dark"] .snapshot-card,
body[data-theme="dark"] .price-card,
body[data-theme="dark"] .trust-card,
body[data-theme="dark"] .contact-shell,
body[data-theme="dark"] .contact-card,
body[data-theme="dark"] .contact-form,
body[data-theme="dark"] .starter-card,
body[data-theme="dark"] .demo-type,
body[data-theme="dark"] .demo-form,
body[data-theme="dark"] .flow-wrap,
body[data-theme="dark"] .timeline-item,
body[data-theme="dark"] .stat-card,
body[data-theme="dark"] .ops-card,
body[data-theme="dark"] .person-card,
body[data-theme="dark"] .ops-log,
body[data-theme="dark"] .bus-map,
body[data-theme="dark"] .parent-alert {
  background: rgba(15, 33, 58, 0.86);
  border-color: #3f5f86;
  color: #e6f1ff;
}

body[data-theme="dark"] .module-card p,
body[data-theme="dark"] .snapshot-meta p,
body[data-theme="dark"] .price-card li,
body[data-theme="dark"] .trust-card p,
body[data-theme="dark"] .contact-card li,
body[data-theme="dark"] .contact-card p,
body[data-theme="dark"] .starter-card li,
body[data-theme="dark"] .timeline-item p,
body[data-theme="dark"] .stat-card p,
body[data-theme="dark"] .footer-block p,
body[data-theme="dark"] .footer-block li,
body[data-theme="dark"] .ops-sub,
body[data-theme="dark"] .person-card p,
body[data-theme="dark"] .parent-alert p,
body[data-theme="dark"] .parent-alert small,
body[data-theme="dark"] .ops-status,
body[data-theme="dark"] .ops-log,
body[data-theme="dark"] .bus-stop {
  color: #b8cde7;
}

body[data-theme="dark"] .human-pill span {
  color: #d7e8ff;
}

body[data-theme="dark"] .proof-badge {
  color: #d7e8ff;
}

body[data-theme="dark"] .device-preview,
body[data-theme="dark"] .flow-wrap,
body[data-theme="dark"] .snapshot-card,
body[data-theme="dark"] .price-card,
body[data-theme="dark"] .site-footer {
  border-color: #3e5e85;
}

body[data-theme="dark"] .footer-block a {
  color: #8ec3ff;
}

body[data-theme="dark"] .carousel-btn,
body[data-theme="dark"] .ops-badge {
  border-color: #4d7199;
  background: rgba(20, 41, 68, 0.92);
  color: #d6e8ff;
}

body[data-theme="dark"] .carousel-dot {
  border-color: #54779f;
  background: #21466f;
}

body[data-theme="dark"] .bus-lane {
  background: linear-gradient(90deg, #345273, #5179a2, #70a6de);
}

body[data-theme="dark"] .person-security {
  background: linear-gradient(145deg, #29c4ad, #0f8b78);
}

body[data-theme="dark"] .person-parent {
  background: linear-gradient(145deg, #4d9dff, #1a5fb9);
}

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

body[data-theme="dark"] .contact-mini-map {
  border-color: #4a6f9d;
  background: rgba(20, 41, 68, 0.92);
}

body[data-theme="dark"] .contact-mini-map iframe {
  filter: brightness(0.88) saturate(0.9) contrast(1.05);
}

body[data-theme="dark"] .impact-grid input,
body[data-theme="dark"] .demo-form input,
body[data-theme="dark"] .demo-form select,
body[data-theme="dark"] .demo-form textarea,
body[data-theme="dark"] .contact-form input,
body[data-theme="dark"] .contact-form textarea {
  border-color: #4a6f9d;
  background: rgba(20, 41, 68, 0.92);
  color: #deebff;
}

body[data-theme="dark"] .demo-time {
  border-color: #4c719b;
  background: rgba(20, 41, 68, 0.92);
  color: #d6e9ff;
}

body[data-theme="dark"] .impact-result {
  border-color: #4b6f9c;
  background: rgba(20, 41, 68, 0.92);
  color: #d6e9ff;
}

body[data-theme="dark"] .impact-result strong {
  color: #94c7ff;
}

body[data-theme="dark"] .demo-success {
  border-color: #2f8f74;
  background: rgba(12, 73, 58, 0.46);
  color: #a8eed9;
}

body[data-theme="dark"] .contact-success {
  border-color: #2f8f74;
  background: rgba(12, 73, 58, 0.46);
  color: #a8eed9;
}

body[data-theme="dark"] .demo-success h4 {
  color: #b8ffe8;
}

body[data-theme="dark"] .demo-form-central {
  border-color: #5d82b2;
}

body[data-theme="dark"] .confetti {
  opacity: 0.4;
}

body[data-theme="dark"] .sticker-star {
  background: linear-gradient(145deg, #ffb03a, #ff7a2d);
}

body[data-theme="dark"] .sticker-heart {
  background: linear-gradient(145deg, #ff6da4, #ea3f80);
}

body[data-theme="dark"] .sticker-smile {
  background: linear-gradient(145deg, #52bfff, #2b88ff);
}

@keyframes bob {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes drift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(22px, 12px); }
  100% { transform: translate(0, 0); }
}

@keyframes alertPulse {
  0% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 0 0 0 rgba(31, 122, 224, 0.15); }
  60% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 0 0 9px rgba(31, 122, 224, 0); }
  100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 0 0 0 rgba(31, 122, 224, 0); }
}

@keyframes confettiFloat {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

@keyframes ctaPulse {
  0% { transform: scale(1); }
  55% { transform: scale(1.015); }
  100% { transform: scale(1); }
}

@keyframes badgeBop {
  0% { transform: translateY(0); }
  40% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

@keyframes stickerBounce {
  0% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-8px) rotate(-6deg); }
  65% { transform: translateY(-2px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes iconBounce {
  0% { transform: translateY(0); }
  45% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.is-wiggle {
  animation: wiggleCard 620ms ease;
}

@keyframes wiggleCard {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-1.2deg); }
  40% { transform: rotate(1.2deg); }
  60% { transform: rotate(-0.8deg); }
  100% { transform: rotate(0deg); }
}

@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, 330px);
    height: min(39vw, 410px);
    top: 104px;
    left: -62px;
    opacity: 0.46;
  }

  .story-frame-school {
    width: min(34vw, 360px);
    height: min(24vw, 258px);
    right: -82px;
    opacity: 0.42;
  }

  .story-frame-class {
    width: min(31vw, 336px);
    height: min(23vw, 244px);
    right: 10px;
    bottom: 10px;
    opacity: 0.44;
  }

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

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

  .main-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;
  }

  .main-nav a {
    white-space: nowrap;
    padding: 7px 11px;
    border: 1px solid #b9d7f4;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #1d466b;
  }

  .main-nav a::after {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-layout,
  .starter-grid,
  .contact-grid,
  .pricing-grid,
  .trust-grid,
  .demo-grid,
  .timeline,
  .stat-grid,
  .footer-layout,
  .module-grid,
  .ops-sim-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 400px;
  }
}

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

  .engage-actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .bg-human-story::before {
    background:
      radial-gradient(ellipse 92% 60% at 50% 14%, rgba(237, 245, 253, 0.84) 0%, rgba(237, 245, 253, 0.56) 42%, rgba(237, 245, 253, 0) 74%),
      radial-gradient(ellipse 92% 62% at 50% 50%, rgba(232, 242, 252, 0.8) 0%, rgba(232, 242, 252, 0.5) 42%, rgba(232, 242, 252, 0) 74%);
  }

  body[data-theme="dark"] .bg-human-story::before {
    background:
      radial-gradient(ellipse 92% 60% at 50% 14%, rgba(8, 18, 44, 0.8) 0%, rgba(8, 18, 44, 0.5) 42%, rgba(8, 18, 44, 0) 74%),
      radial-gradient(ellipse 92% 62% at 50% 50%, rgba(7, 16, 40, 0.76) 0%, rgba(7, 16, 40, 0.46) 42%, rgba(7, 16, 40, 0) 74%);
  }

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

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

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

  .section {
    padding: 64px 0;
  }

  .hero-layout,
  .module-grid,
  .ops-sim-grid,
  .starter-grid,
  .contact-grid,
  .pricing-grid,
  .trust-grid,
  .demo-grid,
  .timeline,
  .stat-grid,
  .footer-layout {
    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;
  }

  .people-strip {
    grid-template-columns: 1fr;
  }

  .human-strip {
    gap: 8px;
  }

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

  .hero-visual {
    min-height: 330px;
  }

  .hero-sticker {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .sticker-star {
    left: 2px;
    top: 44px;
  }

  .sticker-heart {
    right: 4px;
    top: 138px;
  }

  .sticker-smile {
    right: 24px;
    bottom: -6px;
  }

  .floating-card.bottom {
    left: 0;
    bottom: -4px;
  }

  .device-preview {
    inset: 32px 0 0;
  }

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

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

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

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

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

  .main-nav a {
    padding: 7px 10px;
  }

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

  .header-actions .btn-sm {
    display: none;
  }

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

  .lead {
    font-size: 1.03rem;
    line-height: 1.5;
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 7.4vw, 2.05rem);
    line-height: 1.24;
  }
}

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

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

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

  .main-nav {
    font-size: 0.86rem;
  }

  .main-nav a {
    padding: 6px 9px;
  }
}

@media (max-width: 1080px) {
  body[data-theme="dark"] .main-nav a {
    background: rgba(16, 30, 59, 0.76);
    border-color: rgba(93, 130, 196, 0.62);
    color: #dbe8ff;
  }

  body[data-theme="dark"] .main-nav a:hover {
    color: #ffffff;
    border-color: rgba(130, 163, 221, 0.75);
  }
}
