@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Light Editorial Palette */
  --bg-porcelain: #FAF9FA;
  --bg-linen: #F4EFEA;
  --bg-blush: #F2EAEF;
  --bg-sage: #EAF1F3;
  --bg-white: #FFFFFF;
  --bg-pine: #0C2C2B;
  --bg-ink: #141817;

  /* Accents */
  --berry: #B52D54;
  --berry-bright: #E11D48;
  --coral: #EA6348;
  --slate-teal: #385558;
  --border-dusty: rgba(181, 45, 84, 0.16);
  --border-sage: rgba(56, 85, 88, 0.16);
  --border-linen: rgba(20, 24, 23, 0.08);

  /* Typography */
  --text-ink: #141817;
  --text-body: #4A5452;
  --text-muted: #788280;

  /* Backward-compatible tokens for subpages */
  --bg-deep: #FAF9FA;
  --bg-dark: #F4EFEA;
  --bg-light: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.85);
  --text-white: #141817;
  --text-light: #4A5452;
  --text-slate: #4A5452;
  --cyan-bright: #B52D54;
  --accent-cyan: #B52D54;
  --teal-deep: #0C2C2B;
  --accent-teal: #0C2C2B;
  --border-dark: rgba(20, 24, 23, 0.08);
  --border-light: rgba(20, 24, 23, 0.08);
  --border-cyan: rgba(181, 45, 84, 0.22);

  /* Wide Architectural Proportions */
  --max-w: 1420px;
  --radius-3xl: 36px;
  --radius-2xl: 28px;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --shadow-ambient: 0 24px 60px -15px rgba(20, 24, 23, 0.06), 0 4px 16px -4px rgba(20, 24, 23, 0.03);
  --shadow-3d: 0 36px 80px -20px rgba(20, 24, 23, 0.12), 0 12px 28px -8px rgba(181, 45, 84, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: var(--text-ink);
  background-color: var(--bg-porcelain) !important;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-porcelain) !important;
  color: var(--text-ink) !important;
  position: relative;
}

/* Full-Viewport Interactive 3D Canvas Backdrop */
#spectre-3d-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.92;
}

/* Ambient Floating 3D Gradient Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-berry {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, rgba(234, 99, 72, 0.04) 70%, transparent 100%);
  top: -120px;
  right: -80px;
}

.orb-sage {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(12, 44, 43, 0.08) 0%, rgba(193, 211, 216, 0.18) 65%, transparent 100%);
  bottom: -160px;
  left: -120px;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, -25px, 0) scale(1.06); }
  100% { transform: translate3d(-20px, 20px, 0) scale(0.96); }
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  color: var(--text-ink);
  font-weight: 600;
}

.serif,
em.serif,
.text-cyan {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--berry);
}

code, pre, .mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84em;
}

code {
  background: rgba(244, 239, 234, 0.9);
  color: var(--bg-pine);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-linen);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 56px;
  position: relative;
  z-index: 2;
}

/* Floating Glass Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 250, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-linen);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 32px;
}

.brand-logo img {
  height: 42px;
  width: auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border-linen);
  box-shadow: 0 4px 20px rgba(20, 24, 23, 0.035);
  position: relative;
}

.nav-links li {
  position: relative;
  z-index: 2;
}

.nav-links a {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 9px 22px;
  border-radius: 999px;
  position: relative;
  z-index: 2;
  transition: color 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
  color: var(--text-ink);
}

.nav-links a.active {
  color: #FFFFFF;
  font-weight: 600;
}

/* Fallback background only when JS glider has not initialized */
.nav-links:not(.has-glider) a.active {
  background: var(--bg-ink);
  box-shadow: 0 4px 12px rgba(20, 24, 23, 0.14);
}

/* Smooth Spring-Physics Gliding Pill Indicators for Menus */
.nav-glider,
.nav-hover-glider {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  border-radius: 999px;
  pointer-events: none;
  will-change: transform, width, opacity;
}

.nav-glider {
  background: var(--bg-ink);
  box-shadow: 0 6px 16px -2px rgba(20, 24, 23, 0.22);
  z-index: 1;
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease;
}

.nav-hover-glider {
  background: rgba(181, 45, 84, 0.075);
  z-index: 0;
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

/* Smooth SPA Page Transition Stage */
#spectre-page-stage {
  position: relative;
  z-index: 1;
  transition:
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

#spectre-page-stage.is-leaving {
  opacity: 0;
  transform: translateY(10px) scale(0.995);
  filter: blur(4px);
  pointer-events: none;
}

#spectre-page-stage.is-entering {
  opacity: 0;
  transform: translateY(14px) scale(0.995);
  filter: blur(4px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--bg-ink);
  color: #FAF9FA;
  box-shadow: 0 10px 24px -6px rgba(20, 24, 23, 0.22);
}

.btn-primary:hover {
  background: var(--berry);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(181, 45, 84, 0.38);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  color: var(--text-ink);
  border-color: rgba(20, 24, 23, 0.14);
}

.btn-outline:hover {
  background: #FFFFFF;
  border-color: var(--berry);
  color: var(--berry);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--border-linen);
  color: var(--text-ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

/* Ultra-Spacious Sections (Generous Breathing Room) */
section {
  padding: 168px 0;
  position: relative;
  z-index: 1;
}

.section-porcelain,
.section-deep {
  background: transparent;
}

.section-linen,
.section-dark {
  background: rgba(244, 239, 234, 0.65);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-linen);
  border-bottom: 1px solid var(--border-linen);
}

.section-white,
.section-light {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-linen);
  border-bottom: 1px solid var(--border-linen);
}

/* Editorial Section Headers with Huge Airy Margin */
.section-header-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 96px;
}

.section-header-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 92px;
}

.eyebrow,
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--berry);
  background: rgba(242, 234, 239, 0.9);
  border: 1px solid var(--border-dusty);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.eyebrow::before,
.eyebrow-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--berry-bright);
  box-shadow: 0 0 10px var(--berry-bright);
}

h1 {
  font-size: clamp(2.9rem, 5.2vw, 4.65rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--text-ink);
}

h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.35rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--text-ink);
}

h3 {
  font-size: 1.38rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-ink);
}

.lead {
  font-size: 1.24rem;
  color: var(--text-body);
  line-height: 1.72;
  font-weight: 400;
}

/* Hero Section with 3D Interactive Isometric Stack */
.hero-3d-stage {
  padding: 132px 0 148px;
  position: relative;
  overflow: hidden;
}

.hero-stage-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 80px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

/* 3D Perspective Stack in Hero */
.iso-scene {
  perspective: 1400px;
  position: relative;
  padding: 20px 0;
}

.iso-stack {
  transform-style: preserve-3d;
  transform: rotateX(12deg) rotateY(-16deg) rotateZ(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.iso-scene:hover .iso-stack {
  transform: rotateX(6deg) rotateY(-8deg) rotateZ(0deg);
}

.iso-slab {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-right: 1px solid var(--border-dusty);
  border-bottom: 3px solid rgba(181, 45, 84, 0.22);
  border-radius: 22px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow:
    -12px 20px 38px rgba(20, 24, 23, 0.08),
    0 2px 6px rgba(20, 24, 23, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: default;
}

.iso-slab:hover {
  transform: translate3d(14px, -6px, 28px);
  border-color: var(--berry);
  box-shadow:
    -20px 30px 52px rgba(181, 45, 84, 0.14),
    0 4px 12px rgba(20, 24, 23, 0.05);
}

.iso-slab-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.iso-cube {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--bg-pine) 0%, #1F4E4D 100%);
  color: #FFFFFF;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px -4px rgba(12, 44, 43, 0.3);
}

.iso-slab.berry-slab .iso-cube {
  background: linear-gradient(135deg, var(--berry-bright) 0%, var(--coral) 100%);
  box-shadow: 0 8px 16px -4px rgba(225, 29, 72, 0.35);
}

.iso-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 3px;
}

.iso-sub {
  font-size: 0.84rem;
  color: var(--text-body);
}

.iso-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-blush);
  color: var(--berry);
  white-space: nowrap;
}

/* Infinite Animated Ecosystem Marquee */
.marquee-strip {
  padding: 36px 0;
  border-top: 1px solid var(--border-linen);
  border-bottom: 1px solid var(--border-linen);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: marqueeScroll 38s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--berry);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Monumental Open Counter Strip (No cramped boxes — pure architectural space) */
.open-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  padding-top: 24px;
}

.open-stat-item {
  border-top: 2px solid var(--text-ink);
  padding-top: 32px;
  position: relative;
}

.open-stat-item:nth-child(even) {
  border-top-color: var(--berry);
}

.open-stat-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(3rem, 4.8vw, 4.4rem);
  color: var(--text-ink);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.open-stat-item:nth-child(even) .open-stat-num {
  color: var(--berry);
}

.open-stat-desc {
  font-size: 1.04rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Interactive 3D Tilt Cards & Spacious Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.card-dark,
.card-light,
.tilt-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid var(--border-linen);
  border-radius: var(--radius-2xl);
  padding: 48px 42px;
  color: var(--text-ink);
  box-shadow: var(--shadow-ambient);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), outline-color 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.card-dark:hover,
.card-light:hover,
.tilt-card:hover {
  outline-color: var(--border-dusty);
  box-shadow: var(--shadow-3d);
  transform: translateY(-6px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-pine) 0%, #1E4B4A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 12px 24px -6px rgba(12, 44, 43, 0.25);
}

.card-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(1.3);
}

.card-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 0.94rem;
  color: var(--berry);
  margin-bottom: 14px;
  display: block;
}

.card-dark p,
.card-light p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.72;
}

/* Interactive Control Plane Tabs */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  position: relative;
}

.tab-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--border-linen);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-body);
  cursor: pointer;
  transition:
    background-color 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-btn:hover {
  border-color: var(--berry);
  color: var(--text-ink);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--bg-pine);
  color: #FFFFFF;
  border-color: var(--bg-pine);
  box-shadow: 0 12px 28px -6px rgba(12, 44, 43, 0.32);
  transform: translateY(-1px);
}

.tab-panel {
  display: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-dusty);
  border-radius: var(--radius-3xl);
  padding: 68px;
  box-shadow: var(--shadow-3d);
  opacity: 0;
  transform: translateY(12px) scale(0.992);
  filter: blur(3px);
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

.tab-panel.is-fading-out {
  opacity: 0 !important;
  transform: translateY(-8px) scale(0.994) !important;
  filter: blur(3px) !important;
}

.tab-visual-card {
  background: var(--bg-linen);
  border: 1px solid var(--border-linen);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: inset 0 2px 8px rgba(20, 24, 23, 0.03);
}

/* Scroll-Triggered Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Editorial Quote Banner */
.quote-banner {
  background: linear-gradient(135deg, rgba(242, 234, 239, 0.92) 0%, rgba(234, 241, 243, 0.88) 100%);
  border: 1px solid var(--border-dusty);
  border-radius: var(--radius-3xl);
  padding: 84px 76px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-ambient);
}

.quote-text {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  line-height: 1.58;
  color: var(--text-ink);
  margin-bottom: 28px;
}

.quote-author {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--berry);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Feature Lists */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.68;
}

.check-list li strong {
  color: var(--text-ink);
  font-weight: 600;
}

.check-list li::before {
  content: '✦';
  color: var(--berry);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-shrink: 0;
}

/* Badges & Pills */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 14px;
  border-radius: 999px;
}

.badge-cyan,
.badge-teal {
  background: var(--bg-blush);
  color: var(--berry);
  border: 1px solid var(--border-dusty);
}

.badge-danger {
  background: #FDF1EE;
  color: #C84528;
  border: 1px solid #F5CFC6;
}

.badge-success {
  background: var(--bg-sage);
  color: var(--bg-pine);
  border: 1px solid var(--border-sage);
}

.module-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.module-pill {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--border-linen);
  color: var(--text-ink);
  box-shadow: 0 2px 6px rgba(20, 24, 23, 0.03);
}

/* Partner, Person & Event Cards */
.partner-card,
.person-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-linen);
  border-radius: var(--radius-2xl);
  padding: 38px 34px;
  box-shadow: var(--shadow-ambient);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-card:hover,
.person-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3d);
  border-color: var(--border-dusty);
}

.partner-region {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--berry);
  display: block;
  margin-bottom: 12px;
}

.person-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.person-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-dusty);
  background: var(--bg-linen);
  flex-shrink: 0;
}

.person-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-ink);
}

.person-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--berry);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.person-bio {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.68;
}

.event-card {
  background: var(--bg-white);
  border: 1px solid var(--border-linen);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3d);
}

.event-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.event-card-body {
  padding: 28px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-linen);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-ambient);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.98rem;
}

table.data-table th,
table.data-table td {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-linen);
  line-height: 1.65;
  color: var(--text-body);
}

table.data-table td strong {
  color: var(--text-ink);
}

table.data-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-ink);
  background: var(--bg-linen);
  font-weight: 700;
}

table.data-table tr:last-child td {
  border-bottom: none;
}

/* Metric Cards on Subpages */
.metric-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-linen);
  border-radius: var(--radius-2xl);
  padding: 42px 30px;
  text-align: center;
  box-shadow: var(--shadow-ambient);
}

.metric-val {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2.6rem;
  color: var(--berry);
  line-height: 1.15;
}

.metric-lbl {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-top: 12px;
}

.runtime-log-box {
  background: var(--bg-porcelain);
  border: 1px solid var(--border-dusty);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.hero {
  padding: 124px 0 108px;
  background: transparent;
  border-bottom: 1px solid var(--border-linen);
}

/* ==========================================================================
   BLOOM-STYLE LIVE BLOCKING ANIMATIONS (VOTAL.AI + 1STPROTECT.AI MECHANICS)
   ========================================================================== */

/* Hero View Switcher Pills */
.hero-stage-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 239, 234, 0.92);
  border: 1px solid var(--border-dusty);
  padding: 5px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(20, 24, 23, 0.05);
}

.stage-switch-btn {
  border: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.stage-switch-btn.active {
  background: var(--bg-white);
  color: var(--text-ink);
  box-shadow: 0 4px 12px rgba(20, 24, 23, 0.08);
}

.pulse-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--berry-bright);
  opacity: 0.75;
  animation: bloomPing 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot::after {
  content: '';
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--berry-bright);
}

.pulse-dot.pine::before,
.pulse-dot.pine::after {
  background: #0C6B58;
}

@keyframes bloomPing {
  75%, 100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

/* 1. Votal-inspired Live Dual-Plane Runtime Trace Card (Bloom Editorial Theme) */
.live-trace-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-dusty);
  border-radius: 28px;
  box-shadow:
    0 32px 68px -16px rgba(20, 24, 23, 0.11),
    0 4px 16px -2px rgba(20, 24, 23, 0.04);
  overflow: hidden;
  position: relative;
}

.live-trace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-linen);
  border-bottom: 1px solid var(--border-linen);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(20, 24, 23, 0.16);
}

.window-dots span:nth-child(1) { background: rgba(225, 29, 72, 0.45); }
.window-dots span:nth-child(2) { background: rgba(217, 119, 6, 0.45); }
.window-dots span:nth-child(3) { background: rgba(12, 107, 88, 0.45); }

.live-trace-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease;
}

.live-trace-body.is-morphing {
  opacity: 0.18;
  transform: translateY(5px) scale(0.994);
  filter: blur(2px);
}

[data-hero-view] {
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
}

[data-hero-view].is-switching {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  filter: blur(4px);
}

.killswitch-grid {
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease;
}

.killswitch-grid.is-morphing {
  opacity: 0.25;
  transform: translateY(6px) scale(0.995);
  filter: blur(2px);
}

.trace-node {
  background: var(--bg-porcelain);
  border: 1px solid var(--border-linen);
  border-radius: 16px;
  padding: 16px 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.trace-node.gate-node {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 234, 239, 0.55) 100%);
  border: 1.5px solid rgba(181, 45, 84, 0.38);
  box-shadow: 0 12px 30px -10px rgba(181, 45, 84, 0.14);
}

.trace-node.verdict-blocked {
  background: #FDF2F4;
  border: 1.5px solid rgba(181, 45, 84, 0.45);
}

.trace-node.verdict-redacted {
  background: #FFFBEB;
  border: 1.5px solid rgba(180, 83, 9, 0.38);
}

.trace-node.verdict-allowed {
  background: #ECFDF5;
  border: 1.5px solid rgba(12, 107, 88, 0.38);
}

.trace-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.trace-agent-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trace-plane-pill {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--border-linen);
  color: var(--text-muted);
}

.trace-call-box {
  background: var(--bg-white);
  border: 1px solid var(--border-linen);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-ink);
  word-break: break-word;
}

.trace-conduit {
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.trace-conduit-line {
  width: 2px;
  height: 100%;
  background: var(--border-dusty);
  position: relative;
  overflow: hidden;
}

.trace-conduit-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--berry-bright), transparent);
  animation: conduitPulse 1.4s linear infinite;
}

@keyframes conduitPulse {
  0% { top: -100%; }
  100% { top: 100%; }
}

.trace-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.76rem;
  border-bottom: 1px dashed rgba(20, 24, 23, 0.08);
}

.trace-check-row:last-of-type {
  border-bottom: none;
}

.trace-status-allow {
  color: #0C6B58;
  font-weight: 700;
}

.trace-status-deny {
  color: var(--berry-bright);
  font-weight: 700;
}

.trace-status-mask {
  color: #B45309;
  font-weight: 700;
}

.trace-violation-note {
  margin-top: 8px;
  padding: 7px 10px;
  border-left: 3px solid var(--berry);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0 8px 8px 0;
  font-size: 0.73rem;
  color: var(--text-body);
}

.verdict-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.verdict-pill.blocked {
  background: rgba(225, 29, 72, 0.12);
  color: var(--berry-bright);
  border: 1px solid rgba(225, 29, 72, 0.35);
}

.verdict-pill.redacted {
  background: rgba(217, 119, 6, 0.14);
  color: #B45309;
  border: 1px solid rgba(217, 119, 6, 0.35);
}

.verdict-pill.allowed {
  background: rgba(12, 107, 88, 0.12);
  color: #0C6B58;
  border: 1px solid rgba(12, 107, 88, 0.35);
}

.trace-selector-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 24px 18px;
  background: var(--bg-porcelain);
  border-top: 1px solid var(--border-linen);
}

.trace-scenario-pill {
  border: 1px solid var(--border-linen);
  background: var(--bg-white);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trace-scenario-pill:hover,
.trace-scenario-pill.active {
  background: var(--bg-pine);
  color: #FFFFFF;
  border-color: var(--bg-pine);
}

/* 2. Bloom Lifecycle Bar (See -> Understand -> Intercept -> Prevent) */
.bloom-lifecycle-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.lifecycle-step {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-linen);
  border-radius: 18px;
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.lifecycle-step.active {
  background: var(--bg-white);
  border-color: var(--berry);
  box-shadow: 0 18px 38px -12px rgba(181, 45, 84, 0.15);
  transform: translateY(-3px);
}

.lifecycle-step-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--berry) 0%, var(--coral) 100%);
  transition: width 0.4s ease;
}

.lifecycle-step.active .lifecycle-step-progress {
  width: 100%;
}

.lifecycle-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.lifecycle-step.active .lifecycle-step-num {
  color: var(--berry);
}

.lifecycle-step-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-ink);
  margin-bottom: 4px;
}

.lifecycle-step-sub {
  font-size: 0.84rem;
  color: var(--text-body);
}

/* 3. 1stProtect-Inspired "Anatomy of a Real-Time Block" Kill-Switch Simulator */
.killswitch-shell {
  background: var(--bg-white);
  border: 1px solid var(--border-dusty);
  border-radius: 32px;
  box-shadow: var(--shadow-3d);
  overflow: hidden;
}

.killswitch-vector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 28px;
  background: var(--bg-linen);
  border-bottom: 1px solid var(--border-linen);
  align-items: center;
  justify-content: space-between;
}

.killswitch-tab-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ks-vector-btn {
  border: 1px solid var(--border-linen);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-body);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ks-vector-btn:hover {
  background: var(--bg-white);
  color: var(--text-ink);
}

.ks-vector-btn.active {
  background: var(--bg-pine);
  color: #FFFFFF;
  border-color: var(--bg-pine);
  box-shadow: 0 8px 20px -6px rgba(12, 44, 43, 0.35);
}

.killswitch-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 460px;
}

.ks-visual-stage {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border-linen);
  background:
    radial-gradient(circle at 50% 45%, rgba(242, 234, 239, 0.65) 0%, rgba(255, 255, 255, 0) 70%),
    var(--bg-white);
  position: relative;
}

.ks-pipeline-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0;
  position: relative;
}

.ks-endpoint-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 128px;
  text-align: center;
  z-index: 2;
}

.ks-node-circle {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.35s ease;
}

.ks-node-circle.attacker {
  background: #FDF2F4;
  border: 2px solid var(--berry-bright);
  color: var(--berry-bright);
  box-shadow: 0 12px 28px -6px rgba(225, 29, 72, 0.25);
}

.ks-node-circle.target {
  background: var(--bg-sage);
  border: 2px solid #0C6B58;
  color: #0C6B58;
  box-shadow: 0 12px 28px -6px rgba(12, 107, 88, 0.2);
}

.ks-node-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ks-node-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ks-conduit-track {
  flex: 1;
  height: 6px;
  background: var(--bg-linen);
  border-radius: 999px;
  position: relative;
  display: flex;
  align-items: center;
}

.ks-attack-beam {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F43F5E 0%, var(--berry-bright) 100%);
  border-radius: 999px;
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.55);
}

.ks-safe-beam {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 50%;
  background: repeating-linear-gradient(
    90deg,
    rgba(12, 107, 88, 0.28) 0px,
    rgba(12, 107, 88, 0.28) 6px,
    transparent 6px,
    transparent 12px
  );
  border-radius: 999px;
}

/* Midpoint Spectre Intercept Gate */
.ks-shield-barrier {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--bg-white);
  border: 2px solid var(--border-dusty);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(20, 24, 23, 0.08);
}

.ks-shield-barrier.intercepting {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--bg-pine);
  border-color: #0C6B58;
  color: #FFFFFF;
  box-shadow:
    0 0 0 10px rgba(181, 45, 84, 0.14),
    0 0 0 22px rgba(12, 107, 88, 0.08),
    0 16px 36px rgba(12, 44, 43, 0.35);
}

.ks-status-banner {
  background: var(--bg-porcelain);
  border: 1px solid var(--border-linen);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ks-status-banner.blocked-state {
  background: #FDF2F4;
  border-color: rgba(181, 45, 84, 0.35);
}

.ks-terminal-stage {
  background: #101615;
  color: #EAE6E1;
  padding: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.ks-terminal-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(193, 211, 216, 0.05) 50%,
    transparent 100%
  );
  height: 35%;
  animation: terminalScan 4s linear infinite;
  pointer-events: none;
}

@keyframes terminalScan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

.ks-log-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
  min-height: 195px;
}

.ks-log-line {
  line-height: 1.5;
  opacity: 0;
  transform: translateX(-8px);
  animation: ksLineIn 0.28s ease forwards;
}

@keyframes ksLineIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ks-log-line.alert { color: #FDA4AF; }
.ks-log-line.warn { color: #FCD34D; }
.ks-log-line.block { color: #6EE7B7; font-weight: 600; }
.ks-log-line.info { color: #94A3B8; }

.ks-policy-snippet {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.73rem;
  line-height: 1.55;
  color: #D1FAE5;
  white-space: pre-wrap;
}

/* 4. Votal-Inspired Live Guardrail Policy Scanner & Streaming Decision Feed */
.live-feed-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.policy-scanner-card,
.decision-stream-card {
  background: var(--bg-white);
  border: 1px solid var(--border-dusty);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.scanner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  border-bottom: 1px solid var(--border-linen);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.25s ease;
}

.scanner-row:last-child {
  border-bottom: none;
}

.scanner-row:hover {
  background: var(--bg-porcelain);
}

.scanner-row.scanning {
  background: rgba(242, 234, 239, 0.55);
  border-left: 4px solid var(--berry);
  padding-left: 18px;
}

.scanner-row.scanning::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(181, 45, 84, 0.12), transparent);
  animation: rowScanBeam 1.35s linear infinite;
  pointer-events: none;
}

@keyframes rowScanBeam {
  0% { left: -40%; }
  100% { left: 100%; }
}

.scanner-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scanner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-dusty);
}

.scanner-row.scanning .scanner-dot {
  background: var(--berry-bright);
  box-shadow: 0 0 10px var(--berry-bright);
}

.scanner-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-ink);
}

.scanner-plane-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  background: var(--bg-linen);
  padding: 2px 8px;
  border-radius: 999px;
}

.scanner-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}

.scanner-count {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.decision-table-wrap {
  overflow-x: auto;
}

.decision-stream-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
}

.decision-stream-table th {
  text-align: left;
  padding: 12px 18px;
  background: var(--bg-porcelain);
  border-bottom: 1px solid var(--border-linen);
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.decision-stream-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-linen);
  color: var(--text-ink);
  vertical-align: middle;
}

.decision-row-new {
  animation: decisionSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes decisionSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
    background-color: rgba(242, 234, 239, 0.85);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    background-color: transparent;
  }
}

@media (max-width: 1120px) {
  .bloom-lifecycle-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .killswitch-grid,
  .live-feed-grid {
    grid-template-columns: 1fr;
  }
  .ks-visual-stage {
    border-right: none;
    border-bottom: 1px solid var(--border-linen);
  }
}

@media (max-width: 768px) {
  .bloom-lifecycle-bar {
    grid-template-columns: 1fr;
  }
  .ks-pipeline-diagram {
    flex-direction: column;
    gap: 28px;
  }
  .ks-conduit-track {
    width: 6px;
    height: 110px;
  }
}

/* Footer */
.site-footer {
  background: rgba(244, 239, 234, 0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-linen);
  padding: 104px 0 56px;
  color: var(--text-body);
  font-size: 0.96rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

.footer-col h4 {
  color: var(--text-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a:hover {
  color: var(--berry);
}

.footer-bottom {
  padding-top: 36px;
  border-top: 1px solid var(--border-linen);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

@media (max-width: 1120px) {
  .container {
    padding: 0 32px;
  }
  .hero-stage-grid,
  .section-header-split,
  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .open-stats-grid,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-glider,
  .nav-hover-glider {
    display: none;
  }
  .nav-links {
    display: flex;
    position: absolute;
    top: 92px;
    left: 16px;
    right: 16px;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid var(--border-dusty);
    box-shadow: var(--shadow-3d);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition:
      opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav-links a.active {
    background: var(--bg-ink);
  }
  .mobile-menu-btn {
    display: inline-block;
  }
  .open-stats-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .tab-panel {
    padding: 36px 24px;
  }
  .quote-banner {
    padding: 48px 28px;
  }
  section {
    padding: 104px 0;
  }
}
