: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: 24px;
  --radius-md: 18px;
  --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 {
  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: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.18;
}

.orb-left {
  top: 140px;
  left: -90px;
  background: #1a6b38;
  animation: orbFloat1 12s ease-in-out infinite;
}

.orb-right {
  top: 190px;
  right: -120px;
  background: #1c7d74;
  animation: orbFloat2 14s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--max-width));
  margin: 0 auto 36px;
  padding: 16px 20px;
  background: rgba(7, 11, 24, 0.62);
  border: 1px solid rgba(132, 152, 205, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  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: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  justify-items: center;
  text-align: center;
  min-height: calc(100vh - 160px);
  padding: 32px 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 6px;
}

.hero-logo--standalone {
  display: block;
  margin: 0 auto 8px;
  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(3.8rem, 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 0 0;
  font-size: clamp(1.22rem, 2.5vw, 1.8rem);
  line-height: 1.45;
  color: #f8f2ed;
}

.hero-pitch {
  max-width: 720px;
  margin: 18px 0 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);
}

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

.metric-card,
.glass-card,
.info-card,
.feature-card,
.stack-card,
.timeline-card,
.panel-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;
}

.metric-card:hover,
.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);
}

.metric-card {
  padding: 18px;
}

.metric-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff5e8;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-panel {
  position: relative;
  padding: 24px 0;
}

.panel-glow {
  position: absolute;
  inset: 60px 25px 25px;
  border-radius: 32px;
  background: linear-gradient(
    180deg,
    rgba(61, 186, 114, 0.18),
    rgba(125, 228, 207, 0.02)
  );
  filter: blur(28px);
}

.panel-card {
  padding: 28px;
  background: linear-gradient(
    180deg,
    rgba(17, 25, 47, 0.95),
    rgba(10, 16, 31, 0.93)
  );
}

.panel-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #ffcc9f;
  font-size: 0.92rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7de4cf;
  box-shadow: 0 0 18px rgba(125, 228, 207, 0.85);
}

.panel-card h2,
.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;
}

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

.route-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.route-list--horizontal {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
  .route-list--horizontal {
    grid-template-columns: 1fr;
  }
}

.route-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(136, 154, 205, 0.1);
  box-shadow:
    0 0 0 0.5px transparent,
    0 0 12px 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.2);
  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;
}

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

.intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px 0 36px;
}

.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: 32px;
}

.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(40px, -30px) scale(1.1);
    opacity: 0.25;
  }
  60% {
    transform: translate(-20px, 20px) scale(0.95);
    opacity: 0.15;
  }
}

@keyframes orbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.18;
  }
  40% {
    transform: translate(-50px, 25px) scale(1.15);
    opacity: 0.22;
  }
  70% {
    transform: translate(30px, -40px) scale(0.9);
    opacity: 0.14;
  }
}

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

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 28px;
  }
}

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

  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .brand {
    justify-content: center;
  }

  .site-nav {
    justify-content: center;
  }

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

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

/* Split layout: text card + media side-by-side */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
  text-align: left;
  align-items: start;
}

.content-split--reverse {
  direction: rtl;
}

.content-split--reverse > * {
  direction: ltr;
}

.content-text {
  padding: 32px;
}

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

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

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

.content-text sup {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
}

.content-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-media--single {
  gap: 0;
}

.content-media .content-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.content-media .content-figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.5);
}

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

.quickstart-section {
  margin-bottom: 26px;
}

.quickstart-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quickstart-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 27, 0.7);
}

.quickstart-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quickstart-topbar .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.quickstart-topbar .dot.red {
  background: #f26a5e;
}

.quickstart-topbar .dot.yellow {
  background: #f8cc5a;
}

.quickstart-topbar .dot.green {
  background: #7ce26b;
}

.quickstart-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.04em;
}

.quickstart-frame-wrap {
  padding: 12px;
}

.quickstart-iframe {
  width: 100%;
  height: 900px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #03070f;
  display: block;
}

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

.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 sup {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
}

.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-media .content-figure img {
  aspect-ratio: 16 / 10;
  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;
  }
}

  .quickstart-iframe {
    height: 720px;
  }

/* 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: 0.88rem;
  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;
}

@media (max-width: 720px) {
  .content-split {
    grid-template-columns: 1fr;
  }

  .content-split--reverse {
    direction: ltr;
  }

  .content-text {
    padding: 24px;
  }
}
