:root {
  --bg: #060815;
  --bg-soft: rgba(13, 18, 36, 0.84);
  --panel: rgba(14, 21, 43, 0.72);
  --panel-strong: rgba(15, 22, 46, 0.92);
  --line: rgba(129, 167, 214, 0.16);
  --text: #f6f0eb;
  --muted: #a6aecb;
  --accent: #3dba72;
  --accent-2: #7de4cf;
  --accent-3: #ffd67a;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 93%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(61, 186, 114, 0.12), transparent 30%),
    radial-gradient(
      circle at 80% 18%,
      rgba(125, 228, 207, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #070912 0%, #050711 42%, #071221 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 15%,
      rgba(255, 255, 255, 0.45) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 60% 32%,
      rgba(61, 186, 114, 0.35) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 76% 70%,
      rgba(125, 228, 207, 0.35) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 32% 80%,
      rgba(255, 255, 255, 0.28) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.18) 0 1px,
      transparent 2px
    );
  background-size:
    280px 280px,
    340px 340px,
    420px 420px,
    380px 380px,
    200px 200px;
  opacity: 0.6;
  pointer-events: none;
  animation: starsDrift 60s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 15% 25%,
      rgba(61, 186, 114, 0.4) 0 1.5px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45% 65%,
      rgba(125, 228, 207, 0.35) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 85% 40%,
      rgba(61, 186, 114, 0.3) 0 1.5px,
      transparent 2px
    ),
    radial-gradient(
      circle at 70% 85%,
      rgba(255, 255, 255, 0.3) 0 1px,
      transparent 2px
    );
  background-size:
    500px 500px,
    600px 600px,
    450px 450px,
    350px 350px;
  opacity: 0.5;
  pointer-events: none;
  animation: starsDrift2 45s linear infinite;
}

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

.page-shell {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 24px clamp(32px, 7vw, 120px) 48px;
}

.noise,
.orb {
  position: fixed;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(
    transparent 0,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  );
  background-size: 100% 5px;
  mix-blend-mode: soft-light;
}

.orb {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
}

.orb-left {
  top: 40px;
  left: 5%;
  width: 480px;
  height: 480px;
  background: #1a6b38;
  animation: orbFloat1 12s ease-in-out infinite;
}

.orb-right {
  top: 80px;
  right: 5%;
  width: 460px;
  height: 460px;
  background: #1c7d74;
  animation: orbFloat2 14s ease-in-out infinite;
}

.orb-mid-l {
  top: 45%;
  left: 8%;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    #1a6b38 0%,
    #0b3c1f 50%,
    transparent 100%
  );
  opacity: 0.025;
  animation: orbFloat3 18s ease-in-out infinite;
}

.orb-mid-r {
  top: 50%;
  right: 6%;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    #1c7d74 0%,
    #0c3d38 50%,
    transparent 100%
  );
  opacity: 0.02;
  animation: orbFloat4 16s ease-in-out infinite;
}

.orb-bot-l {
  top: 78%;
  left: 15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    #3dba72 0%,
    #14492c 50%,
    transparent 100%
  );
  animation: orbFloat1 20s ease-in-out infinite;
  opacity: 0.01;
}

.orb-bot-r {
  top: 72%;
  right: 12%;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    #7de4cf 0%,
    #1a5c4e 50%,
    transparent 100%
  );
  animation: orbFloat2 22s ease-in-out infinite;
  opacity: 0.01;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(
    to bottom,
    white 0%,
    white 20%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 60%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    white 0%,
    white 20%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 60%
  );
}

.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(100%, var(--max-width));
  margin: 0 auto 36px;
  padding: 12px 24px;
  background: rgba(7, 11, 24, 0.08);
  border: 1px solid rgba(132, 152, 205, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 28px;
  border-radius: 50% 52% 46% 48%;
  background: linear-gradient(180deg, #ff6653 0%, #b91925 100%);
  box-shadow: 0 0 30px rgba(255, 78, 86, 0.45);
}

.ear,
.eye,
.tail {
  position: absolute;
}

.ear {
  top: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f84f57;
}

.ear-left {
  left: 4px;
}

.ear-right {
  right: 4px;
}

.eye {
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #08121f;
  box-shadow: 0 0 0 2px rgba(125, 228, 207, 0.4);
}

.eye-left {
  left: 10px;
}

.eye-right {
  right: 10px;
}

.tail {
  top: -3px;
  right: -12px;
  width: 20px;
  height: 10px;
  border: 2px solid transparent;
  border-top-color: #ff6a55;
  border-radius: 50%;
  transform: rotate(22deg);
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 36px;
  color: var(--muted);
  font-size: 1rem;
}

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

.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  scroll-margin-top: 90px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  align-content: start;
  justify-items: center;
  text-align: center;
  min-height: calc(100vh - 160px);
  padding: 0px 0 40px;
}

.hero--center {
  align-items: center;
  text-align: center;
  max-width: 760px;
}

.eyebrow,
.section-tag,
.stack-tag {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-eyebrow {
  margin: 0 0 -10px;
}

.hero-logo--standalone {
  display: block;
  margin: 0 auto -30px;
  animation:
    float 4s cubic-bezier(0.45, 0, 0.55, 1) infinite,
    heroGlow 5s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(61, 186, 114, 0.3))
    drop-shadow(0 6px 10px rgba(255, 214, 122, 0.14));
  cursor: pointer;
}

.hero-mascot {
  display: inline-block;
  vertical-align: middle;
  width: 160px;
  height: 131px;
  margin-left: 12px;
  flex-shrink: 0;
  animation: float 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  cursor: pointer;
}

.hero-logo {
  filter: drop-shadow(0 0 14px rgba(61, 186, 114, 0.3))
    drop-shadow(0 6px 10px rgba(255, 214, 122, 0.14))
    drop-shadow(0 0 4px rgba(125, 228, 207, 0.12));
  transition:
    filter 0.5s ease,
    transform 0.4s ease;
  animation: heroGlow 5s ease-in-out infinite;
  cursor: pointer;
}

.hero-logo.hero-logo--standalone {
  animation:
    float 4s cubic-bezier(0.45, 0, 0.55, 1) infinite,
    heroGlow 5s ease-in-out infinite;
}

.hero-logo:hover {
  filter: drop-shadow(0 0 26px rgba(61, 186, 114, 0.55))
    drop-shadow(0 8px 18px rgba(255, 214, 122, 0.28))
    drop-shadow(0 0 10px rgba(125, 228, 207, 0.25)) hue-rotate(15deg)
    brightness(1.12) saturate(1.2);
  transform: scale(1.06);
}

.hero-mascot-body {
  position: absolute;
  inset: 18px 14px 12px;
  border-radius: 48% 52% 44% 46%;
  background: linear-gradient(180deg, #ff6153 0%, #d52f34 62%, #ac1820 100%);
  box-shadow:
    0 0 40px rgba(255, 87, 87, 0.36),
    inset 0 -10px 20px rgba(71, 8, 18, 0.18);
}

.hero-ear,
.hero-eye,
.hero-wheel,
.hero-tail {
  position: absolute;
}

.hero-ear {
  top: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff5e63;
}

.hero-ear-left {
  left: 12px;
}

.hero-ear-right {
  right: 12px;
}

.hero-eye {
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #09121f;
  box-shadow: 0 0 0 3px rgba(125, 228, 207, 0.34);
}

.hero-eye-left {
  left: 28px;
}

.hero-eye-right {
  right: 28px;
}

.hero-wheel {
  bottom: -12px;
  width: 16px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #c72630;
}

.hero-wheel-left {
  left: 36px;
}

.hero-wheel-right {
  right: 36px;
}

.hero-tail {
  top: 6px;
  right: 0;
  width: 30px;
  height: 18px;
  border: 3px solid transparent;
  border-top-color: #ff7562;
  border-radius: 50%;
  transform: rotate(24deg);
}

.hero h1 {
  margin: 0;
  margin-left: -4px;
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  font-size: clamp(4.6rem, 10vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, #3dba72 0%, #7ddea0 38%, #77e1cf 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition:
    background-position 0.6s ease,
    filter 0.4s ease;
}

.hero h1:hover {
  background-position: 100% 0;
  background: linear-gradient(
    90deg,
    #7de4cf 0%,
    #ffd67a 35%,
    #3dba72 70%,
    #77e1cf 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShimmer 1.5s ease-in-out infinite;
  cursor: pointer;
}

.hero:has(.hero-logo--standalone:hover) h1,
.hero.mascot-hover h1 {
  background-position: 100% 0;
  background: linear-gradient(
    90deg,
    #7de4cf 0%,
    #ffd67a 35%,
    #3dba72 70%,
    #77e1cf 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShimmer 1.5s ease-in-out infinite;
}

.hero-subtitle {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: clamp(1.22rem, 2.5vw, 1.8rem);
  line-height: 1.45;
  color: #f8f2ed;
}

.hero-pitch {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #3dba72 0%, #5dce8c 48%, #a8e8c0 100%);
  border-color: transparent;
  color: #09121f;
}

.button-secondary {
  background: rgba(12, 18, 36, 0.75);
  color: var(--text);
}

/* Scrolling marquee */
.marquee {
  width: 100%;
  justify-self: stretch;
  margin-top: 10px;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-card {
  flex-shrink: 0;
  width: 240px;
  padding: 20px 22px;
  background: rgba(14, 21, 43, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease;
}

.marquee-card:hover {
  border-color: var(--accent);
}

.marquee-value {
  display: block;
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.marquee-label {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.glass-card,
.info-card,
.feature-card,
.stack-card,
.timeline-card,
.dataset-panel {
  position: relative;
  background: rgba(14, 21, 43, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 0.5px transparent,
    0 0 16px transparent,
    0 0 48px transparent;
  transform: translateY(0);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.glass-card:hover,
.info-card:hover,
.feature-card:hover,
.stack-card:hover,
.timeline-card:hover,
.dataset-panel:hover {
  border-color: var(--accent);
  box-shadow:
    0 0 0 0.5px var(--accent),
    0 0 12px rgba(61, 186, 114, 0.25),
    0 0 36px rgba(61, 186, 114, 0.08);
  transform: translateY(-4px);
}

.section-heading h2,
.glass-card h2 {
  margin: 0;
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.1;
}

.glass-card p,
.info-card p,
.feature-card p,
.stack-card p,
.timeline-card p {
  color: var(--muted);
  line-height: 1.75;
}

.route-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  text-align: left;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(14, 21, 43, 0.82);
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 0.5px transparent,
    0 0 16px transparent,
    0 0 48px transparent;
  transform: translateY(0);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.route-item:hover {
  border-color: var(--accent);
  box-shadow:
    0 0 0 0.5px var(--accent),
    0 0 12px rgba(61, 186, 114, 0.25),
    0 0 36px rgba(61, 186, 114, 0.08);
  transform: translateY(-4px);
}

.route-item h3,
.feature-card h3,
.info-card h3,
.stack-card h3,
.timeline-card h3,
.glass-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.route-item p {
  margin: 0;
}

.route-index,
.feature-number,
.timeline-month {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(61, 186, 114, 0.14);
  color: #9eefc0;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split-grid,
.impact-grid,
.card-grid {
  display: grid;
  gap: 22px;
}

.glass-card,
.info-card,
.feature-card,
.stack-card,
.timeline-card {
  padding: 26px;
}

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

/* OpenClaw-style section heading */
.oc-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.oc-chevron {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.oc-heading h2 {
  margin: 0;
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-section,
.ai-section {
  padding-top: 28px;
}

.feature-card {
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.7;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.dataset-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
  padding: 26px;
}

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

.impact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  width: min(100%, var(--max-width));
  margin: 50px auto 0;
  padding: 22px 0 10px;
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  translate: 0 20px;
  transition:
    opacity 700ms ease,
    translate 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(0deg);
  }
}

@keyframes heroGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 14px rgba(61, 186, 114, 0.3))
      drop-shadow(0 6px 10px rgba(255, 214, 122, 0.14))
      drop-shadow(0 0 4px rgba(125, 228, 207, 0.12));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(61, 186, 114, 0.42))
      drop-shadow(0 8px 14px rgba(255, 214, 122, 0.2))
      drop-shadow(0 0 6px rgba(125, 228, 207, 0.18));
  }
}

@keyframes textShimmer {
  0% {
    background-position: 0% 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}

@keyframes starsDrift {
  0% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
  }
  100% {
    background-position:
      280px 280px,
      -340px 170px,
      210px -420px,
      -190px 380px,
      200px 200px;
  }
}

@keyframes starsDrift2 {
  0% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0;
  }
  100% {
    background-position:
      -250px 500px,
      300px -300px,
      -450px 225px,
      175px -350px;
  }
}

@keyframes orbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.18;
  }
  30% {
    transform: translate(120px, -60px) scale(1.15);
    opacity: 0.25;
  }
  60% {
    transform: translate(-80px, 40px) scale(0.95);
    opacity: 0.15;
  }
}

@keyframes orbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.18;
  }
  40% {
    transform: translate(-140px, 50px) scale(1.2);
    opacity: 0.24;
  }
  70% {
    transform: translate(100px, -70px) scale(0.9);
    opacity: 0.14;
  }
}

@keyframes orbFloat3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.16;
  }
  35% {
    transform: translate(160px, -80px) scale(1.18);
    opacity: 0.26;
  }
  65% {
    transform: translate(-100px, 90px) scale(0.92);
    opacity: 0.12;
  }
}

@keyframes orbFloat4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  45% {
    transform: translate(-130px, -90px) scale(1.22);
    opacity: 0.24;
  }
  75% {
    transform: translate(110px, 60px) scale(0.88);
    opacity: 0.1;
  }
}

@media (max-width: 1080px) {
  .hero,
  .three-up,
  .timeline,
  .impact-grid,
  .dataset-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding-inline: 16px;
  }

  .site-header {
    padding: 10px 16px;
    gap: 12px;
  }

  .site-nav {
    gap: 20px;
    font-size: 0.85rem;
  }

  .glass-card,
  .info-card,
  .feature-card,
  .stack-card,
  .timeline-card,
  .dataset-panel {
    padding: 22px;
  }
}

/* Figure sections */
.figure-section,
.content-section {
  text-align: center;
  margin-top: 48px;
}

.content-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-list li {
  position: relative;
  padding-left: 20px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
}

.content-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Stat strip — inline highlight numbers */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
  text-align: center;
}

.stat-strip__item {
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(14, 21, 43, 0.5);
  transform: translateY(0);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stat-strip__item:hover {
  border-color: var(--accent);
  box-shadow:
    0 0 0 0.5px var(--accent),
    0 0 12px rgba(61, 186, 114, 0.25),
    0 0 36px rgba(61, 186, 114, 0.08);
  transform: translateY(-4px);
}

.stat-strip__value {
  display: block;
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-strip__label {
  display: block;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 600px) {
  .stat-strip {
    grid-template-columns: 1fr;
  }
}

/* Standalone body (not used in split) */
.content-body {
  margin: 28px 0 0;
  text-align: justify;
}

.content-body p {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 16px;
}

.content-body p:last-child {
  margin-bottom: 0;
}

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

.content-body h3 {
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}
.content-body h3:first-child {
  margin-top: 0;
}

/* Solution grid — 3-card layout for AI-Based Solution */
.solution-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

/* Two-column hero: image left, route-items right */
.solution-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

/* Centered variant: robot centered, cards row below */
.solution-hero--centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 0;
}

.solution-hero__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.solution-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* Robot reveal: clean → detailed + routine slides in on hover */
.robot-reveal {
  display: grid;
  grid-template-columns: 1fr 0fr;
  gap: 0px;
  justify-items: center;
  cursor: pointer;
  max-width: 900px;
  transition:
    grid-template-columns 0.5s ease,
    gap 0.5s ease;
}

.robot-reveal:hover {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.robot-reveal__main {
  position: relative;
  margin: 0;
  padding: 0;
  max-width: 420px;
  justify-self: end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  line-height: 0;
}

.robot-reveal img {
  display: block;
  width: 100%;
  height: auto;
}

.robot-reveal__clean,
.robot-reveal__detail {
  transition: opacity 0.4s ease;
}

.robot-reveal__clean {
  position: relative;
  z-index: 2;
  opacity: 1;
}

.robot-reveal__detail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  opacity: 0;
}

.robot-reveal:hover .robot-reveal__clean {
  opacity: 0;
}

.robot-reveal:hover .robot-reveal__detail {
  opacity: 1;
}

.robot-reveal__routine {
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.4s ease 0.2s,
    transform 0.4s ease 0.2s;
  border-radius: var(--radius-lg);
  justify-self: start;
  max-width: 420px;
  position: relative;
  line-height: 0;
}

.robot-reveal:hover .robot-reveal__routine {
  opacity: 1;
  transform: translateX(0);
}

.robot-reveal__hint {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.6;
  max-height: 40px;
  overflow: hidden;
  transition:
    opacity 0.3s ease,
    max-height 0.3s ease,
    margin-top 0.3s ease;
  position: relative;
  z-index: 3;
}

.robot-reveal__hint svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.robot-reveal:hover .robot-reveal__hint {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
}

/* Hover disclaimer note */
.robot-reveal__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 12px;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
  background: rgba(255, 214, 122, 0.04);
  border: 1px solid rgba(255, 214, 122, 0.1);
  border-radius: var(--radius-md);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.25s ease,
    max-height 0.25s ease,
    margin 0.25s ease,
    padding 0.25s ease;
  pointer-events: none;
}

.robot-reveal__note svg {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  fill: var(--accent-3);
  opacity: 0.6;
}

.solution-hero--centered:has(.robot-reveal:hover) .robot-reveal__note {
  opacity: 1;
  max-height: 40px;
  padding: 7px 12px;
  margin-top: 8px;
  margin-bottom: 20px;
  pointer-events: auto;
  transition:
    opacity 0.35s ease 0.6s,
    max-height 0.3s ease 0.6s,
    margin 0.3s ease 0.6s,
    padding 0.3s ease 0.6s;
}

.robot-reveal__label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6, 8, 21, 0.82);
  border: 1px solid rgba(61, 186, 114, 0.35);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  clip-path: inset(0 100% 0 0);
}

.robot-reveal:hover .robot-reveal__label {
  animation: glitchReveal 0.5s steps(6, end) 0.8s forwards;
}

@keyframes glitchReveal {
  0% {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }
  15% {
    opacity: 1;
    clip-path: inset(0 60% 0 0);
    transform: translateX(-50%) translateX(3px) skewX(-4deg);
  }
  30% {
    opacity: 0.7;
    clip-path: inset(0 30% 0 0);
    transform: translateX(-50%) translateX(-2px) skewX(3deg);
  }
  45% {
    opacity: 1;
    clip-path: inset(0 15% 0 0);
    transform: translateX(-50%) translateX(2px) skewX(-2deg);
  }
  60% {
    opacity: 0.8;
    clip-path: inset(0 5% 0 0);
    transform: translateX(-50%) translateX(-1px) skewX(1deg);
  }
  80% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(-50%) translateX(1px);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(-50%) translateY(0);
  }
}

/* Scan-line sweep — single pass top to bottom */
.robot-reveal__scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.robot-reveal__scan::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent),
    var(--accent-2),
    transparent
  );
  filter: blur(2px);
  opacity: 0;
}

.robot-reveal:hover .robot-reveal__scan::before {
  animation: scanDown 0.8s ease-in-out forwards;
}

@keyframes scanDown {
  0% {
    top: -6px;
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: calc(100% + 6px);
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .robot-reveal {
    max-width: 100%;
  }
  .robot-reveal:hover {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .robot-reveal__main {
    max-width: 320px;
    justify-self: center;
  }
  .robot-reveal__routine {
    max-width: 320px;
    justify-self: center;
    transform: translateY(-20px);
  }
  .robot-reveal:hover .robot-reveal__routine {
    transform: translateY(0);
  }
}

.solution-hero__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solution-hero__features--row {
  flex-direction: row;
  width: 100%;
  gap: 0;
  margin-top: 14px;
}

.solution-hero__features--row .route-item {
  flex: 1;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 16px 20px;
  border-left: 1px solid var(--line);
  transition: none;
}

.solution-hero__features--row .route-item:first-child {
  border-left: none;
}

.solution-hero__features--row .route-index {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  min-width: 48px;
  min-height: 40px;
  font-weight: 700;
}

.solution-hero__features--row .route-item:hover {
  background: none;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.solution-hero__features--row .route-item:hover:not(:first-child) {
  border-color: var(--line);
}

@media (max-width: 720px) {
  .solution-hero {
    grid-template-columns: 1fr;
  }
  .solution-hero__features--row {
    flex-direction: column;
  }
  /* Vertical layout: swap border-left dividers → border-top */
  .solution-hero__features--row .route-item {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .solution-hero__features--row .route-item:first-child {
    border-top: none;
  }
  /* Warning note can wrap to multiple lines on mobile */
  .solution-hero--centered:has(.robot-reveal:hover) .robot-reveal__note {
    max-height: 120px;
  }
}

.solution-card {
  text-align: left;
  position: relative;
  padding-top: 48px;
}

.solution-card__number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
}

.solution-card h3 {
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.solution-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 10px;
  text-align: justify;
}

.solution-card p:last-child {
  margin-bottom: 0;
}

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

.solution-card em {
  color: var(--accent-2);
  font-style: italic;
}

/* Data tables */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: nowrap;
}

.data-table thead {
  background: rgba(61, 186, 114, 0.08);
}

.data-table th {
  padding: 12px 16px;
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}

.data-table td {
  padding: 10px 16px;
  color: var(--muted);
  text-align: left;
  border-bottom: 1px solid rgba(129, 167, 214, 0.08);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(61, 186, 114, 0.04);
}

.data-table--compact {
  font-size: 0.82rem;
}
.data-table--compact th,
.data-table--compact td {
  padding: 8px 12px;
}

.table-highlight {
  background: rgba(61, 186, 114, 0.06);
}
.table-highlight td {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 820px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

/* Roadmap grid — 3-month pilot */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.roadmap-card {
  text-align: left;
  position: relative;
  padding-top: 44px;
}

.roadmap-card__label {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0.6;
}

.roadmap-card h3 {
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.roadmap-card p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* KPI list */
.kpi-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kpi-list li {
  position: relative;
  padding-left: 20px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
}

.kpi-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Outreach grid */
.outreach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.outreach-card {
  text-align: left;
  position: relative;
  padding-top: 48px;
}

.outreach-card__icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 4px;
}

.outreach-card__count {
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.outreach-card h3 {
  font-family: "Aptos Display", "Bahnschrift", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.outreach-card p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 820px) {
  .roadmap-grid,
  .outreach-grid {
    grid-template-columns: 1fr;
  }
}

.content-body sup {
  color: var(--accent);
  font-weight: 600;
  font-size: inherit;
  vertical-align: baseline;
}

/* Footnote inline links (teal, full sentence) */
.footnote-link {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footnote-link:hover {
  color: var(--accent-2);
  opacity: 0.8;
}
.footnote-link strong {
  color: inherit;
}

/* Reference superscript links */
.ref-link {
  color: rgba(61, 186, 114, 0.75);
  text-decoration: none;
  font-weight: normal;
  transition: color 0.2s;
}
.ref-link:hover {
  color: var(--accent);
}

/* References list */
.references-list {
  text-align: justify;
  padding-left: 24px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}
.references-list li {
  margin-bottom: 12px;
}
.references-list li:last-child {
  margin-bottom: 0;
}
.references-list em {
  color: var(--text);
}

.content-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.content-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content-figure.wide img {
  aspect-ratio: auto;
  height: auto;
}

.figure-caption {
  margin-top: 12px;
  padding: 0 4px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
  opacity: 0.7;
  text-align: center;
}

/* Image grid below text */
.content-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.content-images-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 100%;
  gap: 14px;
}

.content-images-grid .content-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 0.5px transparent,
    0 0 16px transparent,
    0 0 48px transparent;
  transform: translateY(0);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.content-images-grid .content-figure:hover {
  border-color: var(--accent);
  box-shadow:
    0 0 0 0.5px var(--accent),
    0 0 12px rgba(61, 186, 114, 0.25),
    0 0 36px rgba(61, 186, 114, 0.08);
  transform: translateY(-4px);
}

.content-images-grid .content-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.figure-caption-inline {
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
  background: var(--panel);
}

@media (max-width: 768px) {
  .content-images-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}

/* References */
.references-section {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.references-list {
  list-style: none;
  counter-reset: ref;
  padding: 0;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.references-list li {
  counter-increment: ref;
  position: relative;
  padding-left: 36px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
}

.references-list li::before {
  content: "[" counter(ref) "]";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.references-list li em {
  color: var(--accent-2);
  font-style: italic;
}

/* ── Winner bar chart ───────────────────────────────────────── */
.winner-chart {
  display: grid;
  grid-template-columns: max-content 1fr 32px;
  gap: 14px 12px;
  align-items: center;
  padding: 16px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.winner-row {
  display: contents;
}

.winner-label {
  font-size: 0.82rem;
  font-family: "Bahnschrift", monospace;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: left;
}

.winner-track {
  height: 8px;
  background: rgba(132, 152, 205, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.winner-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.winner-fill--dim {
  background: linear-gradient(
    90deg,
    rgba(61, 186, 114, 0.5) 0%,
    rgba(125, 228, 207, 0.5) 100%
  );
}

.winner-count {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  text-align: right;
}

[data-theme="light"] .winner-track {
  background: rgba(0, 0, 0, 0.08);
}

/* ── Theme toggle button ─────────────────────────────────────── */
.theme-toggle {
  position: absolute;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s;
}

.theme-toggle:hover {
  color: var(--accent);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sun {
  display: none;
}
.icon-moon {
  display: block;
}

[data-theme="light"] .icon-moon {
  display: none;
}
[data-theme="light"] .icon-sun {
  display: block;
}

/* ── Light mode ──────────────────────────────────────────────── */
[data-theme="light"] {
  --bg: #fcfcfb;
  --bg-soft: rgba(252, 252, 251, 0.94);
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 255, 255, 0.99);
  --line: rgba(0, 0, 0, 0.09);
  --text: #1c1e2e;
  --muted: #5a6270;
  --accent: #1a8f50;
  --accent-2: #1a7d78;
  --accent-3: #a07600;
  --shadow: 0 4px 28px rgba(0, 0, 0, 0.07);
}

[data-theme="light"] body {
  background: #ffffff;
  color: var(--text);
}

/* Remove cosmic stars & noise */
[data-theme="light"] body::before,
[data-theme="light"] body::after {
  display: none;
}

[data-theme="light"] .noise {
  display: none;
}

[data-theme="light"] .orb {
  opacity: 0.06;
  background: #a8f0d8;
  filter: blur(120px);
}

[data-theme="light"] .orb-mid-l,
[data-theme="light"] .orb-mid-r {
  opacity: 0.03;
}

[data-theme="light"] .orb-bot-l,
[data-theme="light"] .orb-bot-r {
  opacity: 0.012;
}

[data-theme="light"] #particles {
  display: none;
}

/* Header */
[data-theme="light"] .site-header {
  background: rgba(245, 244, 240, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
}

/* All dark glass panels → white */
[data-theme="light"] .glass-card,
[data-theme="light"] .info-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .stack-card,
[data-theme="light"] .timeline-card,
[data-theme="light"] .dataset-panel,
[data-theme="light"] .marquee-card,
[data-theme="light"] .route-item,
[data-theme="light"] .table-wrapper,
[data-theme="light"] .content-figure {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .stat-strip__item {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.09);
}

/* Card hover glow — softer on light */
[data-theme="light"] .glass-card:hover,
[data-theme="light"] .info-card:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .stack-card:hover,
[data-theme="light"] .timeline-card:hover,
[data-theme="light"] .dataset-panel:hover,
[data-theme="light"] .route-item:hover,
[data-theme="light"] .stat-strip__item:hover {
  box-shadow:
    0 0 0 1px var(--accent),
    0 8px 28px rgba(26, 143, 80, 0.1);
}

/* Number pills */
[data-theme="light"] .route-index,
[data-theme="light"] .feature-number,
[data-theme="light"] .timeline-month {
  background: rgba(26, 143, 80, 0.1);
  color: var(--accent);
}

/* Hero text overrides */
[data-theme="light"] .hero-subtitle {
  color: #3a3d50;
}

[data-theme="light"] .hero-logo--standalone,
[data-theme="light"] .hero-logo {
  filter: drop-shadow(0 0 10px rgba(26, 143, 80, 0.22))
    drop-shadow(0 4px 8px rgba(160, 118, 0, 0.1));
  animation: float 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Button secondary */
[data-theme="light"] .button-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Marquee mask stays dark → override to white-transparent */
[data-theme="light"] .marquee {
  mask-image: linear-gradient(
    90deg,
    transparent,
    #fff 6%,
    #fff 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #fff 6%,
    #fff 94%,
    transparent
  );
}

/* Robot reveal label on light bg */
[data-theme="light"] .robot-reveal__label {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(26, 143, 80, 0.3);
  color: var(--accent);
}

/* Disclaimer note */
[data-theme="light"] .robot-reveal__note {
  background: rgba(160, 118, 0, 0.05);
  border-color: rgba(160, 118, 0, 0.18);
}

/* Data table row hover */
[data-theme="light"] .data-table tbody tr:hover {
  background: rgba(26, 143, 80, 0.04);
}

/* features row — no background */
[data-theme="light"] .solution-hero__features--row .route-item {
  background: none;
  border-color: transparent;
}

[data-theme="light"]
  .solution-hero__features--row
  .route-item:not(:first-child) {
  border-left-color: var(--line);
}

/* Images grid figure hover */
[data-theme="light"] .content-images-grid .content-figure:hover {
  box-shadow:
    0 0 0 1px var(--accent),
    0 8px 28px rgba(26, 143, 80, 0.1);
}

/* Figure caption inline panel */
[data-theme="light"] .figure-caption-inline {
  background: rgba(248, 248, 246, 0.96);
}

/* Footnote & ref links */
[data-theme="light"] .footnote-link {
  color: var(--accent-2);
}

[data-theme="light"] .ref-link {
  color: rgba(26, 143, 80, 0.7);
}

[data-theme="light"] .ref-link:hover {
  color: var(--accent);
}
