/* SIGNAL — precise B2B decision layer */
:root {
  --ink: #0b1020;
  --surface: #121a2e;
  --surface-2: #18233d;
  --surface-3: #1e2b48;
  --line: rgba(46, 230, 166, 0.12);
  --line-strong: rgba(180, 200, 230, 0.14);
  --text: #e8eef8;
  --muted: #93a0b8;
  --teal: #2ee6a6;
  --teal-dim: rgba(46, 230, 166, 0.14);
  --teal-deep: #1bbf88;
  --warn: #e6b84d;
  --danger: #e07a6a;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(46, 230, 166, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 230, 166, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* Type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.55);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(46, 230, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); }
}

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-lede {
  margin-top: 0.9rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 10px;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn--primary {
  background: var(--teal);
  color: #062218;
  box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.25);
}

.btn--primary:hover {
  background: #4af0b6;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(46, 230, 166, 0.18);
}

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

.btn--ghost:hover {
  border-color: rgba(46, 230, 166, 0.35);
  background: rgba(46, 230, 166, 0.05);
}

.btn--block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 16, 32, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-strong);
  background: rgba(11, 16, 32, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1140px, calc(100% - 2.5rem));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand__mark {
  color: var(--teal);
}

.brand__word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 0.5rem 0.95rem !important;
  border-radius: 8px;
  background: var(--teal-dim);
  color: var(--teal) !important;
  border: 1px solid rgba(46, 230, 166, 0.28);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--text);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: var(--ink);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  color: var(--text);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.mobile-menu__nav a {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
}

.mobile-menu__tag {
  margin-top: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.15rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

.lede {
  margin-top: 1.15rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-trust {
  margin-top: 1.35rem;
  font-size: 0.85rem;
  color: rgba(147, 160, 184, 0.85);
}

/* Product panel */
.product-panel {
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(46, 230, 166, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.35);
}

.product-panel__chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--line-strong);
}

.product-panel__chrome .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3a4664;
}

.product-panel__chrome .dot:nth-child(1) { background: #e07a6a; }
.product-panel__chrome .dot:nth-child(2) { background: #e6b84d; }
.product-panel__chrome .dot:nth-child(3) { background: #2ee6a6; }

.product-panel__title {
  margin-left: 0.5rem;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.product-panel__live {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: var(--teal-dim);
  border: 1px solid rgba(46, 230, 166, 0.25);
}

.product-panel__body {
  padding: 0.5rem 0 0;
}

.panel-row {
  display: grid;
  grid-template-columns: 1.6fr 0.55fr 0.85fr 0.45fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(180, 200, 230, 0.08);
  font-size: 0.82rem;
}

.panel-row--head {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 0.65rem;
  padding-bottom: 0.55rem;
}

.panel-row.is-top {
  background: linear-gradient(90deg, rgba(46, 230, 166, 0.1), transparent 70%);
}

.action-cell strong {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 0.15rem;
}

.action-cell span {
  color: var(--muted);
  font-size: 0.75rem;
}

.pill {
  display: inline-flex;
  justify-content: center;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: fit-content;
}

.pill--low {
  color: var(--teal);
  background: var(--teal-dim);
}

.pill--mid {
  color: var(--warn);
  background: rgba(230, 184, 77, 0.12);
}

.pill--high {
  color: var(--danger);
  background: rgba(224, 122, 106, 0.12);
}

.impact {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.panel-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem 1rem;
}

.panel-footer p {
  font-size: 0.75rem;
  color: var(--muted);
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.spark span {
  width: 3px;
  border-radius: 2px;
  background: var(--teal);
  opacity: 0.75;
  animation: bar 1.6s ease-in-out infinite;
}

.spark span:nth-child(1) { height: 35%; animation-delay: 0s; }
.spark span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.spark span:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.spark span:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.spark span:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.spark span:nth-child(6) { height: 95%; animation-delay: 0.5s; }
.spark span:nth-child(7) { height: 50%; animation-delay: 0.6s; }
.spark span:nth-child(8) { height: 70%; animation-delay: 0.7s; }

@keyframes bar {
  0%, 100% { opacity: 0.45; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Outcomes */
.outcomes {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
}

.metrics-grid {
  display: grid;
  gap: 1rem;
}

.metric-card {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.metric-card__value {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--teal);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metric-card__unit {
  margin-top: 0.55rem;
  font-weight: 500;
  font-size: 0.98rem;
}

.metric-card__note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* How */
.how {
  position: relative;
  z-index: 1;
  padding: 2rem 0 5rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.step__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--teal-dim);
  color: var(--teal);
  margin-bottom: 1rem;
}

.step__num {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.step h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.step p {
  color: var(--muted);
  font-size: 0.94rem;
}

.how-visual {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.how-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.how-visual figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line-strong);
}

/* Security */
.security {
  position: relative;
  z-index: 1;
  padding: 2rem 0 5rem;
}

.security-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.trust-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.85rem;
}

.trust-list li {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.trust-list svg {
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 0.1rem;
}

.trust-list strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.trust-list span {
  font-size: 0.85rem;
  color: var(--muted);
}

.trust-panel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.trust-panel img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  opacity: 0.85;
}

.trust-panel__badges {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(11, 16, 32, 0.92) 35%);
}

.trust-panel__badges span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  background: rgba(24, 35, 61, 0.9);
  border: 1px solid var(--line-strong);
}

/* Demo CTA */
.demo {
  position: relative;
  z-index: 1;
  padding: 1rem 0 5rem;
}

.demo-panel {
  display: grid;
  gap: 2rem;
  padding: 1.75rem;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(46, 230, 166, 0.1), transparent 55%),
    var(--surface);
  border: 1px solid var(--line-strong);
}

.demo-perks {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.6rem;
}

.demo-perks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.demo-perks svg {
  color: var(--teal);
  flex-shrink: 0;
}

.demo-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: var(--ink);
  border: 1px solid var(--line-strong);
}

.demo-form label {
  display: grid;
  gap: 0.4rem;
}

.demo-form label span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.demo-form input,
.demo-form select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-form input::placeholder {
  color: rgba(147, 160, 184, 0.55);
}

.demo-form input:focus,
.demo-form select:focus {
  border-color: rgba(46, 230, 166, 0.45);
  box-shadow: 0 0 0 3px rgba(46, 230, 166, 0.12);
}

.demo-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2393a0b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.form-note {
  min-height: 1.2rem;
  font-size: 0.85rem;
  color: var(--teal);
}

.form-note.is-error {
  color: var(--danger);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--line-strong);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand p {
  margin-top: 0.45rem;
  max-width: 20rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.footer-copy {
  font-size: 0.78rem;
  color: rgba(147, 160, 184, 0.55);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 640px) {
  .panel-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "action score"
      "risk impact";
  }

  .panel-row--head {
    display: none;
  }

  .action-cell { grid-area: action; }
  .score { grid-area: score; }
  .pill { grid-area: risk; }
  .impact { grid-area: impact; text-align: right; }
}

@media (min-width: 720px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .demo-panel {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 2rem;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .security-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .live-dot,
  .spark span {
    animation: none;
  }
}
/* ===== SIGNATURE: Ops console ===== */
.hero--console {
  padding-top: calc(var(--header-h) + 2rem);
}
.console-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.term-panel {
  background: #0a0f18;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.term-panel__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: #0e1524;
  border-bottom: 1px solid var(--line);
}
.term-panel__chrome .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3a455c;
}
.term-panel__chrome .dot:nth-child(1) { background: #e07a6a; }
.term-panel__chrome .dot:nth-child(2) { background: #e6b84d; }
.term-panel__chrome .dot:nth-child(3) { background: #2ee6a6; }
.term-panel__title {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.term-panel__body {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text);
  overflow-x: auto;
  white-space: pre;
}
.term-panel .t-cmd { color: var(--teal); }
.term-panel .t-dim { color: var(--muted); }
.term-panel .t-ok { color: var(--teal); }
.term-panel .t-warn { color: var(--warn); }
.term-panel .t-hl { color: #b8f5dc; }
.term-panel .t-cursor {
  animation: blink 1s step-end infinite;
  color: var(--teal);
}
@keyframes blink {
  50% { opacity: 0; }
}
.product-panel--compact .panel-row {
  grid-template-columns: 1fr auto auto;
}
.product-panel--compact .impact { display: none; }

/* Sparkline outcomes */
.outcomes--sparks .metrics-grid { display: none; }
.spark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.spark-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.35rem;
}
.sparkline {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 48px;
  margin-bottom: 1rem;
}
.sparkline i {
  flex: 1;
  display: block;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--teal), rgba(46, 230, 166, 0.25));
  min-height: 4px;
}
.sparkline i:nth-child(1) { height: var(--p1); }
.sparkline i:nth-child(2) { height: var(--p2); }
.sparkline i:nth-child(3) { height: var(--p3); }
.sparkline i:nth-child(4) { height: var(--p4); }
.sparkline i:nth-child(5) { height: var(--p5); }
.sparkline i:nth-child(6) { height: var(--p6); }
.sparkline i:nth-child(7) { height: var(--p7); }
.sparkline--inv i {
  background: linear-gradient(180deg, var(--warn), rgba(230, 184, 77, 0.2));
}
.spark-card__value {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.spark-card__unit {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}
.spark-card__note {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Pipeline with connecting lines */
.how--pipeline .steps,
.how--pipeline .how-visual { display: none; }
.pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.pipe-node {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  position: relative;
  z-index: 1;
}
.pipe-node__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--teal-dim);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}
.pipe-node__num {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.35rem;
}
.pipe-node h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.pipe-node p { color: var(--muted); font-size: 0.95rem; }
.pipe-line {
  width: 2px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--teal), rgba(46, 230, 166, 0.15));
}

/* Security matrix */
.security--matrix {
  padding: 4rem 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.security--matrix .security-grid { display: none; }
.sec-matrix {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
}
.sec-matrix__head,
.sec-matrix__row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.6fr;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  font-size: 0.88rem;
  align-items: center;
}
.sec-matrix__head {
  background: var(--surface-2);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.sec-matrix__row {
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.sec-matrix__row strong { color: var(--text); font-weight: 600; }
.matrix-ok {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--teal-dim);
  color: var(--teal);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Demo split with mini panel */
.demo--split .demo-panel { display: none; }
.demo-split {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 4rem;
  align-items: start;
}
.demo-mini-panel {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
  max-width: 280px;
}
.demo-mini-panel__row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.demo-mini-panel__row:first-child { border-top: 0; }
.demo-mini-panel__row strong { color: var(--text); font-family: var(--display); }
.demo-mini-panel__row .teal { color: var(--teal); }
.demo--split .demo-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
}
.demo--split .demo-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.demo--split .demo-form input,
.demo--split .demo-form select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--text);
}

@media (min-width: 720px) {
  .spark-grid { grid-template-columns: repeat(4, 1fr); }
  .pipeline {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
  .pipe-node { flex: 1; }
  .pipe-line {
    width: 40px;
    height: 2px;
    margin: auto 0;
    background: linear-gradient(90deg, var(--teal), rgba(46, 230, 166, 0.15));
    align-self: center;
  }
  .demo-split { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
}
@media (max-width: 640px) {
  .sec-matrix__head { display: none; }
  .sec-matrix__row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "c s" "d d";
  }
  .sec-matrix__row > :nth-child(1) { grid-area: c; }
  .sec-matrix__row > :nth-child(2) { grid-area: s; }
  .sec-matrix__row > :nth-child(3) { grid-area: d; font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .term-panel .t-cursor { animation: none; }
}
