/*
  Light theme reset
  Direction: simple Apple white glass. No heavy shadows, no warm cream cast.
*/

body.theme-light {
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #1d1d1f;
  --ink-soft: #3a3a3c;
  --muted: #6e6e73;
  --subtle: #8e8e93;
  --page: #f5f5f7;
  --page-soft: #fbfbfd;
  --panel: rgba(255, 255, 255, 0.62);
  --panel-glass: rgba(255, 255, 255, 0.72);
  --panel-solid: #ffffff;
  --line: rgba(29, 29, 31, 0.1);
  --line-strong: rgba(29, 29, 31, 0.18);
  --line-soft: rgba(29, 29, 31, 0.055);
  --shadow-min: 0 1px 2px rgba(29, 29, 31, 0.04);
  --shadow-float: 0 12px 28px rgba(29, 29, 31, 0.045);
  --accent: #0071e3;
  --accent-neutral: #86868b;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #fbfbfd 0%, #f7f8fa 48%, #f2f4f7 100%) !important;
  color: var(--ink) !important;
  color-scheme: light;
  text-rendering: geometricPrecision;
}

body.theme-light::before,
body.theme-light::after,
body.theme-light .ambient-halo,
body.theme-light .glass-glow,
body.theme-light .hero-veil,
body.theme-light .section-veil,
body.theme-light .cta-veil,
body.theme-light .showcase-veil,
body.theme-light .story-wash,
body.theme-light .image-wash {
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}

body.theme-light::before,
body.theme-light::after {
  display: none !important;
}

body.theme-light *::selection {
  background: rgba(0, 113, 227, 0.16);
  color: var(--ink);
}

body.theme-light a,
body.theme-light button {
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

body.theme-light a:hover,
body.theme-light button:hover {
  transform: none;
}

body.theme-light .section-shell {
  width: min(calc(100% - 2rem), 82rem);
}

body.theme-light main {
  position: relative;
}

body.theme-light main::before {
  content: none;
  display: none;
}

@media (min-width: 40rem) {
  body.theme-light .section-shell {
    width: min(calc(100% - 4rem), 82rem);
  }
}

@media (min-width: 64rem) {
  body.theme-light .section-shell {
    width: min(calc(100% - 8rem), 82rem);
  }
}

body.theme-light .full-bleed {
  background: transparent !important;
}

body.theme-light .parallax-bg,
body.theme-light .story-backdrop {
  opacity: 0.08 !important;
  filter: grayscale(1) contrast(0.95) brightness(1.08) !important;
  mix-blend-mode: multiply;
}

body.theme-light .editorial-generated-bg {
  opacity: 0.16 !important;
  filter: grayscale(0.18) saturate(0.78) contrast(0.96) brightness(1.08) !important;
  mix-blend-mode: multiply;
}

body.theme-light .display-title,
body.theme-light .section-heading,
body.theme-light .quiet-title,
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light summary {
  color: var(--ink) !important;
  text-shadow: none !important;
}

body.theme-light .display-title {
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  font-weight: 780;
  line-height: 0.92;
  letter-spacing: -0.078em;
  overflow-wrap: normal;
  word-break: normal;
}

body.theme-light .section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 760;
  line-height: 0.94;
  letter-spacing: -0.074em;
}

body.theme-light .quiet-title {
  font-weight: 650;
  letter-spacing: -0.025em;
}

body.theme-light p {
  color: var(--ink-soft);
}

body.theme-light .eyebrow {
  color: var(--subtle) !important;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.2em;
}

body.theme-light .eyebrow::before {
  width: 2rem;
  background: var(--line-strong) !important;
}

body.theme-light [class~="text-zinc-50"],
body.theme-light [class~="text-zinc-100"],
body.theme-light [class~="text-zinc-950"] {
  color: var(--ink) !important;
}

body.theme-light [class~="text-zinc-200"],
body.theme-light [class~="text-zinc-300"] {
  color: var(--ink-soft) !important;
}

body.theme-light [class~="text-zinc-400"] {
  color: var(--muted) !important;
}

body.theme-light [class~="text-zinc-500"],
body.theme-light [class~="text-zinc-600"] {
  color: var(--subtle) !important;
}

body.theme-light [class*="border-zinc-"] {
  border-color: var(--line) !important;
}

body.theme-light .hairline,
body.theme-light #products article,
body.theme-light footer {
  border-color: var(--line) !important;
}

body.theme-light .glass-panel,
body.theme-light .quiet-panel,
body.theme-light .feature-card,
body.theme-light .metric-tile,
body.theme-light .demo-frame,
body.theme-light .mock-window,
body.theme-light .frost-card,
body.theme-light .proof-strip,
body.theme-light .osrm-map-panel,
body.theme-light .screen-card,
body.theme-light .screenshot-frame,
body.theme-light .phone-shell,
body.theme-light .access-form-panel,
body.theme-light .faq-grid details,
body.theme-light .provider-mark,
body.theme-light .hero-route-map,
body.theme-light .phone-screen {
  border: 1px solid var(--line) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 248, 251, 0.54)),
    var(--panel) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
}

body.theme-light .glass-panel::before,
body.theme-light .glass-panel::after,
body.theme-light .quiet-panel::before,
body.theme-light .quiet-panel::after,
body.theme-light .feature-card::before,
body.theme-light .feature-card::after,
body.theme-light .metric-tile::before,
body.theme-light .metric-tile::after,
body.theme-light .demo-frame::before,
body.theme-light .demo-frame::after,
body.theme-light .mock-window::before,
body.theme-light .mock-window::after,
body.theme-light .frost-card::before,
body.theme-light .frost-card::after,
body.theme-light .proof-strip::before,
body.theme-light .proof-strip::after,
body.theme-light .osrm-map-panel::before,
body.theme-light .osrm-map-panel::after,
body.theme-light .screen-card::before,
body.theme-light .screen-card::after,
body.theme-light .screenshot-frame::before,
body.theme-light .screenshot-frame::after,
body.theme-light .access-form-panel::before,
body.theme-light .access-form-panel::after,
body.theme-light .hero-route-console::before,
body.theme-light .hero-route-console::after {
  display: none !important;
}

body.theme-light [class~="bg-zinc-800/50"],
body.theme-light [class~="bg-zinc-800/54"],
body.theme-light [class~="bg-zinc-800/56"],
body.theme-light [class~="bg-zinc-800/58"],
body.theme-light [class~="bg-zinc-800/70"],
body.theme-light [class~="bg-zinc-900/42"],
body.theme-light [class~="bg-zinc-900/52"],
body.theme-light [class~="bg-zinc-900/58"],
body.theme-light [class~="bg-zinc-950/40"],
body.theme-light [class~="bg-zinc-950/44"],
body.theme-light [class~="bg-zinc-950/45"],
body.theme-light [class~="bg-zinc-950/46"],
body.theme-light [class~="bg-zinc-950/48"],
body.theme-light [class~="bg-zinc-950/50"],
body.theme-light [class~="bg-zinc-950/54"],
body.theme-light [class~="bg-zinc-950/58"] {
  background: rgba(255, 255, 255, 0.56) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px) saturate(1.08) !important;
}

body.theme-light [class~="bg-white/10"] {
  background: var(--line) !important;
}

body.theme-light [class~="bg-zinc-200"],
body.theme-light #scroll-progress,
body.theme-light .story-progress span {
  background: var(--ink) !important;
  box-shadow: none !important;
}

body.theme-light #site-nav {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.theme-light #site-nav[data-scrolled="true"] {
  border-color: var(--line) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(247, 248, 250, 0.62)),
    rgba(255, 255, 255, 0.68) !important;
  box-shadow: var(--shadow-min) !important;
  backdrop-filter: blur(18px) saturate(1.16) !important;
}

body.theme-light #site-nav a {
  color: var(--ink-soft) !important;
}

body.theme-light #site-nav .light-brand-link {
  flex: 0 0 auto;
  gap: 0 !important;
  padding: 0.18rem 0.25rem !important;
}

body.theme-light .light-brand-logo {
  display: block;
  width: auto;
  height: clamp(1.65rem, 2.7vw, 2.05rem);
  max-width: min(10.25rem, 38vw);
  object-fit: contain;
}

body.theme-light #site-nav a:hover,
body.theme-light #site-nav a[class*="bg-zinc"] {
  background: rgba(255, 255, 255, 0.66) !important;
  color: var(--ink) !important;
}

body.theme-light .primary-link,
body.theme-light [class~="bg-zinc-100"],
body.theme-light button[type="submit"] {
  border: 1px solid #111318 !important;
  background: #111318 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.theme-light .hero-item a,
body.theme-light .page-link,
body.theme-light #site-nav a,
body.theme-light button {
  border-radius: 999px !important;
}

body.theme-light .primary-link:hover,
body.theme-light [class~="bg-zinc-100"]:hover,
body.theme-light button[type="submit"]:hover {
  background: #2b3038 !important;
  border-color: #2b3038 !important;
}

body.theme-light .secondary-link,
body.theme-light .page-link:not(.primary-link) {
  border: 1px solid var(--line) !important;
  background: rgba(255, 255, 255, 0.64) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px) saturate(1.08) !important;
}

body.theme-light .hero-shell {
  text-align: left;
}

body.theme-light .hero-composition {
  display: grid;
  align-items: center;
  gap: clamp(2.4rem, 5.6vw, 6.5rem);
}

body.theme-light .hero-copy {
  margin-inline: 0;
}

body.theme-light #hero .display-title {
  max-width: 11.6ch;
}

body.theme-light #hero .hero-copy .eyebrow,
body.theme-light #hero .hero-copy .flex {
  justify-content: flex-start;
}

body.theme-light #hero .hero-copy > p {
  margin-inline: 0;
  max-width: 34rem;
}

body.theme-light .hero-route-stage {
  width: 100%;
  max-width: none;
  margin-top: 0;
}

body.theme-light .hero-route-console {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light .hero-route-layout {
  display: grid;
  gap: 1.05rem;
}

body.theme-light .hero-route-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: 0.15rem;
}

body.theme-light #hero-route-title {
  margin: 0;
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.42rem) !important;
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.045em !important;
}

body.theme-light #hero-route-meta {
  margin-top: 0.4rem;
  color: var(--muted) !important;
  font-size: 0.78rem;
  line-height: 1.35;
}

body.theme-light #hero-route-index {
  flex: none;
  color: var(--subtle) !important;
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

body.theme-light .hero-route-map {
  min-height: clamp(20rem, 34vw, 31rem);
  border-radius: 1.05rem;
  background: #f7f8fa !important;
  overflow: hidden;
  filter: grayscale(0.18) saturate(0.78) contrast(1.02) brightness(1.03);
  backdrop-filter: none !important;
}

body.theme-light .hero-route-map::after,
body.theme-light .route-map::after {
  background:
    linear-gradient(180deg, rgba(251, 251, 253, 0.02), rgba(245, 247, 250, 0.18)) !important;
}

body.theme-light .hero-route-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 0.85rem;
  padding-inline: 0.15rem;
}

body.theme-light .hero-route-trigger {
  position: relative;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0.2rem 0 0.45rem !important;
  color: var(--muted) !important;
  font-size: 0.78rem;
  font-weight: 640;
  letter-spacing: -0.01em;
  box-shadow: none !important;
}

body.theme-light .hero-route-trigger::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.6);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

body.theme-light .hero-route-trigger:hover,
body.theme-light .hero-route-trigger[data-active="true"] {
  background: transparent !important;
  color: var(--ink) !important;
}

body.theme-light .hero-route-trigger:hover::after,
body.theme-light .hero-route-trigger[data-active="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

body.theme-light .hero-route-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

body.theme-light .hero-route-metrics p {
  margin: 0;
  padding: 0.2rem 1.2rem;
}

body.theme-light .hero-route-metrics p:first-child {
  padding-left: 0.15rem;
}

body.theme-light .hero-route-metrics p + p {
  border-left: 1px solid var(--line);
}

body.theme-light .hero-route-metrics span:first-child {
  display: block;
  color: var(--subtle);
  font-size: 0.58rem;
  font-weight: 740;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

body.theme-light .hero-route-metrics span:last-child {
  display: block;
  margin-top: 0.55rem;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1;
}

body.theme-light .hero-loop,
body.theme-light .brand-chip {
  border: 1px solid var(--line) !important;
  background: rgba(255, 255, 255, 0.62) !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px) saturate(1.1) !important;
}

body.theme-light #hero-loop-text {
  color: var(--ink) !important;
  opacity: 1 !important;
}

body.theme-light .feature-card,
body.theme-light .quiet-panel,
body.theme-light .metric-tile,
body.theme-light .faq-grid details {
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(247, 248, 250, 0.48)),
    rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(16px) saturate(1.08) !important;
}

body.theme-light .feature-card {
  min-height: 12rem;
}

body.theme-light .feature-card,
body.theme-light .quiet-panel,
body.theme-light .metric-tile {
  position: relative;
}

body.theme-light .feature-card::before,
body.theme-light .quiet-panel::before,
body.theme-light .metric-tile::before {
  display: block !important;
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--ink);
  opacity: 0;
  transition: opacity 180ms ease;
}

body.theme-light .feature-card:hover::before,
body.theme-light .quiet-panel:hover::before,
body.theme-light .metric-tile:hover::before {
  opacity: 1;
}

body.theme-light .feature-card:hover,
body.theme-light .metric-tile:hover,
body.theme-light .provider-mark:hover {
  border-color: var(--line-strong) !important;
}

body.theme-light #products .border-y,
body.theme-light #charging-networks .border-y {
  border-color: var(--line) !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  padding-inline: 0;
}

body.theme-light .proof-strip {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

body.theme-light .screen-card,
body.theme-light .screenshot-frame,
body.theme-light .phone-shell {
  border-radius: 1rem;
  background: #ffffff !important;
  box-shadow: var(--shadow-min) !important;
}

body.theme-light .demo-frame,
body.theme-light .osrm-map-panel {
  border-radius: 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(247, 248, 250, 0.48)),
    rgba(255, 255, 255, 0.52) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
}

body.theme-light .demo-frame > .relative,
body.theme-light .phone-screen {
  border-color: var(--line) !important;
  background: #f7f8fa !important;
}

body.theme-light .osrm-map-panel {
  min-height: clamp(25rem, 40vw, 33rem);
}

body.theme-light .route-map {
  background: #f7f8fa !important;
  filter: grayscale(0.18) saturate(0.78) contrast(1.02) brightness(1.03);
}

body.theme-light .route-map .leaflet-control-zoom,
body.theme-light .route-map .leaflet-control-attribution,
body.theme-light .hero-route-map .leaflet-control-attribution {
  border-color: var(--line) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--muted) !important;
  box-shadow: none !important;
}

body.theme-light .route-map .leaflet-control-zoom a {
  border-color: var(--line) !important;
  background: #ffffff !important;
  color: var(--ink-soft) !important;
}

body.theme-light .osrm-marker,
body.theme-light .hero-osrm-marker {
  border-color: #ffffff !important;
  background: #111318 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(17, 19, 24, 0.08) !important;
}

body.theme-light .provider-row {
  padding-block: 0.25rem;
}

body.theme-light .provider-mark {
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.64) !important;
  backdrop-filter: blur(14px) saturate(1.08) !important;
}

body.theme-light #stories {
  padding-block: clamp(6rem, 10vw, 10rem);
}

body.theme-light .story-intro {
  margin-bottom: clamp(1.75rem, 4vw, 3.25rem);
}

body.theme-light .story-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 0.46fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-top: 1.6rem;
}

body.theme-light .story-intro h2 {
  max-width: 12ch;
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6.6rem);
  font-weight: 790;
  line-height: 0.9;
  letter-spacing: -0.078em;
}

body.theme-light .story-intro p:not(.eyebrow) {
  color: var(--muted) !important;
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.78;
}

body.theme-light .story-stage {
  width: min(calc(100% - 2rem), 82rem);
  min-height: 0;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.09);
  border-radius: clamp(1.55rem, 3vw, 2.35rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 113, 227, 0.07), rgba(0, 113, 227, 0) 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 250, 0.86));
  backdrop-filter: none;
  box-shadow: none;
}

body.theme-light .story-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(29, 29, 31, 0.052) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29, 29, 31, 0.038) 1px, transparent 1px);
  background-size: 25% 100%, 100% 50%;
  opacity: 0.28;
}

body.theme-light .story-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(15rem, 0.34fr) minmax(0, 1fr);
  min-height: clamp(37rem, 60vw, 45rem);
}

body.theme-light .story-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(244, 246, 249, 0.52)),
    rgba(255, 255, 255, 0.42);
}

body.theme-light .story-kicker,
body.theme-light .story-number {
  color: var(--subtle) !important;
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.theme-light .story-tabs {
  display: grid;
  gap: 0.2rem;
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

body.theme-light .story-trigger {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: 0 !important;
  border-bottom: 1px solid var(--line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0.9rem 0 !important;
  color: var(--muted) !important;
  text-align: left;
  box-shadow: none !important;
}

body.theme-light .story-trigger span {
  color: var(--subtle);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

body.theme-light .story-trigger strong {
  font-size: 0.88rem;
  font-weight: 670;
  letter-spacing: -0.025em;
}

body.theme-light .story-trigger::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 2.95rem;
  height: 1px;
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: left;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

body.theme-light .story-trigger:hover,
body.theme-light .story-trigger[data-active="true"] {
  color: var(--ink) !important;
}

body.theme-light .story-trigger:hover::after,
body.theme-light .story-trigger[data-active="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

body.theme-light .story-control-bar {
  display: grid;
  grid-template-columns: 2.2rem auto minmax(3.5rem, 1fr) auto 2.2rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
}

body.theme-light #carousel-prev,
body.theme-light #carousel-next {
  display: inline-flex;
  width: 2.2rem !important;
  height: 2.2rem !important;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent !important;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.86) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

body.theme-light #carousel-prev:hover,
body.theme-light #carousel-next:hover {
  border-color: var(--line) !important;
  background: #ffffff !important;
}

body.theme-light .story-progress {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

body.theme-light .story-canvas {
  position: relative;
  min-height: clamp(37rem, 60vw, 45rem);
}

body.theme-light .story-slide {
  display: none;
  position: absolute;
  inset: 0;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 4.8vw, 4.5rem);
}

body.theme-light .story-slide[data-active="true"] {
  display: grid;
}

body.theme-light .story-copy {
  position: relative;
  z-index: 2;
}

body.theme-light #stories .story-slide h2 {
  max-width: 11.5ch;
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  font-weight: 780;
  line-height: 0.92;
  letter-spacing: -0.074em;
  margin-top: 1.1rem;
}

body.theme-light #stories .story-slide p {
  color: var(--ink-soft) !important;
}

body.theme-light .story-copy > p:not(.story-number) {
  max-width: 34rem;
  margin-top: 1.35rem;
  color: var(--muted) !important;
  font-size: 0.98rem;
  line-height: 1.8;
}

body.theme-light .story-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}

body.theme-light .story-proof-grid p {
  padding: 1rem 1rem 1rem 0;
  border-right: 1px solid var(--line-soft);
}

body.theme-light .story-proof-grid p:last-child {
  border-right: 0;
}

body.theme-light .story-proof-grid span {
  display: block;
  color: var(--subtle) !important;
  font-size: 0.58rem;
  font-weight: 740;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.theme-light .story-proof-grid strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink) !important;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 680;
  letter-spacing: -0.035em;
}

body.theme-light .story-visual {
  position: relative;
  min-height: clamp(20rem, 31vw, 28rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(1.25rem, 2.4vw, 1.9rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(238, 242, 247, 0.62)),
    #f7f8fa;
  box-shadow: none !important;
}

body.theme-light .story-backdrop {
  position: absolute;
  inset: -12%;
  opacity: 0.18 !important;
  filter: grayscale(1) contrast(1.02) brightness(1.12) !important;
  background-size: cover;
  background-position: center;
}

body.theme-light .story-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 29, 31, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29, 29, 31, 0.04) 1px, transparent 1px);
  background-size: 33.333% 100%, 100% 33.333%;
  opacity: 0.42;
}

body.theme-light .story-route-thread {
  position: absolute;
  inset: 17% 10% 24%;
}

body.theme-light .story-route-thread::before {
  content: "";
  position: absolute;
  inset: 28% 5% auto 5%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(29, 29, 31, 0.2), rgba(0, 113, 227, 0.46), transparent);
  transform: rotate(-8deg);
}

body.theme-light .story-route-thread span {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #1d1d1f;
  box-shadow: 0 0 0 1px rgba(29, 29, 31, 0.08);
}

body.theme-light .story-route-thread span:nth-child(1) {
  left: 8%;
  top: 43%;
}

body.theme-light .story-route-thread span:nth-child(2) {
  left: 47%;
  top: 34%;
  background: var(--accent);
}

body.theme-light .story-route-thread span:nth-child(3) {
  right: 8%;
  top: 24%;
}

body.theme-light .story-signal-card {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 4vw, 3rem);
  border: 1px solid rgba(29, 29, 31, 0.075);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(1rem, 2.5vw, 1.45rem);
  backdrop-filter: blur(18px) saturate(1.08);
}

body.theme-light .story-signal-card span {
  display: block;
  color: var(--subtle);
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.theme-light .story-signal-card strong {
  display: block;
  margin-top: 0.6rem;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 720;
  letter-spacing: -0.05em;
}

body.theme-light .story-signal-card small {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

body.theme-light .form-label {
  color: var(--muted) !important;
}

body.theme-light .form-field {
  border-color: var(--line) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px) saturate(1.06) !important;
}

body.theme-light .form-field::placeholder {
  color: var(--subtle) !important;
}

body.theme-light .form-field:focus {
  border-color: var(--ink) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(17, 19, 24, 0.08) !important;
}

body.theme-light footer {
  background: rgba(245, 245, 247, 0.82) !important;
  backdrop-filter: blur(16px) saturate(1.08);
}

body.theme-light .light-footer-brand {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
}

body.theme-light .light-footer-logo {
  display: block;
  width: auto;
  height: clamp(2rem, 4vw, 2.55rem);
  max-width: min(14.5rem, 72vw);
  object-fit: contain;
}

@media (min-width: 64rem) {
  body.theme-light #hero {
    padding-top: clamp(8.6rem, 10vw, 10.8rem);
    padding-bottom: clamp(5rem, 7vw, 7.25rem);
  }

  body.theme-light .hero-composition {
    grid-template-columns: minmax(24rem, 0.68fr) minmax(40rem, 1.32fr);
  }

  body.theme-light .hero-route-stage {
    transform: translateX(0.8rem);
  }

  body.theme-light #hero .display-title {
    font-size: clamp(4.4rem, 6.1vw, 5.8rem);
  }
}

@media (max-width: 63.999rem) {
  body.theme-light .hero-shell {
    text-align: center;
  }

  body.theme-light .hero-copy {
    margin-inline: auto;
  }

  body.theme-light #hero .display-title {
    max-width: 11.5ch;
    margin-inline: auto;
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  body.theme-light #hero .hero-copy .eyebrow,
  body.theme-light #hero .hero-copy .flex {
    justify-content: center;
  }

  body.theme-light #hero .hero-copy > p {
    margin-inline: auto;
  }

  body.theme-light .hero-route-stage {
    margin-top: 3rem;
  }

  body.theme-light .hero-route-metrics p {
    padding: 0.9rem 0.8rem !important;
  }

  body.theme-light .hero-route-map {
    min-height: clamp(19rem, 68vw, 27rem);
  }
}

@media (max-width: 39.999rem) {
  body.theme-light .section-shell {
    width: min(calc(100% - 2rem), 82rem);
  }

  body.theme-light .display-title {
    letter-spacing: -0.064em;
  }

  body.theme-light .hero-route-header {
    text-align: left;
  }

  body.theme-light .hero-route-tabs {
    gap: 0.85rem;
  }

  body.theme-light .hero-route-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.theme-light .hero-route-metrics p {
    padding: 0.75rem 0.55rem !important;
  }

  body.theme-light .hero-route-metrics p:first-child {
    padding-left: 0 !important;
  }

  body.theme-light .hero-route-map {
    min-height: clamp(20rem, 92vw, 25rem);
  }

  body.theme-light #stories {
    padding-block: 4.5rem;
  }

  body.theme-light .story-intro-grid {
    display: block;
    margin-top: 1.3rem;
  }

  body.theme-light .story-intro h2 {
    max-width: 10ch;
    font-size: clamp(2.9rem, 13vw, 4.2rem);
  }

  body.theme-light .story-intro p:not(.eyebrow) {
    margin-top: 1.35rem;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  body.theme-light .story-stage {
    width: min(calc(100% - 2rem), 82rem);
    border-radius: 1.45rem;
  }

  body.theme-light .story-shell {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  body.theme-light .story-canvas {
    order: 2;
    min-height: 0;
  }

  body.theme-light .story-slide {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    gap: 1.65rem;
    padding: 1.35rem;
  }

  body.theme-light .story-slide[data-active="true"] {
    display: grid;
  }

  body.theme-light .story-visual {
    order: 1;
    min-height: 17rem;
    border-radius: 1.2rem;
  }

  body.theme-light .story-copy {
    order: 2;
  }

  body.theme-light #stories .story-slide h2 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 10.5vw, 3.45rem);
    line-height: 0.94;
  }

  body.theme-light .story-copy > p:not(.story-number) {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  body.theme-light .story-proof-grid {
    grid-template-columns: 1fr;
    margin-top: 1.55rem;
  }

  body.theme-light .story-proof-grid p {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 0.85rem 0;
  }

  body.theme-light .story-proof-grid p:last-child {
    border-bottom: 0;
  }

  body.theme-light .story-proof-grid strong {
    margin-top: 0;
  }

  body.theme-light .story-signal-card {
    right: 0.85rem;
    bottom: 0.85rem;
    left: 0.85rem;
    border-radius: 1rem;
    padding: 0.95rem;
  }

  body.theme-light .story-rail {
    order: 1;
    gap: 1rem;
    border-top: 1px solid var(--line-soft);
    border-right: 0;
    padding: 1rem 1.1rem 1.15rem;
  }

  body.theme-light .story-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1rem;
    margin-top: 1rem;
  }

  body.theme-light .story-trigger {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.8rem 0 !important;
  }

  body.theme-light .story-trigger::after {
    inset-inline-start: 0;
  }

  body.theme-light .story-control-bar {
    grid-template-columns: 2.2rem auto minmax(4rem, 1fr) auto 2.2rem;
  }
}

/*
  Boxless story system
  The previous carousel felt too component-heavy. This reset turns it into an
  editorial field: no card shell, no nested visual box, only linework and rhythm.
*/
body.theme-light #stories {
  padding-block: clamp(6rem, 11vw, 11rem) clamp(5rem, 9vw, 9rem);
}

body.theme-light .story-intro {
  margin-bottom: clamp(2.25rem, 5vw, 4.5rem);
}

body.theme-light .story-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(18rem, 0.42fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: end;
  margin-top: 1.65rem;
}

body.theme-light .story-intro h2 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 6.7vw, 6.9rem);
  line-height: 0.9;
}

body.theme-light .story-intro p:not(.eyebrow) {
  max-width: 27rem;
  color: var(--muted) !important;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.75;
}

body.theme-light .story-stage {
  width: min(calc(100% - 8rem), 82rem);
  margin-inline: auto;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.theme-light .story-stage::before {
  display: none !important;
}

body.theme-light .story-shell {
  display: grid;
  grid-template-columns: minmax(13.5rem, 0.28fr) minmax(0, 1fr);
  min-height: clamp(34rem, 50vw, 42rem);
  border-top: 1px solid rgba(29, 29, 31, 0.12);
  border-bottom: 1px solid rgba(29, 29, 31, 0.09);
}

body.theme-light .story-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.75rem, 3.2vw, 2.7rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.25rem) 0;
  border: 0 !important;
  background: transparent !important;
}

body.theme-light .story-tabs {
  display: grid;
  gap: 0;
  margin-top: clamp(2.25rem, 5vw, 4rem);
}

body.theme-light .story-trigger {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.75rem;
  width: 100%;
  border: 0 !important;
  border-bottom: 1px solid var(--line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0.95rem 0 !important;
  text-align: left;
  box-shadow: none !important;
}

body.theme-light .story-trigger::after {
  inset: auto 0 -1px 2.95rem;
  height: 1px;
}

body.theme-light .story-control-bar {
  display: grid;
  grid-template-columns: 2.2rem auto minmax(3.75rem, 1fr) auto 2.2rem;
  align-items: center;
  gap: 0.7rem;
}

body.theme-light #carousel-prev,
body.theme-light #carousel-next {
  border: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
}

body.theme-light #carousel-prev:hover,
body.theme-light #carousel-next:hover {
  background: transparent !important;
  color: var(--accent) !important;
}

body.theme-light .story-canvas {
  position: relative;
  min-height: clamp(34rem, 50vw, 42rem);
}

body.theme-light .story-slide {
  display: none;
  position: absolute;
  inset: 0;
  grid-template-columns: minmax(0, 0.62fr) minmax(18rem, 0.72fr);
  gap: clamp(2.25rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(2rem, 4.4vw, 4rem) 0 clamp(2rem, 4.4vw, 4rem) clamp(2.5rem, 6vw, 6rem);
}

body.theme-light .story-slide[data-active="true"] {
  display: grid;
}

body.theme-light #stories .story-slide h2 {
  max-width: 10.8ch;
  font-size: clamp(2.9rem, 5.2vw, 5.25rem);
}

body.theme-light .story-copy > p:not(.story-number) {
  max-width: 32rem;
}

body.theme-light .story-proof-grid {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

body.theme-light .story-proof-grid p {
  border-right: 0;
}

body.theme-light .story-visual {
  position: relative;
  min-height: clamp(23rem, 32vw, 30rem);
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-light .story-visual::before {
  display: none !important;
}

body.theme-light .story-backdrop {
  inset: 6% -8% 12% -12%;
  opacity: 0.12 !important;
  filter: grayscale(1) contrast(1.02) brightness(1.14) !important;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 78%, transparent 100%);
}

body.theme-light .story-route-thread {
  inset: 16% 0 36% 0;
}

body.theme-light .story-route-thread::before {
  inset: 34% 2% auto 1%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(29, 29, 31, 0.18), rgba(0, 113, 227, 0.5), rgba(29, 29, 31, 0.18), transparent);
}

body.theme-light .story-route-thread span {
  width: 0.62rem;
  height: 0.62rem;
  border: 2px solid var(--page-soft);
  box-shadow: none;
}

body.theme-light .story-signal-card {
  right: 0;
  bottom: 0;
  left: 0;
  border: 0 !important;
  border-top: 1px solid rgba(29, 29, 31, 0.12) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 1.35rem 0 0 !important;
  backdrop-filter: none !important;
}

body.theme-light .story-signal-card strong {
  max-width: 18rem;
}

@media (max-width: 63.999rem) {
  body.theme-light .story-stage {
    width: min(calc(100% - 4rem), 82rem);
  }

  body.theme-light .story-shell {
    grid-template-columns: 1fr;
  }

  body.theme-light .story-rail {
    padding-right: 0;
  }

  body.theme-light .story-slide {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
}

@media (max-width: 39.999rem) {
  body.theme-light #stories {
    padding-block: 4.5rem 5rem;
  }

  body.theme-light .story-intro-grid {
    display: block;
    margin-top: 1.3rem;
  }

  body.theme-light .story-intro h2 {
    max-width: 10.5ch;
    font-size: clamp(2.75rem, 12.6vw, 4rem);
  }

  body.theme-light .story-intro p:not(.eyebrow) {
    margin-top: 1.25rem;
    font-size: 0.9rem;
  }

  body.theme-light .story-stage {
    width: min(calc(100% - 2rem), 82rem);
  }

  body.theme-light .story-shell {
    display: flex;
    min-height: 0;
    flex-direction: column;
    border-top-color: rgba(29, 29, 31, 0.14);
  }

  body.theme-light .story-rail {
    order: 1;
    gap: 1.15rem;
    padding: 1.15rem 0 1rem;
  }

  body.theme-light .story-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
    margin-top: 1.05rem;
  }

  body.theme-light .story-trigger {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.72rem 0 !important;
  }

  body.theme-light .story-trigger::after {
    inset-inline-start: 0;
  }

  body.theme-light .story-control-bar {
    margin-top: 0.15rem;
  }

  body.theme-light .story-canvas {
    order: 2;
    min-height: 0;
  }

  body.theme-light .story-slide {
    position: relative;
    inset: auto;
    gap: 1.6rem;
    padding: 1.7rem 0 0;
  }

  body.theme-light .story-visual {
    order: 1;
    min-height: 15.5rem;
  }

  body.theme-light .story-copy {
    order: 2;
  }

  body.theme-light #stories .story-slide h2 {
    max-width: 10.7ch;
    font-size: clamp(2.35rem, 10vw, 3.3rem);
  }

  body.theme-light .story-proof-grid {
    grid-template-columns: 1fr;
    margin-top: 1.45rem;
  }

  body.theme-light .story-proof-grid p {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line-soft);
    padding: 0.82rem 0;
  }

  body.theme-light .story-proof-grid p:last-child {
    border-bottom: 0;
  }

  body.theme-light .story-proof-grid strong {
    margin-top: 0;
  }

  body.theme-light .story-signal-card {
    padding-top: 1rem !important;
  }
}

/* Site-wide editorial refinement: keep the whole light site out of card-land. */
body.theme-light section:not(#hero):not(#stories) {
  position: relative;
}

body.theme-light .feature-card,
body.theme-light .quiet-panel,
body.theme-light .metric-tile,
body.theme-light .faq-grid details {
  min-height: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: clamp(1.05rem, 2.2vw, 1.55rem) 0 !important;
}

body.theme-light .feature-card::before,
body.theme-light .quiet-panel::before,
body.theme-light .metric-tile::before,
body.theme-light .faq-grid details::before,
body.theme-light .feature-card::after,
body.theme-light .quiet-panel::after,
body.theme-light .metric-tile::after,
body.theme-light .faq-grid details::after {
  display: none !important;
}

body.theme-light .feature-card:hover,
body.theme-light .quiet-panel:hover,
body.theme-light .metric-tile:hover,
body.theme-light .faq-grid details:hover {
  border-color: var(--line-strong) !important;
  background: transparent !important;
}

body.theme-light .feature-card h3,
body.theme-light .quiet-panel h3,
body.theme-light .metric-tile h3 {
  color: var(--ink) !important;
  letter-spacing: -0.035em;
}

body.theme-light .brand-chip,
body.theme-light .hero-loop {
  display: inline-flex;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: var(--subtle) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.theme-light .proof-strip {
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: clamp(1rem, 2vw, 1.5rem) 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.theme-light .screen-card,
body.theme-light .screenshot-frame,
body.theme-light .phone-shell {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

body.theme-light .screen-card img,
body.theme-light .screenshot-frame img,
body.theme-light .phone-shell img {
  border: 1px solid rgba(29, 29, 31, 0.075);
  border-radius: clamp(1rem, 2vw, 1.45rem);
  background: #ffffff;
}

body.theme-light .demo-frame,
body.theme-light .osrm-map-panel {
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: clamp(1.1rem, 2vw, 1.5rem) 0 !important;
}

body.theme-light .demo-frame > .relative {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.theme-light .demo-frame p[class*="rounded-2xl"],
body.theme-light .demo-frame [class*="rounded-2xl"][class*="border"] {
  border: 0 !important;
  border-top: 1px solid rgba(29, 29, 31, 0.11) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 1rem 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.theme-light .provider-row {
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line-soft) !important;
  padding-block: 1rem !important;
}

body.theme-light .provider-mark {
  min-width: 8rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  opacity: 0.78;
}

body.theme-light .provider-mark:hover {
  opacity: 1;
  background: transparent !important;
}

body.theme-light .access-form-panel {
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 !important;
}

body.theme-light .form-field {
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding-inline: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.theme-light .form-field:focus {
  border-color: var(--ink) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-light .faq-grid details {
  padding-block: 1.1rem !important;
}

body.theme-light .faq-grid summary {
  color: var(--ink) !important;
}

body.theme-light #audience .flex-wrap span,
body.theme-light .page-link:not(.primary-link),
body.theme-light .secondary-link {
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0.1rem 0 !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.theme-light .primary-link,
body.theme-light [class~="bg-zinc-100"],
body.theme-light button[type="submit"] {
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.theme-light [class*="rounded-3xl"].quiet-panel,
body.theme-light [class*="rounded-2xl"].quiet-panel,
body.theme-light [class*="rounded-3xl"].feature-card,
body.theme-light [class*="rounded-2xl"].feature-card {
  border-radius: 0 !important;
}

@media (max-width: 39.999rem) {
  body.theme-light .feature-card,
  body.theme-light .quiet-panel,
  body.theme-light .metric-tile,
  body.theme-light .faq-grid details {
    padding-block: 1rem !important;
  }

  body.theme-light .screen-card img,
  body.theme-light .screenshot-frame img,
  body.theme-light .phone-shell img {
    border-radius: 1rem;
  }

  body.theme-light .provider-mark {
    min-width: 7.25rem;
  }
}

/* Final light rectification: quiet Apple-grade glass, no ornamental boxes. */
body.theme-light {
  --line: rgba(29, 29, 31, 0.078);
  --line-strong: rgba(29, 29, 31, 0.145);
  --line-soft: rgba(29, 29, 31, 0.042);
  --glass-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.2) 54%, rgba(255, 255, 255, 0.04));
  --glass-band: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(248, 250, 252, 0.12) 58%, rgba(255, 255, 255, 0));
  background:
    radial-gradient(circle at 78% 4%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 30rem),
    radial-gradient(circle at 13% 20%, rgba(221, 234, 249, 0.55), rgba(221, 234, 249, 0) 32rem),
    radial-gradient(circle at 82% 58%, rgba(234, 239, 247, 0.64), rgba(234, 239, 247, 0) 30rem),
    linear-gradient(180deg, #fbfbfd 0%, #f6f7f9 50%, #f2f4f7 100%) !important;
}

body.theme-light main::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  background: none !important;
}

body.theme-light #site-nav[data-scrolled="true"] {
  border-color: rgba(29, 29, 31, 0.078) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 248, 250, 0.52)),
    rgba(255, 255, 255, 0.46) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.12) !important;
}

body.theme-light #products .section-shell,
body.theme-light #audience .section-shell,
body.theme-light #network .section-shell,
body.theme-light #charging-networks .section-shell,
body.theme-light #access .section-shell,
body.theme-light #coverage .section-shell,
body.theme-light #inventory .section-shell,
body.theme-light #obd .section-shell {
  position: relative;
  isolation: isolate;
}

body.theme-light #products .section-shell::before,
body.theme-light #audience .section-shell::before,
body.theme-light #network .section-shell::before,
body.theme-light #charging-networks .section-shell::before,
body.theme-light #access .section-shell::before,
body.theme-light #coverage .section-shell::before,
body.theme-light #inventory .section-shell::before,
body.theme-light #obd .section-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.2rem -1rem;
  pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(29, 29, 31, 0.038);
  background: var(--glass-band);
  opacity: 0.72;
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
}

body.theme-light .feature-card,
body.theme-light .quiet-panel,
body.theme-light .metric-tile,
body.theme-light .faq-grid details {
  border-top-color: rgba(29, 29, 31, 0.086) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 58%, rgba(255, 255, 255, 0)) !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.02) !important;
}

body.theme-light .feature-card:hover,
body.theme-light .quiet-panel:hover,
body.theme-light .metric-tile:hover,
body.theme-light .faq-grid details:hover {
  border-top-color: rgba(29, 29, 31, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.12) 58%, rgba(255, 255, 255, 0.02)) !important;
  box-shadow: none !important;
}

body.theme-light .hero-route-console,
body.theme-light .hero-route-layout {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-light .hero-route-map {
  min-height: clamp(22rem, 37vw, 34rem) !important;
  border: 1px solid rgba(29, 29, 31, 0.07) !important;
  border-radius: 1.18rem !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(248, 250, 252, 0.18)),
    #f7f8fa !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.04) !important;
}

body.theme-light .hero-route-tabs {
  border-top-color: rgba(29, 29, 31, 0.07) !important;
}

body.theme-light .hero-route-metrics {
  border-top-color: rgba(29, 29, 31, 0.07) !important;
}

body.theme-light .hero-route-metrics p + p {
  border-left-color: rgba(29, 29, 31, 0.06) !important;
}

body.theme-light .proof-strip,
body.theme-light .demo-frame,
body.theme-light .osrm-map-panel,
body.theme-light .access-form-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-bottom: 1px solid rgba(29, 29, 31, 0.062) !important;
  background: var(--glass-surface) !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.05) !important;
}

body.theme-light .demo-frame > .relative,
body.theme-light .route-map,
body.theme-light .phone-screen {
  border-color: rgba(29, 29, 31, 0.068) !important;
  background: #f7f8fa !important;
  box-shadow: none !important;
}

body.theme-light .screen-card,
body.theme-light .screenshot-frame,
body.theme-light .phone-shell {
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-light .screen-card img,
body.theme-light .screenshot-frame img,
body.theme-light .phone-shell img {
  border-color: rgba(29, 29, 31, 0.068) !important;
  box-shadow: none !important;
}

body.theme-light .osrm-marker,
body.theme-light .hero-osrm-marker,
body.theme-light .story-route-thread span:nth-child(1),
body.theme-light .story-route-thread span:nth-child(2),
body.theme-light .story-route-thread span:nth-child(3) {
  box-shadow: none !important;
}

body.theme-light .story-signal-card {
  border-top-color: rgba(29, 29, 31, 0.078) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.04)) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.04) !important;
}

body.theme-light footer {
  border-top-color: rgba(29, 29, 31, 0.07) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(245, 245, 247, 0.84)),
    rgba(245, 245, 247, 0.78) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(1.06) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.06) !important;
}

body.theme-light footer a:not(.light-footer-brand) {
  border: 0 !important;
  border-bottom: 1px solid rgba(29, 29, 31, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 64rem) {
  body.theme-light #products .section-shell::before,
  body.theme-light #audience .section-shell::before,
  body.theme-light #network .section-shell::before,
  body.theme-light #charging-networks .section-shell::before,
  body.theme-light #access .section-shell::before,
  body.theme-light #coverage .section-shell::before,
  body.theme-light #inventory .section-shell::before,
  body.theme-light #obd .section-shell::before {
    inset: -2rem -2.5rem;
  }
}

@media (max-width: 63.999rem) {
  body.theme-light .hero-route-map {
    min-height: clamp(22rem, 76vw, 31rem) !important;
  }
}

@media (max-width: 39.999rem) {
  body.theme-light .hero-route-map {
    min-height: clamp(21rem, 94vw, 27rem) !important;
    border-radius: 1rem !important;
  }

  body.theme-light .hero-route-metrics p + p {
    border-left: 0 !important;
    border-top: 1px solid rgba(29, 29, 31, 0.052) !important;
  }

  body.theme-light #products .section-shell::before,
  body.theme-light #audience .section-shell::before,
  body.theme-light #network .section-shell::before,
  body.theme-light #charging-networks .section-shell::before,
  body.theme-light #access .section-shell::before,
  body.theme-light #coverage .section-shell::before,
  body.theme-light #inventory .section-shell::before,
  body.theme-light #obd .section-shell::before {
    inset: -1rem -0.75rem;
  }
}

/* Component background cleanup: remove translucent plates inside sections. */
body.theme-light #products .section-shell::before,
body.theme-light #audience .section-shell::before,
body.theme-light #network .section-shell::before,
body.theme-light #charging-networks .section-shell::before,
body.theme-light #access .section-shell::before,
body.theme-light #coverage .section-shell::before,
body.theme-light #inventory .section-shell::before,
body.theme-light #obd .section-shell::before {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light .feature-card,
body.theme-light .quiet-panel,
body.theme-light .metric-tile,
body.theme-light .faq-grid details,
body.theme-light .proof-strip,
body.theme-light .demo-frame,
body.theme-light .osrm-map-panel,
body.theme-light .access-form-panel,
body.theme-light .provider-row,
body.theme-light .story-signal-card {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light .feature-card:hover,
body.theme-light .quiet-panel:hover,
body.theme-light .metric-tile:hover,
body.theme-light .faq-grid details:hover,
body.theme-light .story-signal-card:hover {
  background: transparent !important;
}

body.theme-light .proof-strip,
body.theme-light .demo-frame,
body.theme-light .osrm-map-panel,
body.theme-light .access-form-panel {
  border-top-color: rgba(29, 29, 31, 0.082) !important;
  border-bottom-color: rgba(29, 29, 31, 0.042) !important;
}

body.theme-light .hero-route-map,
body.theme-light .route-map,
body.theme-light .demo-frame > .relative,
body.theme-light .phone-screen {
  background: #f7f8fa !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light .hero-route-map::after,
body.theme-light .route-map::after {
  display: none !important;
  background: none !important;
}

/* Final light-system spacing: keep every chapter away from the nav without adding card clutter. */
body.theme-light main > section:not(#hero) {
  padding-top: clamp(5.8rem, 9vw, 9.25rem) !important;
}

body.theme-light #stories {
  padding-top: clamp(6.3rem, 10vw, 10rem) !important;
}

body.theme-light #products,
body.theme-light #audience,
body.theme-light #network {
  padding-bottom: clamp(5rem, 8vw, 7.5rem) !important;
}

body.theme-light #charging-networks {
  padding-top: clamp(5.2rem, 8vw, 7rem) !important;
  padding-bottom: clamp(4.25rem, 6.5vw, 6rem) !important;
}

body.theme-light #access {
  padding-top: clamp(6.6rem, 10vw, 9.25rem) !important;
  padding-bottom: clamp(5.5rem, 8vw, 7.25rem) !important;
}

/* Generated editorial imagery: treat it as product photography, not a decorative background. */
body.theme-light .story-shell,
body.theme-light .story-canvas {
  min-height: clamp(33rem, 46vw, 39rem) !important;
}

body.theme-light .story-slide {
  grid-template-columns: minmax(0, 0.54fr) minmax(22rem, 0.82fr) !important;
  gap: clamp(2.5rem, 5vw, 5.5rem) !important;
  padding-top: clamp(2rem, 3.8vw, 3.5rem) !important;
  padding-bottom: clamp(2.25rem, 4vw, 3.75rem) !important;
}

body.theme-light .story-visual {
  display: grid !important;
  grid-template-rows: auto auto;
  align-self: stretch;
  gap: clamp(1rem, 2vw, 1.35rem);
  min-height: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-light .story-visual::before,
body.theme-light .story-backdrop,
body.theme-light .story-route-thread {
  display: none !important;
}

body.theme-light .story-media {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(22rem, 32vw, 30rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.065);
  border-radius: clamp(1.25rem, 2.2vw, 1.85rem);
  background: #f7f8fa;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  isolation: isolate;
}

body.theme-light .story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 34%, rgba(255, 255, 255, 0.16)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 20%, transparent 78%, rgba(255, 255, 255, 0.2));
}

body.theme-light .story-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
}

body.theme-light .story-signal-card {
  position: relative !important;
  inset: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  max-width: min(100%, 34rem);
  border: 0 !important;
  border-top: 1px solid rgba(29, 29, 31, 0.09) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: clamp(1rem, 1.8vw, 1.25rem) 0 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light .story-signal-card strong {
  max-width: none !important;
}

body.theme-light .story-signal-card small {
  max-width: 28rem;
}

/* Route confidence image panel: one strong visual with a quiet data rail. */
body.theme-light .route-confidence-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(0, 113, 227, 0.07), transparent 30rem),
    linear-gradient(180deg, #fbfcfd 0%, #f6f8fb 56%, #fbfbfd 100%) !important;
}

body.theme-light .route-confidence-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.72) 50%, transparent 100%),
    radial-gradient(circle at 84% 18%, rgba(118, 173, 225, 0.11), transparent 24rem);
}

body.theme-light .route-confidence-section .section-shell {
  position: relative;
  z-index: 1;
}

body.theme-light .route-confidence-head {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(18rem, 0.36fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: end;
  border-top: 1px solid rgba(29, 29, 31, 0.085);
  padding-top: clamp(1.25rem, 2.5vw, 1.9rem);
}

body.theme-light .route-confidence-head .section-heading {
  max-width: 11.5ch;
}

body.theme-light .route-confidence-lede {
  max-width: 29rem;
  margin: 0 0 0.35rem;
  color: rgba(66, 72, 82, 0.82);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.85;
}

body.theme-light .editorial-demo {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.32fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light .editorial-demo-media {
  position: relative;
  aspect-ratio: 2.12 / 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.055);
  border-radius: clamp(1.5rem, 2.7vw, 2.25rem);
  background: #f7f8fa;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  isolation: isolate;
}

body.theme-light .editorial-demo-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
}

body.theme-light .editorial-demo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 34%, rgba(255, 255, 255, 0.12)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 20%, transparent 82%, rgba(255, 255, 255, 0.14));
}

body.theme-light .demo-insight-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  right: auto;
  bottom: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(0.35rem, 0.8vw, 0.8rem) 0;
  border-top: 1px solid rgba(29, 29, 31, 0.1);
  border-bottom: 1px solid rgba(29, 29, 31, 0.085);
  background: transparent !important;
}

body.theme-light .demo-insight-copy {
  max-width: 28rem;
}

body.theme-light .demo-insight-copy p:last-child {
  margin-top: 1.15rem;
  color: rgba(66, 72, 82, 0.86);
  font-size: 0.82rem;
  line-height: 1.75;
}

body.theme-light .demo-insight-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

body.theme-light .demo-insight-card {
  margin: 0;
  padding: clamp(1.05rem, 2vw, 1.35rem) 0;
  border-top: 1px solid rgba(29, 29, 31, 0.085);
  border-left: 0;
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-light .demo-insight-card:first-child {
  border-top: 0;
}

body.theme-light .demo-insight-card span,
body.theme-light .demo-insight-card small {
  display: block;
}

body.theme-light .demo-insight-card span {
  color: var(--subtle);
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.theme-light .demo-insight-card strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 720;
  letter-spacing: -0.055em;
}

body.theme-light .demo-insight-card small {
  margin-top: 0.25rem;
  color: rgba(66, 72, 82, 0.75);
  font-size: 0.72rem;
  line-height: 1.45;
}

body.theme-light #access .parallax-bg {
  opacity: 0.42 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background-position: center right !important;
}

body.theme-light #access .cta-veil {
  background:
    linear-gradient(90deg, rgba(247, 248, 250, 0.98) 0%, rgba(247, 248, 250, 0.88) 36%, rgba(247, 248, 250, 0.5) 68%, rgba(247, 248, 250, 0.72) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), transparent 42%, rgba(255, 255, 255, 0.82));
}

@media (max-width: 63.999rem) {
  body.theme-light .story-shell,
  body.theme-light .story-canvas {
    min-height: 0 !important;
  }

  body.theme-light .story-slide {
    grid-template-columns: 1fr !important;
    gap: clamp(1.8rem, 5vw, 2.8rem) !important;
    padding-left: 0 !important;
  }

  body.theme-light .story-visual {
    width: 100%;
  }

  body.theme-light .story-media {
    min-height: clamp(18rem, 56vw, 26rem);
  }

  body.theme-light .route-confidence-head {
    grid-template-columns: 1fr;
    gap: clamp(1.2rem, 4vw, 2.2rem);
  }

  body.theme-light .route-confidence-lede {
    max-width: 36rem;
  }

  body.theme-light .editorial-demo {
    grid-template-columns: 1fr;
  }

  body.theme-light .editorial-demo-media {
    aspect-ratio: 2 / 1;
    min-height: 0;
  }

  body.theme-light .demo-insight-strip {
    gap: clamp(1.4rem, 4vw, 2.4rem);
    padding-top: clamp(1.1rem, 3vw, 1.5rem);
  }

  body.theme-light .demo-insight-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.theme-light .demo-insight-card {
    border-top: 0;
    border-left: 1px solid rgba(29, 29, 31, 0.085);
    padding: 0.2rem clamp(0.9rem, 2vw, 1.3rem) 0;
  }

  body.theme-light .demo-insight-card:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 39.999rem) {
  body.theme-light main > section:not(#hero) {
    padding-top: clamp(4.8rem, 17vw, 6.6rem) !important;
  }

  body.theme-light #stories {
    padding-top: clamp(5.2rem, 18vw, 7.25rem) !important;
  }

  body.theme-light .story-media {
    width: 100%;
    min-height: clamp(16.5rem, 66vw, 22rem);
    border-radius: 1.15rem;
  }

  body.theme-light .editorial-demo-media {
    display: block;
    aspect-ratio: 1.34 / 1;
    min-height: 0;
    border-radius: 1.2rem;
  }

  body.theme-light .editorial-demo-media > img {
    position: absolute;
    height: 100%;
    min-height: 0;
  }

  body.theme-light .editorial-demo-media::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(255, 255, 255, 0.36)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 74%);
  }

  body.theme-light .demo-insight-strip {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    gap: 1.45rem;
    padding: 0;
    background: transparent !important;
  }

  body.theme-light .demo-insight-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.theme-light .demo-insight-card {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(29, 29, 31, 0.1);
    padding-top: 0.8rem;
  }
}

/* Ghost character system */
body.theme-light .ghost-hero-shell {
  position: relative;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.74) !important;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08) !important;
  border-radius: 1.8rem !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.12) 56%, rgba(228, 238, 250, 0.22)),
    rgba(239, 245, 253, 0.28) !important;
  box-shadow:
    0 28px 58px -42px rgba(97, 114, 141, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(118, 133, 161, 0.1) !important;
  backdrop-filter: blur(22px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
}

body.theme-light .ghost-hero-shell::before {
  content: "";
  position: absolute;
  inset: auto -10% -26% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.26), rgba(125, 211, 252, 0));
  filter: blur(24px);
  opacity: 0.7;
}

body.theme-light .ghost-hero-badge {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: rgba(67, 82, 104, 0.86);
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 30px -26px rgba(96, 113, 140, 0.34);
  backdrop-filter: blur(18px) saturate(1.24);
  -webkit-backdrop-filter: blur(18px) saturate(1.24);
}

body.theme-light .ghost-hero-media {
  position: relative;
  z-index: 1;
  min-height: clamp(20rem, 34vw, 28rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(236, 244, 255, 0.18)),
    rgba(240, 246, 255, 0.42);
}

body.theme-light .ghost-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

body.theme-light .ghost-chat-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

body.theme-light .ghost-chat-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.3rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 248, 255, 0.38)),
    rgba(240, 246, 255, 0.34);
  box-shadow:
    0 18px 34px -28px rgba(96, 113, 140, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.24);
  -webkit-backdrop-filter: blur(20px) saturate(1.24);
}

body.theme-light .ghost-chat-card[data-speaker="ghost"] {
  border-color: rgba(225, 239, 255, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(234, 243, 255, 0.48)),
    rgba(232, 242, 255, 0.42);
}

body.theme-light .ghost-chat-label {
  color: rgba(112, 126, 146, 0.86);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

body.theme-light .ghost-chat-copy {
  margin-top: 0.55rem;
  color: var(--ink) !important;
  font-size: 0.83rem;
  line-height: 1.68;
}

body.theme-light .ghost-moods-media {
  min-height: clamp(26rem, 42vw, 36rem);
}

body.theme-light .ghost-state-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

body.theme-light .ghost-state-list p {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

body.theme-light .ghost-state-list span,
body.theme-light .ghost-state-list strong {
  display: block;
}

body.theme-light .ghost-state-list span {
  color: rgba(104, 118, 139, 0.84);
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.theme-light .ghost-state-list strong {
  margin-top: 0.45rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 620;
  line-height: 1.55;
}

body.theme-light .ghost-action-stack {
  display: grid;
  gap: 1rem;
}

body.theme-light .ghost-action-media {
  min-height: clamp(18rem, 31vw, 24rem);
}

@media (max-width: 63.999rem) {
  body.theme-light .ghost-hero-media {
    min-height: clamp(18rem, 68vw, 24rem);
  }

  body.theme-light .ghost-moods-media {
    min-height: clamp(21rem, 72vw, 30rem);
  }

  body.theme-light .ghost-action-media {
    min-height: clamp(17rem, 58vw, 23rem);
  }
}

@media (max-width: 39.999rem) {
  body.theme-light .ghost-hero-shell {
    padding: 1rem !important;
    border-radius: 1.35rem !important;
  }

  body.theme-light .ghost-hero-badge {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  body.theme-light .ghost-hero-media {
    min-height: 16rem;
    border-radius: 1.15rem;
  }

  body.theme-light .ghost-chat-card {
    padding: 0.9rem 0.92rem;
    border-radius: 1.05rem;
  }

  body.theme-light .ghost-moods-media {
    min-height: 18rem;
  }

  body.theme-light .ghost-state-list strong {
    font-size: 0.88rem;
  }
}

/* Ghost page refinement: editorial glass, image-led, no ornamental card shadows. */
body.theme-light.ghost-page .ghost-hero-section,
body.theme-light.ghost-page .ghost-action-section {
  position: relative;
  overflow: hidden;
}

body.theme-light.ghost-page .ghost-hero-section .parallax-bg {
  opacity: 0.14 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

body.theme-light.ghost-page .ghost-action-section .parallax-bg,
body.theme-light.ghost-page .ghost-action-section .section-veil {
  display: none !important;
}

body.theme-light.ghost-page .ghost-hero-shell {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.35rem);
  overflow: visible;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light.ghost-page .ghost-hero-shell::before,
body.theme-light.ghost-page .ghost-hero-shell::after {
  display: none !important;
}

body.theme-light.ghost-page .ghost-hero-badge {
  width: fit-content;
  padding: 0 0 0.72rem;
  border: 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.16);
  border-radius: 0;
  background: transparent;
  color: rgba(84, 96, 112, 0.86);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.theme-light.ghost-page .ghost-hero-media,
body.theme-light.ghost-page .ghost-moods-media,
body.theme-light.ghost-page .ghost-action-media {
  position: relative;
  width: 100%;
  min-height: clamp(17.5rem, 31vw, 25rem) !important;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.058) !important;
  border-radius: clamp(1.1rem, 2vw, 1.65rem) !important;
  background: #f7f8fa !important;
  box-shadow: none !important;
  isolation: isolate;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light.ghost-page .ghost-hero-media {
  min-height: clamp(18rem, 32vw, 26rem) !important;
}

body.theme-light.ghost-page .ghost-moods-media {
  min-height: clamp(20rem, 35vw, 29rem) !important;
}

body.theme-light.ghost-page .ghost-action-media {
  min-height: clamp(19rem, 32vw, 27rem) !important;
}

body.theme-light.ghost-page .ghost-hero-media::after,
body.theme-light.ghost-page .ghost-moods-media::after,
body.theme-light.ghost-page .ghost-action-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.1));
  mix-blend-mode: screen;
  opacity: 0.54;
}

body.theme-light.ghost-page .ghost-hero-media img,
body.theme-light.ghost-page .ghost-moods-media img,
body.theme-light.ghost-page .ghost-action-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

body.theme-light.ghost-page .ghost-moods-media img {
  object-fit: contain;
}

body.theme-light.ghost-page .ghost-chat-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(29, 29, 31, 0.085);
}

body.theme-light.ghost-page .ghost-chat-card {
  padding: clamp(0.95rem, 1.6vw, 1.2rem) 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(29, 29, 31, 0.074) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light.ghost-page .ghost-chat-card:last-child {
  border-bottom: 0 !important;
}

body.theme-light.ghost-page .ghost-chat-card[data-speaker="ghost"] {
  border-color: rgba(29, 29, 31, 0.074) !important;
  background: transparent !important;
}

body.theme-light.ghost-page .ghost-action-grid {
  gap: 0 !important;
  border-top: 1px solid rgba(29, 29, 31, 0.086);
}

body.theme-light.ghost-page .ghost-action-grid .metric-tile {
  min-height: 0;
  padding: 1.05rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(29, 29, 31, 0.074) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light.ghost-page .ghost-action-grid .metric-tile:hover {
  background: transparent !important;
}

body.theme-light.ghost-page .ghost-chip-list {
  gap: 0 !important;
  border-top: 1px solid rgba(29, 29, 31, 0.086);
}

body.theme-light.ghost-page .ghost-chip-list p {
  margin: 0;
  padding: 0.95rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(29, 29, 31, 0.074) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ink-soft) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-light.ghost-page .feature-card,
body.theme-light.ghost-page .quiet-panel,
body.theme-light.ghost-page .metric-tile {
  box-shadow: none !important;
}

body.theme-light.ghost-page .page-link,
body.theme-light.ghost-page button {
  box-shadow: none !important;
}

body.theme-light.ghost-page .secondary-link,
body.theme-light.ghost-page .page-link:not(.primary-link) {
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0.1rem 0 !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (min-width: 40rem) {
  body.theme-light.ghost-page .ghost-action-grid .metric-tile:nth-child(odd) {
    padding-right: 1.4rem !important;
  }

  body.theme-light.ghost-page .ghost-action-grid .metric-tile:nth-child(even) {
    padding-left: 1.4rem !important;
  }

  body.theme-light.ghost-page .ghost-chip-list p:nth-child(odd) {
    padding-right: 1.2rem !important;
  }

  body.theme-light.ghost-page .ghost-chip-list p:nth-child(even) {
    padding-left: 1.2rem !important;
  }
}

@media (max-width: 63.999rem) {
  body.theme-light.ghost-page .ghost-hero-media,
  body.theme-light.ghost-page .ghost-moods-media,
  body.theme-light.ghost-page .ghost-action-media {
    min-height: clamp(17rem, 56vw, 25rem) !important;
  }
}

@media (max-width: 39.999rem) {
  body.theme-light.ghost-page .ghost-hero-shell {
    padding: 0 !important;
    border-radius: 0 !important;
  }

  body.theme-light.ghost-page .ghost-hero-media,
  body.theme-light.ghost-page .ghost-moods-media,
  body.theme-light.ghost-page .ghost-action-media {
    min-height: clamp(15rem, 74vw, 19rem) !important;
    border-radius: 1.05rem !important;
  }

  body.theme-light.ghost-page .ghost-chat-card {
    padding: 0.92rem 0 !important;
  }
}
