﻿/* ==========================================================================
   ClearVoice Platform - Apple SF Pro White Design System
   Engineered for Institutional Integrity, Sovereign Trust & Minimal Steps UX
   ========================================================================== */

:root {
  /* Apple Pure White & Warm Titanium Light Surfaces */
  --bg-base: #FFFFFF;
  --bg-subtle: #FBFBFD;
  --bg-surface: #F5F5F7;
  --bg-surface-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-modal: rgba(255, 255, 255, 0.94);
  
  /* Hairline Specular Borders */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-specular: rgba(0, 113, 227, 0.16);
  --border-hover: rgba(0, 113, 227, 0.38);

  /* Color Psychology in Institutional Integrity Design */
  /* Trust & Sovereign Authority: Apple Sapphire Blue */
  --accent-trust: #0071E3;
  --accent-trust-hover: #0077ED;
  --accent-trust-light: rgba(0, 113, 227, 0.08);
  --accent-trust-border: rgba(0, 113, 227, 0.22);

  /* Verification, Safety & Vindicated Truth: Apple Emerald Green */
  --accent-verify: #34C759;
  --accent-verify-hover: #30D158;
  --accent-verify-light: rgba(52, 199, 89, 0.10);
  --accent-verify-border: rgba(52, 199, 89, 0.25);

  /* Vigilance, Scrutiny & Active Investigation: Apple Amber */
  --accent-alert: #FF9500;
  --accent-alert-hover: #F59E0B;
  --accent-alert-light: rgba(255, 149, 0, 0.10);
  --accent-alert-border: rgba(255, 149, 0, 0.26);

  /* Confidentiality & Cryptographic Sovereignty: Apple Iris / Indigo */
  --accent-crypto: #5856D6;
  --accent-crypto-light: rgba(88, 86, 214, 0.08);
  --accent-crypto-border: rgba(88, 86, 214, 0.22);

  /* Typographic Hierarchy (SF Pro System) */
  --text-primary: #1D1D1F;
  --text-secondary: #4A4A4F;
  --text-tertiary: #86868B;
  --text-inverse: #FFFFFF;

  /* Typography Stacks — Noto Sans Sinhala / Tamil in the base chain so
     Sinhala and Tamil glyphs render in Noto everywhere (per-glyph fallback:
     Latin from the SF/Jakarta faces, Si/Ta from Noto). */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Plus Jakarta Sans", "Noto Sans Sinhala", "Noto Sans Tamil", system-ui, sans-serif;
  --font-sinhala: 'Noto Sans Sinhala', var(--font-sans);
  --font-tamil: 'Noto Sans Tamil', var(--font-sans);
  --font-mono: 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  /* Apple Precision Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 4px; /* FBI-grade precision rectangular corners */

  /* Soft Ambient Layered Shadows */
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 30px -6px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 16px 40px -10px rgba(0, 113, 227, 0.12), 0 3px 8px rgba(0, 0, 0, 0.06);
  --shadow-floating: 0 24px 60px -12px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);

  /* Apple Fluid Motion Timing Curves */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s var(--ease-apple);
  --transition-smooth: 0.32s var(--ease-apple);
  --transition-long: 0.60s var(--ease-apple);

  /* Layout Constants */
  --header-height: 68px;
  --max-width: 1240px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: scroll;
  overflow-x: hidden;
  max-width: 100vw;
  scrollbar-gutter: stable;
  -webkit-tap-highlight-color: transparent;
}

/* Hero: one identical style for every language — no per-script overrides. */

body {
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  background-color: transparent;
  color: var(--text-primary);
  min-height: 100vh;
}

body[data-lang="si"] {
  font-family: var(--font-sinhala);
}
body[data-lang="ta"] {
  font-family: var(--font-tamil);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3.5vw, 36px);
  padding-right: clamp(16px, 3.5vw, 36px);
}

/* ==========================================================================
   Header & Sticky Navigation (Frosted Glass & Inline Brand Lockup)
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: #FFFFFF;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.header.scrolled {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header .container {
  max-width: 1380px;
  padding-left: clamp(16px, 2.5vw, 32px);
  padding-right: clamp(16px, 2.5vw, 32px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

/* Brand Kit Standard: Stacked Wordmark with Mathematically Aligned Tracking */
.brand-link {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  z-index: 10;
  flex: 0 0 auto;
  white-space: nowrap;
}

.brand-stacked-lockup,
.brand-inline-lockup {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
  user-select: none;
}

/* Enforce Universal SF Pro / Plus Jakarta Font Family on Brand Logo */
.brand-link,
.brand-link *,
.brand-stacked-lockup,
.brand-stacked-lockup *,
.brand-inline-lockup,
.brand-inline-lockup *,
.brand-wordmark,
.brand-wordmark *,
.brand-slogan {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Plus Jakarta Sans", system-ui, sans-serif !important;
}

.brand-wordmark {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0F172A;
  line-height: 1;
  display: block;
}

.brand-wordmark-accent {
  color: var(--accent-trust);
}

/* Slogan: Tracked exactly to match the width of ClearVoice for a unified brand block */
.brand-slogan {
  font-size: 7.2px;
  font-weight: 700;
  letter-spacing: 0.17em;
  color: #64748B;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3.5px;
  display: block;
  white-space: nowrap;
}

/* Professional Single-Line Navigation Menu Centered Mathematically with Locked Slot */
.nav-desktop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 0.5vw, 6px);
  white-space: nowrap;
  pointer-events: auto;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  letter-spacing: -0.01em;
  padding: 4px 6px;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.2;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-link:hover {
  color: #0F172A;
  background-color: rgba(15, 23, 42, 0.05);
}

.nav-link.active,
.nav-link:focus-visible {
  color: var(--accent-trust);
  background-color: rgba(2, 132, 199, 0.08);
  font-weight: 600;
}

/* Header Actions & International Language Picker */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  z-index: 10;
  min-width: 270px;
}

.international-lang-picker {
  position: relative;
  display: inline-block;
}

.lang-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.lang-picker-btn:hover {
  background: #FFFFFF;
  border-color: rgba(0, 113, 227, 0.35);
  color: var(--accent-trust);
}

.lang-picker-btn .globe-icon {
  color: var(--accent-trust);
  flex-shrink: 0;
}

/* Picker labels must resolve Sinhala/Tamil glyphs from Noto even before
   the body font stack applies (prevents tofu boxes on first paint). */
.lang-picker-btn .current-lang-text,
.lang-dropdown-item,
.lang-dropdown-item .lang-name,
.lang-dropdown-item .lang-subname {
  font-family: "Plus Jakarta Sans", "Noto Sans Sinhala", "Noto Sans Tamil", system-ui, sans-serif;
}

.lang-picker-btn .chevron-icon {
  color: #64748B;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.international-lang-picker.open .lang-picker-btn .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, calc(100vw - 24px));
  max-height: 440px;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 18px;
  box-shadow: 0 20px 48px -6px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.international-lang-picker.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-search-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: #FAFAFB;
}

.lang-search-header .search-icon {
  color: #94A3B8;
  flex-shrink: 0;
}

.lang-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
}

.lang-search-input::placeholder {
  color: #94A3B8;
}

.lang-dropdown-scroll {
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.lang-dropdown-scroll::-webkit-scrollbar {
  width: 5px;
}
.lang-dropdown-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
}

.lang-group-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  padding: 8px 10px 4px;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #1E293B;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: left;
  box-sizing: border-box;
}

.lang-dropdown-item:hover {
  background: rgba(0, 113, 227, 0.08);
  color: #0071E3;
}

.lang-dropdown-item.active {
  background: rgba(0, 113, 227, 0.12);
  color: #0071E3;
  font-weight: 700;
}

.lang-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lang-flag {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.lang-name {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  white-space: nowrap;
}

.lang-subname {
  font-size: 11px;
  color: #64748B;
  white-space: nowrap;
  margin-left: 4px;
}

.lang-item-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang-code {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
}

.lang-check {
  font-size: 13px;
  font-weight: 800;
  color: #0071E3;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.15s ease;
}

.lang-dropdown-item.active .lang-check {
  opacity: 1;
  transform: scale(1);
}

.lang-no-results {
  padding: 20px 12px;
  text-align: center;
  font-size: 12.5px;
  color: #94A3B8;
  display: none;
}

.btn-schedule {
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 12px;
  box-sizing: border-box;
  background: #000000 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  border-radius: 4px;
}

.btn-schedule:hover {
  background: #18191D !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
}

/* Apple Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #000000;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: #18191D;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #EBEBEF;
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  font-size: 22px;
  padding: 6px 10px;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  line-height: 1;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-120%);
  transition: transform var(--transition-smooth);
  z-index: 999;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer .nav-link {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-drawer .nav-link:active,
.mobile-drawer .nav-link:hover {
  color: var(--accent-trust);
  padding-left: 6px;
}

/* ==========================================================================
   Balanced Viewport Section Standard (Natural Flow, No Bottom-Flushing)
   ========================================================================== */

.page-section {
  padding: clamp(24px, 3.5vh, 40px) 0;
  scroll-margin-top: var(--header-height);
  position: relative;
  background-color: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1;
}

/* Viewport-fit canvases: section top lands at nav bottom and fills the
   remaining viewport exactly — one complete canvas per landing. */
#workflow,
#statutory,
#sla {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#workflow > .container,
#statutory > .container,
#sla > .container {
  width: 100%;
}

.page-section:nth-child(even) {
  background-color: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto clamp(14px, 2.2vh, 22px);
}

/* Editorial Section Labels (Replaces Generic AI-Slop Pulse Badges) */
.section-label-editorial,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  padding: 0 !important;
  margin-bottom: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #94A3B8;
}

.section-label-editorial::before,
.badge::before {
  content: "â€¢";
  color: var(--accent-trust);
  font-size: 14px;
  line-height: 1;
}

/* Specific theme variants */
.label-alert::before,
.badge-alert::before {
  color: var(--accent-alert);
}

.label-verify::before,
.badge-verify::before {
  color: var(--accent-verify);
}

.label-dark,
.badge-military {
  color: #94A3B8 !important;
}

.label-dark::before,
.badge-military::before {
  color: #10B981;
}

/* Remove pulse dots completely */
.badge-dot,
.pulse-dot,
.intel-radar-dot {
  display: none !important;
}

.section-title {
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Hero Section (Apple-Inspired Centered Architecture & Subtle Ambient Gradients)
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: var(--header-height);
  padding-bottom: 0;
  background: #070B14;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1;
  scroll-margin-top: 0;
  box-sizing: border-box;
}

.hero-left-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}

.hero-narrative-left {
  max-width: 760px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

/* Hero eyebrow — emerald rule + wide-tracked label, hero narrative only */
.hero-narrative-left .section-label-editorial {
  margin-bottom: 28px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: #8FA0B5;
}
.hero-narrative-left .section-label-editorial::before {
  content: "";
  width: 56px;
  height: 2px;
  border-radius: 0;
  background: #10B981;
  flex: 0 0 auto;
}

.hero-badge-apple {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 0;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  color: #94A3B8;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-badge-apple::before {
  content: "[ ";
  color: #64748B;
  font-weight: 400;
  margin-right: 1px;
}

.hero-badge-apple::after {
  content: " ]";
  color: #64748B;
  font-weight: 400;
  margin-left: 1px;
}

.hero-badge-apple .badge-dot,
.hero-badge-apple .pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: none !important;
  box-shadow: none !important;
}

.hero-title-apple {
  font-family: var(--font-sans);
  font-size: calc(clamp(2.3rem, 2.4vw + 1.5rem, 2.5rem) * var(--hero-title-scale));
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 28px;
  text-align: left;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
  word-break: normal;
  /* Identical in every language: both spans hold one line each
     inside the 760px measure — verified against the longest
     translations (si/ta/ru/de/fr/ar) at the 2.5rem cap. */
  min-height: 2.32em;
  max-width: 760px;
}

.hero-title-accent {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: #F05A50;
  display: inline;
}

.hero-subtitle-apple {
  font-family: var(--font-sans);
  font-size: calc(clamp(0.98rem, 0.45vw + 0.85rem, 1.08rem) * var(--hero-sub-scale));
  color: #B4C0D1;
  line-height: 1.7;
  margin-bottom: clamp(30px, 4vh, 42px);
  max-width: 660px;
  /* Uniform 3-line slot: en/si/de/fr/ta all resolve to exactly 3 lines
     at the 660px measure — zero air, zero shift on toggle. */
  min-height: 5.1em;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-cta-left {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: auto;
}

/* FBI-Grade High-Contrast Primary Rectangular Button */
.btn-apple-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #06090F;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 6px;
  border: 1px solid #FFFFFF;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  min-height: 48px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-apple-primary:hover {
  background: #E2E8F0;
  border-color: #E2E8F0;
  color: #000000;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Apple Design Frosted Glass Secondary Button */
.btn-apple-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  min-height: 48px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-apple-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Full-Screen Cinematic Video Layer Strictly Inside Hero
   ========================================================================== */

.hero-section .cinematic-fullscreen-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-section .cinematic-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  filter: brightness(0.96) contrast(1.04);
}

.hero-section .cinematic-cyber-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 68% 45%, rgba(0, 0, 0, 0.05) 0%, rgba(5, 11, 22, 0.3) 50%, rgba(7, 11, 20, 0.82) 85%, #070B14 100%);
  pointer-events: none;
}

.hero-section .cinematic-ambient-glow {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.16) 0%, rgba(0, 113, 227, 0.06) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

/* ==========================================================================
   4 Pillars Bento Cards Grid in Section 2 (Standard Ratio, Horizontal Row)
   ========================================================================== */

.pillars-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto clamp(24px, 3vh, 36px);
  box-sizing: border-box;
}

.pillar-bento-card {
  position: relative;
  border-radius: 18px;
  padding: clamp(18px, 2vh, 22px) clamp(16px, 1.5vw, 20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  aspect-ratio: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.pillar-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
}

@media (max-width: 1120px) {
  .pillars-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .pillar-bento-card {
    aspect-ratio: auto;
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .pillars-bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pillar-bento-card {
    aspect-ratio: auto;
    min-height: auto;
    padding: 22px 18px;
  }
}

/* Apple-Inspired Subtle Vibrant Ambient Gradients */
.pillar-bento-card.bento-card-gradient-1 {
  background: linear-gradient(155deg, rgba(14, 165, 233, 0.09) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(14, 165, 233, 0.04) 100%);
  border-color: rgba(14, 165, 233, 0.25);
}
.pillar-bento-card.bento-card-gradient-1:hover {
  border-color: #0EA5E9;
  box-shadow: 0 16px 36px -6px rgba(14, 165, 233, 0.16);
}

.pillar-bento-card.bento-card-gradient-2 {
  background: linear-gradient(155deg, rgba(168, 85, 247, 0.09) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(168, 85, 247, 0.04) 100%);
  border-color: rgba(168, 85, 247, 0.25);
}
.pillar-bento-card.bento-card-gradient-2:hover {
  border-color: #A855F7;
  box-shadow: 0 16px 36px -6px rgba(168, 85, 247, 0.16);
}

.pillar-bento-card.bento-card-gradient-3 {
  background: linear-gradient(155deg, rgba(59, 130, 246, 0.09) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(59, 130, 246, 0.04) 100%);
  border-color: rgba(59, 130, 246, 0.25);
}
.pillar-bento-card.bento-card-gradient-3:hover {
  border-color: #3B82F6;
  box-shadow: 0 16px 36px -6px rgba(59, 130, 246, 0.16);
}

.pillar-bento-card.bento-card-gradient-4 {
  background: linear-gradient(155deg, rgba(245, 158, 11, 0.09) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(245, 158, 11, 0.04) 100%);
  border-color: rgba(245, 158, 11, 0.25);
}
.pillar-bento-card.bento-card-gradient-4:hover {
  border-color: #F59E0B;
  box-shadow: 0 16px 36px -6px rgba(245, 158, 11, 0.16);
}

.pillar-bento-card .bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pillar-bento-card .bento-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-edge .bento-icon-badge {
  background: rgba(14, 165, 233, 0.14);
  color: #0284C7;
}

.bento-crypto .bento-icon-badge {
  background: rgba(168, 85, 247, 0.14);
  color: #9333EA;
}

.bento-tenant .bento-icon-badge {
  background: rgba(59, 130, 246, 0.14);
  color: #2563EB;
}

.bento-dossier .bento-icon-badge {
  background: rgba(245, 158, 11, 0.14);
  color: #D97706;
}

.pillar-bento-card .bento-card-meta {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #64748B;
  text-transform: uppercase;
}

.pillar-bento-card .bento-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pillar-bento-card .bento-card-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pillar-bento-card .bento-card-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
  color: #475569;
  width: fit-content;
}

.pillar-bento-card .status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: none;
}

/* ==========================================================================
   Section: Live Whistleblower Intake Sandbox & Terminal
   ========================================================================== */

.intake-section {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(48px, 6vh, 72px) 0;
  scroll-margin-top: var(--header-height);
}

.intake-modules-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: auto auto auto;
  gap: 24px;
  align-items: stretch;
}

.intake-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: clamp(18px, 2.2vw, 24px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.intake-card:hover {
  border-color: rgba(0, 113, 227, 0.3);
  box-shadow: 0 12px 32px -6px rgba(0, 113, 227, 0.12);
}

.intake-card-primary {
  grid-row: span 3;
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 12px 36px -6px rgba(0, 113, 227, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 28px);
}

.intake-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.intake-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.terminal-shield-icon-badge {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0071E3 0%, #004BB5 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
}

.terminal-radar-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  border: 1.5px solid rgba(0, 113, 227, 0.5);
  animation: terminalRadarPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes terminalRadarPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

.intake-terminal-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.intake-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}

.intake-live-indicator {
  font-size: 9.5px;
  font-weight: 700;
  color: #16A34A;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.04em;
}

.intake-live-indicator .pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: none !important;
  box-shadow: none !important;
}

@keyframes pulseDotAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.intake-card-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748B;
  text-transform: uppercase;
  margin-top: 2px;
}

.intake-telemetry-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.intake-security-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-trust);
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.2);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.intake-security-status.status-clean {
  color: #15803D;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
}

/* 2. Tactical Session Telemetry HUD */
.intake-session-hud {
  background: #090E17;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.session-hud-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.hud-label {
  color: #94A3B8;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hud-value {
  font-size: 11.5px;
  font-weight: 600;
  color: #E2E8F0;
}

.text-green { color: #34C759 !important; }
.text-cyan { color: #38BDF8 !important; }

/* 3. Channel Selector Segmented Tabs */
.intake-channel-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #F1F5F9;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 4px;
}

.intake-channel-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.intake-channel-tab:hover {
  color: #0F172A;
}

.intake-channel-tab.active {
  background: #FFFFFF;
  color: #0071E3;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* 4. Incident Category Section */
.intake-category-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.intake-field-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748B;
  text-transform: uppercase;
  display: block;
}

.intake-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intake-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.intake-cat-pill:hover {
  border-color: rgba(0, 113, 227, 0.4);
  color: #0071E3;
  background: rgba(0, 113, 227, 0.04);
}

.intake-cat-pill.active {
  background: #0071E3;
  border-color: #0071E3;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
}

/* 5. Confidential Dossier Input Form */
.intake-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intake-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.intake-input-affix-box {
  position: relative;
  display: flex;
  align-items: center;
}

.input-affix-icon {
  position: absolute;
  left: 12px;
  color: #94A3B8;
  pointer-events: none;
}

.intake-input-affix-box .intake-input {
  padding-left: 36px;
  padding-right: 140px;
}

.input-tag-badge {
  position: absolute;
  right: 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0071E3;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
  pointer-events: none;
}

.intake-input,
.intake-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  font-size: 13px;
  color: #0F172A;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.intake-input:focus,
.intake-textarea:focus {
  outline: none;
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.intake-label-with-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.intake-buffer-pill {
  font-size: 9px;
  font-weight: 700;
  color: #15803D;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.intake-textarea-container {
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.intake-textarea-container:focus-within {
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.intake-textarea-container .intake-textarea {
  border: none;
  border-radius: 0;
  box-shadow: none;
  resize: vertical;
  min-height: 72px;
  font-size: 12.5px;
  line-height: 1.5;
}

.intake-textarea-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  font-size: 11px;
}

.foot-char-metric {
  color: #64748B;
  font-weight: 600;
}

.foot-audit-metric {
  color: #15803D;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 6. Evidence Sanitizer Ingestion Bay */
.intake-evidence-bay {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intake-evidence-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.intake-dropzone-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #15803D;
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.intake-attachment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.intake-attachment-chip {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.attachment-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 113, 227, 0.08);
  color: #0071E3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.attachment-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.attachment-name {
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attachment-meta {
  font-size: 9.5px;
  color: #64748B;
}

.attachment-status-badge {
  font-size: 9px;
  font-weight: 800;
  color: #15803D;
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.intake-sanitizer-toggles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sanitizer-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #475569;
}

.sanitizer-checkbox {
  accent-color: #10B981;
}

/* 7. Severity Matrix & Identity Mode */
.intake-routing-matrix {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: center;
  padding: 4px 0;
}

.severity-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.severity-pill {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.severity-pill.active {
  background: #0071E3;
  border-color: #0071E3;
  color: #FFFFFF;
}

.severity-pill.severity-critical.active {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFFFFF;
}

.identity-mode-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #F0FDF4;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #166534;
}

/* 8. Tactical Voucher Action Button & Live Terminal Console */
.intake-voucher-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-voucher {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #0071E3 0%, #0056B3 100%);
  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.32);
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-voucher:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.42);
}

.voucher-btn-kbd {
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* Real-time Interactive Execution Terminal Console */
.intake-terminal-console {
  background: #05080E;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.terminal-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.terminal-console-title {
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.06em;
}

.terminal-console-clock {
  font-size: 10px;
  font-weight: 700;
}

.terminal-console-body {
  font-size: 11px;
  line-height: 1.6;
  color: #CBD5E1;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.terminal-line .t-prompt {
  color: #64748B;
}

.terminal-line .t-text {
  color: #94A3B8;
  flex: 1;
}

.terminal-line .t-ok {
  color: #38BDF8;
  font-weight: 700;
}

.terminal-line .t-clean {
  color: #34C759;
  font-weight: 700;
}

.terminal-line.highlight {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.terminal-line .t-bright {
  color: #F8FAFC;
  font-weight: 700;
}

.terminal-line .t-voucher {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* Voucher Interactive Result Card */
.voucher-interactive-result {
  background: #F0FDF4;
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voucher-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.voucher-success-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #15803D;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.voucher-shield-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: #166534;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
}

.voucher-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.voucher-code-display {
  font-size: 17px;
  font-weight: 800;
  color: #0071E3;
  letter-spacing: 0.12em;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 113, 227, 0.35);
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.1);
  flex: 1;
  text-align: center;
  min-width: 180px;
}

.btn-copy-voucher,
.btn-voucher-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-voucher {
  background: #0071E3;
  color: #FFFFFF;
  border: none;
}

.btn-copy-voucher:hover {
  background: #0056B3;
}

.btn-voucher-action {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
}

.btn-voucher-action:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

.voucher-hint-text {
  font-size: 11.5px;
  color: #475569;
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .intake-modules-grid {
    grid-template-columns: 1fr;
  }
  .intake-card-primary {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .intake-attachment-grid {
    grid-template-columns: 1fr;
  }
  .intake-routing-matrix {
    grid-template-columns: 1fr;
  }
  .intake-channel-selector {
    grid-template-columns: 1fr;
  }
  .intake-input-affix-box .intake-input {
    padding-right: 14px;
  }
  .input-tag-badge {
    display: none;
  }
}

.intake-dropzone-box {
  border: 2px dashed rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.03);
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.intake-dropzone-box:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: #10B981;
}

.intake-dropzone-box svg {
  color: #10B981;
}

.dropzone-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #1E293B;
}

.dropzone-meta {
  font-size: 11px;
  color: #15803D;
  font-weight: 500;
}

.dialogue-demo-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
}

.dialogue-msg {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
}

.dialogue-inbound {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  align-self: flex-start;
  max-width: 90%;
}

.dialogue-outbound {
  background: rgba(0, 113, 227, 0.1);
  border: 1px solid rgba(0, 113, 227, 0.2);
  color: #0F172A;
  align-self: flex-end;
  max-width: 90%;
}

.dialogue-sender {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  display: block;
  margin-bottom: 2px;
}

.retaliation-badges-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
}

.retaliation-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #334155;
  font-weight: 500;
}
.bento-dossier .bento-icon-badge {
  background: rgba(245, 158, 11, 0.10);
  color: #F59E0B;
}

.hero-bento-card.bento-sanitizer {
  background: linear-gradient(145deg, rgba(254, 242, 242, 0.94) 0%, rgba(255, 255, 255, 0.97) 100%);
  border-color: rgba(239, 68, 68, 0.18);
}
.bento-sanitizer .bento-icon-badge {
  background: rgba(239, 68, 68, 0.10);
  color: #EF4444;
}

.intake-preview-card:hover {
  box-shadow: 0 28px 65px -15px rgba(0, 113, 227, 0.16), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

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

.card-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D1D5DB;
}

.card-topbar-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-body {
  padding: clamp(16px, 2.5vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Category Filter Pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cat-pill.active, .cat-pill:hover {
  background: var(--accent-trust-light);
  border-color: var(--accent-trust);
  color: var(--accent-trust);
}

/* Input Fields */
.form-input, .form-textarea, .form-select {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  background: #FFFFFF;
  border-color: var(--accent-trust);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.form-textarea {
  min-height: 52px;
  max-height: 80px;
  resize: vertical;
}

/* Drag & Drop Zone */
.dropzone-box {
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  text-align: center;
  background: var(--bg-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.dropzone-box:hover {
  border-color: var(--accent-trust);
  background: var(--accent-trust-light);
}

.dropzone-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.dropzone-meta {
  font-size: 11px;
  color: var(--accent-verify);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Voucher Interactive Output Box */
.voucher-interactive-result {
  display: none;
  background: var(--accent-crypto-light);
  border: 1px solid var(--accent-crypto-border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  animation: applePopIn 0.35s var(--ease-apple);
}

.voucher-interactive-result.visible {
  display: block;
}

@keyframes applePopIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.voucher-code-badge {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-crypto);
  letter-spacing: 0.08em;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin: 6px 0;
  border: 1px solid var(--accent-crypto-border);
}

/* ==========================================================================
   Minimal Steps Architecture Section (3-Step Lifecycle)
   ========================================================================== */

/* Minimal Steps Architecture: Curved Orbital Progression Track (Reference 2) */
.steps-orbital-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(24px, 4vh, 36px);
  width: 100%;
}

.orbital-step {
  flex: 1;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 8px 30px -6px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.orbital-step:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 98, 255, 0.35);
  box-shadow: 0 16px 40px -10px rgba(0, 98, 255, 0.12);
}

.orbital-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 98, 255, 0.08);
  color: var(--accent-trust);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.orbital-arrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.65;
  padding: 0 4px;
}

/* ==========================================================================
   Public Cases Showcase Section (Multi-Stage Lifecycle Progression)
   ========================================================================== */

.cases-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cases-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.case-filter-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.case-filter-btn.active, .case-filter-btn:hover {
  background: var(--accent-trust);
  color: #FFFFFF;
}

/* Cases Grid & Cards */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}

.case-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.case-voucher-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pill.status-investigation {
  background: var(--accent-alert-light);
  color: var(--accent-alert);
  border: 1px solid var(--accent-alert-border);
}

.status-pill.status-resolved {
  background: var(--accent-verify-light);
  color: var(--accent-verify);
  border: 1px solid var(--accent-verify-border);
}

.status-pill.status-triage {
  background: var(--accent-trust-light);
  color: var(--accent-trust);
  border: 1px solid var(--accent-trust-border);
}

.case-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 6px;
}

.case-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Multi-Stage Visual Lifecycle Tracker */
.lifecycle-tracker {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: 6px;
}

.tracker-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.tracker-steps {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tracker-node {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: #E5E7EB;
  transition: background var(--transition-fast);
}

.tracker-node.complete {
  background: var(--accent-verify);
}

.tracker-node.active-alert {
  background: var(--accent-alert);
}

.tracker-node.active-trust {
  background: var(--accent-trust);
}

/* ==========================================================================
   Statutory Authority Export & Admin Console Showcase
   ========================================================================== */

.statutory-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.dossier-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--shadow-card);
  position: relative;
}

.seal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.seal-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-crypto);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--border-subtle);
}

.dossier-label {
  color: var(--text-secondary);
}

.dossier-val {
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

/* ==========================================================================
   Security Architecture (Enterprise Container & 4 Color Psychology Pillars)
   ========================================================================== */

.security-enterprise-container {
  background: linear-gradient(145deg, #0B1120 0%, #0F172A 100%);
  border: 1px solid rgba(0, 113, 227, 0.28);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vh, 28px) clamp(20px, 3vw, 36px);
  box-shadow: 0 16px 45px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.security-enterprise-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00D2FF, transparent);
  pointer-events: none;
}

.security-badge-shield {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.24);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.pulse-dot-green {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: none !important;
  box-shadow: none !important;
}

.security-container-title {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.security-container-desc {
  font-size: clamp(0.85rem, 1.05vw, 0.92rem);
  color: #94A3B8;
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto 20px auto;
}

.security-specs-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}

@media (max-width: 900px) {
  .security-specs-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .security-specs-bento-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.sec-spec-bento-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.sec-spec-bento-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-2px);
}

.sec-spec-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sec-spec-lock {
  background: rgba(52, 199, 89, 0.15);
  color: #34C759;
}
.sec-spec-edge {
  background: rgba(0, 210, 255, 0.15);
  color: #00D2FF;
}
.sec-spec-telemetry {
  background: rgba(255, 149, 0, 0.15);
  color: #FF9500;
}

.sec-spec-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38BDF8;
  margin-bottom: 2px;
}

.sec-spec-value {
  font-size: 12.5px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 3px;
  line-height: 1.2;
}

.sec-spec-desc {
  font-size: 10.5px;
  color: #94A3B8;
  line-height: 1.36;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
  margin-top: 16px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 16px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-hover);
}

.pillar-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pillar-card:nth-child(1) .pillar-icon-box {
  background: var(--accent-trust-light);
  color: var(--accent-trust);
}
.pillar-card:nth-child(2) .pillar-icon-box {
  background: var(--accent-verify-light);
  color: var(--accent-verify);
}
.pillar-card:nth-child(3) .pillar-icon-box {
  background: var(--accent-crypto-light);
  color: var(--accent-crypto);
}
.pillar-card:nth-child(4) .pillar-icon-box {
  background: var(--accent-alert-light);
  color: var(--accent-alert);
}

.pillar-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.pillar-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Turnkey SLA Section
   ========================================================================== */

.sla-card-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}

.sla-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.sla-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.sla-item-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Pricing & Institutional Licensing Section (Apple-Inspired Compact Tiers)
   ========================================================================== */

/* ==========================================================================
   Pricing & Institutional Licensing Section (Enterprise Standard & Color Psychology)
   ========================================================================== */

.pricing-section {
  padding: clamp(28px, 3.5vh, 42px) 0 clamp(40px, 4.5vh, 56px) 0;
  scroll-margin-top: var(--header-height);
  background: radial-gradient(circle at 50% 15%, rgba(0, 113, 227, 0.04) 0%, rgba(255, 255, 255, 0) 65%);
}

.pricing-section .section-header {
  margin: 0 auto clamp(14px, 1.8vh, 20px);
}

.pricing-section .section-title {
  font-size: clamp(1.75rem, 2.5vw, 2.15rem);
  margin-bottom: 8px;
}

.pricing-section .section-subtitle {
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  line-height: 1.45;
  max-width: 680px;
  margin: 0 auto;
}

.billing-switch-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(16px, 2vh, 24px);
}

.billing-switch {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px 5px;
  gap: 4px;
}

.billing-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border: none;
  background: transparent;
}

.billing-btn:hover {
  color: var(--text-primary);
}

.billing-btn.active {
  background: #FFFFFF;
  color: var(--accent-trust);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.billing-save-badge {
  font-size: 10px;
  font-weight: 700;
  color: #15803D;
  background: rgba(34, 197, 94, 0.16);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 24px);
  align-items: stretch;
  margin-bottom: 24px;
}

/* Standard Size Bento Card for Subscriptions */
.pricing-card {
  border-radius: 20px;
  padding: clamp(24px, 2.5vh, 28px) clamp(20px, 2vw, 26px);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

/* Tier Badge */
.pricing-tier-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  width: fit-content;
}

/* 1. Tier 1: Municipal Oversight â€” Cool Institutional Steel Blue Psychology */
.pricing-card-municipal {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 8px 24px -6px rgba(100, 116, 139, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.pricing-card-municipal:hover {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 16px 36px -6px rgba(2, 132, 199, 0.12);
}

.badge-municipal {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.25);
}

/* 2. Tier 2: National Enterprise â€” Apple Sapphire Blue Psychology (Flagship) */
.pricing-card-national.featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F9FF 100%);
  border: 2px solid rgba(0, 113, 227, 0.65);
  box-shadow: 0 24px 60px -10px rgba(0, 113, 227, 0.22), 0 4px 16px rgba(0, 113, 227, 0.08);
}

.pricing-card-national.featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px -10px rgba(0, 113, 227, 0.28);
}

.pricing-badge-popular {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #0071E3;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
  white-space: nowrap;
}

/* 3. Tier 3: Sovereign Air-Gapped â€” Obsidian Midnight & Royal Amber Gold Psychology */
.pricing-card-sovereign {
  background: linear-gradient(180deg, #0F172A 0%, #070B14 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.45), 0 0 25px rgba(245, 158, 11, 0.12);
}

.pricing-card-sovereign:hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 28px 70px -10px rgba(0, 0, 0, 0.55), 0 0 35px rgba(245, 158, 11, 0.2);
}

.badge-sovereign {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.pricing-card-sovereign .pricing-tier-name {
  color: #FFFFFF;
}

.pricing-card-sovereign .pricing-tier-desc {
  color: #94A3B8;
}

.pricing-card-sovereign .pricing-price-wrap {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card-sovereign .pricing-custom-val {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 26px;
  font-weight: 800;
}

.pricing-card-sovereign .pricing-feature-item {
  color: #CBD5E1;
}

.pricing-card-sovereign .pricing-feature-item strong {
  color: #FFFFFF;
}

.pricing-card-sovereign .pricing-feature-item svg {
  color: #F59E0B;
}

.pricing-card-sovereign .btn-pricing {
  background: rgba(245, 158, 11, 0.12);
  color: #FDE68A;
  border: 1.5px solid #F59E0B;
}

.pricing-card-sovereign .btn-pricing:hover {
  background: #F59E0B;
  color: #070B14;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.pricing-tier-name {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.pricing-tier-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card-national .pricing-amount {
  color: #0071E3;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-custom-val {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-feature-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent-verify);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card-national .pricing-feature-item svg {
  color: #0071E3;
}

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

.pricing-cta-wrap {
  margin-top: auto;
}

.btn-pricing {
  width: 100%;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-compliance-banner {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.compliance-badges-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.compliance-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.compliance-badge-item svg {
  color: var(--accent-trust);
}

/* ==========================================================================
   Contact / Pilot Briefing Section
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-floating);
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-success-banner {
  display: none;
  background: var(--accent-verify-light);
  border: 1px solid var(--accent-verify-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.form-success-banner.active {
  display: block;
  animation: applePopIn 0.35s var(--ease-apple);
}

/* ==========================================================================
   Video Modal (Clean Apple Player & Subtitle Controls)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0B101B;
  border-radius: 0;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 1040px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform var(--transition-smooth);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #080C14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.modal-title-wrap h3 {
  font-size: 16px;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: -0.01em;
}

.modal-title-wrap p {
  font-size: 12px;
  color: #94A3B8;
  font-family: 'JetBrains Mono', monospace;
}

.modal-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-audio-switcher {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 3px;
}

.audio-btn {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 0;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.audio-btn.active {
  background: #FFFFFF;
  color: var(--accent-trust);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.modal-close-btn {
  font-size: 18px;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #FFFFFF;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

.modal-video-container {
  position: relative;
  background: #04070D;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
}

.modal-video-container video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: #04070D;
}

/* ==========================================================================
   Case Detail Timeline Modal
   ========================================================================== */

.case-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-floating);
  width: 100%;
  max-width: 680px;
  overflow: hidden;
  padding: 32px;
  position: relative;
}

.timeline-event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  position: relative;
  padding-left: 20px;
}

.timeline-event-list::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #E5E7EB;
}

.timeline-event-item {
  position: relative;
}

.timeline-event-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--accent-trust);
}

.timeline-event-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.timeline-event-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-event-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-First Philosophy & Anti-Clipping)
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-layout, .statutory-showcase-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid, .sla-items-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop nav needs 1200px+: Tamil labels run ~70% wider than English
   (measured), and the centered absolute nav would collide with the language
   picker below that. Identical breakpoint for every language. */
@media (max-width: 1200px) {
  .nav-desktop {
    display: none !important;
  }
  .menu-toggle {
    display: block !important;
  }
}

@media (max-width: 1024px) {
  .hero-bento-canvas {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 740px;
  }
  .hero-bento-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hero-center-stage {
    min-height: 140px;
  }
  .intake-modules-grid {
    grid-template-columns: 1fr;
  }
  .intake-card-primary {
    grid-row: auto;
  }
}

@media (max-width: 1200px) {
  .header-actions {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    gap: 8px;
  }
  /* Hide schedule CTA from header topbar to prevent clipping on mid screens */
  .header-actions .btn-schedule {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .security-specs-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1201px) {
  /* Ensure mobile drawer is never rendered on desktop */
  .mobile-drawer {
    display: none !important;
  }
  .header-actions {
    width: 300px !important;
    flex: 0 0 300px !important;
  }
  .header-actions .btn-schedule {
    display: inline-flex !important;
    width: 172px !important;
    flex: 0 0 172px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-section {
    min-height: auto;
    padding: 44px 0;
  }

  .pillars-grid, .cases-grid {
    grid-template-columns: 1fr;
  }

  .security-specs-bento-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pillar-bento-card {
    aspect-ratio: auto;
    min-height: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }

  .pricing-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .statutory-showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dossier-card {
    padding: 20px 16px;
    overflow: hidden;
  }

  .dossier-meta, .dossier-hash-box, .audit-hash {
    word-break: break-all;
  }

  .sla-items-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    border-radius: 18px;
    gap: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .brand-slogan {
    font-size: 7.5px;
  }

  .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .modal-controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  .bento-side-grid {
    grid-template-columns: 1fr;
  }
  .hero-bg-guardian-img {
    max-width: 100%;
    opacity: 0.45;
  }
  .hero-cinematic-backdrop {
    opacity: 0.75;
  }
  .telemetry-particle {
    display: none !important; /* Clean readability on mobile viewports */
  }
  .hero-bg-shield-glow {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 560px) {
  .hero-cta-left {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-apple-primary,
  .btn-apple-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .intake-cat-pill {
    font-size: 11.5px;
    padding: 5px 10px;
  }

  .voucher-code-display {
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 6px 8px;
    word-break: break-all;
    max-width: 100%;
  }

  .contact-layout {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .modal-overlay {
    padding: 10px;
  }

  .modal-card {
    border-radius: 18px;
    width: 100%;
  }

  .modal-header {
    padding: 12px 14px;
  }

  .modal-video-container video {
    border-radius: 0 0 18px 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .lang-dropdown-menu {
    position: fixed !important;
    top: calc(var(--header-height) + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    max-height: 72vh !important;
  }

  .hero-title-apple {
    font-size: calc(clamp(1.5rem, 5vw, 1.9rem) * var(--hero-title-scale));
    line-height: 1.22;
  }

  .hero-badge-apple {
    font-size: 10px;
    padding: 0 !important;
  }
}

@media (max-width: 380px) {
  .brand-wordmark {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 6.5px;
    letter-spacing: 0.14em;
  }

  .lang-picker-btn {
    padding: 5px 9px;
    font-size: 11.5px;
  }

  .menu-toggle {
    font-size: 20px;
    padding: 5px 8px;
  }
}

/* Optical size match for Sinhala/Tamil hero text.
   Same-pixel sizes render ~10% larger in Indic scripts (dense stacked
   glyphs), so si/ta get a small optical correction — one identical style,
   visually matched to English. Slots are em-based, so geometry is unchanged. */
body { --hero-title-scale: 1; --hero-sub-scale: 1; }
body[data-lang="si"], body[data-lang="ta"] { --hero-title-scale: 0.9; --hero-sub-scale: 0.94; }

/* ==========================================================================
   Optical density correction for Indic scripts.
   Geometry (sizes, spacing rhythm, slot heights) is untouched — positions
   stay identical. Only glyph density is corrected: Tamil/Sinhala render
   far heavier than Latin at equal weight, and negative tracking collides
   their conjuncts (the "packed" look).
   ========================================================================== */
body[data-lang="si"] .hero-title-apple,
body[data-lang="ta"] .hero-title-apple {
  letter-spacing: 0;
  line-height: 1.15;
}

/* ==========================================================================
   Trilingual base — font stacks only.
   All languages share ONE identical geometry: every size, spacing and
   position comes from the English baseline, so nothing shifts, resizes or
   repositions on language toggle. Noto Sans Sinhala / Tamil already sit in
   the base --font-sans chain and resolve per-glyph.
   ========================================================================== */

body[data-lang="si"],
body[data-lang="ta"] {
  font-feature-settings: "kern" 1;
}

body[data-lang="si"] .nav-link,
body[data-lang="ta"] .nav-link,
body[data-lang="si"] .btn-schedule,
body[data-lang="ta"] .btn-schedule {
  font-family: "Noto Sans Sinhala", "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0;
}

/* ==========================================================================
   Responsive Rules for 3-Zone Bento Hero Cockpit & Mobile Flow
   ========================================================================== */
@media (max-width: 1140px) {
  .hero-bento-canvas {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: var(--header-height);
    padding-bottom: clamp(24px, 4vh, 36px);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }

  .hero-section .cinematic-bg-video {
    object-position: center 22%;
  }

  .hero-section .cinematic-cyber-vignette {
    background: transparent !important;
  }

  .steps-orbital-track {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 24px !important;
  }

  .orbital-step {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 24px 20px !important;
  }

  .orbital-arrow-divider {
    transform: rotate(90deg) !important;
    margin: -4px auto !important;
    padding: 6px 0 !important;
  }

  .hero-left-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
  }

  .hero-title-apple {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95);
  }

  .hero-subtitle-apple {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
  }

  .hero-narrative-left {
    max-width: 100%;
  }

  .hero-badge-apple {
    margin-bottom: 12px;
    font-size: 9.5px;
    padding: 0 !important;
  }

  .hero-title-apple {
    font-size: calc(clamp(1.4rem, 5.5vw, 1.75rem) * var(--hero-title-scale));
    line-height: 1.22;
    margin-bottom: 14px;
    /* 3-line mobile slot: covers the marginal single-line wraps
       (si accent, ru start) — uniform across languages. */
    min-height: 3.8em;
    max-width: 100%;
  }

  .hero-subtitle-apple {
    font-size: calc(clamp(0.85rem, 3.4vw, 0.94rem) * var(--hero-sub-scale));
    line-height: 1.48;
    margin-bottom: 24px;
    /* 5-line mobile slot: longest subtitle (en, 231ch) resolves to
       exactly 5 lines at 350px — uniform across languages. */
    min-height: 7.5em;
  }

  .hero-cta-left {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn-apple-primary,
  .btn-apple-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
    white-space: normal;
    flex-shrink: 1;
  }

  .hero-bento-col {
    grid-template-columns: 1fr;
  }
  .hero-center-stage {
    min-height: 120px;
  }
  .pricing-card {
    min-height: auto;
  }
}

/* ==========================================================================
   Brand Logo Constraints
   ========================================================================== */
.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  max-width: 260px !important;
  display: block !important;
  object-fit: contain !important;
}

/* ==========================================================================
   Video Container Square Corners (User Requirement)
   ========================================================================== */
.modal-card {
  border-radius: 0 !important;
}
.modal-video-container {
  border-radius: 0 !important;
}
.modal-video-container video {
  border-radius: 0 !important;
}

/* ==========================================================================
   Section 2: 3-Stage Progress Data Pipeline & Interactive Sandbox
   ========================================================================== */

.intake-pipeline-section {
  background: var(--bg-base);
  padding: clamp(60px, 8vh, 100px) 0;
  position: relative;
}

/* 3-Stage Progress Bar Header */
.pipeline-progress-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 24px 32px;
  margin-top: 36px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pipeline-step-node {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.step-badge-indicator {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.pipeline-step-node.active .step-badge-indicator {
  background: #0071E3;
  border-color: #0071E3;
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
}

.step-node-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0071E3;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.step-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.pipeline-connector-arrow {
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .pipeline-progress-flow {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
  .pipeline-connector-arrow {
    display: none;
  }
}

/* 2-Card Technical Visualizer Grid */
.pipeline-stages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

@media (max-width: 840px) {
  .pipeline-stages-grid {
    grid-template-columns: 1fr;
  }
}

.pipeline-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pipeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.pipeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.p-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-step-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  color: var(--text-primary);
}

.p-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.p-status-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.status-active {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-clean {
  background: rgba(0, 113, 227, 0.1);
  color: #0071E3;
  border: 1px solid rgba(0, 113, 227, 0.25);
}

/* Graphical Flow Diagrams */
.pipeline-graphic-box {
  background: #0B0E14;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 16px;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.graphic-ingestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.flow-endpoint {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  flex: 1;
}

.flow-icon {
  font-size: 24px;
  margin-bottom: 2px;
}

.flow-label {
  font-size: 12px;
  font-weight: 600;
  color: #F8FAFC;
}

.flow-meta {
  font-size: 10px;
}

.flow-beam-track {
  flex: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.flow-scrub-barrier {
  background: rgba(16, 185, 129, 0.12);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  border-radius: 4px;
  padding: 10px 8px;
  text-align: center;
  width: 100%;
}

.barrier-shield-icon {
  font-size: 16px;
  margin-bottom: 2px;
}

.barrier-label {
  font-size: 11px;
  font-weight: 700;
  color: #34D399;
}

.barrier-sub {
  font-size: 9.5px;
  color: #94A3B8;
}

/* Sanitizer Graphic Box */
.sanitizer-file-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.file-icon-badge {
  font-size: 20px;
}

.file-meta-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  margin-left: 10px;
}

.file-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #F8FAFC;
}

.file-sha {
  font-size: 10px;
  color: #94A3B8;
}

.file-purge-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
}

.sanitizer-attributes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
}

.sanitizer-attr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 4px;
}

.attr-name {
  color: #94A3B8;
}

.pipeline-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex: 1;
}

.pipeline-specs-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle, #E2E8F0);
  flex-wrap: wrap;
}

.p-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Stage 3: Interactive Sandbox Wrapper */
.interactive-intake-wrapper {
  background: #FFFFFF;
  border: 1px solid rgba(0, 113, 227, 0.25);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(0, 113, 227, 0.06);
}

.interactive-intake-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border-subtle, #E2E8F0);
  padding-bottom: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ii-header-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-badge-highlight {
  background: #0071E3;
  color: #FFFFFF;
  border-color: #0071E3;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.ii-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.pipeline-sub-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #0071E3;
  background: rgba(0, 113, 227, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.ii-status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #059669;
}

.ii-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.ii-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.ii-security-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ii-sec-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-secondary);
}

.interactive-sandbox-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sandbox-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sandbox-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.sandbox-input,
.sandbox-textarea {
  width: 100%;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  background: #FFFFFF;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sandbox-input:focus,
.sandbox-textarea:focus {
  outline: none;
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.sandbox-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-mint-voucher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.sandbox-telemetry-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.voucher-interactive-result {
  margin-top: 18px;
  background: #08090B;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 4px;
  padding: 20px 24px;
  color: #FFFFFF;
}

.voucher-interactive-result.visible {
  display: block !important;
}

.voucher-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.voucher-success-label {
  font-size: 13px;
  font-weight: 700;
  color: #10B981;
  letter-spacing: 0.02em;
}

.voucher-shield-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  border-radius: 4px;
}

.voucher-code-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.voucher-code-display {
  font-size: 20px;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.1em;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 10px 18px;
  border-radius: 4px;
}

.btn-copy-voucher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-voucher:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.voucher-hint-text {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.5;
}


/* ==========================================================================
   Section 5: Intelligence Agency Defense Architecture (Matte Black C2)
   ========================================================================== */

#security {
  /* Full-viewport dark canvas â€” lands flush at viewport top,
     container carries its own header-height padding. */
  scroll-margin-top: 0;
}

.military-security-section {
  background: #050608 !important;
  background-color: #050608 !important;
  border-top: none;
  border-bottom: none;
  margin-top: -1px;
  /* Mobile-first: tall natural scroll */
  padding: calc(var(--header-height) + 24px) 0 40px;
  color: #F8FAFC;
  position: relative;
  font-family: var(--font-sans);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  max-height: none;
  display: block;
  box-sizing: border-box;
  overflow: visible;
  overflow-x: clip;
  scroll-margin-top: 0;
}

/* Emerald hairline flush at nav bottom edge */
.military-security-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.7), transparent);
  pointer-events: none;
}

.military-security-section > .container {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  max-height: none;
  width: 100%;
  justify-content: flex-start;
  gap: clamp(16px, 2.6vh, 24px);
}

/* Desktop canvas-fit: full viewport, top slides under nav (nav goes dark), footer flush at bottom */
@media (min-width: 1024px) {
  .military-security-section {
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    scroll-margin-top: 0;
  }
  .military-security-section > .container {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    justify-content: space-between;
    gap: 0;
    padding-top: calc(var(--header-height) + clamp(32px, 5vh, 46px));
    padding-bottom: clamp(16px, 3vh, 24px);
  }
}

.military-sec-header {
  margin-bottom: 0 !important;
  flex: 0 0 auto;
}

/* Split editorial header: title left, subtext right, hairline divider */
.mission-split-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  text-align: left;
  max-width: none;
}
.mission-head-left { min-width: 0; }
.mission-head-rule { display: none; }
.mission-head-right { margin: 0; max-width: 44ch; }
@media (min-width: 900px) {
  .mission-split-header {
    grid-template-columns: 1.2fr 1px 0.8fr;
    align-items: center;
    gap: clamp(20px, 3vw, 44px);
  }
  .mission-head-rule { display: block; width: 1px; align-self: stretch; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0.22), rgba(255,255,255,0)); }
  .mission-head-right { font-size: clamp(0.9rem, 0.8vw + 0.7rem, 1.02rem); line-height: 1.6; }
}

.military-title {
  color: #FFFFFF !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(1.25rem, 1.6vw + 0.7rem, 1.65rem);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 4px !important;
  text-wrap: balance;
}

.military-subtitle {
  color: #94A3B8 !important;
  font-family: var(--font-sans) !important;
  max-width: 64ch;
  margin: 0;
  /* Exact English size and style in every language */
  font-size: clamp(0.8rem, 0.5vw + 0.65rem, 0.88rem) !important;
  line-height: 1.45;
  text-wrap: pretty;
}

/* Security console header — hard left alignment in every language */
.military-sec-header,
.military-sec-header .military-title,
.military-sec-header .military-subtitle,
.mission-split-header,
.mission-head-left,
.mission-head-right {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 1024px) {
  .military-title {
    font-size: clamp(1.3rem, 1.4vw + 0.7rem, 1.6rem);
  }
  .military-subtitle {
    font-size: 0.83rem;
    white-space: normal;
  }
  .military-sec-header .section-label-editorial {
    margin-bottom: 6px;
  }
}

.military-sec-header .badge-military {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
}

/* Status Strip â€” flat hairline, compact for canvas fit */
.intel-status-strip {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 7px clamp(4px, 1vw, 8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: nowrap;
  margin-top: 0;
  flex: 0 0 auto;
  overflow: hidden;
}

@media (max-width: 640px) {
  .intel-status-strip {
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .intel-status-strip {
    padding: 6px 4px;
  }
  .intel-status-label,
  .intel-operational-pill {
    font-size: 10px;
    white-space: nowrap;
  }
}

.intel-status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.intel-status-label {
  font-size: 11px;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.intel-operational-pill {
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.06em;
  font-family: var(--font-sans);
}

/* Console Main Split â€” scaled-down stats, canvas-fit on desktop */
.intel-console-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vh, 28px);
  align-items: start;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  min-height: 0;
  max-height: none;
}

@media (min-width: 981px) {
  .intel-console-grid {
    grid-template-columns: minmax(250px, 0.8fr) 1.5fr;
    gap: clamp(24px, 3vw, 44px);
  }
}

@media (min-width: 1024px) {
  .intel-console-grid {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    align-items: stretch;
  }
  .intel-radar-col,
  .intel-metrics-dashboard {
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
  }
}

/* Short-viewport tightening â€” keep scaled-down fit */
@media (min-width: 1024px) and (max-height: 800px) {
  .radar-reticle-canvas {
    width: min(100%, clamp(160px, 24vh, 200px));
  }
  .protocol-vector-box {
    height: clamp(110px, 15vh, 140px);
  }
  .card-main-num {
    font-size: 1.25rem;
  }
}

/* Compact pager for short laptop viewports â€” guarantees footer stays in canvas */
@media (min-width: 1024px) and (max-height: 780px) {
  .military-security-section > .container {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 12px;
  }
  .military-title { font-size: 1.25rem; }
  .military-subtitle { font-size: 0.78rem; }
  .mission-split-header { gap: 12px; }
  .scope-lg { width: min(100%, 185px) !important; }
  .counter-grid { border-color: rgba(255, 255, 255, 0.1); }
  .counter-grid > div { padding: 8px 12px 6px; }
  .counter-grid strong { font-size: 1.9rem; }
  .dash-kicker { margin-bottom: 8px; }
  .dash-note { margin-top: 8px; }
  .proto-row { padding: 8px 0; }
  .proto-row b { font-size: 1.2rem; }
  .cap-row { padding: 5px 12px; gap: 9px; }
  .cap-matrix-head { padding: 7px 12px; }
  .chain-node { margin: 0 12px; padding: 6px 10px; }
  .chain-link { height: 14px; }
  .chain-meter { margin: 9px 12px 0; padding-top: 7px; }
  .chain-meter b { font-size: 1.3rem; }
  .intel-console-footer { padding-top: 6px; }
}

/* Radar Column â€” scaled down for canvas fit */
.intel-radar-col {
  padding: 0;
  border-right: none;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  background: transparent;
  min-width: 0;
  min-height: 0;
}

@media (min-width: 981px) {
  .intel-radar-col {
    border-right: none;
    border-bottom: none;
    align-self: stretch;
    position: static;
  }
}

.radar-col-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.radar-tag {
  color: #64748B;
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
}

.radar-status-badge {
  color: #10B981;
  letter-spacing: 0.06em;
  font-family: var(--font-sans);
}

.radar-reticle-canvas {
  position: relative;
  width: min(100%, clamp(180px, 26vh, 220px));
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  isolation: isolate;
  flex: 0 1 auto;
  min-height: 0;
}

@media (min-width: 1024px) {
  .radar-reticle-canvas {
    width: min(100%, clamp(160px, 23vh, 205px));
  }
}

.radar-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.radar-vector-sweep {
  transform-box: view-box;
  transform-origin: 170px 170px;
  animation: radarVectorRotate 4s linear infinite;
}

@keyframes radarVectorRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radarConeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-overlay-meta {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  padding: 0 10px;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}

.radar-coords {
  color: #64748B;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}

.radar-security-indicator {
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #10B981;
  font-family: var(--font-sans);
}

.radar-telemetry-feed {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 7px 2px 0;
  font-size: 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  min-width: 0;
}

@media (min-width: 1024px) {
  .radar-telemetry-feed {
    font-size: 8.5px;
  }
  .radar-overlay-meta {
    font-size: 8.5px;
  }
}

.feed-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Respect reduced motion: freeze radar sweep, card visuals and sheen */
@media (prefers-reduced-motion: reduce) {
  .radar-vector-sweep,
  .radar-sweep-cone,
  .sec-down-arrow-circle,
  .scope-needle,
  .scope-ticks,
  .dash-ring::before,
  .mission-progress.run i,
  .protocol-vector-box svg,
  .protocol-vector-box svg path,
  .protocol-vector-box svg circle,
  .protocol-vector-box svg rect,
  .protocol-vector-box svg line,
  .protocol-vector-box::after {
    animation: none;
  }
  .scope-scanline,
  .data-flash,
  .cap-wave i,
  .chain-link::after {
    animation: none;
  }
  .cap-row,
  .cap-live i,
  .viz-bars i,
  .mission-state i {
    transition: none;
  }
  .dash-track { transition: none; }
  html {
    scroll-behavior: auto;
  }
}

.f-dim { color: #64748B; }

/* Telemetry stats â€” scaled down, flat over background, canvas-fit rows */
.intel-metrics-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  background: transparent;
  min-height: 0;
  max-height: 100%;
  gap: 14px 28px;
  align-content: start;
  overflow: hidden;
}

@media (min-width: 560px) {
  .intel-metrics-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .intel-metrics-dashboard {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 0 32px;
    align-content: stretch;
    align-items: stretch;
  }
}

.telemetry-card {
  padding: 0 0 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  transition: border-color 0.25s ease;
  font-family: var(--font-sans);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.telemetry-card:hover {
  background: transparent;
  border-bottom-color: rgba(16, 185, 129, 0.5);
}

.telemetry-card:last-child {
  border-bottom: none;
}

@media (min-width: 560px) {
  .telemetry-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title-muted {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.card-status-dot {
  font-size: 8.5px;
  font-weight: 700;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.card-main-num {
  font-size: clamp(1.25rem, 1.2vw + 0.9rem, 1.5rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-subtext {
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.35;
  font-family: var(--font-sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mini Bar / Uptime Visualization â€” slim for canvas fit */
.card-mini-meter {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 4px;
  margin-top: 1px;
}

.meter-block {
  flex: 1;
  height: 100%;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 1px;
}

.meter-block.active {
  background: #10B981;
}

/* ==========================================================================
   Mission Console (panel 1 rebuild) â€” command bar / scope / tabs / rail
   ========================================================================== */
.mission-commandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 4px;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .mission-commandbar { flex-wrap: nowrap; white-space: nowrap; }
}
.mission-class { color: #E2E8F0; overflow: hidden; text-overflow: ellipsis; }
.mission-clock { color: #64748B; font-variant-numeric: tabular-nums; }
.mission-state { color: #10B981; display: inline-flex; align-items: center; gap: 7px; }
.mission-state i { width: 7px; height: 7px; border-radius: 50%; background: #10B981; box-shadow: 0 0 8px #10B981; transition: box-shadow 0.3s ease, background 0.3s ease; }
.mission-state.syncing i { background: #34D399; box-shadow: 0 0 14px #34D399; }

/* Live data-sync flash â€” brief brightness pulse on changed values */
.data-flash { animation: dataFlash 0.85s ease-out; }
@keyframes dataFlash {
  0% { filter: brightness(2.1); }
  100% { filter: brightness(1); }
}

/* Radar scanline â€” horizontal phosphor sweep, periodic */
.scope-scanline {
  position: absolute; left: 5%; right: 5%; top: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.55), transparent);
  border-radius: 1px; opacity: 0; pointer-events: none;
  animation: scopeScan 7s linear infinite;
}
@keyframes scopeScan {
  0% { top: 4%; opacity: 0; }
  7% { opacity: 0.75; }
  46% { top: 92%; opacity: 0.75; }
  53% { opacity: 0; }
  100% { top: 4%; opacity: 0; }
}
@media (max-width: 640px) {
  .mission-clock { display: none; }
}

.mission-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  flex: 0 0 auto;
  min-height: 0;
}
@media (min-width: 981px) {
  .mission-deck { grid-template-columns: minmax(230px, 0.85fr) 1.5fr minmax(190px, 0.75fr); gap: clamp(20px, 2.6vw, 36px); align-items: stretch; }
}
@media (min-width: 1024px) {
  .mission-deck { flex: 1 1 auto; min-height: 0; max-height: 100%; overflow: hidden; }
  .mission-scope, .mission-tabs, .mission-rail { min-height: 0; max-height: 100%; overflow: hidden; }
}

/* Scope column */
.mission-scope { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.scope-topbar { display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.scope-tag { color: #64748B; }
.scope-live { color: #10B981; display: inline-flex; align-items: center; gap: 6px; }
.scope-live i { width: 6px; height: 6px; border-radius: 50%; background: #10B981; box-shadow: 0 0 7px #10B981; }
.scope-canvas {
  position: relative;
  width: min(100%, 205px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.06) 0%, rgba(0, 0, 0, 0) 62%), #07090D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
@media (min-width: 1024px) { .scope-canvas { width: min(100%, clamp(165px, 24vh, 200px)); } }
.scope-grid {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  background-position: center;
  mask-image: radial-gradient(circle at center, black 0%, black 68%, transparent 71%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, black 68%, transparent 71%);
}
.scope-canvas::before, .scope-canvas::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(255, 255, 255, 0.09); pointer-events: none;
}
.scope-canvas::after { left: 50%; top: 0; bottom: 0; right: auto; width: 1px; height: auto; }
.scope-ring { position: absolute; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50%; pointer-events: none; }
.scope-ring.r1 { inset: 7%; }
.scope-ring.r2 { inset: 24%; border-color: rgba(255, 255, 255, 0.09); }
.scope-ring.r3 { inset: 41%; border-color: rgba(255, 255, 255, 0.09); }
.scope-needle {
  position: absolute; left: 50%; top: 50%; width: 2px; height: 44%;
  margin-left: -1px; transform-origin: 50% 0%;
  background: linear-gradient(#10B981, rgba(16, 185, 129, 0));
  transform: rotate(180deg);
  animation: needleSwing 3.5s linear infinite;
}
@keyframes needleSwing {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(359deg); }
}

/* Reducedâ€‘motion override */
@media (prefers-reduced-motion: reduce) {
  .scope-needle { animation: none; }
}
/* Scope ticks â€” 60-step dashed reticle, slow continuous rotation */
.scope-ticks {
  position: absolute; inset: 3%; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.25) 0deg 3deg, transparent 3deg 6deg);
  mask-image: radial-gradient(circle at center, transparent 88%, black 89%, black 94%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at center, transparent 88%, black 89%, black 94%, transparent 95%);
  animation: ticksSpin 30s linear infinite;
}
@keyframes ticksSpin { to { transform: rotate(360deg); } }
@keyframes radarConeRotate {
  to { transform: rotate(360deg); }
}

/* Reducedâ€‘motion override */
.scope-center { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border: 1.5px solid #10B981; background: rgba(16, 185, 129, 0.1); border-radius: 50%; }
.scope-center::after { content: ""; position: absolute; inset: 50%; border-radius: 50%; background: #10B981; }
.scope-blip { position: absolute; display: flex; align-items: center; gap: 5px; }
.scope-blip i { width: 9px; height: 9px; border-radius: 50%; }
.scope-blip em { font-style: normal; font-size: 8.5px; font-weight: 800; letter-spacing: 0.06em; color: #E2E8F0; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 2px; padding: 2px 6px; white-space: nowrap; }
.b-intake { left: 15%; top: 28%; color: #10B981; }
.b-intake i { background: #10B981; box-shadow: 0 0 9px #10B981; }
.b-triage { right: 12%; top: 20%; color: #F59E0B; }
.b-triage i { background: #F59E0B; box-shadow: 0 0 9px #F59E0B; }
.b-escalated { right: 18%; bottom: 22%; color: #60A5FA; }
.b-escalated i { background: #60A5FA; box-shadow: 0 0 9px #60A5FA; }
.b-resolved { left: 20%; bottom: 28%; color: #34D399; }
.b-resolved i { background: #34D399; box-shadow: 0 0 9px #34D399; }
.scope-alert { position: absolute; left: 60%; top: 55%; display: flex; align-items: center; gap: 4px; }
.scope-alert i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid #F87171; filter: drop-shadow(0 0 5px rgba(248, 113, 113, 0.9)); }
.scope-alert em { font-style: normal; font-size: 8px; font-weight: 800; letter-spacing: 0.08em; color: #FCA5A5; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(248, 113, 113, 0.5); border-radius: 2px; padding: 2px 6px; white-space: nowrap; }
.scope-caption { display: flex; justify-content: space-between; gap: 8px; font-size: 9px; letter-spacing: 0.05em; color: #64748B; margin: 8px 0 0; flex-wrap: wrap; }
.scope-readout { display: flex; gap: 10px; margin: 6px 0 0; font-size: 8.5px; font-weight: 800; letter-spacing: 0.1em; color: #475569; flex-wrap: wrap; }
.scope-readout span + span { border-left: 1px solid rgba(255, 255, 255, 0.12); padding-left: 10px; }
.scope-airgap { color: #10B981; font-weight: 700; }
.scope-legend { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; padding: 7px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.scope-legend li { display: flex; align-items: center; gap: 5px; font-size: 8.5px; font-weight: 700; letter-spacing: 0.06em; color: #94A3B8; }
.scope-legend b { color: #FFF; font-variant-numeric: tabular-nums; }
.scope-legend i { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.lg-intake { background: #10B981; } .lg-triage { background: #F59E0B; } .lg-escalated { background: #60A5FA; } .lg-resolved { background: #34D399; }
@media (max-width: 420px) { .scope-legend { grid-template-columns: repeat(2, 1fr); } }

/* Tabs column */
.mission-tabs { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid rgba(255,255,255,0.08); padding-left: clamp(16px, 2vw, 28px); }
@media (max-width: 980px) { .mission-tabs { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; } }
.mission-tablist { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; flex: 0 0 auto; }
@media (max-width: 640px) { .mission-tablist { grid-template-columns: repeat(3, 1fr); } }
.mission-tab {
  appearance: none; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.12);
  color: #94A3B8; font-family: var(--font-sans); font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 8px 2px 9px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; transition: color 0.2s ease, border-color 0.2s ease;
}
.mission-tab span { font-size: 9px; color: #475569; font-variant-numeric: tabular-nums; }
.mission-tab:hover { color: #E2E8F0; }
.mission-tab.active { color: #FFF; border-bottom-color: #10B981; }
.mission-tab.active span { color: #10B981; }
.mission-tab:focus-visible { outline: 2px solid #10B981; outline-offset: 2px; }
.mission-panels { position: relative; flex: 1 1 auto; min-height: 0; padding: 14px 0 4px; }
.mission-panel { animation: panelIn 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.mission-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mission-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; color: #10B981; margin: 0 0 6px; }
.mission-panel h3 { color: #FFF; font-size: clamp(1.15rem, 1.5vw + 0.8rem, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 6px; text-wrap: balance; }
.mission-panel > p { color: #94A3B8; font-size: clamp(0.82rem, 0.6vw + 0.65rem, 0.92rem); line-height: 1.55; margin: 0 0 12px; max-width: 52ch; text-wrap: pretty; }
.mission-panel dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
@media (max-width: 560px) { .mission-panel dl { grid-template-columns: 1fr; } }
.mission-panel dl > div { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 7px; min-width: 0; }
.mission-panel dt { font-size: 9px; font-weight: 800; letter-spacing: 0.1em; color: #64748B; margin-bottom: 3px; }
.mission-panel dd { margin: 0; font-size: 0.8rem; font-weight: 600; color: #E2E8F0; }
.mission-tabnav { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; padding-top: 10px; }
.mission-arrow {
  appearance: none; width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); color: #FFF;
  font-size: 14px; cursor: pointer; transition: background 0.2s ease;
}
.mission-arrow:hover { background: rgba(255,255,255,0.12); }
.mission-progress { flex: 1 1 auto; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.mission-progress i { display: block; height: 100%; width: 0; background: #10B981; }
.mission-progress.run i { animation: tabProgress 6s linear forwards; }
@keyframes tabProgress { from { width: 0; } to { width: 100%; } }

/* Rail column */
.mission-rail { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid rgba(255,255,255,0.08); padding-left: clamp(16px, 2vw, 28px); gap: 0; }
@media (max-width: 980px) { .mission-rail { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; } }
@media (max-width: 560px) { .mission-rail { grid-template-columns: 1fr; } }
.rail-stat { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); min-width: 0; }
.rail-stat span { display: block; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; color: #64748B; }
.rail-stat strong { display: block; font-size: clamp(1.3rem, 1.4vw + 0.9rem, 1.65rem); font-weight: 800; letter-spacing: -0.02em; color: #FFF; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rail-stat em { font-style: normal; font-size: 0.72rem; color: #94A3B8; }
.rail-log { padding-top: 10px; min-width: 0; }
@media (max-width: 980px) { .rail-log { grid-column: 1 / -1; } }
.rail-log p { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; color: #64748B; margin: 0 0 6px; }
.rail-log ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rail-log li { font-size: 0.74rem; color: #CBD5E1; border-left: 2px solid #10B981; padding-left: 8px; line-height: 1.45; animation: panelIn 0.4s ease; }
.rail-log li b { color: #10B981; font-size: 0.66rem; letter-spacing: 0.08em; margin-right: 6px; }
@media (min-width: 1024px) { .rail-log li:nth-child(n+4) { display: none; } }

/* ==========================================================================
   Dashboard pager (horizontal screens) â€” one idea per screen, room to breathe
   ========================================================================== */
.dash-viewport { overflow: hidden; flex: 0 0 auto; min-height: 0; }
.dash-track { display: flex; height: 100%; transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); touch-action: pan-y; }
.dash-screen {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
  padding: 6px 2px;
}
@media (min-width: 981px) {
  .dash-screen { grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 64px); padding: 10px 6px; }
}
@media (min-width: 1024px) {
  .dash-viewport { flex: 1 1 auto; min-height: 0; max-height: 100%; }
  .dash-track { align-items: stretch; }
  .dash-screen { max-height: 100%; overflow: hidden; }
}
.dash-kicker { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; color: #10B981; margin: 0 0 14px; }
.dash-note { color: #64748B; font-size: 0.82rem; margin: 14px 0 0; }

/* Screen 01 counters â€” huge numerals, tiny labels */
.scope-lg { width: min(100%, 250px) !important; }
@media (min-width: 1024px) { .scope-lg { width: min(100%, clamp(215px, 33vh, 270px)) !important; } }
.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.counter-grid > div {
  padding: clamp(10px, 1.8vh, 16px) clamp(12px, 1.4vw, 18px) clamp(8px, 1.4vh, 12px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.counter-grid strong { display: block; font-size: clamp(2.1rem, 3.4vw + 1rem, 3.3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #FFF; font-variant-numeric: tabular-nums; }
.counter-grid span { display: block; margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #64748B; }
@media (max-width: 380px) {
  .counter-grid > div { padding: 8px 10px 6px; }
  .counter-grid strong { font-size: 1.7rem; }
  .dash-screen { gap: 20px; }
}

/* Screen 02/03 protocol rows */
.proto-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.proto-row:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.1); }
.proto-row b { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: rgba(255,255,255,0.16); line-height: 1; font-variant-numeric: tabular-nums; }
.proto-row h4 { margin: 0 0 3px; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; color: #FFF; }
.proto-row p { margin: 0; font-size: 0.82rem; color: #94A3B8; }
.proto-all { display: inline-block; margin-top: 14px; font-size: 0.8rem; font-weight: 700; color: #60A5FA; text-decoration: none; }
.proto-all:hover { color: #93C5FD; }

/* ====== Screen 02 — Systems Status Matrix (live protocol telemetry) ====== */
.cap-matrix {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #0A0D12;
  overflow: hidden;
}
.cap-matrix-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px; font-weight: 800; letter-spacing: 0.16em; color: #E2E8F0;
}
.cap-live {
  display: inline-flex; align-items: center; gap: 6px;
  color: #10B981; font-family: var(--font-mono);
}
.cap-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10B981; box-shadow: 0 0 7px #10B981;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.cap-matrix.syncing .cap-live i { background: #34D399; box-shadow: 0 0 12px #34D399; }

.cap-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: clamp(7px, 1.2vh, 10px) 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.5s ease;
}
.cap-row:last-child { border-bottom: none; }
.cap-row b {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  color: #10B981;
}
.cap-name {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  color: #CBD5E1; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cap-row em {
  font-style: normal; font-family: var(--font-mono);
  font-size: 9px; font-weight: 800; letter-spacing: 0.1em;
  color: #34D399;
}
.cap-row.flash { background: rgba(16, 185, 129, 0.08); }
.cap-row.flash em { color: #6EE7B7; }

/* Activity waveform — five staggered signal bars */
.cap-wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.cap-wave i {
  width: 2.5px; height: 30%;
  background: rgba(52, 211, 153, 0.85);
  animation: capWave 1.15s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}
.cap-wave i:nth-child(1) { height: 45%; animation-delay: 0s; }
.cap-wave i:nth-child(2) { height: 85%; animation-delay: 0.12s; }
.cap-wave i:nth-child(3) { height: 55%; animation-delay: 0.24s; }
.cap-wave i:nth-child(4) { height: 95%; animation-delay: 0.36s; }
.cap-wave i:nth-child(5) { height: 40%; animation-delay: 0.48s; }
@keyframes capWave {
  from { transform: scaleY(0.35); }
  to { transform: scaleY(1); }
}

/* ====== Screen 03 — Chain of Custody ledger ====== */
.custody-chain {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #0A0D12;
  padding: 0 0 12px;
  overflow: hidden;
}
.custody-chain .cap-matrix-head { border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 12px; }
.chain-node {
  margin: 0 14px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid #10B981;
  border-radius: 6px;
  background: #0D1017;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
}
.chain-node b {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  color: #F8FAFC;
}
.chain-hash {
  grid-row: 2;
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.04em;
  color: #10B981;
}
.chain-meta {
  grid-row: 1; grid-column: 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em;
  color: #64748B; text-align: right;
}

/* Data-pulse traveling down the chain links */
.chain-link {
  width: 2px; height: 22px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  position: relative; overflow: hidden;
}
.chain-link::after {
  content: "";
  position: absolute; left: 0; top: -60%;
  width: 100%; height: 60%;
  background: linear-gradient(180deg, transparent, #34D399, transparent);
  animation: chainFlow 2.1s linear infinite;
}
@keyframes chainFlow { to { top: 160%; } }

/* Block-height meter */
.chain-meter {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 12px 14px 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.chain-meter span {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  color: #64748B;
}
.chain-meter b {
  font-size: clamp(1.4rem, 2vw + 1rem, 2rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: #FFF; font-variant-numeric: tabular-nums;
}

/* Pager footer */
.dash-footer { justify-content: space-between; }
@media (min-width: 1024px) {
  .dash-footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: #050608;
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}
.dash-counter { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: #FFF; font-variant-numeric: tabular-nums; }
.dash-counter span { color: #475569; }
.dash-dots { display: inline-flex; gap: 8px; }
.dash-dot { width: 22px; height: 4px; border-radius: 4px; border: none; background: rgba(255, 255, 255, 0.16); cursor: pointer; padding: 0; transition: background 0.25s ease, transform 0.15s ease; }
.dash-dot:hover { transform: scale(1.15); }
.dash-dot.active { background: #10B981; box-shadow: 0 0 12px rgba(16, 185, 129, 0.5); }
.dash-arrows { display: inline-flex; gap: 8px; }
.dash-arrows .mission-arrow { width: 36px; height: 36px; font-size: 18px; color: #94A3B8; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease; }
.dash-arrows .mission-arrow:hover { background: rgba(16, 185, 129, 0.1); color: #10B981; }

/* Console Footer â€” pinned bottom bar, next-section button always in first viewport */
.intel-console-footer {
  padding: 10px 4px 2px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: nowrap;
  font-family: var(--font-sans);
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 0 auto;
  min-height: 0;
}

@media (max-width: 640px) {
  .intel-console-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    flex-wrap: wrap;
  }
  .intel-footer-left {
    justify-content: center;
  }
}

.intel-footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.intel-footer-text {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 500;
  font-family: var(--font-sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .intel-footer-text {
    white-space: normal;
  }
}

.sec-nav-down-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 18px;
  min-height: 44px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  font-family: var(--font-sans);
}

@media (max-width: 640px) {
  .sec-nav-down-btn {
    width: 100%;
  }
}

.sec-nav-down-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF !important;
  transform: translateY(1px);
}

.sec-down-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  animation: downArrowBounce 2s ease-in-out infinite;
}

@keyframes downArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* ==========================================================================
   Section 5: Security Architecture - Section 2: Sovereign Defense Protocols
   Matching Inspirations/02.png Capabilities Grid (NO BENTO!)
   ========================================================================== */

.defense-protocols-section {
  background: #05070A !important;
  background-color: #05070A !important;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: -1px;
  /* Expanded second canvas: tall editorial zone */
  padding: calc(var(--header-height) + clamp(40px, 6vh, 72px)) 0 clamp(64px, 9vh, 104px);
  position: relative;
  font-family: var(--font-sans);
  scroll-margin-top: calc(var(--header-height) - 1px);
  color: #F8FAFC;
  min-height: 118vh;
  min-height: 118dvh;
  height: auto;
  max-height: none;
  display: block;
  box-sizing: border-box;
  overflow: visible;
  overflow-x: clip;
}

.defense-protocols-section > .container {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: none;
  width: 100%;
  gap: clamp(24px, 4vh, 40px);
}

.defense-protocols-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vh, 28px);
  margin-top: 0;
  align-items: stretch;
}

@media (min-width: 680px) {
  .defense-protocols-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .defense-protocols-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.defense-protocol-card {
  position: relative;
  background: linear-gradient(180deg, #0D1017 0%, #0A0C11 38%, #090B0F 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: clamp(20px, 3vh, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(14px, 2vh, 18px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  min-height: 0;
  height: 100%;
  font-family: var(--font-sans);
  box-sizing: border-box;
  min-width: 0;
  overflow-wrap: anywhere;
  overflow: hidden;
}

/* Premium top-edge light â€” reads as brushed metal catch-light */
.defense-protocol-card::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

/* Emerald corner registration mark */
.defense-protocol-card::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 7px; height: 7px;
  border-top: 1.5px solid rgba(16, 185, 129, 0.65);
  border-right: 1.5px solid rgba(16, 185, 129, 0.65);
  border-radius: 0 2px 0 0;
  pointer-events: none;
  transition: border-color 0.25s ease;
}

.defense-protocol-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #10141C 0%, #0C0F15 38%, #0A0C11 100%);
  transform: translateY(-3px);
}

.defense-protocol-card:hover::after {
  border-color: rgba(52, 211, 153, 0.95);
}

.protocol-card-top {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-right: 18px;
}

.protocol-index-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #10B981;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Emerald tick before the index tag */
.protocol-index-label::before {
  content: "";
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, #10B981, transparent);
  flex: 0 0 auto;
}

.protocol-card-title {
  font-size: clamp(1rem, 0.65vw + 0.85rem, 1.15rem);
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  font-family: var(--font-sans);
  text-wrap: balance;
}

.protocol-card-desc {
  font-size: clamp(0.78rem, 0.4vw + 0.68rem, 0.85rem);
  color: #8B96A8;
  line-height: 1.6;
  margin: 0;
  font-family: var(--font-sans);
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.protocol-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #34D399;
  text-decoration: none;
  transition: gap 0.18s ease, color 0.18s ease;
  margin-top: 4px;
  font-family: var(--font-sans);
}

.protocol-card-action::after {
  content: "â†’";
  font-size: 13px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.protocol-card-action:hover {
  color: #6EE7B7;
  gap: 9px;
}

/* Card vector stage â€” static, no glow */
.protocol-vector-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: clamp(14px, 2vh, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(120px, 17vh, 168px);
  min-height: 120px;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.protocol-vector-box::after {
  content: none;
}

.protocol-vector-box svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: visible;
  transform: scale(1.12);
  transform-origin: 50% 50%;
  animation: none;
}

.protocol-vector-box svg path,
.protocol-vector-box svg circle,
.protocol-vector-box svg rect,
.protocol-vector-box svg line {
  vector-effect: non-scaling-stroke;
  animation: none;
  opacity: 1;
}

.protocol-card-telemetry {
  font-size: clamp(8.5px, 0.6vw + 6px, 9.5px);
  color: #5C6B7F;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: clamp(6px, 1vh, 10px);
  letter-spacing: 0.09em;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

/* ==========================================================================
   Redesigned Dynamic Intake Pipeline & Live Sandbox
   ========================================================================== */

.intake-pipeline-section {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  /* Brought up: reduced top padding fixes the bottom cut-off,
     viewport-fit canvas centers the pipeline in the landing frame. */
  padding: clamp(28px, 4vh, 44px) 0 clamp(40px, 5.5vh, 64px);
  scroll-margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intake-pipeline-section > .container { width: 100%; }

.pipeline-interactive-container {
  max-width: 1060px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Stepper Tabs */
.pipeline-stepper-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .pipeline-stepper-tabs {
    grid-template-columns: 1fr;
  }
}

.pipeline-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-subtle);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
}

.pipeline-tab-btn:last-child {
  border-right: none;
}

.pipeline-tab-btn:hover {
  background: #F1F5F9;
}

.pipeline-tab-btn.active {
  background: #FFFFFF;
}

.pipeline-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #000000;
}

.tab-step-num {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  color: #475569;
}

.pipeline-tab-btn.active .tab-step-num {
  background: #000000;
  color: #FFFFFF;
}

.tab-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tab-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.tab-sub {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* Pipeline Panels Viewport */
.pipeline-panels-viewport {
  padding: clamp(24px, 3.5vw, 40px);
  min-height: 320px;
  display: flex;
  align-items: center;
}

.pipeline-panel {
  width: 100%;
  animation: fadeInPanel 0.25s ease-out;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pipeline-panel-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .pipeline-panel-grid {
    grid-template-columns: 1fr;
  }
}

.pipeline-panel-narrative {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-status-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #059669;
}

.panel-narrative-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.panel-narrative-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.panel-telemetry-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.telemetry-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: var(--bg-surface);
  border-radius: 4px;
  font-size: 11px;
  color: #64748B;
  border: 1px solid var(--border-subtle);
}

.telemetry-chip strong {
  color: var(--text-primary);
}

/* Graphic Voucher Preview Box */
.voucher-preview-box {
  background: #090B0E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.voucher-preview-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
}

.voucher-preview-code {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  text-align: center;
}

.voucher-preview-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: #64748B;
}

/* Section 2B: Dedicated Intake Sandbox Section */
.intake-sandbox-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(60px, 8vh, 85px) 0;
  scroll-margin-top: var(--header-height);
}

.sandbox-console-card {
  max-width: 1060px;
  margin: 0 auto;
  background: #FAFBFD;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sandbox-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 900px) {
  .sandbox-card-grid {
    grid-template-columns: 1fr;
  }
}

.sandbox-form-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voucher-assurance-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 9.5px;
  color: #64748B;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Radar Phosphor Fall-off Cone â€” leading edge flushed to needle tip */
.radar-sweep-cone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    transparent 278deg,
    rgba(16, 185, 129, 0.08) 308deg,
    rgba(16, 185, 129, 0.22) 336deg,
    rgba(16, 185, 129, 0.5) 359deg,
    rgba(16, 185, 129, 0.5) 360deg
  );
  mask-image: radial-gradient(circle at center, transparent 0%, transparent 12%, black 15%, black 42%, transparent 44%);
  -webkit-mask-image: radial-gradient(circle at center, transparent 0%, transparent 12%, black 15%, black 42%, transparent 44%);
  animation: radarConeRotate 3.5s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}
