/* =========================================================
   MuleNet AI — Landing
   Monochrome + muted red. Restrained, technical, high-contrast.
   ========================================================= */

:root {
  --bg: #0A0A0A;
  --bg-elev: #121214;
  --bg-elev-2: #17171a;
  --fg: #EDEDED;
  --fg-dim: #8a8a90;
  --fg-mute: #5a5a62;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  /* Threat palette — driven by Tweaks panel; defaults to teal */
  --c-threat: #14B8A6;
  --c-threat-soft: rgba(20, 184, 166, 0.55);
  --c-threat-glow: rgba(20, 184, 166, 0.35);
  --accent: var(--c-threat);
  --accent-dim: #0e6e65;
  --accent-glow: var(--c-threat-glow);
  /* Type voice — driven by Tweaks panel; defaults to editorial */
  --font-display: "Inter Display", "Inter Tight", "Inter", sans-serif;
  --display-tracking: -0.035em;
  --display-transform: none;
  --display-weight: 500;
  --cta-transform: none;
  --cta-tracking: 0;
}

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

html,
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11", "zero";
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ----------------------- Typography ----------------------- */
.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
  line-height: 0.98;
}

.mono {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, monospace;
  font-feature-settings: "zero", "ss01";
}

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ----------------------- Layout --------------------------- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

/* ----------------------- Nav ------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.8);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: "Inter Display", "Inter", sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}

.wordmark .dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  margin: 0 2px 4px 1px;
  box-shadow: 0 0 10px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav-cta:hover {
  border-color: var(--fg-dim);
  background: rgba(255, 255, 255, 0.04);
}

/* ----------------------- Hero ----------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 60% at 78% 38%, rgba(20, 184, 166, 0.10) 0%, transparent 60%),
    radial-gradient(50% 50% at 22% 70%, rgba(120, 140, 160, 0.06) 0%, transparent 65%);
}

#hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      ellipse at 50% 50%,
      transparent 0%,
      transparent 40%,
      rgba(10, 10, 10, 0.55) 80%,
      rgba(10, 10, 10, 0.92) 100%
    ),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.6) 0%, transparent 20%, transparent 80%, rgba(10, 10, 10, 1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: end;
}

.hero-headline {
  font-size: clamp(44px, 7.8vw, 112px);
  font-weight: 500;
  max-width: 15ch;
  letter-spacing: -0.04em;
}

.hero-headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.22em;
}

.hero-headline .word > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-sub {
  margin-top: 28px;
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--fg-dim);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(16px);
}

.hero-cta-row {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
}

/* ---- Hero peek (stacked Cluster Analysis previews) ---- */
.hero-peek {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 380px;
  height: 420px;
  z-index: 2;
  pointer-events: none;
  transform-origin: center center;
}

.hero-peek-glow {
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(55% 55% at 38% 42%, rgba(20, 184, 166, 0.26), transparent 62%),
    radial-gradient(48% 48% at 72% 68%, rgba(242, 165, 94, 0.14), transparent 60%);
  filter: blur(34px);
  z-index: -1;
}

.hero-peek-stack {
  position: relative;
  width: 340px;
  height: 100%;
  margin-left: auto;
}

.hero-peek-card {
  position: absolute;
  top: 50%;
  left: 0;
  width: 340px;
  background: rgba(13, 13, 16, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 22px 22px 24px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.03) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.8),
    0 20px 40px -15px rgba(20, 184, 166, 0.12);
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

/* Layer ordering and depth */
.hero-peek-card--front {
  z-index: 3;
  transform: translate(0, -50%) rotate(-4deg);
  animation: heroPeekFrontFloat 9s ease-in-out infinite;
}
.hero-peek-card--mid {
  z-index: 2;
  opacity: 0.78;
  filter: blur(1.1px) saturate(0.9);
  transform: translate(22px, calc(-50% - 24px)) rotate(-9deg);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.02) inset,
    0 24px 50px -22px rgba(0, 0, 0, 0.75);
  animation: heroPeekMidFloat 9s ease-in-out infinite;
}
.hero-peek-card--back {
  z-index: 1;
  opacity: 0.55;
  filter: blur(2.6px) saturate(0.8);
  transform: translate(44px, calc(-50% - 48px)) rotate(-13deg);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.02) inset,
    0 18px 40px -22px rgba(0, 0, 0, 0.7);
  animation: heroPeekBackFloat 9s ease-in-out infinite;
}

/* Subtle float so the stack feels alive without cycling content */
@keyframes heroPeekFrontFloat {
  0%, 100% { transform: translate(0, -50%) rotate(-4deg); }
  50%      { transform: translate(0, calc(-50% - 4px)) rotate(-4.4deg); }
}
@keyframes heroPeekMidFloat {
  0%, 100% { transform: translate(22px, calc(-50% - 24px)) rotate(-9deg); }
  50%      { transform: translate(24px, calc(-50% - 28px)) rotate(-9.3deg); }
}
@keyframes heroPeekBackFloat {
  0%, 100% { transform: translate(44px, calc(-50% - 48px)) rotate(-13deg); opacity: 0.55; }
  50%      { transform: translate(46px, calc(-50% - 52px)) rotate(-13.4deg); opacity: 0.6; }
}

/* Inner sizing tweaks shared across stacked cards */
.hero-peek-card .pm-panel-head { margin-bottom: 14px; align-items: flex-start; }
.hero-peek-card .pm-panel-sub { font-size: 10.5px; color: var(--fg-mute); margin-top: 2px; letter-spacing: 0.02em; }
.hero-peek-card .pm-score { padding-bottom: 16px; margin-bottom: 16px; }
.hero-peek-card .pm-score-value { font-size: 48px; }
.hero-peek-card .pm-score-tot { font-size: 20px; }
.hero-peek-card .pm-indicators { margin-bottom: 0; }
.hero-peek-card .pm-ind-list { gap: 8px; }
.hero-peek-card .pm-ind-list li { font-size: 11.5px; }

/* Confidence badge colour variants for the stack */
.hero-peek-card .pm-score-conf--med { color: #e0b46a; }
.hero-peek-card .pm-score-conf--low { color: var(--fg-mute); }

/* Live dot on the front panel's LIVE badge */
.pm-panel-meta--live { display: inline-flex; align-items: center; gap: 6px; }
.pm-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55);
  animation: heroPeekLiveDot 2.2s ease-out infinite;
}
@keyframes heroPeekLiveDot {
  0%   { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

/* Fade the right edge so the stack reads as peeking off-canvas */
.hero-peek::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 90px;
  background: linear-gradient(90deg, transparent, var(--bg) 92%);
  pointer-events: none;
}

@media (max-width: 1200px) {
  .hero-peek { right: -120px; width: 340px; }
}
@media (max-width: 1100px) {
  .hero-peek {
    right: -160px;
    width: 300px;
    transform: translateY(-50%) scale(0.9);
  }
  .hero-peek.visible {
    transform: translateY(-50%) scale(0.9);
  }
}
@media (max-width: 900px) {
  .hero-peek { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-peek-card--front,
  .hero-peek-card--mid,
  .hero-peek-card--back,
  .pm-live-dot { animation: none; }
}

.btn {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 7px;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: var(--cta-tracking, -0.005em);
  text-transform: var(--cta-transform, none);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.35),
    0 8px 24px -8px rgba(20, 184, 166, 0.45);
}

.btn-primary:hover {
  background: #19d1bd;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.5),
    0 10px 30px -6px rgba(20, 184, 166, 0.65);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--fg-dim);
  background: rgba(255, 255, 255, 0.03);
}

.btn .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.hero-meta {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  text-transform: uppercase;
  pointer-events: none;
}

.hero-meta .scroll-cue {
  align-items: center;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.scroll-cue .line {
  width: 40px;
  height: 1px;
  background: var(--fg-mute);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fg);
  transform-origin: left;
  animation: sweep 2.4s ease-in-out infinite;
}

@keyframes sweep {
  0% {
    transform: translateX(-100%);
  }
  60% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ----------------------- Section Shared -------------------- */
.section-pad {
  padding: 160px 0 160px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 96px;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 20ch;
}

.section-head h2 em {
  font-style: normal;
  color: var(--accent);
}

.section-head p {
  color: var(--fg-dim);
  font-size: 17px;
  max-width: 48ch;
  line-height: 1.55;
}

.section-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.15em;
}

/* ----------------------- Problem / Stats ------------------- */
.problem {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(20, 184, 166, 0.035), transparent 60%),
    var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  padding: 56px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.stat-value {
  font-family: "Inter Display", "Inter", sans-serif;
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--fg);
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
  min-width: 0;
}

.stat-value .num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.stat-value .unit {
  font-size: 0.55em;
  color: var(--fg-dim);
  font-weight: 400;
  margin-left: 4px;
}

.stat-value .plus {
  color: var(--accent);
  font-weight: 400;
}

.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 24px;
}

.stat-desc {
  margin-top: 16px;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.5;
  max-width: 28ch;
}

.stat::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat.in-view::after {
  width: 100%;
}

/* ----------------------- Solution ------------------------- */
.solution {
  padding-top: 160px;
  padding-bottom: 160px;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.feature {
  background: var(--bg);
  padding: 40px 32px;
  position: relative;
  transition: background 0.3s ease;
  cursor: default;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.feature:hover {
  background: var(--bg-elev);
}

.feature-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.15em;
  margin-bottom: 28px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: var(--fg);
  position: relative;
}

.feature h3 {
  font-family: "Inter Display", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.feature p {
  font-size: 14.5px;
  color: var(--fg-dim);
  line-height: 1.55;
  flex: 1;
}

.feature-tag {
  margin-top: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-tag .bar {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.feature.highlight .feature-tag {
  color: var(--accent);
}

/* ----------------------- CTA ------------------------------ */
.cta {
  padding: 160px 0 140px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 50% 100%, rgba(20, 184, 166, 0.08), transparent 65%);
}

.cta-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cta p {
  margin-top: 24px;
  color: var(--fg-dim);
  font-size: 17px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  margin-top: 44px;
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--fg);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.cta-form input::placeholder {
  color: var(--fg-mute);
}

.cta-form button {
  white-space: nowrap;
}

.cta-success {
  margin-top: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}

.cta-success.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-meta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.cta-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--fg-mute);
  border-radius: 50%;
}

/* ----------------------- Footer --------------------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

footer .left {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--fg-mute);
  font-size: 13px;
}

footer .left span {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

footer .right {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

footer a {
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--fg);
}

/* ----------------------- Reveal helpers ------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

/* ----------------------- Why Now -------------------------- */
.why-now {
  border-bottom: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.why-card {
  background: var(--bg);
  padding: 40px 32px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}

.why-card:hover {
  background: var(--bg-elev);
}

.why-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.why-card h3 {
  font-family: "Inter Display", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.why-card p {
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ----------------------- Team ----------------------------- */
.team {
  border-top: 1px solid var(--line);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.team-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 32px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px 200px at 50% 0%,
    rgba(20, 184, 166, 0.08),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.team-card:hover::before {
  opacity: 1;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-mute);
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  margin-bottom: 24px;
}

.team-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.team-name {
  font-family: "Inter Display", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 14px;
}

.team-bio {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.55;
}

.security-note {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-elev);
  align-items: center;
}

.security-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.security-note p {
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 72ch;
}

@media (max-width: 960px) {
  .why-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .security-note {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ----------------------- Responsive ----------------------- */
@media (max-width: 960px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .section-pad,
  .solution,
  .cta {
    padding: 100px 0;
  }
  .hero-meta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   New sections — Prose, How flow, Why stats (quiet), Credentials, Contact form
   ========================================================= */

/* Prose (Problem section rewrite) */
.prose {
  max-width: 780px;
  margin: 56px 0 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.prose p {
  color: var(--fg);
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}
.prose .prose-close {
  font-family: "Inter Display", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

/* How it works — 4 step flow */
.how-flow {
  list-style: none;
  padding: 0;
  margin: 72px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.how-flow::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
  z-index: 0;
}
.how-step {
  position: relative;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.how-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  background: var(--bg);
  padding: 8px 10px 8px 0;
  width: max-content;
  position: relative;
  z-index: 1;
}
.how-label {
  font-family: "Inter Display", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-top: 2px;
}
.how-step p {
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Why it matters — quiet stats (static, no boxes) */
.stats-quiet {
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 40px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.stats-quiet .stat {
  padding: 0;
  background: none;
  border: none;
}
.stats-quiet .stat .stat-value {
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}
.stats-quiet .stat .stat-value .unit {
  font-size: 0.55em;
  color: var(--fg-dim);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-left: 2px;
}
.stats-quiet .stat .stat-value .plus {
  color: var(--accent);
  font-weight: 400;
  margin-left: 2px;
}
.stats-quiet .stat .stat-label {
  margin-top: 16px;
  color: var(--fg-dim);
  font-size: 13px;
  line-height: 1.45;
  max-width: 240px;
  text-transform: none;
  letter-spacing: 0;
}
.sources {
  margin-top: 48px;
  color: var(--fg-mute);
  font-size: 12px;
  letter-spacing: 0.01em;
  font-style: italic;
  max-width: 820px;
}

/* Innovation credentials */
.credential-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
  max-width: 720px;
}
.cred-badge {
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cred-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cred-title {
  font-family: "Inter Display", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.cred-status {
  color: var(--fg-dim);
  font-size: 13.5px;
  margin-top: 2px;
}

/* Contact form */
.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  text-align: left;
}
.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form .field > span {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.contact-form .field > span em {
  font-style: normal;
  color: var(--fg-mute);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  margin-left: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--fg);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(20, 184, 166, 0.04);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--fg-mute);
}
.contact-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .how-flow {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .how-flow::before { display: none; }
  .stats-quiet {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .credential-badges { grid-template-columns: 1fr; }
  .contact-form .row-2 { grid-template-columns: 1fr; }
  .prose p { font-size: 16.5px; }
}

/* =========================================================
   Product mockup — compliance dashboard
   ========================================================= */
.product-mock {
  position: relative;
  margin: 0 0 96px;
  perspective: 2000px;
}

.pm-shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -28px;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(20,184,166,0.18), rgba(0,0,0,0.4) 40%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

.pm-browser {
  position: relative;
  z-index: 1;
  background: #0d0d10;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.04) inset,
    0 40px 80px -20px rgba(0,0,0,0.6),
    0 20px 40px -20px rgba(0,0,0,0.4);
}

/* ---- Chrome ---- */
.pm-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: linear-gradient(to bottom, #161619, #101012);
  border-bottom: 1px solid var(--line);
}

.pm-dots {
  display: flex;
  gap: 7px;
}
.pm-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a2a2d;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.5) inset;
}
.pm-dot-r { background: #ff5f57; }
.pm-dot-y { background: #febc2e; }
.pm-dot-g { background: #28c840; }

.pm-url {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #0a0a0c;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fg-dim);
  min-width: 340px;
  max-width: 480px;
  justify-content: center;
}
.pm-url svg { color: var(--fg-mute); flex-shrink: 0; }

.pm-chrome-right { justify-self: end; }

.pm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(20,184,166,0.1);
  border: 1px solid rgba(20,184,166,0.28);
  border-radius: 999px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pm-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pmPulse 1.6s ease-in-out infinite;
}
@keyframes pmPulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---- Body ---- */
.pm-body {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  min-height: 520px;
}

.pm-panel {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}

.pm-panel-left { border-right: 1px solid var(--line); background: #0b0b0e; }
.pm-panel-center { background: #0d0d10; }
.pm-panel-right { border-left: 1px solid var(--line); background: #0b0b0e; }

.pm-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.pm-panel-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.pm-panel-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.pm-panel-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Alert queue ---- */
.pm-alerts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 -6px;
}
.pm-alert {
  padding: 12px 12px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.pm-alert:hover { background: rgba(255,255,255,0.035); transform: translateX(2px); }
.pm-alert-selected {
  background: rgba(20,184,166,0.07);
  border-color: rgba(20,184,166,0.3);
}
.pm-alert-selected::before {
  content: "";
  position: absolute;
}
.pm-alert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pm-alert-id {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.pm-alert-selected .pm-alert-id { color: var(--accent); }

.pm-badge {
  padding: 2px 7px;
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.pm-badge-high {
  background: rgba(234, 142, 51, 0.14);
  color: #f2a55e;
  border: 1px solid rgba(234, 142, 51, 0.3);
}
.pm-badge-med {
  background: rgba(221, 180, 80, 0.12);
  color: #e2c274;
  border: 1px solid rgba(221, 180, 80, 0.25);
}
.pm-badge-low {
  background: rgba(255,255,255,0.04);
  color: var(--fg-dim);
  border: 1px solid var(--line);
}

.pm-alert-desc {
  font-size: 12.5px;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.pm-alert-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}
.pm-dot-mini {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ---- Network viz ---- */
.pm-legend {
  display: flex;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pm-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pm-lg {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.pm-lg-normal { background: #d4d4d8; }
.pm-lg-mule { background: #f2a55e; box-shadow: 0 0 6px rgba(234,142,51,0.6); }
.pm-lg-pred {
  background: transparent;
  border: 1.2px dashed #f2a55e;
}

.pm-graph {
  flex: 1;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(20,184,166,0.04), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 -4px;
  overflow: hidden;
}
#pm-graph-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pm-graph-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 0 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.pm-graph-stats b { color: var(--fg); font-weight: 500; }
.pm-graph-stats .sep {
  width: 3px; height: 3px; border-radius: 50%; background: var(--fg-mute);
}
.pm-graph-stat-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}
.pm-graph-stat-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  animation: pmPulse 1.6s ease-in-out infinite;
}

/* ---- Cluster analysis ---- */
.pm-score {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.pm-score-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pm-score-value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  color: #f2a55e;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.pm-score-tot {
  font-size: 22px;
  color: var(--fg-mute);
  letter-spacing: 0;
}
.pm-score-conf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: #f2a55e;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.pm-score-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.pm-score-bar-fill {
  height: 100%;
  width: 94%;
  background: linear-gradient(90deg, var(--accent), #f2a55e);
}

.pm-indicators { margin-bottom: 24px; }
.pm-ind-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pm-ind-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pm-ind-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--fg);
  line-height: 1.45;
  letter-spacing: -0.003em;
}
.pm-ind-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(20,184,166,0.08);
  border: 1px solid rgba(20,184,166,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 1px;
}

.pm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.pm-btn-primary {
  background: var(--accent);
  color: #06211d;
}
.pm-btn-primary:hover { background: #1ed2bd; }
.pm-btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.pm-btn-ghost:hover { background: rgba(255,255,255,0.04); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .pm-body {
    grid-template-columns: 240px 1fr 260px;
    min-height: 460px;
  }
  .pm-url { min-width: 240px; font-size: 10.5px; }
  .pm-score-value { font-size: 44px; }
}
@media (max-width: 900px) {
  .pm-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pm-panel-left { border-right: none; border-bottom: 1px solid var(--line); }
  .pm-panel-right { border-left: none; border-top: 1px solid var(--line); }
  .pm-url { display: none; }
  .pm-chrome { grid-template-columns: auto 1fr; }
  .pm-graph { height: 340px; }
  .pm-legend { flex-wrap: wrap; gap: 8px; }
}


/* ============================================================
   ATTACK TIMELINE  (Why it matters)
   ============================================================ */
:root {
  --c-mule: #f2a55e;        /* amber, used for "threat" iconography */
  --c-mule-soft: rgba(242, 165, 94, 0.45);
  --c-mule-glow: rgba(242, 165, 94, 0.28);
}

/* ============================================================
   WHY IT MATTERS — stat cards (Option B)
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat-line-item {
  padding: 40px 44px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat-card-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.stat-line-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}
.stat-line-num .plus { color: var(--accent); font-weight: 400; }
.stat-line-num .unit {
  color: var(--fg-dim);
  font-weight: 400;
  font-size: 0.5em;
  margin-left: 2px;
  letter-spacing: -0.01em;
}
.stat-line-num .lt {
  color: var(--fg-mute);
  font-weight: 400;
  font-size: 0.7em;
  margin-right: 4px;
}
.stat-line-num .num { display: inline-block; }

.stat-card-lead {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.stat-card-body {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 44ch;
}
.stat-card-source {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  margin-top: auto;
  padding-top: 10px;
}

/* accent card — the <60 min card */
.stat-card--accent .stat-line-num .num { color: var(--accent); }
.stat-card--accent::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  opacity: 0.75;
}

/* --- inline stat visualisations --- */
.stat-viz { margin: 6px 0 4px; display: flex; flex-direction: column; gap: 10px; }

.stat-viz-bar .stat-viz-row {
  display: grid;
  grid-template-columns: 1fr 90px auto;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
}
.stat-viz-bar .stat-viz-label { text-transform: uppercase; }
.stat-viz-bar .stat-viz-track {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}
.stat-viz-bar .stat-viz-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent);
  opacity: 0.5;
  border-radius: 3px;
}
.stat-viz-bar .stat-viz-fill--threat {
  background: var(--c-mule);
  opacity: 0.85;
  box-shadow: 0 0 10px rgba(242, 165, 94, 0.25);
}
.stat-viz-bar .stat-viz-row--muted .stat-viz-label,
.stat-viz-bar .stat-viz-row--muted .stat-viz-val { color: var(--fg-dim); }
.stat-viz-bar .stat-viz-val { color: var(--fg); font-weight: 500; text-align: right; }
.stat-viz-bar .stat-viz-row--muted .stat-viz-val { color: var(--fg-mute); font-weight: 400; }

/* segmented bar for 38% card */
.stat-viz-segs {
  display: flex;
  height: 10px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.stat-viz-segs .seg { display: block; }
.stat-viz-segs .seg-a { background: var(--c-mule); box-shadow: inset 0 0 8px rgba(242,165,94,0.5); }
.stat-viz-segs .seg-b { background: rgba(255, 255, 255, 0.12); }
.stat-viz-legend {
  display: flex;
  gap: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  margin-top: 6px;
}
.stat-viz-legend .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 6px;
}
.stat-viz-legend .dot-a { background: var(--c-mule); }
.stat-viz-legend .dot-b { background: rgba(255,255,255,0.3); }

/* ============================================================
   RECOGNISED NEED (quote pulls)
   ============================================================ */
.recognised {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: 0;
}
.quote {
  margin: 0;
  padding: 40px 36px 32px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote:last-child { border-right: none; }

.quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.55;
  letter-spacing: -0.05em;
  height: 28px;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--fg);
  font-weight: 400;
  flex: 1;
  text-wrap: pretty;
}

.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.quote-source {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.quote-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   WHAT R38 IS NOT
   ============================================================ */
.not-list {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.not-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-dim);
}
.not-item:nth-child(2n) { border-right: none; }
.not-item:nth-last-child(-n+2) { border-bottom: none; }
.not-item strong {
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.not-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.08);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border: 1px solid rgba(20, 184, 166, 0.25);
}

/* ============================================================
   CREDENTIALS — third badge + caption
   ============================================================ */
.cred-badge-prep {
  opacity: 0.7;
  border-style: dashed !important;
}
.cred-badge-prep .cred-tag { color: var(--fg-mute); }
.cred-caption {
  margin-top: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  text-align: center;
}

/* ============================================================
   FOOTER (full)
   ============================================================ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 80px 0 36px;
  margin-top: 0;
}
footer .container {
  display: block; /* override .left/.right grid above */
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .wordmark {
  font-size: 22px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 18px;
}
.footer-tag {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.55;
  max-width: 38ch;
  margin: 0;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--fg-mute);
  gap: 24px;
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  opacity: 0.85;
}
.footer-bottom-right a {
  color: var(--fg-dim);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.footer-bottom-right a:hover { color: var(--fg); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(13, 13, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.back-to-top svg {
  flex-shrink: 0;
  color: currentColor;
}

/* ============================================================
   RESPONSIVE — new sections
   ============================================================ */
@media (max-width: 980px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-line-item { padding: 32px 28px 36px; }
  .stat-viz-bar .stat-viz-row { grid-template-columns: 1fr 70px auto; }

  .quotes { grid-template-columns: 1fr; }
  .quote { border-right: none; border-bottom: 1px solid var(--line); }
  .quote:last-child { border-bottom: none; }

  .not-list { grid-template-columns: 1fr; }
  .not-item { border-right: none !important; }
  .not-item:nth-last-child(2) { border-bottom: 1px solid var(--line) !important; }

  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .footer-nav { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .back-to-top span { display: none; }
}
