/* =========================================================
   LeoBase — premium landing page
   Dark mode · Apple × Stripe × Linear
   Brand palette: navy #00265a · teal #0095b7 · leaf #66bb15 · purple #7a3fd1
   ========================================================= */

:root {
  --navy: #00265a;
  --teal: #0095b7;
  --leaf: #66bb15;
  --purple: #7a3fd1;
  --amber: #f59e0b;

  /* dark surfaces */
  --bg: #05080f;
  --bg-2: #070b15;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #eef3f8;
  --muted: #9aa8bd;
  --faint: #5e6b82;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Ambient radial glow that follows the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -5%, rgba(0, 149, 183, 0.18), transparent 60%),
    radial-gradient(40% 40% at 85% 10%, rgba(122, 63, 209, 0.12), transparent 60%),
    radial-gradient(45% 45% at 10% 30%, rgba(102, 187, 21, 0.08), transparent 60%);
}

.grad-text {
  background: linear-gradient(100deg, #59c3df 0%, #8fe05a 45%, #b07bf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s;
  position: relative;
  white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 15px; }

.btn--primary {
  color: #021018;
  background: linear-gradient(100deg, #5bd0e8, #8fe05a 60%, #b07bf0);
  box-shadow: 0 12px 34px rgba(0, 149, 183, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0, 149, 183, 0.5); }

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); border-color: rgba(255,255,255,0.28); }

/* ---------------- Navigation ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: #fff; padding: 2px; }
.nav__wordmark { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.nav__links { display: flex; align-items: center; gap: 28px; }

/* ---- Grouped dropdown nav ---- */
.nav__group { position: relative; }
.nav__group > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; color: var(--muted); transition: color 0.25s;
}
.nav__group > summary::-webkit-details-marker { display: none; }
.nav__group > summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); opacity: 0.65; transition: transform 0.2s var(--ease);
}
.nav__group > summary:hover { color: var(--text); }
.nav__group[open] > summary { color: var(--text); }
.nav__group[open] > summary::after { transform: rotate(225deg); margin-top: 2px; }
.nav__panel {
  display: none; flex-direction: column; gap: 2px;
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 210px; padding: 10px;
  background: #0b1120; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  z-index: 60;
}
.nav__panel a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.nav__panel a:hover { background: var(--panel-2); color: var(--text); }
.nav__panel a::after { display: none; } /* no underline bar inside the dropdown */
.nav__group[open] > .nav__panel { display: flex; }
@media (hover: hover) and (min-width: 981px) {
  .nav__group:hover > .nav__panel { display: flex; }
}
.nav__solo { font-size: 15px; color: var(--muted); transition: color 0.25s; }
.nav__solo:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger {
  display: none; width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
  border-radius: 10px; color: var(--text); font-size: 18px; line-height: 1;
}

.nav__links a {
  font-size: 14px; color: var(--muted); font-weight: 500;
  transition: color 0.25s; position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--leaf));
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__accent { display: flex; height: 2px; }
.nav__accent span { flex: 1; }
.nav__accent span:nth-child(1) { background: var(--navy); }
.nav__accent span:nth-child(2) { background: var(--teal); }
.nav__accent span:nth-child(3) { background: var(--leaf); }
.nav__accent span:nth-child(4) { background: var(--purple); }
.nav.is-scrolled .nav__accent { opacity: 0.9; }
.nav:not(.is-scrolled) .nav__accent { opacity: 0; }

/* ---------------- Shared section scaffolding ---------------- */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 130px 24px;
}
.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.section__title--left { text-align: left; }
.section__lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; }
.section__lead b, .section__title b { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow--center { color: #67c9e0; }

/* ---------------- Reveal animation ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  transition-delay: calc(var(--rd, 0) * 35ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 90px;
  overflow: hidden;
}
.hero__mesh {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90%;
  background:
    radial-gradient(38% 60% at 30% 25%, rgba(0, 149, 183, 0.34), transparent 60%),
    radial-gradient(34% 55% at 72% 30%, rgba(122, 63, 209, 0.30), transparent 60%),
    radial-gradient(30% 45% at 52% 55%, rgba(102, 187, 21, 0.22), transparent 60%);
  filter: blur(20px);
  animation: meshFloat 16s ease-in-out infinite alternate;
}
@keyframes meshFloat {
  0% { transform: translate3d(-2%, -2%, 0) scale(1); }
  100% { transform: translate3d(3%, 3%, 0) scale(1.08); }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(72% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(72% 60% at 50% 35%, #000 30%, transparent 75%);
}
.hero__content { position: relative; max-width: 900px; }
.hero__title {
  font-size: clamp(44px, 8.2vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 8px 0 26px;
}
.hero__sub {
  max-width: 660px;
  margin: 0 auto;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* Module orbit */
.orbit {
  position: relative;
  width: min(560px, 88vw);
  height: min(560px, 88vw);
  margin: 70px auto 0;
}
.orbit__core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 24px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 30px 70px rgba(0, 149, 183, 0.4);
  z-index: 3;
  animation: corePulse 4s ease-in-out infinite;
}
.orbit__core img { width: 100%; height: 100%; object-fit: contain; }
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--line-strong), 0 30px 70px rgba(0, 149, 183, 0.35); }
  50% { box-shadow: 0 0 0 1px var(--line-strong), 0 30px 90px rgba(122, 63, 209, 0.5); }
}
.orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.orbit__ring--1 { inset: 18%; animation: spin 38s linear infinite; }
.orbit__ring--2 { inset: 0; animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit__node {
  position: absolute;
  top: -1px; left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
  color: var(--text);
  background: rgba(7, 11, 21, 0.9);
  border: 1px solid color-mix(in srgb, var(--c) 55%, var(--line-strong));
  box-shadow: 0 0 22px color-mix(in srgb, var(--c) 35%, transparent);
  backdrop-filter: blur(6px);
}
.orbit__node::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--c); margin-right: 7px; vertical-align: middle;
  box-shadow: 0 0 10px var(--c);
}
.orbit__node--soft { opacity: 0.78; font-size: 11.5px; }
/* keep node labels upright while ring rotates */
.orbit__ring--1 .orbit__node { animation: spin 38s linear infinite reverse; }
.orbit__ring--2 .orbit__node { animation: spin 60s linear infinite; }
/* distribute nodes */
.orbit__ring--1 .orbit__node:nth-child(1) { top: 0; left: 50%; }
.orbit__ring--1 .orbit__node:nth-child(2) { top: 50%; left: 100%; }
.orbit__ring--1 .orbit__node:nth-child(3) { top: 100%; left: 50%; }
.orbit__ring--1 .orbit__node:nth-child(4) { top: 50%; left: 0; }
.orbit__ring--2 .orbit__node:nth-child(1) { top: 8%; left: 88%; }
.orbit__ring--2 .orbit__node:nth-child(2) { top: 88%; left: 80%; }
.orbit__ring--2 .orbit__node:nth-child(3) { top: 70%; left: 8%; }

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute; top: 7px; left: 50%;
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--muted);
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 20px; } 100% { opacity: 0; } }

/* ---------------- Standards marquee ---------------- */
.standards {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.standards__track {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  color: var(--faint);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.standards__track span { color: var(--muted); }
.standards__track i { color: var(--teal); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   2. PROBLEM
   ========================================================= */
.problem__split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.problem__col { position: relative; }
.problem__tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.problem__tag--bad { color: #ff9b9b; background: rgba(220, 38, 38, 0.12); border: 1px solid rgba(220,38,38,0.3); }
.problem__tag--good { color: #8fe05a; background: rgba(102, 187, 21, 0.12); border: 1px solid rgba(102,187,21,0.3); }

.chaos { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.chaos li {
  background: var(--panel);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transform: rotate(var(--r, 0deg));
  transition: transform 0.4s var(--ease), border-color 0.3s, color 0.3s;
}
.chaos li:hover { transform: rotate(0deg) translateY(-3px); color: var(--text); border-color: rgba(220,38,38,0.4); }

.problem__arrow { color: var(--teal); width: 80px; opacity: 0.8; }
.problem__arrow svg { width: 100%; }

.order-card {
  background: linear-gradient(160deg, rgba(0, 149, 183, 0.10), rgba(122, 63, 209, 0.06));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.order-card__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.order-card__head img { width: 36px; height: 36px; background: #fff; border-radius: 8px; padding: 3px; }
.order-card__head span { font-weight: 600; font-size: 14px; color: var(--text); }
.order-list { list-style: none; display: grid; gap: 12px; }
.order-list li {
  position: relative; padding-left: 26px; font-size: 14.5px; color: var(--muted);
}
.order-list li b { color: var(--text); font-weight: 600; }
.order-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #8fe05a; font-weight: 700;
}
.problem__note { margin-top: 18px; font-size: 13.5px; color: var(--faint); }
.problem__note--good { color: #8fbf7a; }

/* =========================================================
   3. ECOSYSTEM
   ========================================================= */
.eco {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 24px;
  margin-bottom: 56px;
}
.eco__flow {
  display: grid;
  grid-template-columns: auto 1fr auto 0.6fr auto;
  align-items: center;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.eco__sources, .eco__targets { display: grid; gap: 14px; }
.eco__src, .eco__target {
  padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px;
  text-align: center; white-space: nowrap;
  background: rgba(7,11,21,0.6);
  border: 1px solid color-mix(in srgb, var(--c) 50%, var(--line-strong));
  color: var(--text);
  box-shadow: 0 0 20px color-mix(in srgb, var(--c) 22%, transparent);
}
.eco__pipe svg { width: 100%; height: 130px; }
.eco__line { fill: none; stroke: url(#g) ; stroke-width: 2; }
.eco__pipe .eco__line {
  stroke: rgba(0, 149, 183, 0.5);
  stroke-width: 2;
  stroke-dasharray: 7 7;
  animation: dash 1.4s linear infinite;
}
.eco__pipe--out .eco__line { stroke: rgba(102, 187, 21, 0.6); }
@keyframes dash { to { stroke-dashoffset: -28; } }
.eco__hub {
  width: 116px; height: 116px; border-radius: 28px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(0,149,183,0.35), rgba(122,63,209,0.25));
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 50px rgba(0,149,183,0.4), inset 0 0 30px rgba(255,255,255,0.05);
  animation: hubGlow 3.4s ease-in-out infinite;
}
@keyframes hubGlow { 50% { box-shadow: 0 0 70px rgba(122,63,209,0.5), inset 0 0 30px rgba(255,255,255,0.08); } }
.eco__hub-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-align: center; }
.eco__hub-title { font-size: 20px; font-weight: 700; text-align: center; }

.eco__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--panel-2); }
.feature__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; margin-bottom: 16px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 36%, transparent);
}
.feature h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* =========================================================
   4. MODULES
   ========================================================= */
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mcard {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s, background 0.35s;
}
.mcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--c), transparent 70%);
  opacity: 0.8;
}
.mcard::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 28%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.mcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 45%, var(--line-strong)); background: var(--panel-2); }
.mcard:hover::after { opacity: 1; }
.mcard__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; position: relative; }
.mcard__dot {
  width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; flex-shrink: 0;
  background: var(--c); box-shadow: 0 0 14px var(--c);
}
.mcard__head h3 { font-size: 21px; letter-spacing: -0.02em; }
.mcard__head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.mcard__status {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #8fe05a; background: rgba(102,187,21,0.12); border: 1px solid rgba(102,187,21,0.3);
  padding: 4px 10px; border-radius: 999px; flex-shrink: 0;
}
.mcard__body { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; position: relative; }
.mcard__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.mcard__tags li {
  font-size: 12px; font-weight: 500; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}

.module-roadmap { margin-top: 40px; text-align: center; }
.module-roadmap__label { display: block; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.roadmap-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.rpill {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.025);
  border: 1px dashed color-mix(in srgb, var(--c) 40%, var(--line-strong));
  transition: color 0.3s, background 0.3s;
}
.rpill:hover { color: var(--text); background: rgba(255,255,255,0.05); }

/* =========================================================
   5. REPORTING
   ========================================================= */
.report-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.report-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, background 0.3s;
}
.report-card:hover { border-color: var(--line-strong); background: var(--panel-2); }
.report-card__kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c); margin-bottom: 26px;
}
.report-card__note { margin-top: 26px; font-size: 14px; color: var(--muted); line-height: 1.6; }

.cockpit { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.cockpit__ring { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.cockpit__ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 9; }
.ring-fg {
  fill: none; stroke: url(#cockpitGrad); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.cockpit__score { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cockpit__score b { font-size: 42px; font-weight: 700; line-height: 1; }
.cockpit__score span { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.cockpit__stats { list-style: none; display: grid; gap: 12px; }
.cockpit__stats li { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot--green { background: var(--leaf); box-shadow: 0 0 10px var(--leaf); }
.dot--blue { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.dot--red { background: #ef4444; box-shadow: 0 0 10px #ef4444; }

.report-studio { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: stretch; }
.rs-blocks { display: grid; gap: 10px; align-content: start; }
.rs-block {
  font-size: 12px; font-weight: 500; color: var(--muted);
  padding: 9px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  cursor: grab; transition: transform 0.3s var(--ease), color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.rs-block:hover { transform: translateX(4px); color: var(--text); border-color: var(--purple); }
.rs-block--chart { background: rgba(122,63,209,0.12); border-color: rgba(122,63,209,0.35); color: #c9aef5; }
.rs-doc {
  background: #fff; border-radius: 12px; padding: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5); display: grid; gap: 9px; align-content: start;
}
.rs-doc__logo { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, var(--navy), var(--teal)); }
.rs-doc__line { height: 8px; border-radius: 4px; background: #e2e8ee; }
.rs-doc__line--title { width: 60%; height: 12px; background: #1f2d45; }
.rs-doc__line:nth-of-type(3) { width: 90%; }
.rs-doc__line:nth-of-type(4) { width: 75%; }
.rs-doc__chart {
  height: 56px; border-radius: 8px; margin-top: 4px;
  background:
    linear-gradient(180deg, rgba(0,149,183,0.18), rgba(0,149,183,0.02)),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(0,38,90,0.06) 26px 27px);
  border: 1px solid #e2e8ee;
}
.rs-doc__swatches { display: flex; gap: 6px; margin-top: 4px; }
.rs-doc__swatches i { width: 22px; height: 8px; border-radius: 3px; }

/* =========================================================
   6. WHY
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.why-card {
  grid-column: span 2;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.why-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c);
  opacity: 0.7;
}
.why-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 40%, var(--line-strong)); background: var(--panel-2); }
.why-card h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.why-card--lg { grid-column: span 6; padding: 36px; }
.why-card--lg h3 { font-size: 24px; }
.why-card--lg p { font-size: 16px; max-width: 620px; }
.why-stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.why-stack span {
  font-size: 12.5px; font-weight: 600; color: var(--text);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
}
.company-grid .why-card { grid-column: span 3; }
.company-grid .why-card--lg { grid-column: span 6; }
.ecosystem-stack { display: grid; gap: 16px; }
.ecosystem-layer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.ecosystem-layer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--c);
}
.ecosystem-layer > span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  font-weight: 800;
}
.ecosystem-layer h3 { font-size: 20px; margin-bottom: 4px; }
.ecosystem-layer p { color: var(--muted); margin: 0; }
.ecosystem-layer a { color: #8fe05a; font-weight: 700; white-space: nowrap; }

/* Sub-pages reuse the landing design system (.nav / .section / .why-card / .cta / .footer). */
main { position: relative; z-index: 1; }
.breadcrumbs { color: var(--faint); font-size: 14px; margin-bottom: 26px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); }
.page-lead { max-width: 720px; }
.page-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.prose { max-width: 760px; }
.prose p { color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; margin: 38px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose ul { color: var(--muted); line-height: 1.7; padding-left: 20px; margin-bottom: 16px; }

/* Legal pages (Impressum / Datenschutz) — content generated by an external tool. */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 10px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; color: var(--text); }
.legal p { color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.legal ul { color: var(--muted); line-height: 1.7; padding-left: 22px; margin: 0 0 16px; display: grid; gap: 8px; }
.legal li { color: var(--muted); }
.legal strong, .legal b { color: var(--text); font-weight: 600; }
.legal a { color: var(--teal); word-break: break-word; }
.legal a:hover { color: var(--text); }
.legal .index { list-style: none; padding-left: 0; }
.legal .index a { color: var(--muted); }
.legal .glossary li { font-size: 14px; }
.legal .seal { margin-top: 44px; font-size: 12px; }
.legal .seal a { color: var(--faint); }
.badge-soon { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--line-strong)); border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: middle; }

/* Contact form */
.form { max-width: 640px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%; background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 12px 14px; color: var(--text); font: inherit;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); }
.form textarea { min-height: 150px; resize: vertical; }
.form select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a97ab' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form select:invalid { color: var(--muted); }
.form__req { color: var(--amber); margin-left: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__consent { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; }
.form__consent input { width: auto; margin-top: 3px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 13px; color: var(--faint); }
.form__status { max-width: 640px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-top: 4px; }
.form__status.is-ok { background: color-mix(in srgb, var(--leaf) 14%, transparent); border: 1px solid var(--leaf); color: var(--text); }
.form__status.is-err { background: color-mix(in srgb, var(--amber) 14%, transparent); border: 1px solid var(--amber); color: var(--text); }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

/* =========================================================
   7. PRACTITIONERS
   ========================================================= */
.practitioners { padding-top: 90px; padding-bottom: 90px; }
.practitioners__inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center;
  background: linear-gradient(150deg, rgba(0,149,183,0.07), rgba(122,63,209,0.05));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 56px;
}
.practitioners__mark { display: grid; place-items: center; }
.practitioners__mark img {
  width: 100%; max-width: 360px; border-radius: 20px;
  background: #fff; padding: 24px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}
.practitioners__copy p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 12px; }
.practitioners__points { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.practitioners__points li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--muted); }
.practitioners__points li b { color: var(--text); font-weight: 600; }
.practitioners__points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px;
  background: linear-gradient(135deg, var(--teal), var(--leaf));
}

/* =========================================================
   8. CTA
   ========================================================= */
.cta { text-align: center; overflow: hidden; padding-top: 104px; }
.cta__mesh {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 60% at 50% 40%, rgba(0,149,183,0.22), transparent 60%),
    radial-gradient(36% 50% at 75% 60%, rgba(122,63,209,0.18), transparent 60%),
    radial-gradient(30% 40% at 25% 60%, rgba(102,187,21,0.14), transparent 60%);
  filter: blur(10px);
}
.cta__inner { max-width: 720px; margin: 0 auto; }
.cta__logo { width: 76px; height: 76px; margin: 0 auto 26px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 30px 70px rgba(0,149,183,0.4); }
.cta__title { font-size: clamp(36px, 6vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.cta__sub { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; margin: 22px auto 0; max-width: 600px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.cta__accent { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.cta__accent span { width: 54px; height: 4px; border-radius: 4px; }
.cta__accent span:nth-child(1) { background: var(--navy); }
.cta__accent span:nth-child(2) { background: var(--teal); }
.cta__accent span:nth-child(3) { background: var(--leaf); }
.cta__accent span:nth-child(4) { background: var(--purple); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 64px 24px 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 3fr; gap: 56px; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 40px; height: 40px; background: #fff; border-radius: 9px; padding: 3px; }
.footer__brand strong { display: block; font-size: 16px; }
.footer__brand span { font-size: 12px; color: var(--muted); }
.footer__desc { margin-top: 16px; max-width: 320px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.footer__col h4 { font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.footer__col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { max-width: var(--maxw); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  /* Mobile: burger toggles a full vertical menu; groups become tap-to-expand accordions. */
  .nav__burger { display: inline-flex; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #0b1120; border-top: 1px solid var(--line-strong);
    padding: 12px 24px 20px; max-height: 72vh; overflow-y: auto;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__group { position: static; }
  .nav__group > summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; font-size: 15px; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav__panel {
    position: static; transform: none; display: none; min-width: 0;
    background: transparent; border: none; box-shadow: none;
    padding: 4px 0 8px 12px; gap: 0;
  }
  .nav__group[open] > .nav__panel { display: flex; }
  .nav__panel a { padding: 10px 0; }
  .nav__solo { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .eco__features { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card, .why-card--lg { grid-column: span 2; }
  .company-grid .why-card, .company-grid .why-card--lg { grid-column: span 2; }
  .practitioners__inner { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .practitioners__mark img { max-width: 260px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 90px 20px; }
  .problem__split { grid-template-columns: 1fr; }
  .problem__arrow { transform: rotate(90deg); margin: 4px auto; }
  .module-grid { grid-template-columns: 1fr; }
  .report-split { grid-template-columns: 1fr; }
  .eco__flow { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
  .eco__pipe { display: none; }
  .eco__features { grid-template-columns: 1fr; }
  .report-studio { grid-template-columns: 1fr; }
  .rs-blocks { grid-auto-flow: column; overflow-x: auto; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; }
  .ecosystem-layer { grid-template-columns: 1fr; }
  .ecosystem-layer a { white-space: normal; }
}
