/* Font loaded via <link rel="stylesheet"> in each page's <head> — NOT @import (Safari blocks all rules while @import resolves) */

/* ============================================================
   Neutron Systems — Shared Stylesheet
   Style: Black & White Minimalist
   ============================================================ */

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

img, video { -webkit-user-drag: none; user-drag: none; user-select: none; }

:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-400: #a1a1a6;
  --gray-500: #8e8e93;
  --gray-600: #6e6e73;
  --gray-800: #1d1d1f;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1200px;
  --nav-h: calc(68px + 4.6vw);
}

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


/* ── Navigation ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0,0,0,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 2.3vw 40px;
  transition: transform 0.35s ease, background 0.4s ease, backdrop-filter 0.4s ease;
}
nav.nav-compact {
  will-change: transform;
  padding: 12px 40px;
}
nav.nav-hidden {
  will-change: transform;
  transform: translateY(-100%);
}
nav.nav-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
nav.nav-transparent .nav-hamburger {
  background: rgba(0,0,0,0.72);
  border-radius: 8px;
  padding: 8px 10px;
}
/* Light hero variant — dark text/logo when transparent */
nav.nav-transparent.nav-transparent-light .nav-links a,
nav.nav-transparent.nav-transparent-light .nav-cta {
  color: var(--black);
}
nav.nav-transparent.nav-transparent-light .nav-cta {
  border-color: rgba(0,0,0,0.25);
}
nav.nav-transparent.nav-transparent-light .nav-cta:hover {
  background: rgba(0,0,0,0.08);
}
nav.nav-transparent.nav-transparent-light .nav-logo img {
  filter: invert(1);
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { display: block; height: 68px; width: auto; transform-origin: left center; transition: transform 0.35s ease; }
nav.nav-compact .nav-logo img { transform: scale(0.47); }
.nav-logo span { display: none; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 14px; font-weight: 400; letter-spacing: 0.02em;
  transition: color .2s;
  position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1.5px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--white); color: var(--black);
  padding: 8px 20px; border-radius: 980px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gray-200); }
.nav-hamburger { display: none; cursor: pointer; background: none; border: none; padding: 0; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); margin: 5px 0; transition: .3s;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.7));
}

/* ── Dropdown menus ──────────────────────────────────────── */
.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  transform: translateX(0) translateY(-8px);
  min-width: 210px;
  background: rgba(255,255,255,0.50);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border: 1px solid rgba(255,255,255,0.50);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}
/* Platform dropdown — left-aligned with "P" */
.nav-dropdown--platform {
  left: 0 !important;
  transform: translateX(0) translateY(-8px) !important;
  background: rgba(255,255,255,0.50);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border: 1px solid rgba(255,255,255,0.50);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 6px 0;
}
.has-dropdown:hover .nav-dropdown--platform,
.has-dropdown.dd-open .nav-dropdown--platform {
  transform: translateX(0) translateY(0) !important;
}
.nav-dropdown--platform .dropdown-item {
  color: rgba(0,0,0,0.75) !important;
  font-size: 13px;
  padding: 7px 14px;
}
.nav-dropdown--platform .dropdown-item:hover {
  background: rgba(0,0,0,0.04);
  color: var(--black) !important;
}
.nav-dropdown--platform .di-sub { display: none; }
/* Bridge the gap so hover stays active between trigger and panel */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px; left: -20px; right: -20px;
  height: 14px;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown.dd-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) translateY(0);
}
.nav-links > li > a::after {
  /* Scope underline only to top-level nav links */
  display: block;
}
.nav-links .dropdown-item::after { display: none !important; }
.dropdown-section-title {
  padding: 8px 16px 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  white-space: nowrap;
}
.dropdown-item {
  display: block;
  padding: 8px 16px;
  color: rgba(0,0,0,0.75) !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  white-space: nowrap;
  position: static;
  padding-bottom: 8px;
  transition: background 0.1s;
}
.dropdown-item:hover {
  background: rgba(0,0,0,0.04);
  color: var(--black) !important;
}
.dropdown-item .di-sub {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 1px;
}
.dropdown-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 6px 12px;
}

/* Mobile: dropdown shown as stacked list inside open menu */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: none;
    border-radius: 0;
    background: rgba(255,255,255,0.06);
    backdrop-filter: none;
    padding: 0;
    display: none;
    margin: 4px 0 8px;
    border-radius: 8px;
  }
  .has-dropdown.dd-open .nav-dropdown { display: block; }
  .dropdown-item {
    color: rgba(255,255,255,0.7) !important;
    font-size: 13px;
    padding: 7px 16px;
  }
  .dropdown-item:hover { background: rgba(255,255,255,0.08); }
  .dropdown-section-title { color: rgba(255,255,255,0.35); padding: 8px 16px 2px; }
  .dropdown-divider { background: rgba(255,255,255,0.1); }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--black) center/cover no-repeat;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 40px 80px;
  position: relative; overflow: hidden;
}
.hero::after {
  display: none;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(0,0,0,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  color: var(--gray-400); text-transform: uppercase; margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700; color: var(--white);
  line-height: 1.05; letter-spacing: -0.02em;
  max-width: 900px; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--gray-400); }
.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,0.6); max-width: 560px;
  line-height: 1.5; margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  display: inline-block;
  background: var(--white); color: var(--black);
  padding: 14px 32px; border-radius: 980px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--gray-200); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
  padding: 14px 32px; border-radius: 980px;
  font-size: 15px; font-weight: 400; text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); }
.hero-img {
  width: 100%; max-width: 900px; margin-top: 80px;
  aspect-ratio: 16/7; background: rgba(255,255,255,0.04);
  border-radius: 16px; border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15); font-size: 14px;
}

/* ── Section basics ──────────────────────────────────────── */
section { padding: 100px 40px; }
.container { max-width: var(--max-w); margin: 0 auto; }

/* Dark image-ready wrapper */
.dark-grad {
  background: var(--black) center/cover no-repeat;
}

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--gray-800);
}
.section-title.on-dark { color: var(--white); }
.section-sub {
  font-size: 17px; color: var(--gray-600); line-height: 1.6;
  max-width: 560px; margin-top: 16px;
}
.section-sub.on-dark { color: rgba(255,255,255,0.50); }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 16px auto 0; }

/* ── Dark section ────────────────────────────────────────── */
.dark-section {
  background: var(--black); color: var(--white);
}
.alt-section { background: var(--gray-100); }

/* ── Grid / Cards ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 16px 28px rgba(0,0,0,0.08), 0 40px 56px rgba(0,0,0,0.05);
  transition: box-shadow .3s, transform .3s;
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 8px 16px rgba(0,0,0,0.08), 0 24px 48px rgba(0,0,0,0.12), 0 56px 80px rgba(0,0,0,0.08); transform: translateY(-4px); }
.card-dark {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.card-dark:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-4px); }

.card-img {
  width: 100%; aspect-ratio: 4/3;
  background: var(--gray-100);
  color: var(--gray-400); font-size: 12px;
  position: relative; overflow: hidden;
}
.card-img > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important; height: 100% !important;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.45s ease;
  will-change: transform, filter;
}
.card:hover .card-img > img {
  transform: scale(1.06);
  filter: brightness(1.15) saturate(1.08);
}

/* Cinematic zoom — far to near, with brightness arc and gentle drift */
@keyframes img-cinema {
  0%   { transform: scale(1.0)  translate(-3%, 1.5%); filter: brightness(0.72) saturate(0.85); }
  20%  { filter: brightness(0.82) saturate(0.92); }
  50%  { transform: scale(1.18) translate(2%, -1%);   filter: brightness(1.04) saturate(1.05); }
  80%  { filter: brightness(0.82) saturate(0.92); }
  100% { transform: scale(1.0)  translate(-3%, 1.5%); filter: brightness(0.72) saturate(0.85); }
}
.img-pan {
  animation: img-cinema 24s ease-in-out infinite;
}
.card:hover .img-pan {
  animation: none;
  transform: scale(1.06);
  filter: brightness(1.15) saturate(1.08);
}
.card-img-dark {
  width: 100%; aspect-ratio: 4/3;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15); font-size: 12px;
}
.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: 8px;
}
.card-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--gray-800); }
.card-title-dark { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.card-desc { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.card-desc-dark { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 20px; }
.card-link {
  font-size: 14px; font-weight: 600; color: var(--black);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.card-link::after { content: '→'; }
.card-link:hover { opacity: 0.6; }
.card-link-white {
  font-size: 14px; font-weight: 600; color: var(--white);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.card-link-white::after { content: '→'; }
.card-link-white:hover { opacity: 0.6; }

/* ── Spec table ──────────────────────────────────────────── */
.spec-section-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-500); padding: 28px 0 4px; margin: 0;
  width: 100%; box-sizing: border-box; align-self: flex-start;
}
.spec-section-title:first-child,
.spec-section-title[style*="margin-top:0"],
.spec-section-title[style*="padding-top:0"] { padding-top: 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 0; }
.spec-table th, .spec-table td {
  padding: 14px 0; border-bottom: 1px solid var(--gray-200);
  font-size: 14px; text-align: left;
}
.spec-table th { color: var(--gray-400); font-weight: 500; width: 40%; display: flex; align-items: center; gap: 8px; }
.spec-table th svg { flex-shrink: 0; }
.spec-icon { width: 14px; height: 14px; fill: none; stroke: var(--gray-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.spec-table td { color: var(--gray-800); font-weight: 500; }
.spec-table-dark th, .spec-table-dark td {
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px; text-align: left;
}
.spec-table-dark th { color: rgba(255,255,255,0.4); font-weight: 500; width: 40%; display: flex; align-items: center; gap: 10px; }
.spec-table-dark th .fi { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.5; }
.spec-table-dark td { color: rgba(255,255,255,0.85); font-weight: 500; }

/* ── Product hero (inner pages) ─────────────────────────── */
.product-hero {
  background: var(--black) center/cover no-repeat;
  padding: 140px 40px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; max-width: 1400px; margin: 0 auto;
}
.product-hero-img {
  aspect-ratio: 1; background: rgba(255,255,255,0.04);
  border-radius: 24px; border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15); font-size: 13px;
}
.product-hero-content {}
.product-hero-model {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray-400); font-weight: 600; margin-bottom: 12px;
}
.product-hero-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px); font-weight: 700;
  color: var(--white); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 16px;
}
.product-hero-desc { font-size: 18px; color: rgba(255,255,255,0.50); line-height: 1.6; margin-bottom: 40px; }
.stat-row { display: flex; gap: 40px; margin-bottom: 40px; }
.stat { }
.stat-value { font-size: 36px; font-weight: 700; color: var(--white); line-height: 1; }
.stat-unit { font-size: 18px; font-weight: 400; }
.stat-label { font-size: 12px; color: var(--gray-400); margin-top: 4px; letter-spacing: 0.01em; }

/* ── Feature split ───────────────────────────────────────── */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-img {
  aspect-ratio: 4/3; background: var(--gray-100) center/cover no-repeat;
  border-radius: 20px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: 13px;
}
.feature-img-dark {
  aspect-ratio: 4/3; background: #111 center/cover no-repeat;
  border-radius: 20px; border: 1px solid rgba(255,255,255,0.06); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15); font-size: 13px;
}
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  padding: 13px 0; border-bottom: 1px solid var(--gray-200);
  font-size: 15px; color: var(--gray-600); display: flex; align-items: center; gap: 14px;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li .fi { width: 18px; height: 18px; flex-shrink: 0; color: var(--gray-400); }
.feature-list-dark { list-style: none; margin-top: 24px; }
.feature-list-dark li {
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15px; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 14px;
}
.feature-list-dark li:last-child { border-bottom: none; }
.feature-list-dark li .fi { width: 18px; height: 18px; flex-shrink: 0; color: rgba(255,255,255,0.3); }

/* ── Badge / Tag ─────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 4px 12px;
  border: 1px solid var(--gray-200); border-radius: 980px;
  font-size: 12px; font-weight: 500; color: var(--gray-600); margin-right: 8px; margin-bottom: 8px;
}
.badge-dark {
  display: inline-block; padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 980px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.5); margin-right: 8px; margin-bottom: 8px;
}

/* ── Comparison table ────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  padding: 16px 20px; background: var(--gray-800); color: var(--white);
  font-size: 13px; font-weight: 600; text-align: left;
}
.compare-table th:first-child { border-radius: 12px 0 0 0; }
.compare-table th:last-child { border-radius: 0 12px 0 0; }
.compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--gray-200); font-size: 14px; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--gray-100); }
.compare-table td:first-child { color: var(--gray-600); font-weight: 500; }

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--black); padding: 100px 40px;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px;
}
.cta-banner p { font-size: 18px; color: var(--gray-400); margin-bottom: 40px; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: #111; padding: 60px 40px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 0;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-brand {
  align-self: start;
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.footer-col { padding-left: 32px; align-self: start; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { display: block; height: 44px; width: auto; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.75; max-width: 280px; }
.footer-email { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-email-label { font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 7px; }
.footer-email a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
.footer-email a:hover { color: #fff; }
footer .social-links { gap: 18px; margin-top: 24px; }
footer .social-link {
  width: auto; height: auto; border: none; border-radius: 0;
  background: transparent; padding: 0;
  color: rgba(255,255,255,0.28); transition: color .2s;
}
footer .social-link svg { width: 17px; height: 17px; }
footer .social-link:hover { color: rgba(255,255,255,0.85); }
.footer-col h3 { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,0.65); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; line-height: 1.4; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: rgba(255,255,255,0.2); gap: 20px;
}

/* ── Product model code ──────────────────────────────────── */
.model-code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px; color: var(--gray-400); font-weight: 500;
}

/* ── Utilities ───────────────────────────────────────────── */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 60px 0; }
.divider-dark { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 60px 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 120px; }
  .feature-split { grid-template-columns: 1fr !important; }
  .feature-split.reverse { direction: ltr; }
  .feature-split img { max-height: 400px; width: 100%; object-fit: contain; }
  .feature-img, .feature-img-dark { max-height: 320px; aspect-ratio: unset !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 6vw 20px; }
  .nav-logo img { height: 30px; }
  nav.nav-compact .nav-logo img { transform: none; }
  nav.nav-compact { will-change: transform; padding: 10px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
  .nav-links.nav-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #0a0a0a;
    padding: 8px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 90;
  }
  .nav-links.nav-open li a {
    display: block; padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 15px;
  }
  .nav-links.nav-open li:last-child a { border-bottom: none; }
  .nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  section { padding: 70px 20px; }
  .hero { padding: 100px 20px 60px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-row { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .form-row { grid-template-columns: 1fr !important; }
  /* Utility: add mob-stack / mob-stack-sm to any inline-grid div in HTML */
  .mob-stack  { grid-template-columns: 1fr !important; gap: 40px !important; }
  .mob-stack-sm { grid-template-columns: 1fr !important; gap: 20px !important; }
  /* Reset col-2 horizontal padding when 2-col grid collapses to 1-col */
  .mob-stack > * { padding-left: 0 !important; padding-right: 0 !important; }
  /* Disable sticky elements inside collapsed grids */
  .mob-stack .feature-img,
  .mob-stack [style*="position:sticky"],
  .mob-stack [style*="position: sticky"] {
    position: relative !important;
    top: auto !important;
  }
  /* product hero inner pages */
  .product-hero { padding: 100px 20px 60px; }
  .product-line-grid { grid-template-columns: 1fr !important; }
  /* spec tables */
  .spec-table th, .spec-table td,
  .spec-table-dark th, .spec-table-dark td { font-size: 13px; padding: 10px 0; }
  .spec-table th, .spec-table-dark th { width: 55%; }
  /* model-viewer cards in fleet pages */
  .model-card-grid { grid-template-columns: 1fr !important; }
}

/* ── Contact Form ──────────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 14px; font-family: inherit;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: rgba(255,255,255,0.3); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.25); }
.contact-form select { color: rgba(255,255,255,0.25); cursor: pointer; }
.contact-form select.filled { color: var(--white); }
.contact-form select option { background: #111; color: var(--white); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form button[type="submit"] {
  background: var(--white); color: var(--black);
  border: none; border-radius: 10px;
  padding: 14px 24px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background .2s;
  margin-top: 4px;
}
.contact-form button[type="submit"]:hover { background: var(--gray-200); }
.contact-form .form-success {
  display: none; background: rgba(255,255,255,0.08);
  border-radius: 10px; padding: 20px;
  text-align: center; color: rgba(255,255,255,0.7);
  font-size: 14px; line-height: 1.6;
}

/* Formspree Ajax feedback — contact section */
#contact .fs-success-msg {
  border-radius: 10px; padding: 16px 20px;
  background: rgba(0,0,0,0.04); border: 1px solid var(--gray-200);
  color: var(--gray-800); font-size: 14px; line-height: 1.6; text-align: center;
  margin-bottom: 8px;
}
#contact .fs-error-msg {
  border-radius: 10px; padding: 14px 16px;
  background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.2);
  color: #dc2626; font-size: 13px; line-height: 1.5; margin-bottom: 8px;
}

/* ── Cookie consent banner ───────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 48px);
  max-width: 680px;
  background: rgba(20,20,20,0.55);
  backdrop-filter: saturate(180%) blur(28px);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28), 0 0 0 0.5px rgba(255,255,255,0.08);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.32s ease, transform 0.32s ease;
}
#cookie-banner.cb-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cb-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
}
.cb-text {
  flex: 1;
  min-width: 0;
}
.cb-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.cb-text p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.50);
  line-height: 1.5;
  margin: 0;
}
.cb-text p a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cb-text p a:hover { color: var(--white); }
.cb-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cb-accept {
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 980px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.cb-accept:hover { background: var(--gray-200); }
.cb-reject {
  background: transparent;
  color: rgba(255,255,255,0.50);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 980px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.cb-reject:hover {
  border-color: rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.85);
}
.cb-policy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.cb-policy:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 540px) {
  .cb-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
  }
  .cb-actions { flex-direction: row; justify-content: flex-end; flex-wrap: wrap; }
  .cb-accept, .cb-reject { padding: 9px 20px; }
}



/* ── Accessibility utilities ─────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip to main content link */
.skip-to-content {
  position: absolute;
  top: -48px; left: 16px;
  background: var(--black);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Contact form: disabled submit button */
.contact-form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Footer link focus visibility */
footer a:focus-visible,
.footer-col ul a:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Reduced motion (global) ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Contact section utilities ───────────────────────────── */
.contact-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.contact-value {
  color: var(--black);
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}
.contact-meta {
  color: var(--gray-600);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* ── Focus states for interactive elements ───────────────── */
.btn-primary:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
.nav-cta:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}
.nav-links a:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 4px;
  border-radius: 2px;
}
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid rgba(255,255,255,0.4);
  outline-offset: 0;
}
.social-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ── Hover micro-interactions (animate.js complement) ──────────────────────── */
.product-line-item {
  transition: background .22s ease, transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-line-item:hover {
  transform: translateY(-3px);
}

.feature-card,
.model-card {
  transition: background .22s ease, transform .35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:hover,
.model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Smooth number value transitions */
.number-item {
  transition: background .22s ease, transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.number-item:hover {
  transform: translateY(-2px);
}

/* Reduced motion: disable all custom animations */
@media (prefers-reduced-motion: reduce) {
  .product-line-item,
  .feature-card,
  .model-card,
  .number-item {
    transition: background .15s ease !important;
    transform: none !important;
  }
}





/* ── Contact section light override ─────────────────────────── */
#contact .contact-form input,
#contact .contact-form select,
#contact .contact-form textarea {
  background: var(--white); border: 1px solid var(--gray-200); color: var(--black);
}
#contact .contact-form input:focus,
#contact .contact-form select:focus,
#contact .contact-form textarea:focus { border-color: var(--gray-400); outline: none; }
#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder { color: var(--gray-400); }
#contact .contact-form select { color: var(--gray-500); }
#contact .contact-form select.filled { color: var(--black); }
#contact .contact-form select option { background: var(--white); color: var(--black); }
#contact .contact-form button[type="submit"] { background: var(--black); color: var(--white); }
#contact .contact-form button[type="submit"]:hover { background: #222; }
#contact .social-link { border-color: var(--gray-200); color: var(--gray-600); }
#contact .social-link:hover { background: var(--gray-200); color: var(--black); }

/* ── Microgrid wide dropdown (ESS + Platform + Microgrid) ── */
.nav-dropdown--wide { min-width: 270px; }

/* ── Microgrid component deep-dive cards ───────────────────── */
.mg-deep-card {
  display: block; text-decoration: none;
  background: #06080d; padding: 40px 32px;
  transition: background .2s;
}
.mg-deep-card:hover { background: #0d1117; }
.mg-deep-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.mg-deep-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 10px;
}
.mg-deep-title { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.mg-deep-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; margin-bottom: 20px; }
.mg-deep-cta { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45); }
.mg-deep-card:hover .mg-deep-cta { color: var(--white); }
@media (max-width: 768px) {
  .mg-deep-card { padding: 28px 20px; }
  [style*="grid-template-columns:repeat(3,1fr)"].mg-deep-grid { grid-template-columns: 1fr !important; }
  .img-bleed { width: 100% !important; margin-left: 0 !important; }
  .hv-hero-glow { display: none; }
}

/* ── Mobile Improvements ─────────────────────────────────── */

/* Table scroll: globally safe — overflow-x:auto is a no-op when content fits */
.table-scroll {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Eliminate 300ms tap delay — harmless on desktop mouse */
a, button, input, select, textarea {
  touch-action: manipulation;
}

/* Touch targets + hamburger sizing — mobile only */
@media (max-width: 768px) {
  /* Stat row: force 3 cards into a single row on mobile */
  .stat-row { flex-wrap: nowrap !important; gap: 8px !important; }
  .stat-row > div { flex: 1; padding: 14px 8px !important; min-width: 0; }
  .stat-row > div > div:first-child { font-size: 22px !important; }
  /* Hide nav CTA on mobile — hamburger takes its place */
  .nav-cta { display: none !important; }
  .btn-primary,
  .btn-outline {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form button[type="submit"] {
    min-height: 48px;
  }
  .nav-hamburger {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Footer: 2-column grid on mobile */
@media (max-width: 768px) {
  .footer-brand {
    grid-column: 1 / -1;
    border-right: none;
    padding-right: 0;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-col { padding-left: 0; }
}

/* Small phones (≤540px) */
@media (max-width: 540px) {
  section { padding: 56px 16px; }
  .hero { padding: 88px 16px 52px; }
  .product-hero { padding: 88px 16px 52px; }
  .cta-banner { padding: 64px 16px; }
  footer { padding: 48px 16px 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { text-align: center; justify-content: center; }
  .stat-row { flex-wrap: wrap; gap: 20px; }
  .section-header { margin-bottom: 40px; }
  nav { padding: 14px 16px; }
}

/* ── Why Neutron section: spiral grid → single-column on mobile ── */
@media (max-width: 768px) {
  .why-neutron-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  #fib-spiral-container {
    height: 320px !important;
    margin-top: 40px;
  }
  .why-neutron-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
  }
  .why-neutron-stats > div {
    padding: 24px 16px 0 0 !important;
    border-right: none !important;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .why-neutron-stats > div:nth-child(even) {
    padding-left: 16px !important;
    padding-right: 0 !important;
    border-left: 1px solid rgba(255,255,255,0.08);
  }
}
