:root {
  /* SOC / security operations palette — muted, low-glare */
  --bg-primary: #060708;
  --bg-secondary: #101416;
  --bg-card: #161b1f;
  --bg-card-hover: #1e252b;
  --bg-glass: #12171a;

  --border-color: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(94, 186, 122, 0.18);
  --border-focus: #5a8f6e;

  --text-primary: #f2f5f7;
  --text-secondary: #c5ced6;
  --text-muted: #93a0ab;

  --primary: #5d8ea3;
  --primary-hover: #4e7c90;
  --primary-glow: rgba(74, 109, 124, 0.22);
  --primary-dim: rgba(74, 109, 124, 0.14);

  --secure: #5dba7a;
  --secure-dim: rgba(93, 186, 122, 0.12);
  --secure-glow: rgba(93, 186, 122, 0.35);

  --teal: #6b9aaa;
  --teal-dim: rgba(107, 154, 170, 0.12);

  --cyan: #7a9cab;
  --cyan-glow: rgba(122, 156, 171, 0.2);

  --emerald: #5dba7a;
  --emerald-dim: rgba(93, 186, 122, 0.12);

  --accent-secure: #6ebe8a;
  --purple: var(--accent-secure);

  --indigo: #5c6b7a;
  --indigo-dim: rgba(92, 107, 122, 0.12);

  --rose: #c45c5c;
  --amber: #c9a227;

  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 12px;
  --radius-xl: 12px;

  --heading: #ffffff;
  --surface-inset: #0c1012;
  --nav-bg: #0c0f11;
  --nav-bg-scrolled: #0c0f11;
  --footer-bg: #0a0c0e;
  --grid-line: rgba(255, 255, 255, 0.045);
  --vignette: rgba(0, 0, 0, 0.22);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --elev-1: 0 1px 3px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  --elev-2: 0 4px 12px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.35);

  --transition: all 0.2s ease-in-out;
}

section[id] {
  scroll-margin-top: 84px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-primary: #f3f4f3;
  --bg-secondary: #e4e7e5;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: #ffffff;

  --border-color: rgba(20, 28, 24, 0.2);
  --border-glow: rgba(36, 120, 68, 0.18);
  --border-focus: #3d6b50;

  --text-primary: #121614;
  --text-secondary: #2c3531;
  --text-muted: #4a544f;

  --primary: #2c4a56;
  --primary-hover: #243e48;
  --primary-glow: rgba(61, 92, 105, 0.18);
  --primary-dim: rgba(61, 92, 105, 0.1);

  --secure: #2a7a48;
  --secure-dim: rgba(42, 122, 72, 0.1);
  --secure-glow: rgba(42, 122, 72, 0.28);

  --teal: #3d6d7c;
  --teal-dim: rgba(61, 109, 124, 0.1);
  --cyan: #3d6d7c;
  --cyan-glow: rgba(61, 109, 124, 0.16);
  --emerald: #2a7a48;
  --emerald-dim: rgba(42, 122, 72, 0.1);
  --accent-secure: #2a7a48;
  --rose: #b24545;
  --amber: #9a7a12;

  --heading: #121614;
  --surface-inset: #eef0ee;
  --nav-bg: #f7f8f7;
  --nav-bg-scrolled: #ffffff;
  --footer-bg: #e7eae8;
  --grid-line: rgba(20, 28, 24, 0.07);
  --vignette: transparent;
  --shadow: 0 8px 24px rgba(20, 28, 24, 0.12);
  --elev-1: 0 1px 2px rgba(22, 26, 24, 0.12), 0 4px 12px rgba(22, 26, 24, 0.08);
  --elev-2: 0 6px 16px rgba(22, 26, 24, 0.14), 0 2px 4px rgba(22, 26, 24, 0.08);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html[data-theme="light"] .btn-secure {
  color: #f4fff7;
}

html[data-theme="light"] .btn-outline:hover {
  background: rgba(20, 28, 24, 0.05);
  border-color: rgba(20, 28, 24, 0.18);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: rgba(93, 186, 122, 0.35);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
}

.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }

.arch-svg .arch-muted { fill: var(--text-muted); }
.arch-svg .arch-label { fill: var(--text-secondary); }
.arch-svg .arch-secure { fill: var(--secure); }
.arch-svg .arch-steel { fill: var(--teal); }
.arch-svg .arch-box { stroke: var(--border-color); }
.arch-svg .arch-box-secure { stroke: var(--secure); }
.arch-svg .arch-box-steel { stroke: var(--teal); }
.arch-svg .arch-flow { stroke: var(--secure); }
.arch-svg .arch-link { stroke: var(--border-color); }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 68px;
}

/* Typography & Layout helpers */
h1, h2, h3, h4, .brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mono {
  font-family: var(--font-mono);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.logo-badge svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--elev-1);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-badge {
  width: 36px;
  height: 36px;
  background: var(--surface-inset);
  border: 1px solid rgba(93, 186, 122, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secure);
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--heading);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--heading);
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  min-height: 40px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #f4f7f8;
  border-color: transparent;
  box-shadow: var(--elev-1);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: rgba(93, 186, 122, 0.35);
}

.btn-outline {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--heading);
}

.btn-secure {
  background: var(--secure);
  color: #f4fff7;
  border: 1px solid transparent;
  box-shadow: var(--elev-1);
}

.btn-secure:hover {
  background: #4aa86a;
  border-color: transparent;
  color: #f4fff7;
}

/* Hero Section */
.hero {
  padding: 56px 0 48px;
  position: relative;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-copy {
  text-align: left;
}

.hero-copy .hero-subtitle--minimal {
  margin-left: 0;
  margin-right: 0;
  max-width: 440px;
}

.hero-copy .hero-buttons {
  justify-content: flex-start;
  margin-bottom: 0;
}

.hero-panel {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
}

.hero-panel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.arch-svg {
  display: block;
  width: 100%;
  height: auto;
  padding: 8px 4px 12px;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-inset);
  border: 1px solid rgba(93, 186, 122, 0.25);
  color: var(--secure);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--secure);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--secure-glow);
  animation: pulse-secure 2.4s ease-out infinite;
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.18;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.03em;
}

.hero-gradient {
  color: #b8c9d4;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-subtitle--minimal {
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Telemetry / Live Stats Bar */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 18px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: none;
}

.stat-item {
  text-align: left;
  border-left: 2px solid var(--border-color);
  padding-left: 16px;
}

.stat-item:first-child {
  border-left-color: var(--teal);
}
.stat-item:nth-child(2) {
  border-left-color: var(--emerald);
}
.stat-item:nth-child(3) {
  border-left-color: var(--primary);
}
.stat-item:nth-child(4) {
  border-left-color: var(--text-muted);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--heading);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Products Section */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--heading);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--card-accent, var(--border-color));
  opacity: 0.55;
}

.product-card:hover {
  transform: none;
  border-color: var(--border-color);
  box-shadow: var(--elev-2);
}

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

.card-quantum {
  --card-accent: var(--primary);
}

.card-terminator {
  --card-accent: var(--teal);
}

.product-badge-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.product-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.tag-quantum {
  background: var(--primary-dim);
  color: #9eb4c0;
  border: 1px solid rgba(74, 109, 124, 0.35);
}

.tag-terminator {
  background: var(--secure-dim);
  color: var(--secure);
  border: 1px solid rgba(93, 186, 122, 0.3);
}

.product-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: var(--surface-inset);
  border: 1px solid var(--border-color);
}

.product-icon svg {
  width: 16px;
  height: 16px;
}

.product-title {
  font-size: 1.85rem;
  margin-bottom: 12px;
  color: var(--heading);
}

.product-motto {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.product-features-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.feature-icon-check {
  color: var(--card-accent, var(--primary));
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 3px;
}

.feature-item-title {
  color: var(--text-primary);
  font-weight: 600;
}

/* Architecture Mini-preview in card */
.card-arch-box {
  background: var(--surface-inset);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #cbd5e1;
}

.card-arch-box .arch-step {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.card-arch-box .arch-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.arch-val {
  color: var(--teal);
  font-weight: 600;
}

.product-card-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* Interactive Demos / Simulators Section */
.simulator-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: none;
}

.sim-caption {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 8px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-inset);
  border-bottom: 1px solid var(--border-color);
}

.sim-tabs {
  display: inline-flex;
  gap: 0;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.sim-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.sim-tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--heading);
}

.sim-tab-btn:hover:not(.active) {
  color: var(--text-primary);
  background: transparent;
}

.sim-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald);
}

.sim-body {
  padding: 28px;
}

.sim-tab-panel {
  display: none;
}

.sim-tab-panel.active,
.sim-tab-panel.is-inline {
  display: block;
}

.product-sandbox {
  margin-top: 28px;
  container-type: inline-size;
  box-shadow: var(--elev-1);
}

@container (max-width: 920px) {
  .product-sandbox .sandbox-grid {
    grid-template-columns: 1fr;
  }
}

.product-sandbox .log-entry {
  grid-template-columns: 72px 88px minmax(0, 1fr) 64px;
}

.product-sandbox .log-detail,
.product-sandbox .verdict-why,
.product-sandbox .cbom-table {
  overflow-wrap: break-word;
}

.product-sandbox .terminal-window,
.product-sandbox .terminal-content,
.product-sandbox .cbom-table-container {
  overflow: visible;
  max-height: none;
  min-height: 0;
}

.product-sandbox .cbom-table th,
.product-sandbox .cbom-table td,
.product-sandbox .log-detail {
  white-space: normal;
}

.sim-header .sim-caption {
  margin: 0;
  max-width: none;
}

/* DNS Sandbox Simulator */
.sandbox-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.sandbox-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-weight: 600;
}

.input-box {
  width: 100%;
  background: var(--surface-inset);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--heading);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  transition: var(--transition);
}

.input-box:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.preset-queries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-btn {
  background: var(--surface-inset);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.preset-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
  color: var(--heading);
}

/* Terminal Console View */
.terminal-window {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.terminal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-inset);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-color);
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: 999px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--crit { background: var(--rose); }
.status-dot--warn { background: var(--amber); }
.status-dot--ok { background: var(--secure); }

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-content {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: #cbd5e1;
  overflow-y: auto;
  max-height: 300px;
  line-height: 1.6;
}

.log-entry {
  margin-bottom: 6px;
  display: grid;
  grid-template-columns: 72px 88px 1fr 72px;
  gap: 10px;
  align-items: baseline;
}

.log-entry--head {
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.log-detail {
  color: var(--text-secondary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-time {
  color: var(--text-muted);
}

.log-blocked {
  color: #c45c5c;
  font-weight: 600;
}

.log-allowed {
  color: var(--secure);
  font-weight: 600;
}

.log-prompt {
  color: #fbbf24;
  font-weight: 600;
}

.log-metric {
  color: var(--teal);
}

/* CBOM Scanner Simulator */
.cbom-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.cbom-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cbom-heading {
  font-size: 1.05rem;
  color: var(--heading);
  font-weight: 600;
}

.cbom-status {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.cbom-table-container {
  overflow-x: auto;
  margin-top: 20px;
}

.cbom-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  text-align: left;
}

.cbom-table th {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cbom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cbom-algo {
  color: var(--teal);
  font-family: var(--font-mono);
}

.cbom-rec {
  color: var(--text-secondary);
}

.cbom-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-danger {
  background: rgba(196, 92, 92, 0.12);
  color: #d4a0a0;
  border: 1px solid rgba(196, 92, 92, 0.28);
}

.badge-success {
  background: var(--secure-dim);
  color: var(--secure);
  border: 1px solid rgba(93, 186, 122, 0.3);
}

.badge-warning {
  background: rgba(201, 162, 39, 0.12);
  color: var(--amber);
  border: 1px solid rgba(201, 162, 39, 0.28);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--bg-card);
}

.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface-inset);
}

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

.service-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--heading);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-deliverables {
  list-style: none;
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.service-deliverables li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-deliverables li::before {
  content: '▸';
  color: var(--teal);
  font-size: 1rem;
}

/* Technical Architecture Comparison Matrix */
.matrix-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 40px;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th {
  background: var(--surface-inset);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: var(--heading);
}

.matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Contact / Consultation Drawer */
.inquiry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--surface-inset);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--heading);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Footer */
.footer {
  padding: 56px 0 24px;
  border-top: 1px solid var(--border-color);
  background: var(--footer-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.footer-tag {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.5;
}

.footer-heading {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--heading);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-meta {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-title { font-size: 2.35rem; }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .products-grid, .services-grid, .sandbox-grid, .inquiry-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-status {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2.05rem; }
  .stats-banner {
    grid-template-columns: 1fr 1fr;
  }
  .nav-toggle {
    display: flex;
  }
  #nav-cta-btn {
    display: none;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px 20px;
  }
  .site-nav.is-open {
    display: block;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links a:hover::after {
    display: none;
  }
}

/* —— Security theme: backdrop, motion, SOC strip —— */

#scene-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

main,
.footer {
  position: relative;
  z-index: 2;
}

.page-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: transparent;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
}

.page-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, var(--vignette) 100%);
}

.ops-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: 32px;
  background: var(--footer-bg);
  border-bottom: 1px solid rgba(93, 186, 122, 0.15);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ops-strip-inner {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ops-label {
  color: var(--secure);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.ops-divider {
  width: 1px;
  height: 14px;
  background: var(--border-color);
}

.ops-ticker {
  flex: 1;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.28s ease;
}

.ops-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secure);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.navbar.navbar-scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow);
}

.hero-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(93, 186, 122, 0.5), transparent);
  opacity: 0.35;
  animation: scan-sweep 6s ease-in-out infinite;
  pointer-events: none;
}

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.matrix-key {
  font-weight: 600;
  color: var(--heading);
}

.matrix-highlight {
  color: var(--accent-secure) !important;
  font-weight: 600;
}

.cbom-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secure));
  transition: width 0.3s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.product-card:hover {
  transform: none;
  box-shadow: var(--elev-2);
}

.service-card {
  transition: border-color 0.2s ease;
}

.service-card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
}

@keyframes pulse-secure {
  0% { box-shadow: 0 0 0 0 var(--secure-glow); }
  70% { box-shadow: 0 0 0 8px rgba(93, 186, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(93, 186, 122, 0); }
}

@keyframes scan-sweep {
  0%, 100% { transform: translateY(0); opacity: 0.15; }
  50% { transform: translateY(280px); opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pulse-dot,
  .hero-scanline {
    animation: none;
  }
}

/* —— Minimal copy & expandable briefings —— */

.section-compact {
  padding: 80px 0;
}

.section-header--minimal {
  margin-bottom: 36px;
}

.section-header--minimal .section-desc {
  display: none;
}

.section-title--left {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 10px;
}

.brief-lead {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.brief-lead--left {
  text-align: left;
  max-width: 640px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip-row--left {
  justify-content: flex-start;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.chip--warn {
  border-color: rgba(201, 162, 39, 0.35);
  color: var(--amber);
}

.product-card--compact {
  padding: 28px;
}

.product-card--compact .product-title {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.product-card--compact .product-badge-group {
  margin-bottom: 14px;
}

.product-card--compact .product-card-footer {
  margin-top: 8px;
  padding-top: 16px;
}

.intel-section {
  max-width: 920px;
}

.intel-panel {
  margin-top: 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.intel-panel--section {
  margin-top: 20px;
  max-width: 920px;
}

.intel-panel--inline {
  margin-top: 12px;
  font-size: 0.88rem;
}

.intel-panel summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secure);
  user-select: none;
  transition: background 0.2s ease;
}

.intel-panel summary:hover {
  background: rgba(93, 186, 122, 0.06);
}

.intel-panel summary::after {
  content: '+';
  float: right;
  color: var(--text-muted);
  font-weight: 600;
}

.intel-panel[open] summary::after {
  content: '−';
}

.intel-panel summary::-webkit-details-marker {
  display: none;
}

.intel-body {
  padding: 0 16px 16px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.intel-h4 {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

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

.intel-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.intel-list--tight {
  margin-top: 8px;
  font-size: 0.88rem;
}

.intel-list li {
  margin-bottom: 6px;
}

.intel-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--secure);
  font-size: 0.88rem;
  text-decoration: none;
}

.intel-link:hover {
  text-decoration: underline;
}

.signal-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signal-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding-left: 0;
}

.signal-key {
  display: inline-block;
  min-width: 7.5rem;
  color: var(--secure);
  font-size: 0.75rem;
  margin-right: 8px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 28px 0;
  max-width: 1080px;
}

.pipeline-step {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--bg-card);
}

.pipeline-step h4 {
  color: var(--heading);
  font-size: 1rem;
  margin: 8px 0 6px;
}

.pipeline-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.pipeline-num {
  color: var(--secure);
  font-size: 0.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 920px;
  margin-bottom: 8px;
}

.feature-tile {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.feature-tile h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.service-card--compact .service-desc {
  display: none;
}

.service-card--compact .brief-lead {
  margin-bottom: 10px;
}

.section-cta {
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 720px) {
  .log-entry {
    grid-template-columns: 64px 72px 1fr;
  }
  .log-entry .log-metric {
    display: none;
  }
}

@media (max-width: 992px) {
  .intel-columns,
  .pipeline,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Company redesign */
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.product-cat {
  color: var(--teal);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.map-panel {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px 12px 16px;
}

.infra-svg {
  width: 100%;
  height: auto;
  color: var(--text-muted);
  display: block;
}

.infra-svg rect {
  fill: var(--surface-inset);
  stroke: var(--border-color);
}

.infra-svg text {
  fill: var(--text-secondary);
}

.inode--alert rect { stroke: var(--amber); }
.inode--term rect { stroke: var(--secure); }
.inode--qs rect { stroke: var(--teal); }

.infra-live {
  stroke: var(--amber);
  stroke-dasharray: 8 6;
  animation: flow 2.8s linear infinite;
}

.map-panel.is-protected .infra-live { stroke: var(--secure); }
.map-panel.is-protected .inode--alert rect { stroke: var(--secure); }

.map-caption {
  margin: 8px 4px 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

@keyframes flow {
  to { stroke-dashoffset: -84; }
}

.scan-steps,
.crypto-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
}

.scan-steps li,
.crypto-steps li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.scan-steps li.is-on,
.crypto-steps li.is-on {
  color: var(--heading);
  border-color: var(--secure);
  background: var(--secure-dim);
}

.layer-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.layer {
  border-left: 2px solid var(--border-color);
  padding: 12px 16px;
  background: var(--bg-card);
}

.layer h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.layer p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.layer--answer {
  border-left-color: var(--secure);
}

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.timeline li {
  border: 1px solid var(--border-color);
  padding: 14px;
  background: var(--bg-card);
}

.timeline span {
  display: block;
  color: var(--teal);
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.timeline strong {
  display: block;
  margin-bottom: 6px;
}

.timeline p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.arch-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}

.arch-graph {
  display: grid;
  gap: 8px;
}

.arch-node {
  text-align: left;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}

.arch-node.is-selected,
.arch-node:focus-visible {
  border-color: var(--secure);
  outline: none;
}

.arch-detail {
  border: 1px solid var(--border-color);
  background: var(--surface-inset);
  padding: 18px 20px;
  min-height: 180px;
}

.arch-detail h3 {
  margin-bottom: 12px;
}

.arch-dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 12px;
  font-size: 0.92rem;
}

.arch-dl dt {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.compare-col {
  border: 1px solid var(--border-color);
  padding: 18px;
  background: var(--bg-card);
}

.compare-col h3 {
  margin-bottom: 8px;
}

.compare-close {
  margin-top: 16px;
  color: var(--text-secondary);
  max-width: 720px;
}

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

.tech-card {
  border: 1px solid var(--border-color);
  padding: 16px;
  background: var(--bg-card);
}

.product-card,
.hero-panel,
.tech-card,
.compare-col,
.eco-card,
.simulator-container,
.term-sample,
.inquiry-card {
  box-shadow: var(--elev-1);
}

.tech-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.tech-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.term-sample {
  margin-top: 16px;
  background: var(--surface-inset);
  border: 1px solid var(--border-color);
  padding: 16px 18px;
  overflow-x: auto;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.55;
}

.daemon-spec-card {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}

.daemon-spec-card:hover {
  border-color: var(--border-glow);
}

.daemon-spec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.daemon-spec-title {
  font-size: 1.15rem;
  color: var(--heading);
  margin-top: 6px;
  font-weight: 600;
}

.daemon-latency {
  font-size: 0.82rem;
  color: var(--secure);
  background: var(--secure-dim);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
  white-space: nowrap;
}

.spec-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.spec-tier {
  background: var(--surface-inset);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.tier-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 600;
}

.spec-tier h4 {
  font-size: 0.92rem;
  color: var(--heading);
  margin-bottom: 6px;
  font-weight: 500;
}

.spec-tier p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.dash {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  margin-top: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 18px;
}

.dash-score strong,
.dash-metrics strong {
  display: block;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dash .mono,
.dash-score .mono {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.eco-root {
  margin: 12px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.eco-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.eco-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border-color);
  padding: 16px;
  background: var(--bg-card);
  color: inherit;
  text-decoration: none;
}

.eco-card span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.eco-card--soon {
  opacity: 0.72;
}

.cta-band {
  margin-bottom: 28px;
}

.cbom-progress-track {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.cbom-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 30px;
}

.nav-ghost {
  padding: 8px 12px;
}

@media (max-width: 992px) {
  .timeline,
  .tech-grid,
  .eco-row,
  .compare-grid,
  .arch-layout,
  .dash,
  .dash-metrics {
    grid-template-columns: 1fr;
  }
  .nav-ghost,
  #nav-cta-btn { display: none; }
}

section[id] {
  scroll-margin-top: 84px;
}

.product-card,
.pipeline-step,
.feature-tile,
.layer,
.timeline li,
.tech-card,
.eco-card,
.compare-col,
.service-card,
.arch-node {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.5s ease;
}

.product-card:hover,
.pipeline-step:hover,
.feature-tile:hover,
.tech-card:hover,
.eco-card:hover,
.compare-col:hover,
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(93, 186, 122, 0.38);
}

.arch-node:hover {
  transform: translateX(4px);
  border-color: rgba(93, 186, 122, 0.38);
}

.scan-steps li,
.crypto-steps li,
.infra-svg rect,
#map-state,
.map-caption,
.arch-detail {
  transition: color 0.45s ease, border-color 0.45s ease, background-color 0.45s ease, stroke 0.7s ease, opacity 0.35s ease;
}

.map-panel.is-swapping #map-state,
.map-panel.is-swapping .map-caption,
.arch-detail.is-swapping {
  opacity: 0;
}

.reveal.is-visible .pipeline-step,
.reveal.is-visible .layer,
.reveal.is-visible .timeline li,
.reveal.is-visible .tech-card,
.reveal.is-visible .eco-card,
.reveal.is-visible .compare-col {
  animation: settle 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal.is-visible .pipeline-step:nth-child(2),
.reveal.is-visible .layer:nth-child(2),
.reveal.is-visible .timeline li:nth-child(2),
.reveal.is-visible .tech-card:nth-child(2),
.reveal.is-visible .eco-card:nth-child(2),
.reveal.is-visible .compare-col:nth-child(2) { animation-delay: 0.08s; }

.reveal.is-visible .pipeline-step:nth-child(3),
.reveal.is-visible .layer:nth-child(3),
.reveal.is-visible .timeline li:nth-child(3),
.reveal.is-visible .tech-card:nth-child(3),
.reveal.is-visible .eco-card:nth-child(3) { animation-delay: 0.16s; }

.reveal.is-visible .pipeline-step:nth-child(4),
.reveal.is-visible .layer:nth-child(4),
.reveal.is-visible .timeline li:nth-child(4),
.reveal.is-visible .tech-card:nth-child(4) { animation-delay: 0.24s; }

.reveal.is-visible .tech-card:nth-child(5) { animation-delay: 0.32s; }
.reveal.is-visible .tech-card:nth-child(6) { animation-delay: 0.4s; }

@keyframes settle {
  from { opacity: 0; }
  to { opacity: 1; }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.section-tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--secure);
}

.section-title {
  letter-spacing: -0.035em;
}

.brief-lead {
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.folio {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.folio summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heading);
}

.folio summary::-webkit-details-marker { display: none; }

.folio summary::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--secure);
  border-bottom: 1px solid var(--secure);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.folio[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.folio::details-content {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1), content-visibility 0.4s allow-discrete;
}

.folio[open]::details-content {
  height: auto;
}

.folio-body {
  padding: 0 16px 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-color);
}

.folio-body p { margin: 14px 0 0; }

.intel-list {
  list-style: none;
  padding-left: 0;
}

.intel-list li {
  position: relative;
  padding-left: 16px;
}

.intel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--secure);
}

.pipeline-step,
.feature-tile,
.layer,
.timeline li,
.tech-card,
.compare-col,
.arch-detail,
.term-sample,
.dash,
.inquiry-card,
.service-card {
  background: var(--bg-card);
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--surface-inset);
}

.feature-grid .folio { height: 100%; }

@media (prefers-reduced-motion: reduce) {
  .infra-live { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .folio::details-content { transition: none; }
  .reveal.is-visible .pipeline-step,
  .reveal.is-visible .layer,
  .reveal.is-visible .timeline li,
  .reveal.is-visible .tech-card,
  .reveal.is-visible .eco-card,
  .reveal.is-visible .compare-col {
    animation: none;
  }
  .product-card:hover,
  .pipeline-step:hover,
  .feature-tile:hover,
  .tech-card:hover,
  .eco-card:hover,
  .compare-col:hover,
  .service-card:hover,
  .arch-node:hover {
    transform: none;
  }
  .cbom-table tr.is-entering {
    opacity: 1;
  }
}

.sandbox-lead {
  max-width: 42rem;
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.decision-rail {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
}

.decision-rail li {
  padding: 7px 12px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.decision-rail li.is-current {
  color: var(--heading);
  border-color: color-mix(in srgb, var(--secure) 55%, var(--border-color));
  background: var(--secure-dim);
}

.decision-rail li.is-done {
  color: var(--heading);
  border-color: color-mix(in srgb, var(--secure) 50%, var(--border-color));
  background: color-mix(in srgb, var(--secure) 12%, transparent);
}

.sandbox-result {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.verdict {
  padding: 16px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface-inset);
}

.verdict[data-state="block"] {
  border-color: rgba(196, 92, 92, 0.45);
}

.verdict[data-state="ask"] {
  border-color: rgba(201, 162, 39, 0.5);
}

.verdict[data-state="allow"] {
  border-color: color-mix(in srgb, var(--secure) 55%, var(--border-color));
}

.verdict-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.verdict[data-state="block"] .verdict-kicker { color: #d4a0a0; }
.verdict[data-state="ask"] .verdict-kicker { color: #e2c56a; }
.verdict[data-state="allow"] .verdict-kicker { color: var(--secure); }

.verdict-title {
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
}

.verdict-why {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.preset-hint {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.preset-btn.is-selected {
  color: var(--heading);
  border-color: color-mix(in srgb, var(--secure) 45%, var(--border-color));
}

.cbom-table tr.is-entering {
  opacity: 0;
}

.cbom-table tr.is-entering.is-in {
  opacity: 1;
  transition: opacity 0.35s ease;
}

#cbom-summary {
  margin-bottom: 16px;
}

#operating .decision-rail {
  margin-top: 22px;
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  #nav-cta-btn { display: none; }
}

.sim-tabs {
  flex-wrap: wrap;
}

.sim-tab-btn.has-news {
  box-shadow: inset 0 -2px 0 var(--secure);
}

.graph-ask {
  margin-bottom: 16px;
}

.graph-ask-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.graph-ask-row .input-box {
  flex: 1;
}

.graph-stage {
  margin-top: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface-inset);
  overflow: auto;
}

#graph-svg {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
}

.graph-edge {
  stroke: var(--border-color);
  stroke-width: 1.25;
}

.graph-edge.is-hot {
  stroke: var(--secure);
  stroke-width: 2;
}

.graph-edge-label {
  fill: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-sans);
  text-anchor: middle;
}

.graph-node {
  cursor: pointer;
}

.graph-node circle {
  fill: var(--bg-card);
  stroke: var(--border-color);
  stroke-width: 1.5;
}

.graph-node--product circle { stroke: var(--teal); }
.graph-node--check circle { stroke: var(--amber); }
.graph-node--algo circle { stroke: var(--primary); }
.graph-node--concern circle { stroke: var(--rose); }
.graph-node--ready circle { stroke: var(--secure); }
.graph-node--name circle,
.graph-node--decision circle,
.graph-node--asset circle { stroke: var(--heading); }

.graph-node.is-hot circle {
  stroke-width: 2.5;
}

.graph-label {
  fill: var(--text-secondary);
  font-size: 12px;
  font-family: var(--font-sans);
  text-anchor: middle;
}

#graph-answer {
  margin-bottom: 4px;
}

@media (max-width: 720px) {
  .graph-ask-row {
    flex-direction: column;
    align-items: stretch;
  }
}
