:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --surface: #161616;
  --border: #1f1f1f;
  --border-bright: #2a2a2a;
  --text: #f2f2f2;
  --text-dim: #8a8a8a;
  --text-dimmer: #555;
  --accent: #ff8585;
  --accent-soft: rgba(255, 133, 133, 0.12);
  --accent-glow: rgba(255, 133, 133, 0.35);

  /* light section palette */
  --light-bg: #efede6;
  --light-bg-elev: #f7f5ee;
  --light-border: rgba(10, 10, 10, 0.10);
  --light-border-bright: rgba(10, 10, 10, 0.22);
  --light-text: #0a0a0a;
  --light-text-dim: rgba(10, 10, 10, 0.60);
  --light-accent: #c14848;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts. Miranda Sans is preferred if licensed locally; Manrope is the
     public fallback shipped via Google Fonts. Outfit (900) is the public
     "Heavy" display. */
  --font: 'Miranda Sans', 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Miranda Sans', 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, .hero-headline, .page-title, .pillar-title, .product-name, .feature-copy h2, .cta-block h2, .stat-big, .value-head {
  font-family: var(--font-display);
  font-weight: 450;
  letter-spacing: -0.03em;
}

body.loading { overflow: hidden; height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, video { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--bg); }

/* ============ PAGE TRANSITION ============ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
html.transitioning .page-transition { opacity: 1; pointer-events: auto; }
.page-transition.show { opacity: 1; pointer-events: auto; }

/* ============ LOADER ============ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease);
}
#loader.done { opacity: 0; pointer-events: none; }

.loader-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}
.loader-mark .logo-mark {
  width: 22px; height: 22px;
}
.loader-mark .wordmark {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
}

.loader-bar {
  width: min(420px, 60vw);
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.25s forwards;
}
.loader-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--text);
  transition: width 0.3s var(--ease-out);
}

.loader-meta {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  width: min(420px, 60vw);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.loader-pct { color: var(--text); }

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

/* ============ INTRO VIDEO ============ */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #000;
  pointer-events: none;
  transition:
    inset 1.4s var(--ease),
    border-radius 1.4s var(--ease),
    opacity 0.8s var(--ease);
  overflow: hidden;
}
#intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#intro.shrink {
  inset: 2vh 2vw;
  border-radius: var(--radius-xl);
}
#intro.morphed {
  opacity: 0;
}
#intro.hidden { display: none; }

/* Skip intro button */
.intro-skip {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9100;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 10px 16px;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  transition: all 0.2s var(--ease);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 2s forwards;
}
.intro-skip:hover {
  color: var(--text);
  border-color: var(--text-dim);
}
.intro-skip.hidden { display: none; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 16px;
  left: 20px;
  right: 20px;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 500;
  padding: 10px 12px 10px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-brand { justify-self: start; }
.nav-links { justify-self: center; }
.nav-cta { justify-self: end; }
.nav.scrolled {
  border-color: var(--border-bright);
  background: rgba(10, 10, 10, 0.88);
  box-shadow: 0 8px 40px -12px rgba(0, 0, 0, 0.6);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-brand .logo-mark { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links a {
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-dim);
  border-radius: 100px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active .nav-dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}
.nav-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: transparent;
  transition: background 0.2s var(--ease);
}
.nav-caret {
  width: 10px; height: 10px;
  transition: transform 0.25s var(--ease);
  opacity: 0.7;
}

/* Dropdown — 2 column */
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 620px;
  max-width: calc(100vw - 40px);
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 20px 48px -16px rgba(0,0,0,0.8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }

/* invisible hover bridge so cursor doesn't lose focus between link and dropdown */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 14px;
}

.dd-col { display: flex; flex-direction: column; gap: 2px; }
.dd-heading {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  padding: 14px 14px 6px;
}
.dd-heading:first-child { padding-top: 4px; }

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  transition: background 0.18s var(--ease);
}
.dropdown a:hover { background: var(--surface); }
.dropdown a .dd-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}
.dropdown a .dd-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dropdown a .dd-title {
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown a .dd-title .dd-code {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  padding: 2px 6px;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
}
.dropdown a .dd-desc { color: var(--text-dim); font-size: 12px; }
.dropdown-footer {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 12px 14px 4px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown-footer a {
  padding: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.dropdown-footer a:hover { background: none; color: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.2s var(--ease);
  border: 1px solid var(--border-bright);
  color: var(--text);
}
.btn:hover { border-color: var(--text-dim); background: var(--surface); }
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============ HERO ============ */
.hero {
  padding: 96px 20px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-container {
  position: relative;
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  min-height: calc(100vh - 116px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero-video.ready { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 60%, rgba(10,10,10,0.45) 100%),
    rgba(10,10,10,0.18);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
}
.hero-inner .hero-headline { margin-left: auto; margin-right: auto; }
.hero-inner .hero-sub { margin-left: auto; margin-right: auto; }
.hero-inner .hero-actions { justify-content: center; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  width: fit-content;
}
.hero-tag .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 14ch;
  margin-top: 24px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.45);
}
.hero-headline .accent { color: var(--accent); font-style: italic; font-weight: 450; }

.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  color: #ffffff;
  max-width: 56ch;
  line-height: 1.5;
  text-shadow: 0 1px 18px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-specs {
  display: flex;
  gap: 48px;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.spec-value {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.spec-value .unit { color: var(--text-dim); font-size: 15px; margin-left: 4px; }

.hero-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  text-align: right;
}
.hero-meta span { color: var(--text-dim); }

/* ============ SECTIONS ============ */
section {
  padding: 120px 48px;
}
.section-header {
  max-width: 1400px;
  margin: 0 auto 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.section-desc {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 46ch;
  line-height: 1.55;
}

/* ============ CAPABILITIES GRID ============ */
.grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-bright);
}
.card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  color: var(--accent);
}
.card-title {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.card-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dimmer);
}

/* ============ PRODUCT CARDS ============ */
.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: var(--border-bright); }
.product-media {
  aspect-ratio: 16/10;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,133,133,0.08) 0%, transparent 50%),
    linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}
.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
}
.product-media-label {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-media-label .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.product-drone {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.product-drone svg {
  width: 60%;
  height: auto;
  opacity: 0.85;
}
.product-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.product-name {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.product-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  padding: 4px 10px;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
}
.product-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.product-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.product-stat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.product-stat-value {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ============ STATS STRIP ============ */
.stats-strip {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-strip .stat-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
}
.stats-strip .stat-cell:last-child { border-right: none; }
.stat-big {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-big .unit { font-size: 18px; color: var(--text-dim); margin-left: 4px; }
.stat-cap {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 900px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat-cell:nth-child(2) { border-right: none; }
  .stats-strip .stat-cell:nth-child(1), .stats-strip .stat-cell:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

/* ============ CTA BLOCK ============ */
.cta-block {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,133,133,0.06) 0%, transparent 50%),
    var(--bg-elev);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-block h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 18ch;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 48px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo-mark { width: 28px; height: 28px; margin-bottom: 20px; }
.footer-brand .wordmark {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 13px;
  max-width: 36ch;
  line-height: 1.55;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  section { padding: 80px 24px; }
  .hero-inner { padding: 32px 24px; }
  .hero-specs { gap: 24px; }
  .cta-block { padding: 48px 28px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .product-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ============ PAGE HEADER (interior pages) ============ */
.page-header {
  padding: 160px 48px 80px;
  border-bottom: 1px solid var(--border);
}
.page-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-title {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 14ch;
}
.page-title .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.page-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 52ch;
}
.breadcrumb {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb .sep { color: var(--border-bright); }
.breadcrumb .current { color: var(--accent); }

/* ============ ABOUT PAGE ============ */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.prose p { margin-bottom: 24px; color: var(--text-dim); }
.prose p.lead { font-size: 22px; color: var(--text); line-height: 1.45; letter-spacing: -0.01em; margin-bottom: 48px; }
.prose h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
}
.prose h4 {
  font-size: 15px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 32px 0 12px;
}
.prose ul, .prose ol {
  margin: 0 0 24px 20px;
  color: var(--text-dim);
  font-size: 16px;
}
.prose li { margin-bottom: 10px; line-height: 1.6; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(255,133,133,0.3); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text);
}
.prose .meta-line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
  display: flex;
  gap: 18px;
}

.values-grid { max-width: 1400px; margin: 0 auto; }
.value-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 32px;
  align-items: flex-start;
}
.value-item:last-child { border-bottom: none; }
.value-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.value-head {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.value-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .value-item { grid-template-columns: 1fr; gap: 12px; }
}

/* ============ CONTACT PAGE ============ */
.contact-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 48px; } }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input, .field textarea, .field select {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.info-block h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.info-block p { color: var(--text); font-size: 15px; }
.info-block a { color: var(--accent); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(14px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* Staggered children — applied to a container; delays cascade automatically */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(10px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    filter 0.7s var(--ease-out);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

/* Typewriter — JS splits text into per-char <span>s */
.reveal-type > span {
  opacity: 0;
  display: inline-block;
  white-space: pre;
}
.reveal-type.in > span {
  animation: type-char 40ms var(--ease-out) forwards;
}
@keyframes type-char { to { opacity: 1; } }

/* Pixel-in: 16-bit style chunky resolve. Plays once on hover, then the
   element sits at its normal state until the cursor leaves and returns. */
@keyframes pixel-in {
  0%   { transform: scale(0.94); filter: blur(2.4px) contrast(0.7) brightness(1.4); opacity: 0.45; }
  25%  { transform: scale(1.02); filter: blur(1.6px) contrast(0.85) brightness(1.25); opacity: 0.75; }
  50%  { transform: scale(1.01); filter: blur(0.9px) contrast(0.95) brightness(1.10); opacity: 0.9; }
  75%  { transform: scale(1.003); filter: blur(0.3px) contrast(1.0) brightness(1.02); opacity: 0.98; }
  100% { transform: scale(1); filter: none; opacity: 1; }
}
.btn { position: relative; }
.btn:hover {
  animation: pixel-in 0.5s steps(6, end) 1;
}
.hero-headline:hover,
.page-title:hover,
.glitch-title:hover {
  animation: pixel-in 0.55s steps(7, end) 1;
}

/* ============ SOFTWARE FEATURE ============ */
.feature-split {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .feature-split { grid-template-columns: 1fr; }
}
.feature-copy .section-eyebrow { margin-bottom: 16px; }
.feature-copy h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 14ch;
}
.feature-copy h2 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.feature-copy p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 48ch;
  margin-bottom: 28px;
}
.feature-copy .feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.feature-copy .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.feature-copy .feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent-glow);
}

/* Mock Cipher terminal */
.cipher-mock {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
}
.cipher-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.cipher-bar .cipher-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cipher-bar .cipher-title .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  animation: pulse 2s infinite;
}
.cipher-bar .cipher-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dimmer);
}
.cipher-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  min-height: 320px;
}
.cipher-line { display: flex; gap: 12px; align-items: baseline; }
.cipher-line .ts { color: var(--text-dimmer); flex-shrink: 0; }
.cipher-line .tag {
  color: var(--accent);
  flex-shrink: 0;
  min-width: 54px;
}
.cipher-line .tag.ok { color: #6bd68a; }
.cipher-line .tag.info { color: var(--text-dim); }
.cipher-line .msg { color: var(--text); }
.cipher-line .msg .hash { color: var(--text-dim); }

/* Pillars */
.pillars {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--bg-elev);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s var(--ease);
}
.pillar:hover { border-color: var(--border-bright); }
.pillar .pillar-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 16px;
}
.pillar .pillar-title {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.pillar .pillar-desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.pillar .pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  align-self: flex-start;
}
.pillar .pillar-cta .arrow { transition: transform 0.25s var(--ease); }
.pillar:hover .pillar-cta .arrow { transform: translateX(4px); }
.pillar.soon { opacity: 0.85; }
.pillar.soon .pillar-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 4px 10px;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
}

/* Product detail page */
.product-hero {
  padding: 120px 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 80vh;
}
.product-hero-inner {
  flex: 1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,133,133,0.08) 0%, transparent 55%),
    linear-gradient(135deg, #0c0c0c 0%, #181818 100%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 960px) {
  .product-hero-inner { grid-template-columns: 1fr; }
}
.product-hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.product-hero-copy {
  padding: 64px 56px;
  position: relative;
  z-index: 2;
}
.product-hero-copy .breadcrumb { margin-bottom: 18px; }
.product-hero-copy h1 {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 16px;
}
.product-hero-copy h1 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.product-hero-copy .lead {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 44ch;
}
.product-hero-visual {
  position: relative;
  padding: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.product-hero-visual svg {
  width: 100%;
  max-width: 560px;
  height: auto;
}

.spec-table {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.spec-row .spec-val {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.spec-row .spec-note {
  font-size: 13px;
  color: var(--text-dim);
}
@media (max-width: 720px) {
  .spec-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}

/* Pause animations while loading */
body.loading *, body.loading *::before, body.loading *::after {
  animation-play-state: paused !important;
}

/* Legacy 760px rule superseded by the full responsive pass below. */


/* ============ COMING-SOON TAG ============ */
.soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(0,0,0,0.3);
}
.soon-tag .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}
.product-card .soon-tag {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
}
.product-card { position: relative; }

/* ============ LIGHT SECTIONS ============ */
.section-light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section-light .section-eyebrow { color: var(--light-accent); }
.section-light .section-eyebrow::before { background: var(--light-accent); }
.section-light .section-title,
.section-light h2,
.section-light h3 { color: var(--light-text); }
.section-light .section-desc { color: var(--light-text-dim); }
.section-light .card {
  background: var(--light-bg-elev);
  border-color: var(--light-border);
}
.section-light .card:hover { border-color: var(--light-border-bright); }
.section-light .card-icon { color: var(--light-accent); }
.section-light .card-title { color: var(--light-text); }
.section-light .card-body { color: var(--light-text-dim); }
.section-light .card-num { color: var(--light-text-dim); opacity: 0.6; }
.section-light .value-item { border-color: var(--light-border); }
.section-light .value-num { color: var(--light-accent); }
.section-light .value-head { color: var(--light-text); }
.section-light .value-body { color: var(--light-text-dim); }
.section-light .stats-strip { border-color: var(--light-border); }
.section-light .stats-strip .stat-cell { border-color: var(--light-border); }
.section-light .stat-big { color: var(--light-text); }
.section-light .stat-big .unit { color: var(--light-text-dim); }
.section-light .stat-cap { color: var(--light-text-dim); }
.section-light .btn {
  border-color: var(--light-border-bright);
  color: var(--light-text);
}
.section-light .btn:hover { background: rgba(10,10,10,0.05); border-color: var(--light-text); }
.section-light .btn-primary {
  background: var(--light-text);
  color: var(--light-bg);
  border-color: var(--light-text);
}
.section-light .btn-primary:hover {
  background: var(--light-accent);
  border-color: var(--light-accent);
  color: #fff;
}
.section-light .accent { color: var(--light-accent); }
.section-light a { color: var(--light-text); }
.section-light .spec-row { border-color: var(--light-border); }
.section-light .spec-row .spec-key { color: var(--light-text-dim); }
.section-light .spec-row .spec-val { color: var(--light-text); }
.section-light .spec-row .spec-note { color: var(--light-text-dim); }
.section-light .spec-table { border-color: var(--light-border); }
.section-light .breadcrumb { color: var(--light-text-dim); }

/* ============ TECH DIAGRAM ============ */
.diagram {
  max-width: 1400px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,133,133,0.05) 0%, transparent 60%),
    var(--bg-elev);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.diagram-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  max-height: 640px;
}
.diagram-svg text,
.pod-visual svg text {
  font-weight: 300;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* Legend/key sits in its own section below the diagram */
.diagram-key {
  max-width: 1400px;
  margin: 32px auto 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
}
@media (max-width: 900px) { .diagram-key { grid-template-columns: 1fr; gap: 24px; } }
.diagram-key .legend-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.diagram-key .legend-head {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.diagram-key p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 44ch;
}
.diagram-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
}
@media (max-width: 720px) { .diagram-steps { grid-template-columns: 1fr; } }
.diagram-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.015);
}
.diagram-steps li .step-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 2px;
  min-width: 20px;
}
.diagram-steps li .step-body { color: var(--text); }
.diagram-steps li .step-body b { font-weight: 500; }
.diagram-steps li .step-body .note { display: block; color: var(--text-dim); margin-top: 4px; font-size: 12px; }

/* Light-section diagram override */
.section-light .diagram {
  border-color: var(--light-border);
  background:
    radial-gradient(ellipse at 70% 30%, rgba(193,72,72,0.06) 0%, transparent 60%),
    var(--light-bg-elev);
}
.section-light .diagram::before {
  background-image:
    linear-gradient(rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.04) 1px, transparent 1px);
}
.section-light .diagram-svg text { fill: var(--light-text); }
.section-light .diagram-svg .stroke-main { stroke: var(--light-text); }
.section-light .diagram-key { border-color: var(--light-border); }
.section-light .diagram-key .legend-title { color: var(--light-accent); }
.section-light .diagram-key .legend-head { color: var(--light-text); }
.section-light .diagram-key p { color: var(--light-text-dim); }
.section-light .diagram-steps li { border-color: var(--light-border); background: rgba(10,10,10,0.025); }
.section-light .diagram-steps li .step-num { color: var(--light-accent); }
.section-light .diagram-steps li .step-body { color: var(--light-text); }
.section-light .diagram-steps li .step-body .note { color: var(--light-text-dim); }

/* ============ POD PAGE ============ */
.pod-section {
  border-top: 1px solid var(--border);
}
.pod-section-header {
  max-width: 1400px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 40px;
  align-items: flex-end;
}
@media (max-width: 900px) {
  .pod-section-header { grid-template-columns: 1fr; gap: 12px; }
}
.pod-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--accent);
}
.pod-title {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(36px, 4.6vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pod-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 44ch;
}
.pod-visual {
  max-width: 1400px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255,133,133,0.04) 0%, transparent 60%),
    var(--bg-elev);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.pod-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}
.pod-visual svg { position: relative; z-index: 1; width: 100%; height: auto; }

.section-light .pod-visual {
  border-color: var(--light-border);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(193,72,72,0.05) 0%, transparent 60%),
    var(--light-bg-elev);
}
.section-light .pod-visual::before {
  background-image:
    linear-gradient(rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.04) 1px, transparent 1px);
}
.section-light .pod-title { color: var(--light-text); }
.section-light .pod-desc { color: var(--light-text-dim); }
.section-light .pod-num { color: var(--light-accent); }
.section-light .pod-section { border-color: var(--light-border); }

/* ============ GRAPHIC PLACEHOLDER ============ */
.graphic-placeholder {
  max-width: 1400px;
  margin: 0 auto;
  border: 1px dashed var(--border-bright);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,133,133,0.04) 0%, transparent 70%),
    var(--bg-elev);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 320px;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}
.graphic-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.graphic-placeholder .ph-label {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}
.graphic-placeholder .ph-desc {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  max-width: 46ch;
}
.section-light .graphic-placeholder {
  border-color: var(--light-border-bright);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(193,72,72,0.05) 0%, transparent 70%),
    var(--light-bg-elev);
}
.section-light .graphic-placeholder::before {
  background-image:
    linear-gradient(rgba(10,10,10,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.025) 1px, transparent 1px);
}
.section-light .graphic-placeholder .ph-label {
  color: var(--light-text-dim);
  border-color: var(--light-border);
}
.section-light .graphic-placeholder .ph-desc { color: var(--light-text-dim); }

/* ============ BLOG — Article list ============ */
.article-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.article-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.18s var(--ease);
}
.article-row:hover { background: rgba(255,255,255,0.015); padding-left: 12px; padding-right: 12px; margin-left: -12px; margin-right: -12px; border-radius: var(--radius); }
.article-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  white-space: nowrap;
}
.article-content { display: flex; flex-direction: column; gap: 6px; }
.article-title {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.article-excerpt {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 56ch;
}
.article-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  align-self: flex-start;
}
@media (max-width: 700px) {
  .article-row { grid-template-columns: 1fr; gap: 8px; }
  .article-cat { justify-self: start; }
}

/* ============ BLOG GRID (legacy — keeping for other uses) ============ */
.posts-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 960px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s var(--ease);
  min-height: 280px;
}
.post-card:hover { border-color: var(--border-bright); }
.post-card .post-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  gap: 14px;
}
.post-card .post-cat { color: var(--accent); }
.post-card .post-title {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.post-card .post-excerpt {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  flex: 1;
}
.post-card .post-read {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.post-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(255,133,133,0.07) 0%, transparent 50%),
    var(--bg-elev);
  padding: 40px;
  min-height: 360px;
}
.post-card.featured .post-title { font-size: 32px; }
@media (max-width: 960px) { .post-card.featured { grid-column: auto; padding: 28px; } .post-card.featured .post-title { font-size: 22px; } }

/* ============ SUPPLIERS / CAREERS ============ */
.suppliers-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .suppliers-grid { grid-template-columns: 1fr; } }
.supplier-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.supplier-card .sup-domain {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.supplier-card .sup-name {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.supplier-card .sup-loc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
}
.supplier-card .sup-body {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}
.section-light .supplier-card {
  background: var(--light-bg-elev);
  border-color: var(--light-border);
}
.section-light .supplier-card .sup-domain { color: var(--light-accent); }
.section-light .supplier-card .sup-name { color: var(--light-text); }
.section-light .supplier-card .sup-loc { color: var(--light-text-dim); }
.section-light .supplier-card .sup-body { color: var(--light-text-dim); }

.roles {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.role {
  display: grid;
  grid-template-columns: 140px 1fr 180px 140px auto;
  gap: 24px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease);
}
.role:hover { background: rgba(255,255,255,0.015); }
.role .role-team {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.role .role-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.role .role-loc, .role .role-type {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.role .role-arrow { color: var(--text-dim); transition: transform 0.25s var(--ease); }
.role:hover .role-arrow { transform: translateX(4px); color: var(--text); }
@media (max-width: 900px) {
  .role { grid-template-columns: 1fr; gap: 6px; }
  .role .role-arrow { display: none; }
}

/* ============================================================
   RESPONSIVE PASS — tablet and phone polish
   ============================================================ */

/* Hamburger button — injected by main.js on load */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Universal — prevent horizontal overflow, scale media */
html, body { max-width: 100vw; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }
.diagram-svg, .pod-visual svg, .timeline-svg { max-width: 100%; height: auto; }

/* Very wide displays */
@media (min-width: 1800px) {
  .nav { max-width: 1600px; }
}

/* Tablet — tighten paddings, shrink nav link density */
@media (max-width: 1100px) {
  .nav { padding: 9px 12px 9px 18px; gap: 14px; }
  .nav-links a { padding: 8px 12px; font-size: 12px; }
  .nav-links { gap: 0; }
  section { padding: 100px 32px; }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 44px;
  }
  .section-desc { max-width: none; }
}

/* Small tablet / large phone — enable hamburger menu */
@media (max-width: 900px) {
  .nav {
    display: flex;
    gap: 10px;
    padding: 8px 10px 8px 16px;
    left: 14px;
    right: 14px;
    top: 12px;
  }
  .nav-brand { margin-right: auto; order: 1; }
  .nav-burger { display: flex; order: 2; }
  .nav-cta { order: 3; margin: 0; }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: rgba(14, 14, 14, 0.97);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(140%);
    box-shadow: 0 20px 60px -20px rgba(0,0,0,0.85);
    display: none;
    z-index: 501;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    border-radius: 10px;
    justify-content: flex-start;
  }
  .nav-links a.active { background: rgba(255,255,255,0.04); }

  /* Inline the dropdown on mobile */
  .has-dropdown::after { display: none; }
  .has-dropdown .dropdown {
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    opacity: 1;
    pointer-events: auto;
    display: grid;
    grid-template-columns: 1fr;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 6px 0 10px;
    gap: 0;
  }
  .dd-heading { padding: 10px 14px 4px; }
  .dropdown a { padding: 10px 14px; }
  .dropdown-footer { padding: 8px 14px; border-top: 1px solid var(--border); margin-top: 6px; }

  /* Layout spacing */
  section { padding: 80px 24px; }
  .hero { padding: 88px 14px 14px; }
  .hero-inner { padding: 36px 24px; }
  .hero-container { min-height: calc(100vh - 104px); }
  .page-header { padding: 150px 24px 64px; }
  .product-hero { padding: 110px 14px 14px; }
  .product-hero-inner { grid-template-columns: 1fr; }
  .product-hero-copy { padding: 44px 28px 20px; }
  .product-hero-visual { padding: 0 28px 40px; min-height: 0; }
  .diagram { padding: 32px 20px; }
  .diagram-key { padding-top: 32px; gap: 28px; grid-template-columns: 1fr; }
  .feature-split { gap: 32px; grid-template-columns: 1fr; }
  .cta-block {
    padding: 48px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .cta-block h2 { max-width: none; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip .stat-cell { padding: 28px 22px; border-right: none; border-bottom: 1px solid var(--border); }
  .stats-strip .stat-cell:nth-child(odd) { border-right: 1px solid var(--border); }
  .stats-strip .stat-cell:nth-child(n+3) { border-bottom: none; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 60px 24px 32px;
    gap: 36px 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cipher-mock { font-size: 11px; }
  .cipher-body { padding: 18px; min-height: 240px; font-size: 11px; }
  .cipher-line .ts { min-width: 56px; flex-shrink: 0; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .field-row { grid-template-columns: 1fr; gap: 14px; }
  .prose { padding: 0; }
  .values-grid .value-item { grid-template-columns: 1fr; gap: 10px; }
  .pod-section-header { grid-template-columns: 1fr; gap: 10px; }
  .post-card.featured { grid-column: auto; padding: 32px; }
  .post-card.featured .post-title { font-size: 24px; }
  .suppliers-grid { grid-template-columns: 1fr; }
  .roles .role { grid-template-columns: 1fr; gap: 4px; padding: 18px 8px; }
  .roles .role-arrow { display: none; }
  .breadcrumb { flex-wrap: wrap; }
}

/* Phone */
@media (max-width: 560px) {
  body { font-size: 14px; }
  section { padding: 64px 18px; }
  .hero { padding: 78px 10px 10px; }
  .hero-container { border-radius: 20px; min-height: 100vh; }
  .hero-inner { padding: 26px 20px; }
  .hero-headline { font-size: clamp(34px, 9vw, 52px); letter-spacing: -0.03em; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .page-header { padding: 130px 18px 52px; }
  .page-title { font-size: clamp(32px, 10vw, 54px); }
  .page-sub { font-size: 15px; }

  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(26px, 7vw, 40px); }
  .section-desc { font-size: 14px; }

  .nav { top: 10px; left: 10px; right: 10px; padding: 8px 10px 8px 14px; }
  .nav-brand span { font-size: 10px; letter-spacing: 0.18em; }
  .nav-brand .logo-mark { width: 16px; height: 16px; }
  .nav-cta .btn-sm { padding: 7px 12px; font-size: 11px; }
  .nav-cta .btn-sm .btn-arrow { display: none; }
  .nav-links { top: 72px; left: 10px; right: 10px; }

  .product-hero-copy { padding: 36px 22px 16px; }
  .product-hero-copy h1 { font-size: clamp(34px, 10vw, 56px); }
  .product-hero-visual { padding: 0 22px 32px; }

  .diagram, .pod-visual { padding: 20px 12px; border-radius: 14px; }
  .graphic-placeholder { padding: 32px 18px; }
  .graphic-placeholder .ph-desc { font-size: 12px; }

  .stats-strip { grid-template-columns: 1fr; }
  .stats-strip .stat-cell {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding: 22px 18px;
  }
  .stats-strip .stat-cell:last-child { border-bottom: none; }
  .stat-big { font-size: 32px; }

  .footer-main { grid-template-columns: 1fr; padding: 48px 18px 28px; gap: 28px; }
  .footer-bottom { padding: 18px; }
  .legal { flex-wrap: wrap; gap: 16px; }

  .cta-block { padding: 32px 20px; }
  .cta-block h2 { font-size: clamp(22px, 6vw, 32px); }

  .spec-table .spec-row { padding: 14px 0; }
  .spec-row .spec-val { font-size: 16px; }

  .cipher-body { min-height: 200px; padding: 14px; font-size: 10px; line-height: 1.6; }
  .cipher-bar .cipher-meta { font-size: 9px; }
  .cipher-line { flex-wrap: wrap; }
  .cipher-line .ts { min-width: 0; }

  .dropdown a .dd-desc { display: none; }
  .dropdown a .dd-title { flex-wrap: wrap; }

  .breadcrumb { font-size: 9px; gap: 6px; }
  .article-row { padding: 20px 0; grid-template-columns: 1fr; gap: 8px; }
  .article-cat { align-self: flex-start; }
  .article-title { font-size: 18px; }

  .product-card { border-radius: 14px; }
  .product-card .product-stats { grid-template-columns: 1fr; gap: 10px; padding-top: 16px; }
  .product-stat-value { font-size: 16px; }

  .pillar { padding: 24px 20px; min-height: 260px; }
  .pillar-title { font-size: 20px; }

  .cta-block h2 { max-width: none; }

  .intro-skip { bottom: 20px; right: 20px; }

  .loader-bar, .loader-meta { width: 80vw; }
}

/* Very small phones */
@media (max-width: 380px) {
  .nav-brand span { display: none; }
  .hero-headline { font-size: clamp(30px, 9.5vw, 44px); }
  section { padding: 52px 14px; }
}
