/* ============================================
   TriVault — Linq-inspired calm product site
   ============================================ */

:root {
  --bg: #000000;
  --bg-elevated: #070707;
  --surface: #0c0c0c;
  --surface-2: #121212;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --accent: #f2f2f2;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --signal: #6ee7b7;
  --signal-soft: rgba(110, 231, 183, 0.12);
  --danger: #fb7185;
  --danger-soft: rgba(251, 113, 133, 0.12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);
  --med: #38bdf8;
  --med-soft: rgba(56, 189, 248, 0.12);
  --text: #f5f5f5;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --nav-h: 64px;
  --radius: 12px;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

a { color: var(--text); text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.75; }

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  max-width: 16ch;
}
.section-title.wide { max-width: 22ch; }

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

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

.section {
  padding: 5.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.section-alt { background: var(--bg-elevated); }

.container { max-width: 1120px; margin: 0 auto; }
.container.narrow { max-width: 640px; }

/* legacy aliases for about/contact */
.section-dark { background: var(--bg); }
.section-surface { background: var(--bg-elevated); }
.section-header { max-width: 640px; margin-bottom: 2.5rem; }
:root {
  --bg-primary: var(--bg);
  --bg-surface: var(--surface);
  --bg-elevated: var(--surface-2);
  --accent-primary: var(--signal);
  --accent-primary-hover: #86efc4;
  --accent-danger: var(--danger);
  --text-primary: var(--text);
  --border-color: var(--border);
  --font-heading: var(--font-sans);
  --font-body: var(--font-sans);
  --border-width: 1px;
  --shadow-brutal: none;
  --shadow-brutal-sm: none;
  --shadow-brutal-lg: none;
  --shadow-brutal-xl: none;
}

/* ============ NAV ============ */

.navbar {
  position: fixed; inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.navbar-inner {
  max-width: 1120px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.navbar-logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.navbar-logo:hover { opacity: 1; }

.logo-mark, .logo-dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--signal);
  display: inline-block;
}

.navbar-links { list-style: none; display: flex; align-items: center; gap: 0.25rem; }

.navbar-links a:not(.btn) {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
}
.navbar-links a:not(.btn):hover {
  color: var(--text);
  opacity: 1;
  background: rgba(255,255,255,0.04);
}

.btn-nav { margin-left: 0.5rem; }

.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--text);
}

@media (max-width: 768px) {
  .navbar-links {
    display: none; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: #000;
    border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 0.75rem;
  }
  .navbar-links.open { display: flex; }
  .navbar-links a:not(.btn) { width: 100%; padding: 0.85rem; }
  .btn-nav { margin: 0.5rem 0 0; width: 100%; justify-content: center; }
  .mobile-toggle { display: flex; }
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  text-decoration: none;
  color: var(--text);
  background: transparent;
}
.btn:hover { opacity: 1; }

.btn-primary {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}
.btn-primary:hover { background: #e8e8e8; color: #0a0a0a; }

.btn-ghost, .btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-secondary);
}
.btn-ghost:hover, .btn-secondary:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
}

.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 0.95rem; }
.btn.loading { opacity: 0.7; pointer-events: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 1rem;
}
.text-link:hover { opacity: 0.7; }

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 1.5rem 3.5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.hero-stage {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.7fr);
  gap: 2.5rem 3rem;
  align-items: end;
}

.hero-primary { max-width: 640px; }

.hero-brand {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 44ch;
  margin-bottom: 1.1rem;
  line-height: 1.65;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0 0 1.6rem;
}

.hero-points li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(110, 231, 183, 0.22);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
}

.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.hero-edr {
  position: relative;
  padding: 1.35rem 0 1.35rem 1.5rem;
  border-left: 1px solid var(--border);
  max-width: 28ch;
}

.hero-edr-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.hero-edr-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.55rem;
  line-height: 1.3;
}

.hero-edr-copy {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-edr .text-link {
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero-edr {
    padding: 1.25rem 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
    max-width: none;
  }
}

/* ============ WORKSPACE ============ */

.workspace {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.workspace-chrome {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.6rem 0.9rem;
  background: #080808;
  border-bottom: 1px solid var(--border);
}

.workspace-dots { display: flex; gap: 6px; }
.workspace-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.workspace-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  flex: 1;
}

.workspace-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--signal);
  display: inline-flex; align-items: center; gap: 0.35rem;
}

.workspace-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.workspace-body {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  min-height: 460px;
}

.editor {
  display: grid;
  grid-template-columns: 42px 148px 1fr;
  border-right: 1px solid var(--border);
  background: #050505;
  min-height: 460px;
}

.editor-rail {
  background: #030303;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.85rem; padding-top: 0.85rem;
}
.rail-icon {
  width: 16px; height: 16px; border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.rail-icon.active { background: rgba(110, 231, 183, 0.45); }

.editor-sidebar {
  background: #070707;
  border-right: 1px solid var(--border);
  padding: 0.65rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  overflow-y: auto;
  min-width: 0;
}

.sidebar-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.15rem 0.35rem 0.6rem;
}

.tree-row {
  padding: 0.22rem 0.35rem;
  border-radius: 4px;
  cursor: default;
  transition: background 0.2s, color 0.2s;
}
.tree-row.indent { padding-left: 0.85rem; }
.tree-row.indent2 { padding-left: 1.35rem; }
.tree-row.indent3 { padding-left: 1.85rem; }
.tree-row.folder {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.28rem;
}
.tree-row.folder::before {
  content: "▾";
  flex-shrink: 0;
  width: 0.7em;
  font-size: 0.62rem;
  line-height: 1;
  color: var(--text-muted);
  opacity: 0.85;
}
.tree-row.folder.collapsed::before {
  content: "▸";
}
.tree-row.active {
  background: rgba(110, 231, 183, 0.1);
  color: var(--signal);
}
.tree-row.flash {
  background: rgba(251, 113, 133, 0.12);
  color: var(--danger);
}

.editor-main { display: flex; flex-direction: column; min-width: 0; }

.editor-tabs {
  display: flex;
  background: #030303;
  border-bottom: 1px solid var(--border);
}
.editor-tab {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.5rem 0.9rem;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
}
.editor-tab.active {
  background: #050505;
  color: var(--text-secondary);
  box-shadow: inset 0 -1px 0 var(--signal);
}

.editor-code {
  flex: 1;
  padding: 0.55rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  overflow: hidden;
}

.code-row {
  display: flex;
  position: relative;
  padding-right: 0.75rem;
  transition: background 0.35s;
}
.code-row .ln {
  width: 2.5rem;
  text-align: right;
  padding-right: 0.9rem;
  color: var(--text-muted);
  opacity: 0.5;
  flex-shrink: 0;
}
.code-row .tx { color: #c8c8c8; white-space: pre; }
.code-row .tx .k { color: #9ca3af; }
.code-row .tx .s { color: #a7f3d0; }
.code-row .tx .f { color: #d4d4d8; }
.code-row .tx .c { color: #525252; }
.code-row .tx .n { color: #fcd34d; }

.code-row.finding {
  background: var(--danger-soft);
}
.code-row.finding.high-find { background: var(--warn-soft); }
.code-row.finding.med-find { background: var(--med-soft); }
.code-row.finding .ln { color: var(--danger); opacity: 0.95; }
.code-row.finding::after {
  content: '';
  position: absolute;
  left: 2.5rem; right: 0; bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, var(--danger), transparent 80%);
  opacity: 0.6;
}

.gutter-mark {
  position: absolute; left: 0.3rem; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 8px rgba(251, 113, 133, 0.55);
}

.editor-status {
  display: flex; gap: 1rem;
  padding: 0.3rem 0.75rem;
  background: #030303;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}
.status-warn { color: var(--danger); margin-left: auto; }

/* Agent / MoE panel */
.agent {
  display: flex; flex-direction: column;
  background: #080808;
  min-height: 460px;
}

.agent-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.agent-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.agent-orb {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px rgba(110, 231, 183, 0.5);
  animation: pulse 1.8s ease-in-out infinite;
}

.agent-local {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.expert-bar {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: #060606;
}

.expert-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.expert-pill.active {
  color: var(--signal);
  border-color: rgba(110, 231, 183, 0.35);
  background: var(--signal-soft);
  box-shadow: 0 0 12px rgba(110, 231, 183, 0.15);
}
.expert-pill.more {
  border-style: dashed;
  color: var(--text-muted);
}

.agent-thread {
  flex: 1;
  min-height: 0;
  padding: 0.75rem 0.75rem 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.agent-msg {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.agent-msg.user {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  color: var(--text);
}
.agent-msg.assistant {
  padding: 0.15rem 0.1rem 0.35rem;
}
.agent-msg.assistant p { margin: 0; }
.agent-msg code, .finding-card-desc code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--signal);
  background: var(--signal-soft);
  padding: 0.05rem 0.28rem;
  border-radius: 3px;
}

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

.tool-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0,0,0,0.35);
  overflow: hidden;
  flex-shrink: 0;
}
.tool-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.tool-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text);
}
.tool-state {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}
.tool-state.done { color: var(--signal); background: var(--signal-soft); }
.tool-state.run { color: var(--warn); background: var(--warn-soft); }
.tool-body {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.45rem 0.6rem;
}

.finding-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem;
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}
.finding-card.crit { border-color: rgba(251, 113, 133, 0.3); background: var(--danger-soft); }
.finding-card.high { border-color: rgba(251, 191, 36, 0.28); background: var(--warn-soft); }
.finding-card.med { border-color: rgba(56, 189, 248, 0.28); background: var(--med-soft); }

.finding-card-top {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.sev {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.38rem;
  border-radius: 3px;
}
.sev.crit { background: var(--danger); color: #1a0a0c; }
.sev.high { background: var(--warn); color: #1a1405; }
.sev.med { background: var(--med); color: #041018; }

.finding-expert {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--signal);
  background: var(--signal-soft);
  padding: 0.12rem 0.38rem;
  border-radius: 3px;
}

.finding-file {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-left: auto;
}

.finding-card-desc {
  font-size: 0.72rem !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
  line-height: 1.5;
}

.agent-input {
  margin: 0.55rem 0.85rem 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(0,0,0,0.3);
}
.agent-input-placeholder { font-size: 0.75rem; color: var(--text-muted); }
.agent-input-hint {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--signal);
  opacity: 0.8;
}

@media (max-width: 960px) {
  .workspace-body { grid-template-columns: 1fr; }
  .editor {
    grid-template-columns: 1fr;
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: auto;
  }
  .editor-rail, .editor-sidebar { display: none; }
  .agent { min-height: 380px; }
  .workspace-badge { display: none; }
}

/* ============ PROBLEM PANEL ============ */

.problem-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.problem-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.problem-panel-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}

.problem-list-pro {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.problem-list-pro li {
  display: flex;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.problem-list-pro li:nth-child(2n) { border-right: none; }
.problem-list-pro li:nth-last-child(-n+2):not(.problem-wide) { border-bottom: none; }

.problem-list-pro li.problem-wide {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
  background: linear-gradient(90deg, rgba(251, 113, 133, 0.05), transparent 55%);
}

.problem-idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--signal);
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.problem-list-pro strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.problem-list-pro p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .problem-list-pro { grid-template-columns: 1fr; }
  .problem-list-pro li { border-right: none; }
  .problem-list-pro li:not(:last-child) { border-bottom: 1px solid var(--border); }
}

/* ============ DOMAINS / HANDOFFS ============ */

.domains .section-intro { margin-bottom: 2rem; }

.handoff-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.handoff-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.handoff-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.handoff-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.35rem;
  align-items: stretch;
  padding: 1.15rem;
}

.handoff-step {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #050505;
  padding: 1rem 0.9rem;
  transition: border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease, opacity 0.45s ease;
}

.handoff-step.is-done {
  border-color: rgba(110, 231, 183, 0.18);
  background: rgba(110, 231, 183, 0.03);
  opacity: 0.85;
}

.handoff-step.active {
  border-color: rgba(110, 231, 183, 0.45);
  background: rgba(110, 231, 183, 0.08);
  box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.12), 0 12px 40px rgba(0, 0, 0, 0.25);
  animation: handoffPulse 2.2s ease-in-out infinite;
}

.handoff-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--signal);
  margin-bottom: 0.45rem;
}

.handoff-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.handoff-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.handoff-arrow {
  width: 18px;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  position: relative;
  transition: background 0.45s ease, opacity 0.45s ease;
  opacity: 0.55;
}

.handoff-arrow.is-lit {
  opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.85), transparent);
  animation: handoffArrowFlow 1.1s ease-in-out infinite;
}

.handoff-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.45s ease;
}

.handoff-arrow.is-lit::after {
  border-right-color: rgba(110, 231, 183, 0.9);
  border-top-color: rgba(110, 231, 183, 0.9);
}

@keyframes handoffPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.1), 0 12px 36px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.28), 0 14px 44px rgba(110, 231, 183, 0.08); }
}

@keyframes handoffArrowFlow {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .handoff-step.active,
  .handoff-arrow.is-lit {
    animation: none;
  }
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.domain-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.35rem 1.2rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.domain-card:hover {
  border-color: rgba(110, 231, 183, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.domain-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(110, 231, 183, 0.2);
  margin-bottom: 0.9rem;
}

.domain-icon svg { width: 18px; height: 18px; }

.domain-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.domain-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin: 0 0 0.9rem;
  line-height: 1.55;
}

.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.domain-tags span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.domains-footnote {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 70ch;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .handoff-flow {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .handoff-arrow {
    width: 1px;
    height: 16px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, rgba(110, 231, 183, 0.55), transparent);
  }
  .handoff-arrow::after {
    right: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(50%) rotate(135deg);
  }
  .domain-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .domain-grid { grid-template-columns: 1fr; }
}

/* ============ EDR ============ */

.edr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.edr-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.5rem;
}

.edr-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.edr-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.edr-card .text-link { margin-top: 1rem; }

@media (max-width: 800px) {
  .edr-grid { grid-template-columns: 1fr; }
}

/* ============ SOLUTIONS ============ */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.solutions-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.4rem 1.5rem;
}

.solutions-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.solutions-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.solutions-card .text-link {
  display: inline-block;
  margin-top: 0.85rem;
}

.solutions-card-cta {
  border-color: rgba(110, 231, 183, 0.28);
  background: linear-gradient(160deg, rgba(110, 231, 183, 0.08), var(--surface));
}

@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

/* legacy trust strip kept unused */

/* ============ BENTO ============ */

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.bento-cell {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.bento-cell:nth-child(2n) { border-right: none; }
.bento-cell:nth-last-child(-n+2) { border-bottom: none; }

.bento-wide {
  grid-column: 1 / -1;
  border-right: none;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.bento-copy h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.025em;
}
.bento-copy p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
  max-width: 42ch;
}

.bento-actions {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-top: 1.35rem;
}

.fleet-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #050505;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.fleet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.fleet-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.fleet-live {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.fleet-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 1.6s ease-in-out infinite;
}

.fleet-rows {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.9rem;
  flex: 1;
}

.fleet-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s;
}

.fleet-row.active {
  background: var(--signal-soft);
  border-color: rgba(110, 231, 183, 0.22);
}

.fleet-row.is-reporting {
  background: rgba(110, 231, 183, 0.1);
  border-color: rgba(110, 231, 183, 0.35);
}

.fleet-row.is-done {
  opacity: 0.92;
}

.fleet-name {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.fleet-row.active .fleet-name,
.fleet-row.is-reporting .fleet-name,
.fleet-row.is-done .fleet-name { color: var(--text); }

.fleet-bar {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.fleet-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  transition: width 1.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s;
}

.fleet-row.active .fleet-bar i {
  background: var(--signal);
}

.fleet-row.active .fleet-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  animation: fleetBarShine 1.2s ease-in-out infinite;
}

.fleet-row.is-reporting .fleet-bar i,
.fleet-row.is-done .fleet-bar i {
  background: linear-gradient(90deg, #34d399, var(--signal));
}

.fleet-state {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  min-width: 4.6rem;
  text-align: right;
  transition: color 0.3s;
}

.fleet-row.active .fleet-state { color: var(--signal); }
.fleet-row.is-reporting .fleet-state {
  color: #fbbf24;
  text-transform: none;
  letter-spacing: 0.02em;
}
.fleet-row.is-done .fleet-state {
  color: var(--signal);
  text-transform: none;
  letter-spacing: 0.02em;
}

@keyframes fleetBarShine {
  100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .fleet-row.active .fleet-bar::after { animation: none; }
  .fleet-bar i { transition: none; }
}

.fleet-foot {
  margin-top: auto;
  padding: 0.65rem 0.9rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* legacy moe visual (unused) */

.runtime-card {
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #050505;
  overflow: hidden;
}

.runtime-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.runtime-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.runtime-chip {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.device-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  padding: 0.9rem;
}

.device-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem 0.55rem 0.7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.device-card strong {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.device-card > span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.device-glyph {
  width: 44px;
  height: 32px;
  position: relative;
  margin-bottom: 0.25rem;
  color: var(--signal);
}

.device-glyph.laptop .device-screen {
  display: block;
  width: 34px;
  height: 20px;
  margin: 0 auto;
  border: 1.5px solid rgba(110, 231, 183, 0.65);
  border-radius: 3px;
  background: rgba(110, 231, 183, 0.08);
}

.device-glyph.laptop .device-base {
  display: block;
  width: 40px;
  height: 3px;
  margin: 3px auto 0;
  border-radius: 1px;
  background: rgba(110, 231, 183, 0.45);
}

.device-glyph.desktop {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.device-glyph.desktop .device-tower {
  width: 12px;
  height: 26px;
  border: 1.5px solid rgba(110, 231, 183, 0.65);
  border-radius: 2px;
  background: rgba(110, 231, 183, 0.08);
}

.device-glyph.desktop .device-monitor {
  width: 22px;
  height: 18px;
  border: 1.5px solid rgba(110, 231, 183, 0.65);
  border-radius: 2px;
  background: rgba(110, 231, 183, 0.08);
  margin-bottom: 2px;
}

.device-glyph.server {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 36px;
  margin: 0 auto;
}

.device-glyph.server span {
  display: block;
  height: 7px;
  border: 1.5px solid rgba(110, 231, 183, 0.65);
  border-radius: 2px;
  background: rgba(110, 231, 183, 0.08);
}

.device-glyph.cloud {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 40px;
  margin: 0 auto;
}

.device-glyph.cloud .cloud-body {
  display: block;
  width: 28px;
  height: 14px;
  border: 1.5px solid rgba(110, 231, 183, 0.65);
  border-radius: 999px 999px 6px 6px;
  background: rgba(110, 231, 183, 0.08);
  position: relative;
}

.device-glyph.cloud .cloud-body::before,
.device-glyph.cloud .cloud-body::after {
  content: '';
  position: absolute;
  border: 1.5px solid rgba(110, 231, 183, 0.65);
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.08);
}

.device-glyph.cloud .cloud-body::before {
  width: 12px;
  height: 12px;
  left: 3px;
  top: -7px;
}

.device-glyph.cloud .cloud-body::after {
  width: 16px;
  height: 16px;
  right: 2px;
  top: -9px;
}

.device-glyph.cloud .cloud-dot {
  display: none;
}

.runtime-gauges,
.runtime-gauge,
.runtime-track,
.runtime-fill {
  display: none;
}

.runtime-tokens {
  margin: 0 0.9rem 0.9rem;
  padding: 0.85rem;
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(110, 231, 183, 0.08), rgba(110, 231, 183, 0.02));
}

.runtime-tokens-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.runtime-tokens-label span {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.runtime-tokens-label strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--signal);
  letter-spacing: -0.02em;
}

.runtime-tokens-wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}

.runtime-tokens-wave span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(110, 231, 183, 0.35);
  animation: tokenWave 2.4s ease-in-out infinite;
}

.runtime-tokens-wave span:nth-child(1) { height: 35%; animation-delay: 0s; }
.runtime-tokens-wave span:nth-child(2) { height: 55%; animation-delay: 0.12s; }
.runtime-tokens-wave span:nth-child(3) { height: 75%; animation-delay: 0.24s; }
.runtime-tokens-wave span:nth-child(4) { height: 95%; animation-delay: 0.36s; }
.runtime-tokens-wave span:nth-child(5) { height: 70%; animation-delay: 0.48s; }
.runtime-tokens-wave span:nth-child(6) { height: 90%; animation-delay: 0.6s; }
.runtime-tokens-wave span:nth-child(7) { height: 60%; animation-delay: 0.72s; }
.runtime-tokens-wave span:nth-child(8) { height: 80%; animation-delay: 0.84s; }

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

@media (prefers-reduced-motion: reduce) {
  .runtime-tokens-wave span { animation: none; opacity: 0.7; }
}

.metric-row {
  display: none;
}

@media (max-width: 800px) {
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-template-columns: 1fr; }
  .bento-cell { border-right: none; min-height: auto; }
  .bento-cell:not(:last-child) { border-bottom: 1px solid var(--border); }
  .bento-cell:last-child { border-bottom: none; }
}

/* ============ WORKFLOW STAGE ============ */

.workflow-stage {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.2fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.workflow-steps li {
  display: flex;
  gap: 0.9rem;
  padding: 1.05rem 1.25rem;
  position: relative;
  border-left: 2px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.workflow-steps li + li::before {
  content: "";
  position: absolute;
  left: 1.85rem;
  top: -0.35rem;
  width: 1px;
  height: 0.7rem;
  background: var(--border);
}

.workflow-steps li.is-active {
  background: linear-gradient(90deg, rgba(110, 231, 183, 0.07), transparent 70%);
  border-left-color: var(--signal);
}

.workflow-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--signal);
  flex-shrink: 0;
  width: 1.6rem;
  padding-top: 0.15rem;
}

.workflow-steps strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}

.workflow-steps p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.workflow-console {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background:
    radial-gradient(ellipse 70% 45% at 80% 0%, rgba(110, 231, 183, 0.06), transparent 55%),
    #0e0e0e;
}

.workflow-console-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.workflow-console-dots {
  display: flex;
  gap: 0.3rem;
}

.workflow-console-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3a3a;
  display: block;
}

.workflow-console-dots i:nth-child(1) { background: #f87171; }
.workflow-console-dots i:nth-child(2) { background: #fbbf24; }
.workflow-console-dots i:nth-child(3) { background: #34d399; }

.workflow-console-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  flex: 1;
}

.workflow-console-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

.workflow-console-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1rem;
}

.wf-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.wf-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.wf-path {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.wf-path-icon {
  width: 14px;
  height: 11px;
  border: 1.5px solid var(--signal);
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

.wf-path-icon::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 2px;
  width: 6px;
  height: 3px;
  border: 1.5px solid var(--signal);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}

.wf-path code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text);
}

.wf-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.wf-tree li::before {
  content: "└ ";
  color: #444;
}

.wf-experts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wf-experts span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.wf-experts span.on {
  color: var(--signal);
  border-color: rgba(110, 231, 183, 0.35);
  background: var(--signal-soft);
}

.wf-passes {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.wf-pass {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.wf-pass strong {
  font-size: 1.15rem;
  color: var(--signal);
  letter-spacing: -0.03em;
}

.wf-pass em {
  font-style: normal;
  color: var(--text-secondary);
  margin-left: auto;
  font-size: 0.62rem;
}

.wf-pass-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: #1a1a1a;
  border: 1px solid var(--border);
  margin-bottom: 1.1rem;
}

.wf-pass-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 60%);
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, var(--signal));
}

.wf-pass-track span {
  position: absolute;
  top: 0.75rem;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.wf-finding {
  grid-column: 1 / -1;
}

.wf-finding-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wf-finding-card {
  border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.08), transparent 55%);
}

.wf-finding-card.wf-secret {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), transparent 55%);
}

.wf-finding-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}

.wf-finding-meta .sev {
  color: #fda4af;
  border: 1px solid rgba(251, 113, 133, 0.4);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

.wf-finding-meta .sev-secret {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.45);
}

.wf-finding-card strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.wf-finding-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.wf-secret-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  border: 1px dashed rgba(110, 231, 183, 0.35);
  background: rgba(110, 231, 183, 0.06);
}

.wf-secret-lock code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.wf-secret-lock span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .workflow-stage {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .workflow-steps li + li::before { display: none; }
}

@media (max-width: 560px) {
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-console-body { grid-template-columns: 1fr; }
  .wf-finding { grid-column: auto; }
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: auto;
  background: var(--surface);
}

.compare-origin {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(110, 231, 183, 0.08), transparent 65%);
}

.compare-origin-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  white-space: nowrap;
}

.compare-origin p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.compare-support {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.comparison-table th {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
}
.comparison-table-4 th:nth-child(2),
.comparison-table-4 td:nth-child(2) {
  background: rgba(110, 231, 183, 0.035);
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check { color: var(--signal); font-weight: 600; }
.comparison-table .cross { color: var(--danger); font-weight: 600; }

@media (max-width: 900px) {
  .comparison-table-4 { min-width: 720px; }
  .compare-origin {
    flex-direction: column;
    gap: 0.65rem;
  }
}

.cta-section { padding: 5.5rem 1.5rem; }
.cta-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(110, 231, 183, 0.06), transparent 55%),
    var(--surface);
}
.cta-block .section-title { margin-left: auto; margin-right: auto; }
.cta-block .section-lead { margin: 0 auto 1.5rem; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ============ FOOTER / MODALS / ABOUT ============ */

.footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 2rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 600; margin-bottom: 0.65rem;
}
.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 260px;
  margin: 0;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { font-size: 0.9rem; color: var(--text-secondary); }
.footer-col a:hover { color: var(--text); opacity: 1; }
.footer-bottom {
  max-width: 1120px; margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card-accent { border-color: rgba(110, 231, 183, 0.3); }

.modal-overlay, .alert-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  justify-content: center; align-items: center;
  padding: 1.5rem;
}
.modal-overlay.open, .alert-overlay.open { display: flex; }
.alert-overlay { z-index: 3000; }

.modal, .alert-box {
  background: #0c0c0c;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.alert-box { max-width: 360px; text-align: center; }

.modal-close {
  position: absolute; top: 0.85rem; right: 0.85rem;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  cursor: pointer;
}
.modal-close:hover { color: var(--text); }

.modal h2, .alert-box h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.modal p, .alert-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.form-input, .form-select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: #000;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: rgba(110, 231, 183, 0.45);
}
.form-select { appearance: none; cursor: pointer; }

.about-hero { padding: 7rem 1.5rem 3.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.benefits-grid, .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.benefit-icon { display: none; }
.feature-list { list-style: none; }
.feature-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.feature-check { color: var(--signal); margin-right: 0.4rem; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.text-mono { font-family: var(--font-mono); }
.text-accent { color: var(--signal); }
.text-muted { color: var(--text-muted); }
.font-heading { font-family: var(--font-sans); }
.no-underline { text-decoration: none; }

/* Fix invalid font-weight */
.btn { font-weight: 600; }

/* ============ EDR PAGE ============ */

.edr-hero {
  padding: calc(var(--nav-h) + 3.5rem) 1.5rem 4rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(110, 231, 183, 0.07), transparent 55%),
    #000;
}

.edr-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.edr-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 16ch;
  margin: 0 0 1rem;
}

.edr-hero-lead {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 48ch;
  margin: 0 0 1.4rem;
}

.edr-hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.edr-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.edr-hero-stats strong {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--signal);
}

.edr-hero-stats span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.edr-laptop {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5));
}

.edr-laptop-photo {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Rectangular screen on the head-on laptop photo */
.edr-laptop-screen {
  position: absolute;
  left: 23.4%;
  top: 14.2%;
  width: 53.1%;
  height: 50.2%;
  overflow: hidden;
  border-radius: 1px;
}

.edr-os {
  display: flex;
  flex-direction: column;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(110, 231, 183, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(59, 130, 246, 0.1), transparent 50%),
    linear-gradient(160deg, #0c1220 0%, #05070c 45%, #0a0f14 100%);
  font-size: 10px;
}

.edr-os-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  height: 18px;
  padding: 0 0.45rem;
  background: rgba(12, 12, 14, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.58rem;
  font-weight: 500;
}

.edr-os-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.edr-os-brand i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--signal);
  box-shadow: 0 0 6px rgba(110, 231, 183, 0.45);
}

.edr-os-menus {
  opacity: 0.55;
  font-size: 0.55rem;
}

.edr-os-spacer { flex: 1; }

.edr-os-clock {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  opacity: 0.65;
}

.edr-os-desk {
  flex: 1;
  min-height: 0;
  padding: 0.35rem 0.4rem 0.25rem;
  display: flex;
  align-items: stretch;
}

.edr-laptop .edr-console {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(8, 8, 10, 0.96);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(110, 231, 183, 0.06);
  overflow: hidden;
}

.edr-laptop .edr-console-bar {
  padding: 0.28rem 0.45rem;
  gap: 0.35rem;
  font-size: 0.5rem;
}

.edr-laptop .edr-console-title {
  font-size: 0.48rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
}

.edr-laptop .edr-console-pill {
  font-size: 0.4rem;
  padding: 0.1rem 0.3rem;
  letter-spacing: 0.04em;
}

.edr-laptop .edr-console-body {
  flex: 1;
  min-height: 0;
  padding: 0.28rem;
  gap: 0.22rem;
  overflow: hidden;
}

.edr-laptop .edr-console-row {
  padding: 0.22rem 0.32rem;
  gap: 0.32rem;
  border-radius: 4px;
}

.edr-laptop .edr-console-row strong {
  font-size: 0.52rem;
  line-height: 1.2;
}

.edr-laptop .edr-console-row p {
  font-size: 0.42rem;
  margin: 0.05rem 0 0;
  line-height: 1.25;
}

.edr-laptop .edr-sev {
  font-size: 0.38rem;
  padding: 0.1rem 0.22rem;
}

.edr-laptop .edr-time {
  font-size: 0.42rem;
}

.edr-laptop .edr-attck {
  margin-top: 0.05rem;
  padding: 0.25rem;
}

.edr-laptop .edr-attck-label {
  font-size: 0.4rem;
}

.edr-laptop .edr-attck-legend {
  font-size: 0.38rem;
  gap: 0.35rem;
}

.edr-laptop .edr-attck-tactic {
  font-size: 0.34rem;
}

.edr-laptop .tech {
  font-size: 0.36rem;
  padding: 0.08rem 0;
}

.edr-laptop .edr-attck-matrix {
  gap: 0.2rem;
}

.edr-laptop .edr-attck-col {
  gap: 0.12rem;
}

.edr-os-dock {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
  padding: 0.2rem 0.4rem 0.35rem;
}

.edr-dock-icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(145deg, #2a2a2e, #161618);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.35);
}

.edr-dock-icon.active {
  background: linear-gradient(145deg, #6ee7b7, #34d399);
  box-shadow:
    0 0 8px rgba(110, 231, 183, 0.45),
    0 2px 4px rgba(0, 0, 0, 0.35);
}

.edr-dock-icon:nth-child(2) {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
}
.edr-dock-icon:nth-child(3) {
  background: linear-gradient(145deg, #a78bfa, #6d28d9);
}
.edr-dock-icon:nth-child(4) {
  background: linear-gradient(145deg, #f59e0b, #b45309);
}
.edr-dock-icon:nth-child(5) {
  background: linear-gradient(145deg, #64748b, #334155);
}

.edr-console {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #080808;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.edr-console-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.edr-console-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  flex: 1;
}

.edr-console-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

.edr-console-body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.55rem; }

.edr-console-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.edr-console-row.live {
  border-color: rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.06);
}

.edr-console-row strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.edr-console-row p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.edr-sev {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
  border: 1px solid;
}

.edr-sev.crit { color: #fda4af; border-color: rgba(251, 113, 133, 0.45); }
.edr-sev.high { color: #fdba74; border-color: rgba(251, 146, 60, 0.4); }
.edr-sev.med { color: #fde68a; border-color: rgba(251, 191, 36, 0.35); }

.edr-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.edr-attck {
  margin-top: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(110, 231, 183, 0.03);
}

.edr-attck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.edr-attck-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.edr-attck-legend {
  display: flex;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
}

.edr-attck-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.edr-attck-legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.edr-attck-legend .lg-on {
  background: rgba(110, 231, 183, 0.45);
  border: 1px solid rgba(110, 231, 183, 0.5);
}

.edr-attck-legend .lg-hit {
  background: rgba(251, 113, 133, 0.55);
  border: 1px solid rgba(251, 113, 133, 0.6);
}

.edr-attck-matrix {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.edr-attck-col {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.edr-attck-tactic {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.1rem 0.2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.1rem;
}

.edr-attck-col .tech {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-align: center;
  padding: 0.32rem 0.2rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #121212;
  color: #525252;
}

.edr-attck-col .tech.on {
  color: var(--signal);
  background: rgba(110, 231, 183, 0.1);
  border-color: rgba(110, 231, 183, 0.28);
}

.edr-attck-col .tech.hit {
  color: #fda4af;
  background: rgba(251, 113, 133, 0.14);
  border-color: rgba(251, 113, 133, 0.4);
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.12);
  animation: handoffPulse 1.8s ease-in-out infinite;
}

.edr-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.edr-cap-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.35rem 1.2rem;
}

.edr-cap-icon {
  width: 40px;
  height: 40px;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.edr-cap-card h3 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.edr-cap-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.edr-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.4rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.edr-flow-step {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1.1rem 0.95rem;
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.edr-flow-step.is-active {
  border-color: rgba(110, 231, 183, 0.4);
  background: rgba(110, 231, 183, 0.06);
  box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.08);
}

.edr-flow-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--signal);
  margin-bottom: 0.4rem;
}

.edr-flow-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.edr-flow-step p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.edr-flow-arrow {
  width: 16px;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.65), transparent);
  position: relative;
}

.edr-flow-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1px solid rgba(110, 231, 183, 0.75);
  border-top: 1px solid rgba(110, 231, 183, 0.75);
  transform: translateY(-50%) rotate(45deg);
}

.edr-response-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.edr-threat-stage {
  background: #050505;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.edr-threat-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.edr-threat-badge {
  color: #fda4af;
  border: 1px solid rgba(251, 113, 133, 0.4);
  background: rgba(251, 113, 133, 0.1);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.55rem;
}

.edr-threat-body {
  display: grid;
  grid-template-columns: 1.2fr auto 0.85fr;
  gap: 1rem;
  padding: 1.1rem 1rem 1.2rem;
  align-items: center;
  flex: 1;
}

.edr-proc-tree {
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.edr-proc {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  color: var(--text-secondary);
}

.edr-proc code {
  font-family: inherit;
  font-size: 0.72rem;
  color: var(--text);
}

.edr-proc.hot {
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.35);
  flex-wrap: wrap;
}

.edr-proc.hot em {
  display: block;
  font-style: normal;
  font-size: 0.55rem;
  color: #fda4af;
  margin-top: 0.15rem;
}

.edr-proc.muted { opacity: 0.75; }

.edr-proc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.55);
  flex-shrink: 0;
}

.edr-proc-dot.infected {
  background: #fb7185;
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.7);
  animation: handoffPulse 1.6s ease-in-out infinite;
}

.edr-proc-branch {
  margin-left: 0.55rem;
  padding-left: 0.7rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.edr-malware-tag {
  margin-left: auto;
  font-size: 0.52rem;
  letter-spacing: 0.05em;
  color: #fda4af;
  border: 1px solid rgba(251, 113, 133, 0.45);
  border-radius: 4px;
  padding: 0.15rem 0.35rem;
}

.edr-blocked {
  margin-left: auto;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--signal);
}

.edr-threat-hex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.edr-threat-hex svg {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 0 12px rgba(251, 113, 133, 0.35));
}

.edr-threat-hex span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fda4af;
}

.edr-threat-actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.edr-threat-actions li {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.edr-threat-actions li.done {
  color: var(--signal);
  border-color: rgba(110, 231, 183, 0.35);
  background: var(--signal-soft);
}

.edr-threat-actions li.done::before {
  content: '✓ ';
}

.edr-response-copy {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.edr-response-copy h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.edr-response-copy p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.edr-arch {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.edr-arch-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.edr-arch-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.edr-arch-layers { list-style: none; margin: 0; padding: 0; }

.edr-arch-layers li {
  display: flex;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.edr-arch-layers li:last-child { border-bottom: none; }

.edr-arch-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--signal);
  padding-top: 0.15rem;
}

.edr-arch-layers strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.edr-arch-layers p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.edr-arch-graphic {
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 45%, rgba(110, 231, 183, 0.08), transparent 55%),
    #080808;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  min-height: 360px;
}

.edr-ring {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(110, 231, 183, 0.25);
  display: grid;
  place-items: center;
}

.edr-ring-core {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  background: var(--signal);
  box-shadow: 0 0 40px rgba(110, 231, 183, 0.35);
}

.edr-orbit {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-secondary);
  background: #0e0e0e;
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.edr-orbit.o1 { top: 4%; left: 50%; transform: translateX(-50%); }
.edr-orbit.o2 { top: 22%; right: -4%; }
.edr-orbit.o3 { bottom: 22%; right: -4%; }
.edr-orbit.o4 { bottom: 4%; left: 50%; transform: translateX(-50%); }
.edr-orbit.o5 { bottom: 22%; left: -8%; }
.edr-orbit.o6 { top: 22%; left: -6%; }

.edr-arch-footnote {
  margin: 1.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 28ch;
}

.edr-platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.edr-platforms article {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1.1rem 1rem;
  text-align: center;
}

.edr-platforms strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.edr-platforms span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.edr-os-glyph {
  width: 42px;
  height: 32px;
  margin: 0 auto 0.65rem;
  position: relative;
  color: var(--signal);
}

.edr-os-glyph.win::before {
  content: '';
  position: absolute;
  inset: 4px 6px;
  border: 1.5px solid rgba(110, 231, 183, 0.7);
  background: rgba(110, 231, 183, 0.08);
}

.edr-os-glyph.win::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 1.5px;
  background: rgba(110, 231, 183, 0.55);
  transform: translateX(-50%);
  box-shadow: 0 12px 0 0 transparent;
}

.edr-os-glyph.mac::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 2px;
  height: 18px;
  border: 1.5px solid rgba(110, 231, 183, 0.7);
  border-radius: 3px;
  background: rgba(110, 231, 183, 0.08);
}

.edr-os-glyph.mac::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: rgba(110, 231, 183, 0.45);
}

.edr-os-glyph.linux {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 34px;
}

.edr-os-glyph.linux::before,
.edr-os-glyph.linux::after {
  content: '';
  display: block;
  height: 7px;
  border: 1.5px solid rgba(110, 231, 183, 0.7);
  border-radius: 2px;
  background: rgba(110, 231, 183, 0.08);
}

.edr-os-glyph.mobile::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 18px;
  height: 28px;
  transform: translateX(-50%);
  border: 1.5px solid rgba(110, 231, 183, 0.7);
  border-radius: 4px;
  background: rgba(110, 231, 183, 0.08);
}

.edr-os-glyph.mobile::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 6px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 1px;
  background: rgba(110, 231, 183, 0.55);
}

.edr-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.edr-benefits article {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.35rem 1.2rem;
}

.edr-benefits h3 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.edr-benefits p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .edr-hero-grid,
  .edr-response-panel,
  .edr-arch { grid-template-columns: 1fr; }
  .edr-laptop {
    margin: 0.5rem auto 0;
    max-width: 520px;
  }
  .edr-threat-stage { border-right: none; border-bottom: 1px solid var(--border); }
  .edr-threat-body { grid-template-columns: 1fr; }
  .edr-cap-grid,
  .edr-benefits { grid-template-columns: 1fr 1fr; }
  .edr-flow {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .edr-flow-arrow { display: none; }
}

@media (max-width: 860px) {
  .edr-platforms { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .edr-cap-grid,
  .edr-benefits,
  .edr-platforms { grid-template-columns: 1fr; }
  .edr-flow { grid-template-columns: 1fr; }
}
