/* ==========================================================================
   HMDLL Promotional Website — Apple Editorial Contrast Design System
   ========================================================================== */

@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces */
  --bg-alabaster: #fbfbfd;
  --bg-silver: #f5f5f7;
  --bg-white: #ffffff;
  --bg-obsidian: #000000;
  --bg-dark-card: #111114;
  --bg-dark-elevated: #18181d;

  /* Ink & Typography */
  --ink-primary: #1d1d1f;
  --ink-secondary: #6e6e73;
  --ink-tertiary: #86868b;
  --ink-on-dark: #f5f5f7;
  --ink-muted-dark: #a1a1a6;

  /* Brand & Semantic Accents (Aligned with HMDLL Console) */
  --prussian: #003153;
  --prussian-mid: #0a4975;
  --prussian-soft: #e8f0f7;
  --signal-amber: #f0883e;
  --signal-amber-soft: rgba(240, 136, 62, 0.14);
  --nominal-green: #1b7732;
  --nominal-bright: #3fb950;

  /* Borders & Hairlines */
  --border-light: rgba(0, 0, 0, 0.07);
  --border-dark: rgba(255, 255, 255, 0.10);

  /* Layout & Radii */
  --container-max: 1160px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

  /* Motion */
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-alabaster);
  color: var(--ink-primary);
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.skip-link:focus {
  left: 16px;
}

/* ==========================================================================
   Sticky Translucent Glass Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 54px;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background-color 0.35s var(--ease-apple),
              border-color 0.35s var(--ease-apple),
              color 0.35s var(--ease-apple);
}

.site-header.header-on-dark {
  background: rgba(8, 8, 10, 0.76);
  color: var(--ink-on-dark);
}

.nav-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 17px;
  height: 18px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink-primary);
}

.site-header.header-on-dark .nav-links a {
  color: var(--ink-muted-dark);
}

.site-header.header-on-dark .nav-links a:hover {
  color: #ffffff;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-apple),
              background-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-nav {
  padding: 7px 16px;
  font-size: 12.5px;
  background: var(--ink-primary);
  color: #ffffff;
}

.btn-nav:hover {
  background: var(--prussian);
}

.site-header.header-on-dark .btn-nav {
  background: #ffffff;
  color: #000000;
}

.site-header.header-on-dark .btn-nav:hover {
  background: #e5e5ea;
}

.btn-primary {
  padding: 14px 28px;
  font-size: 15.5px;
  background: var(--prussian);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 49, 83, 0.18);
}

.btn-primary:hover {
  background: #00243d;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 49, 83, 0.25);
}

.btn-secondary {
  padding: 14px 24px;
  font-size: 15.5px;
  background: rgba(0, 0, 0, 0.045);
  color: var(--ink-primary);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
}

.btn-hero-primary {
  padding: 14px 28px;
  font-size: 15.5px;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
}

.btn-hero-primary:hover {
  background: #e8edf2;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.18);
}

.btn-hero-secondary {
  padding: 14px 24px;
  font-size: 15.5px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Common Typography & Section Headers
   ========================================================================== */

.section-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--prussian);
  margin-bottom: 14px;
}

.eyebrow-dark {
  color: #7ab8e8;
}

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

.section-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin-bottom: 20px;
}

.section-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--ink-secondary);
  font-weight: 400;
}

.theme-dark {
  background-color: var(--bg-obsidian);
  color: var(--ink-on-dark);
}

.theme-dark .section-lead {
  color: var(--ink-muted-dark);
}

/* ==========================================================================
   Section 1: Hero (Deep Obsidian Above-the-Fold)
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 128px 0 96px;
  background: #000000;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(540px, 84vh, 840px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000000;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: brightness(0.66) contrast(0.92) saturate(0.82);
  transform: scale(1.02);
}

/* Multi-layered scrim: cushions the headline/subtitle zone against bright console rim lights
   and dissolves the video smoothly into the #000000 obsidian stage below */
.hero-video-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 54% 40% at 50% 34%,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.32) 56%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.22) 26%,
      rgba(0, 0, 0, 0.36) 64%,
      #000000 100%
    );
}

.hero-ambient-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 560px;
  z-index: 1;
  background: radial-gradient(
    ellipse 65% 55% at 50% 22%,
    rgba(12, 68, 114, 0.22) 0%,
    rgba(0, 0, 0, 0) 75%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  background: rgba(0, 49, 83, 0.06);
  border: 1px solid rgba(0, 49, 83, 0.12);
  color: var(--prussian);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.eyebrow-pill-dark {
  background: rgba(122, 184, 232, 0.09);
  border-color: rgba(122, 184, 232, 0.22);
  color: #8cc8f3;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--prussian);
}

.eyebrow-pill-dark .eyebrow-dot {
  background: #8cc8f3;
  box-shadow: 0 0 8px rgba(140, 200, 243, 0.55);
}

.hero-title {
  font-size: clamp(36px, 7.2vw, 78px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.038em;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 18%, #d4dae0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, 0.78));
  max-width: 920px;
  margin: 0 auto 24px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: #b4b9c2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.88);
  max-width: 720px;
  margin: 0 auto 38px;
  font-weight: 400;
}

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

/* Hero Dual Stage (Hardware + Software Twin Pillars) */

.hero-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  text-align: left;
}

.stage-card {
  position: relative;
  min-width: 0;
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 440px;
  transition: transform 0.45s var(--ease-apple), box-shadow 0.45s var(--ease-apple);
}

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

.stage-card-dark {
  background: radial-gradient(circle at 50% 56%, #000000 0%, #0a0b0e 100%);
  color: var(--ink-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

.stage-card-console-dark {
  background: linear-gradient(180deg, #12141a 0%, #0b0c10 100%);
  color: var(--ink-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

.stage-card-console-dark .stage-tag {
  color: #8cc8f3;
  opacity: 1;
}

.stage-card-console-dark .mini-console-window {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.stage-card-light {
  background: #ffffff;
  color: var(--ink-primary);
  border: 1px solid var(--border-light);
  box-shadow: 0 24px 60px rgba(0, 25, 50, 0.06);
}

.stage-card-header {
  position: relative;
  z-index: 2;
  max-width: 390px;
}

.stage-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  opacity: 0.72;
}

.stage-card-light .stage-tag {
  color: var(--prussian);
  opacity: 1;
}

.stage-card-header h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.stage-card-header p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-muted-dark);
}

.stage-card-light .stage-card-header p {
  color: var(--ink-secondary);
}

.stage-hardware-preview {
  position: relative;
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
}

.hero-node-img {
  height: 245px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 75% 88% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 88% at 50% 50%, #000 72%, transparent 100%);
}

.pulse-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pulse-rings span {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(122, 184, 232, 0.25);
  animation: radarRipple 4.8s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.pulse-rings span:nth-child(2) {
  animation-delay: 1.6s;
}

.pulse-rings span:nth-child(3) {
  animation-delay: 3.2s;
}

@keyframes radarRipple {
  0% {
    transform: scale(0.55);
    opacity: 0;
  }
  25% {
    opacity: 0.7;
  }
  100% {
    transform: scale(2.45);
    opacity: 0;
  }
}

.stage-link-hint {
  position: relative;
  z-index: 2;
  font-size: 13.5px;
  font-weight: 600;
  color: #7ab8e8;
}

.stage-card-light .stage-link-hint {
  color: var(--prussian);
}

/* Mini Console Preview inside Hero Right Card */

.stage-software-preview {
  margin: 18px 0 14px;
}

.mini-console-window {
  background: var(--bg-silver);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.mini-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 12px;
  font-weight: 700;
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-primary);
}

.mini-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--nominal-green);
  background: rgba(27, 119, 50, 0.09);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.dot-nominal {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nominal-bright);
}

.mini-map-canvas {
  position: relative;
  height: 188px;
  background: #eef3f7;
}

.mini-topo-svg {
  width: 100%;
  height: 100%;
}

.animated-track {
  stroke-dashoffset: 40;
  animation: dashFlow 3.5s linear infinite;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: 0;
  }
}

.mini-alert-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 31, 63, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.toast-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal-amber);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(240, 136, 62, 0.18);
}

.mini-alert-toast strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.25;
}

.mini-alert-toast span {
  display: block;
  font-size: 11px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Section 2: Editorial Philosophy & Origin
   ========================================================================== */

.story-section {
  padding: 128px 0;
  background: var(--bg-white);
}

.story-inner {
  max-width: 920px;
}

.editorial-statement {
  font-size: clamp(28px, 4.3vw, 46px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
  margin-bottom: 28px;
}

.muted-ink {
  color: var(--ink-tertiary);
}

.editorial-body {
  font-size: clamp(17px, 2vw, 20.5px);
  line-height: 1.62;
  color: var(--ink-secondary);
  max-width: 820px;
  margin-bottom: 56px;
}

.editorial-body strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.acronym-bracket {
  color: var(--ink-primary);
  font-weight: 500;
}

.pillar-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.pillar-divider {
  width: 1px;
  height: 68px;
  background: var(--border-light);
}

.pillar-number {
  display: block;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--prussian);
  margin-bottom: 8px;
}

.pillar-item p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Section 3: Hardware Showcase (Obsidian #000000)
   ========================================================================== */

.hardware-section {
  padding: 128px 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.hardware-showcase {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  align-items: center;
  gap: 36px;
  margin-bottom: 72px;
}

.anatomy-col {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.anatomy-left {
  text-align: right;
  align-items: flex-end;
}

.anatomy-right {
  text-align: left;
  align-items: flex-start;
}

.anatomy-item {
  max-width: 300px;
}

.anatomy-index {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7ab8e8;
  margin-bottom: 8px;
}

.anatomy-item h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
}

.anatomy-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted-dark);
}

.hardware-visual-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

.hardware-glow {
  position: absolute;
  width: 280px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 74, 122, 0.22) 0%, rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
}

.hardware-monolith-img {
  height: 540px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 78% 92% at 50% 50%, #000 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 92% at 50% 50%, #000 76%, transparent 100%);
}

.dark-feature-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.dark-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-apple);
}

.dark-card:hover {
  border-color: rgba(122, 184, 232, 0.32);
  transform: translateY(-2px);
}

.dark-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(122, 184, 232, 0.10);
  color: #7ab8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.dark-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 10px;
}

.dark-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted-dark);
}

/* ==========================================================================
   Section 4: Interactive Software Showcase (Apple #F5F5F7)
   ========================================================================== */

.software-section {
  padding: 128px 0;
  background: var(--bg-silver);
}

.scenario-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: fit-content;
  margin: -18px auto 38px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.055);
  border-radius: var(--radius-pill);
}

.scenario-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-apple),
              color 0.25s ease,
              box-shadow 0.25s ease;
}

.scenario-tab:hover {
  color: var(--ink-primary);
}

.scenario-tab.active {
  background: #ffffff;
  color: var(--ink-primary);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Console Application Window */

.console-showcase-frame {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 32px 80px rgba(0, 26, 51, 0.10);
  overflow: hidden;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fbfbfd;
  border-bottom: 1px solid var(--border-light);
  gap: 16px;
  flex-wrap: wrap;
}

.console-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d2d2d7;
}

.console-app-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ink-primary);
}

.console-sector-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--prussian);
  background: var(--prussian-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-left: 4px;
}

.console-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console-health-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nominal-green);
  background: rgba(27, 119, 50, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.console-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--ink-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.console-replay-btn:hover {
  background: var(--bg-silver);
}

.console-workspace {
  display: grid;
  grid-template-columns: 58px 1fr 330px;
  min-height: 455px;
}

.console-rail {
  background: #f7f8fa;
  border-right: 1px solid var(--border-light);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.rail-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-tertiary);
}

.rail-icon.active {
  background: var(--prussian-soft);
  color: var(--prussian);
}

.console-map-area {
  position: relative;
  background: #edf2f7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.console-map-svg {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.map-legend-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.map-legend-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.nominal {
  background: var(--nominal-green);
}

.legend-dot.sensing {
  background: var(--signal-amber);
}

.legend-line {
  width: 16px;
  height: 2.5px;
  background: var(--prussian);
  display: inline-block;
  border-radius: 2px;
}

/* Console Right Triage Sidebar */

.console-sidebar {
  background: #ffffff;
  border-left: 1px solid var(--border-light);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-tertiary);
  margin-bottom: 9px;
}

.incident-card {
  background: var(--bg-silver);
  border-radius: 16px;
  padding: 16px;
  border-left: 3.5px solid var(--signal-amber);
}

.incident-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.severity-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(240, 136, 62, 0.16);
  color: #b54d00;
}

.incident-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-tertiary);
}

.incident-card h3 {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--ink-primary);
}

.incident-card p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.incident-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.meta-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.meta-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-tertiary);
  margin-bottom: 2px;
}

.meta-box strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-primary);
}

.quiet-filter-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(27, 119, 50, 0.06);
  border: 1px solid rgba(27, 119, 50, 0.14);
}

.filter-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--nominal-green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.quiet-filter-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 2px;
}

.quiet-filter-card p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-secondary);
}

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

.delivery-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.check-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--prussian);
  flex-shrink: 0;
}

/* ==========================================================================
   Section 5: Apple Bento Grid — Capabilities
   ========================================================================== */

.capabilities-section {
  padding: 128px 0;
  background: var(--bg-white);
}

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

.bento-card {
  min-width: 0;
  background: var(--bg-silver);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.35s var(--ease-apple);
}

.bento-card:hover {
  transform: translateY(-3px);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-span-3 {
  grid-column: span 3;
}

.bento-prussian {
  background: linear-gradient(135deg, #002642 0%, #003b64 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  justify-content: space-between;
}

.bento-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--prussian);
  margin-bottom: 12px;
}

.bento-prussian .bento-kicker {
  color: #8cc8f3;
}

.bento-card h3 {
  font-size: 24px;
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.024em;
  margin-bottom: 12px;
}

.bento-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.bento-prussian p {
  color: rgba(255, 255, 255, 0.80);
  max-width: 560px;
}

.bento-visual-waves {
  margin-top: 28px;
  height: 76px;
  opacity: 0.9;
}

.bento-visual-waves svg {
  width: 100%;
  height: 100%;
}

.bento-horizontal {
  flex-direction: row;
  align-items: center;
  gap: 36px;
}

.bento-edge {
  background: linear-gradient(135deg, #0b0d12 0%, #121822 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-edge .bento-kicker {
  color: #ffb784;
}

.bento-edge p {
  color: rgba(245, 245, 247, 0.78);
}

.bento-edge .feature-pill-badge {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
  color: #f5f5f7;
  box-shadow: none;
}

.bento-horiz-text {
  flex: 1.3;
}

.bento-horiz-badges {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.feature-pill-badge {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--prussian);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   Section 6: Dual-Use Architecture (Obsidian #000000 + Field Render)
   ========================================================================== */

.dualuse-section {
  padding: 128px 0;
  background: #000000;
}

.dualuse-hero-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 56px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dualuse-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.dualuse-field-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Right-weighted gradient scrim keeps the planted sensor on the left crystal clear */
.dualuse-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.35) 38%,
    rgba(0, 0, 0, 0.86) 68%,
    rgba(0, 0, 0, 0.94) 100%
  );
}

.dualuse-banner-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.dualuse-banner-copy .section-title {
  color: #ffffff;
}

.dualuse-banner-copy .section-lead {
  color: rgba(245, 245, 247, 0.85);
}

.dualuse-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dualuse-panel {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.panel-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(122, 184, 232, 0.14);
  color: #8cc8f3;
  margin-bottom: 18px;
}

.panel-tag-amber {
  background: rgba(240, 136, 62, 0.15);
  color: #ffb784;
}

.dualuse-panel h3 {
  font-size: 26px;
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: #ffffff;
  margin-bottom: 14px;
}

.dualuse-panel > p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-muted-dark);
  margin-bottom: 26px;
}

.sector-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sector-list li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-muted-dark);
}

.sector-list strong {
  color: #ffffff;
  font-weight: 650;
}

/* ==========================================================================
   Section 7: Effortless Workflow (Apple #F5F5F7)
   ========================================================================== */

.workflow-section {
  padding: 116px 0;
  background: var(--bg-silver);
}

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

.step-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border-light);
}

.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--prussian);
  background: var(--prussian-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Section 8: Frequently Asked Questions (Apple Hairline Accordion)
   ========================================================================== */

.faq-section {
  padding: 120px 0 40px;
  background: var(--bg-white);
}

.faq-inner {
  max-width: 860px;
}

.faq-list {
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: clamp(17px, 2vw, 19.5px);
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover {
  color: var(--prussian);
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-silver);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-apple), background-color 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink-secondary);
  transform: translate(-50%, -50%);
  border-radius: 1px;
}

.faq-icon::before {
  width: 11px;
  height: 1.6px;
}

.faq-icon::after {
  width: 1.6px;
  height: 11px;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--prussian-soft);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--prussian);
}

.faq-answer {
  padding: 0 36px 26px 4px;
}

.faq-answer p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Section 9: Briefing Request CTA
   ========================================================================== */

.briefing-section {
  padding: 88px 0 124px;
  background: var(--bg-white);
}

.briefing-card {
  background: var(--bg-silver);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
  border: 1px solid var(--border-light);
}

.briefing-copy h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.briefing-copy p {
  font-size: 16.5px;
  line-height: 1.58;
  color: var(--ink-secondary);
  margin-bottom: 32px;
}

.direct-contact-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-light);
}

.direct-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-tertiary);
}

.direct-email {
  font-size: 18px;
  font-weight: 700;
  color: var(--prussian);
}

.direct-email:hover {
  text-decoration: underline;
}

/* Briefing Form */

.briefing-form {
  background: #ffffff;
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 18px 44px rgba(0, 26, 51, 0.05);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-primary);
  margin-bottom: 7px;
}

.optional-tag {
  font-weight: 400;
  color: var(--ink-tertiary);
}

.domain-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.domain-pill {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.11);
  background: var(--bg-alabaster);
  color: var(--ink-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.domain-pill:hover {
  border-color: var(--prussian);
  color: var(--ink-primary);
}

.domain-pill.active {
  background: var(--prussian);
  border-color: var(--prussian);
  color: #ffffff;
}

.briefing-form input[type="text"],
.briefing-form input[type="email"],
.briefing-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  background: var(--bg-alabaster);
  font-size: 14.5px;
  color: var(--ink-primary);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.briefing-form input:focus,
.briefing-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--prussian);
  box-shadow: 0 0 0 3px rgba(0, 49, 83, 0.10);
}

.form-actions {
  margin-top: 22px;
}

.hp-trap {
  display: none !important;
  visibility: hidden !important;
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-feedback {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nominal-green);
  min-height: 18px;
}

.form-feedback.is-error {
  color: #c62828;
}

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

.site-footer {
  background: var(--bg-silver);
  border-top: 1px solid var(--border-light);
  padding: 44px 0;
  color: var(--ink-secondary);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 22px;
}

.footer-hmdll {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--ink-primary);
}

.footer-sep {
  color: #c7c7cc;
  margin: 0 2px;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--ink-secondary);
  font-weight: 500;
}

.footer-ecc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-primary);
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

.footer-ecc:hover {
  opacity: 1;
}

.by-label {
  font-size: 12px;
  color: var(--ink-tertiary);
  font-weight: 500;
}

.ecc-wordmark {
  height: 14px;
  width: auto;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--ink-tertiary);
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-dot {
  color: #c7c7cc;
}

.footer-origin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-tertiary);
}

.ee-flag {
  width: 14px;
  height: 9px;
  border-radius: 1.8px;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14);
  opacity: 0.86;
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-links a,
.footer-cookie-btn {
  white-space: nowrap;
}

.footer-links a:hover,
.footer-cookie-btn:hover {
  color: var(--ink-primary);
}

.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
}

.footer-disclaimer {
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-tertiary);
}

/* ==========================================================================
   Frosted-Glass Cookie Consent Banner (Apple Minimalist Floating Pill)
   ========================================================================== */

.consent-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  max-width: 540px;
  width: calc(100% - 36px);
  padding: 16px 18px 16px 20px;
  border-radius: 20px;
  background: rgba(18, 19, 24, 0.86);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.38s var(--ease-apple),
              transform 0.38s var(--ease-apple);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner.is-open {
  opacity: 1;
  transform: translateY(0);
}

.consent-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.84);
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.consent-btn {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.consent-btn:active {
  transform: scale(0.97);
}

.consent-btn-decline {
  background: rgba(255, 255, 255, 0.10);
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.consent-btn-decline:hover {
  background: rgba(255, 255, 255, 0.17);
}

.consent-btn-accept {
  background: #ffffff;
  color: #000000;
}

.consent-btn-accept:hover {
  background: #e6eaf0;
}

/* ==========================================================================
   Scroll Reveal Choreography (Progressive Enhancement — Crawler Safe)
   ========================================================================== */

html.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-apple),
              transform 0.75s var(--ease-apple);
}

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pulse-rings span,
  .animated-track {
    animation: none;
  }
  .hero-bg-video {
    display: none;
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-stage-grid {
    grid-template-columns: 1fr;
  }

  .hardware-showcase {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .anatomy-left,
  .anatomy-right {
    text-align: center;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
  }

  .hardware-visual-center {
    order: -1;
    min-height: 440px;
  }

  .hardware-monolith-img {
    height: 440px;
  }

  .console-workspace {
    grid-template-columns: 1fr;
  }

  .console-rail {
    display: none;
  }

  .console-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-span-3 {
    grid-column: span 2;
  }

  .bento-horizontal {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento-horiz-badges {
    justify-content: flex-start;
  }

  .briefing-card {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-container {
    padding: 0 16px;
    gap: 12px;
  }

  .btn-nav {
    padding: 7px 14px;
    font-size: 12px;
    white-space: nowrap;
  }

  .container {
    padding: 0 16px;
  }

  .hide-sm {
    display: none;
  }

  /* Tighter, Apple-proportioned mobile vertical rhythm */
  .hero-section {
    padding: 88px 0 52px;
  }

  .story-section,
  .hardware-section,
  .software-section,
  .capabilities-section,
  .dualuse-section,
  .workflow-section {
    padding: 64px 0;
  }

  .faq-section {
    padding: 64px 0 28px;
  }

  .briefing-section {
    padding: 36px 0 68px;
  }

  .section-header-centered {
    margin: 0 auto 34px;
  }

  .section-eyebrow {
    font-size: 11.5px;
    margin-bottom: 10px;
  }

  .section-title {
    font-size: clamp(27px, 7.4vw, 34px);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  .section-lead {
    font-size: 16px;
    line-height: 1.52;
  }

  /* Hero Mobile Refinements */
  .hero-video-wrap {
    height: clamp(420px, 68vh, 560px);
  }

  .hero-bg-video {
    object-position: center 20%;
  }

  .hero-title {
    font-size: clamp(33px, 9.2vw, 44px);
    line-height: 1.07;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.52;
    margin-bottom: 28px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin: 0 auto 40px;
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    padding: 13px 22px;
    font-size: 15px;
  }

  .hero-stage-grid {
    gap: 16px;
  }

  .stage-card {
    min-height: 0;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .stage-card-header h3 {
    font-size: 22px;
  }

  .stage-card-header p {
    font-size: 14px;
  }

  .stage-hardware-preview {
    height: 196px;
    margin: 14px 0;
  }

  .hero-node-img {
    height: 196px;
  }

  .mini-window-bar {
    padding: 8px 11px;
    font-size: 11.5px;
    gap: 8px;
  }

  .mini-status-pill {
    font-size: 10.5px;
    padding: 2px 8px;
    white-space: nowrap;
  }

  .mini-map-canvas {
    height: 174px;
  }

  .mini-alert-toast {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px 10px;
    gap: 8px;
  }

  .mini-alert-toast strong {
    font-size: 11.5px;
  }

  .mini-alert-toast span {
    font-size: 10.5px;
    line-height: 1.3;
  }

  /* Story / Philosophy Mobile */
  .editorial-statement {
    font-size: clamp(23px, 6.5vw, 30px);
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .editorial-body {
    font-size: 16px;
    line-height: 1.58;
    margin-bottom: 36px;
  }

  .pillar-strip {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 28px;
  }

  .pillar-divider {
    display: none;
  }

  .pillar-number {
    font-size: 17px;
    margin-bottom: 4px;
  }

  /* Hardware Mobile */
  .hardware-showcase {
    gap: 28px;
    margin-bottom: 40px;
  }

  .hardware-visual-center {
    min-height: 310px;
  }

  .hardware-monolith-img {
    height: 310px;
  }

  .anatomy-left,
  .anatomy-right {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 20px;
  }

  .anatomy-item {
    max-width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .anatomy-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }

  /* Grid Containers & Cards */
  .dark-feature-trio,
  .bento-grid,
  .dualuse-split-grid,
  .steps-grid,
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dark-card,
  .bento-card,
  .dualuse-panel,
  .step-card,
  .console-map-area,
  .console-sidebar,
  .briefing-copy,
  .briefing-form {
    min-width: 0;
  }

  .bento-card,
  .dualuse-panel,
  .step-card,
  .dark-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .bento-card h3,
  .dualuse-panel h3,
  .step-card h3 {
    font-size: 21px;
  }

  .bento-card p,
  .dualuse-panel > p,
  .step-card p {
    font-size: 14.5px;
  }

  .bento-span-2,
  .bento-span-3 {
    grid-column: span 1;
  }

  .bento-horizontal {
    gap: 20px;
  }

  .bento-horiz-badges {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .feature-pill-badge {
    padding: 9px 10px;
    font-size: 12px;
    text-align: center;
  }

  /* Interactive Software Showcase Mobile */
  .scenario-tabs {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0 auto 22px;
    padding: 5px;
    border-radius: 16px;
  }

  .scenario-tab {
    width: 100%;
    padding: 10px 14px;
    border-radius: 11px;
    font-size: 13px;
    text-align: center;
  }

  .console-showcase-frame {
    border-radius: 20px;
  }

  .console-topbar {
    padding: 12px 14px;
    gap: 10px;
  }

  .window-dots {
    display: none;
  }

  .console-topbar-left,
  .console-topbar-right {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .console-app-title {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
  }

  .console-sector-badge {
    margin-left: 0;
    font-size: 11px;
    padding: 3px 9px;
    white-space: nowrap;
  }

  .console-health-chip {
    font-size: 11px;
    padding: 4px 10px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .console-health-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .console-replay-btn {
    padding: 5px 11px;
    font-size: 11.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .console-workspace {
    min-height: 0;
  }

  .console-map-svg {
    min-height: 0;
    height: auto;
    aspect-ratio: 720 / 440;
  }

  .map-legend-bar {
    padding: 9px 14px;
    gap: 8px 14px;
    font-size: 11px;
  }

  .console-sidebar {
    padding: 18px 16px;
    gap: 16px;
  }

  /* Dual-Use Banner Mobile */
  .dualuse-hero-banner {
    padding: 26px 20px;
    min-height: 360px;
    border-radius: 22px;
    align-items: flex-end;
    margin-bottom: 20px;
  }

  .dualuse-field-img {
    object-position: 24% center;
  }

  .dualuse-image-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.72) 48%,
      rgba(0, 0, 0, 0.94) 100%
    );
  }

  /* FAQ Mobile */
  .faq-item summary {
    padding: 18px 2px;
    gap: 14px;
    font-size: 16px;
    line-height: 1.38;
  }

  .faq-answer {
    padding: 0 12px 20px 2px;
  }

  .faq-answer p {
    font-size: 14.5px;
    line-height: 1.58;
  }

  /* Briefing Card & Form Mobile (16px font prevents iOS Safari auto-zoom) */
  .briefing-card {
    padding: 24px 16px;
    border-radius: 24px;
    gap: 24px;
  }

  .briefing-copy h2 {
    font-size: 28px;
  }

  .briefing-copy p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .direct-contact-box {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .direct-email {
    font-size: 16.5px;
    word-break: break-all;
  }

  .briefing-form {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .domain-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .domain-pill {
    width: 100%;
    text-align: center;
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .briefing-form input[type="text"],
  .briefing-form input[type="email"],
  .briefing-form textarea {
    font-size: 16px;
    padding: 11px 13px;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 34px 0;
  }

  .footer-brand-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .footer-sep {
    display: none;
  }

  .footer-tagline {
    width: 100%;
    font-size: 12.5px;
  }

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

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-dot {
    display: none;
  }

  .footer-links {
    gap: 10px 16px;
    width: 100%;
  }

  /* Cookie Consent Banner Mobile */
  .consent-banner {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 14px 16px;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .consent-btn {
    width: 100%;
    padding: 9px 14px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .bento-horiz-badges {
    grid-template-columns: 1fr;
  }

  .incident-meta-grid {
    grid-template-columns: 1fr;
  }
}
