:root {
  --navy: #071525;
  --midnight: #0d1b2a;
  --panel: #0f2236;
  --green: #22c55e;
  --emerald: #10b981;
  --cyan: #38bdf8;
  --white: #ffffff;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --neutral: #cbd5e1;
  --warn: #f97316;
  --danger: #ef4444;
  --line: rgba(148, 163, 184, 0.16);
  --glass: rgba(13, 27, 42, 0.72);
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --header: 76px;
  --max: 1180px;
  --font-display: "Plus Jakarta Sans", "Manrope", sans-serif;
  --font-body: "Inter", "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 1;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

img, svg {
  max-width: 100%;
  display: block;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--green);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08), transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--white);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0 0 18px;
  font-weight: 800;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
}

h2 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.grad-text {
  background: linear-gradient(90deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(34, 197, 94, 0.06);
}

.badge-warn {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.2);
}

.section-head {
  margin-bottom: 48px;
}

.section-lead {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.demo-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.num {
  margin: 0 0 10px;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: #052e16;
  background: linear-gradient(180deg, #4ade80, var(--green) 42%, var(--emerald));
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(34, 197, 94, 0.32);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 24px;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.logo-path {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: draw 1.6s ease forwards;
}

.logo-tip {
  animation: pulse 2.8s ease-in-out infinite;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-tag {
  font-size: 0.68rem;
  color: var(--muted);
}

.nav-desktop {
  display: flex;
  gap: 22px;
}

.nav-desktop a {
  position: relative;
  font-size: 0.92rem;
  color: var(--neutral);
  padding: 8px 0;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  width: 100%;
}

.header-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px 24px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-mobile a {
  padding: 12px 4px;
  color: var(--white);
}

.nav-mobile.is-open {
  display: flex;
}

.site-header:has(.nav-mobile.is-open) {
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  padding: 48px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 500px at 80% 10%, rgba(56, 189, 248, 0.06), transparent 50%),
    radial-gradient(800px 500px at 10% 90%, rgba(34, 197, 94, 0.08), transparent 45%),
    var(--navy);
}

.hero-graph {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.graph-line {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: draw 3.2s ease forwards;
}

.graph-nodes circle {
  fill: var(--green);
  opacity: 0;
  animation: fade 0.8s ease forwards;
}

.graph-nodes circle:nth-child(1) { animation-delay: 0.8s; }
.graph-nodes circle:nth-child(2) { animation-delay: 1.1s; }
.graph-nodes circle:nth-child(3) { animation-delay: 1.4s; }
.graph-nodes circle:nth-child(4) { animation-delay: 1.7s; }
.graph-nodes circle:nth-child(5) { animation-delay: 2s; }
.graph-nodes circle:nth-child(6) { animation-delay: 2.3s; }

.micro-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.18) 1px, transparent 1.4px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 70%);
}

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

.lede {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-line {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

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

.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.orbit-lines line {
  stroke: rgba(56, 189, 248, 0.35);
  stroke-width: 1;
}

.orbit-label {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 21, 37, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral);
  animation: float 5s ease-in-out infinite;
}

.dash-panel {
  position: relative;
  z-index: 1;
  margin: 48px auto 0;
  width: min(100%, 420px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(13,27,42,0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.dash-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 0.75rem;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: ping 1.8s infinite;
}

.dash-metric {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dash-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.dash-value {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.05em;
}

.spark {
  width: 120px;
  height: 48px;
}

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

.dash-kpis {
  display: grid;
  gap: 14px;
}

.dash-stat {
  margin: 4px 0 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.momentum {
  position: relative;
  display: grid;
  place-items: center;
  width: 140px;
}

.ring {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.ring-bg, .ring-fg {
  fill: none;
  stroke-width: 6;
}

.ring-bg {
  stroke: rgba(148, 163, 184, 0.18);
}

.ring-fg {
  stroke: var(--green);
  stroke-dasharray: 201;
  stroke-dashoffset: 26;
  stroke-linecap: round;
}

.ring-copy {
  position: absolute;
  text-align: center;
}

.ring-copy strong {
  display: block;
  font-size: 1.4rem;
}

.ring-copy span {
  display: block;
  max-width: 80px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-foot {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.trust {
  padding: 28px 0 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-title,
.trust-sub {
  text-align: center;
  color: var(--muted);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 42px;
  list-style: none;
  padding: 18px 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(229, 231, 235, 0.42);
}

.problems, .philosophy, .services, .audit, .framework, .results, .cases, .insights, .why, .about, .testimonials, .score, .faq, .contact {
  padding: 96px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.problem-card,
.service-card,
.why-card,
.case-card,
.quote,
.stat,
.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 34, 54, 0.7), rgba(7, 21, 37, 0.5));
}

.problem-card .warn-dot {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.12);
}

.compound-wrap {
  position: relative;
}

.compound-circles {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 28px;
}

.compound-circles span {
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.28), rgba(34, 197, 94, 0.04));
}

.compound-circles span:nth-child(1) { width: 18px; height: 18px; }
.compound-circles span:nth-child(2) { width: 32px; height: 32px; }
.compound-circles span:nth-child(3) { width: 52px; height: 52px; }
.compound-circles span:nth-child(4) { width: 84px; height: 84px; background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.2), rgba(34, 197, 94, 0.08)); }

.compound-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.compound-steps li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 27, 42, 0.6);
}

.compound-steps strong {
  display: block;
  font-size: 1.8rem;
  color: var(--white);
}

.compound-end {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(13, 27, 42, 0.6));
  border-color: rgba(34, 197, 94, 0.35);
}

.compound-curve {
  width: 100%;
  height: auto;
}

.compound-nodes circle {
  fill: var(--green);
}

.draw-path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}

.in-view .draw-path {
  animation: draw 2.4s ease forwards;
}

.philosophy-chain {
  margin-top: 18px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transition: width 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 197, 94, 0.35);
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--green);
  transition: transform 0.3s ease;
}

.service-card .icon svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .icon {
  transform: rotate(8deg);
}

.card-arrow {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  transition: transform 0.25s ease;
}

.service-card:hover .card-arrow {
  transform: translateX(6px);
}

.audit {
  background: var(--midnight);
}

.audit-grid,
.about-grid,
.score-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.audit-diagram {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.scan-ring {
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(56, 189, 248, 0.25);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.audit-center {
  position: absolute;
  inset: 38%;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18), var(--navy) 70%);
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-family: var(--font-display);
  font-weight: 800;
  z-index: 2;
}

.audit-spokes {
  position: absolute;
  inset: 0;
  opacity: 0.45;
}

.audit-spokes line {
  stroke: rgba(148, 163, 184, 0.4);
}

.audit-node {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 21, 37, 0.9);
  color: var(--white);
  cursor: pointer;
}

.audit-node:hover,
.audit-node:focus-visible {
  border-color: var(--green);
}

.node-tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  width: 180px;
  transform: translateX(-50%);
  padding: 10px;
  border-radius: 12px;
  background: #071525;
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--muted);
  font-size: 0.75rem;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.node-tip strong {
  display: block;
  color: var(--green);
  margin-bottom: 4px;
}

.audit-node:hover .node-tip,
.audit-node:focus-visible .node-tip {
  opacity: 1;
}

.n1 { left: 50%; top: 2%; transform: translateX(-50%); }
.n2 { right: 2%; top: 18%; }
.n3 { right: 0; top: 58%; }
.n4 { left: 50%; bottom: 2%; transform: translateX(-50%); }
.n5 { left: 0; top: 62%; }
.n6 { left: 2%; top: 18%; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.engine-line {
  position: absolute;
  left: 0;
  right: 0;
  top: -28px;
  width: 100%;
  overflow: visible;
}

.flow-line {
  stroke: var(--green);
  stroke-width: 2;
  stroke-dasharray: 12 10;
  animation: dash 8s linear infinite;
}

.engine-line circle {
  fill: var(--green);
}

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

.stat-num {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--white);
}

.case-grid,
.quote-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-card h3 {
  font-size: 1.8rem;
}

.case-card dl {
  margin: 0;
}

.case-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-card dd {
  margin: 4px 0 16px;
}

.case-card .result {
  color: var(--green);
  font-weight: 700;
}

.intel-map {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(15, 34, 54, 0.8), rgba(7, 21, 37, 0.9));
  overflow: hidden;
}

.intel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intel-links line {
  stroke: rgba(56, 189, 248, 0.28);
}

.intel-core {
  fill: rgba(34, 197, 94, 0.12);
  stroke: var(--green);
}

.intel-node {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 21, 37, 0.88);
  color: var(--white);
  cursor: pointer;
}

.intel-node:hover,
.intel-node.is-active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.08);
}

.c-core { left: 50%; top: 50%; transform: translate(-50%, -50%); background: #071525; }
.c1 { left: 10%; top: 12%; }
.c2 { right: 10%; top: 12%; }
.c3 { left: 4%; top: 52%; }
.c4 { right: 4%; top: 52%; }
.c5 { left: 18%; bottom: 10%; }
.c6 { right: 14%; bottom: 10%; }

.intel-panel {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 340px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(7, 21, 37, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.intel-kicker {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ecosystem {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.ecosystem svg {
  width: 100%;
  height: 100%;
}

.eco-orbit {
  stroke-dasharray: 940;
  animation: dash 16s linear infinite;
}

.eco-node {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 21, 37, 0.92);
  font-size: 0.78rem;
}

.e1 { left: 50%; top: 4%; transform: translateX(-50%); }
.e2 { right: 4%; top: 22%; }
.e3 { right: 0; top: 52%; }
.e4 { right: 18%; bottom: 8%; }
.e5 { left: 18%; bottom: 8%; }
.e6 { left: 0; top: 52%; }
.e7 { left: 4%; top: 22%; }

.brand-line {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.quote p {
  font-size: 1.08rem;
  color: var(--white);
}

.quote footer {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 0.9rem;
}

.score-panel {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 27, 42, 0.7);
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.bar-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--emerald));
  transition: width 1.2s ease;
}

.overall {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.overall-num {
  margin: 0;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.overall-num small {
  font-size: 1.1rem;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 27, 42, 0.65);
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.final-cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.final-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-bg svg {
  width: 100%;
  height: 100%;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta .section-lead {
  margin-inline: auto;
}

.contact-form,
.side-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 27, 42, 0.72);
}

.side-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
}

.side-tag {
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--white);
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
}

.socials a:hover {
  color: var(--green);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label,
.newsletter h3 {
  display: block;
  margin: 0 0 14px;
  color: var(--neutral);
  font-size: 0.88rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter input {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 21, 37, 0.8);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.newsletter input:focus {
  border-color: var(--green);
}

.form-status {
  min-height: 1.2em;
  color: var(--green);
  font-size: 0.9rem;
}

.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: #050f1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 0.8fr) 1.2fr;
  gap: 28px;
}

.footer-brand p,
.site-footer nav a,
.legal-btn {
  color: var(--muted);
}

.site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-btn {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.site-footer a:hover,
.legal-btn:hover {
  color: var(--white);
}

.news-row {
  display: flex;
  gap: 8px;
}

.news-row button {
  width: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #052e16;
  font-size: 1.2rem;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: min(640px, 100%);
  max-height: 80vh;
  overflow: auto;
  padding: 28px;
  border-radius: 20px;
  background: var(--midnight);
  border: 1px solid var(--line);
}

.modal-close {
  float: right;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

.reveal.is-visible {
  animation: rise 0.8s ease forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes fade {
  to { opacity: 1; }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  50% { transform: translateY(-6px); }
}

@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes pulse {
  50% { opacity: 0.55; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes dash {
  to { stroke-dashoffset: -220; }
}

@media (max-width: 1100px) {
  .problem-grid,
  .stat-grid,
  .steps,
  .compound-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid,
  .case-grid,
  .quote-grid,
  .why-grid,
  .footer-grid,
  .hero-grid,
  .audit-grid,
  .about-grid,
  .score-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .engine-line {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid,
  .audit-grid,
  .about-grid,
  .score-grid,
  .contact-grid,
  .service-grid,
  .case-grid,
  .quote-grid,
  .why-grid,
  .problem-grid,
  .stat-grid,
  .steps,
  .compound-steps,
  .form-row,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .orbit-label,
  .orbit-lines {
    display: none;
  }

  .hero-visual {
    min-height: 0;
  }

  .dash-panel {
    margin-top: 8px;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .intel-map {
    min-height: 640px;
  }

  .c1, .c2, .c3, .c4, .c5, .c6 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: block;
    margin: 10px auto;
    width: min(220px, 80%);
  }

  .c-core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 18px auto 8px;
    display: block;
  }

  .intel-svg {
    display: none;
  }

  .intel-panel {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 16px;
    max-width: none;
  }

  .audit-diagram {
    margin-top: 24px;
    width: 100%;
    aspect-ratio: auto;
    display: grid;
    gap: 10px;
  }

  .audit-center,
  .audit-node {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    border-radius: 16px;
    min-height: 56px;
  }

  .audit-center {
    inset: auto;
    padding: 18px;
  }

  .audit-spokes,
  .scan-ring {
    display: none;
  }

  .node-tip {
    position: static;
    transform: none;
    width: auto;
    margin-top: 8px;
    opacity: 1;
  }

  .ecosystem {
    display: grid;
    gap: 10px;
    aspect-ratio: auto;
    width: 100%;
  }

  .ecosystem svg {
    display: none;
  }

  .eco-node {
    position: static;
    transform: none;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .graph-nodes circle,
  .logo-path {
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }

  .cursor-glow {
    display: none;
  }
}
