/* ── NAV ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 251, 248, 0.78);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 251, 248, 0.94);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) {
  .nav-inner { padding: 22px 48px; }
}
.nav-brand {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
}
.nav-brand .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 2px;
  box-shadow: 0 0 12px var(--accent-glow);
}
.nav-cta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--border-bright);
  background: transparent;
  cursor: pointer;
  transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }
.nav-inner--research-cluster {
  padding-block: 17px;
}
.nav-action-cluster {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  border: 1px solid var(--border-bright);
}
.nav-action-cluster .nav-cta,
.nav-blog-button {
  border: 0;
  min-height: 40px;
}
.nav-blog-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  background: transparent;
  border-right: 1px solid var(--border-bright);
  transition: color 180ms var(--ease-out), background 180ms var(--ease-out);
}
.nav-blog-button:hover {
  color: var(--accent);
  background: rgba(106, 163, 255, 0.058);
}
@media (max-width: 600px) {
  .nav-cta,
  .nav-action-cluster { display: none; }
}

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: none;
  width: 100%;
  padding: clamp(96px, 14vh, 160px) 24px clamp(96px, 14vh, 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88vh;
}
@media (min-width: 768px) {
  .hero { padding-left: 48px; padding-right: 48px; }
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  margin: 0 0 32px 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow .pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(106,163,255,0.5); }
  50% { box-shadow: 0 0 0 10px rgba(106,163,255,0); }
}
.hero h1 {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: clamp(48px, 8.4vw, 116px);
  font-weight: 500;
  font-variation-settings: "wght" 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--fg);
  max-width: 16ch;
  margin: 0 0 36px 0;
}
.hero h1 .accent {
  font-family: 'Instrument Serif', 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.hero-sub {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 56ch;
  margin: 0 0 44px 0;
  font-weight: 400;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .hero-cta-row { display: none; }
}

/* ── CTA BUTTON ─────────────────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--fg);
  color: var(--bg);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--fg);
  cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
  text-decoration: none;
}
.cta::after { content: "→"; font-size: 16px; transition: transform 200ms var(--ease-out); }
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px -8px var(--accent-glow), 0 0 0 1px var(--accent);
}
.cta:hover::after { transform: translateX(4px); }
.cta--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-bright);
}
.cta--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

/* ── SECTION SCAFFOLDING ───────────────────────────────────────────── */
.section-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.section-title {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 500;
  font-variation-settings: "wght" 500;
  letter-spacing: -0.028em;
  line-height: 1.04;
  color: var(--fg);
  margin: 0 0 20px 0;
  max-width: 22ch;
}
.section-title .accent {
  font-family: 'Instrument Serif', 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--fg);
}
.section-lead {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 60ch;
  margin: 0 0 56px 0;
}

/* ── FOR / ARCHETYPES ──────────────────────────────────────────────── */
.audience .section-title {
  margin-bottom: 56px;
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 880px) {
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.audience-card {
  position: relative;
  padding: 28px 28px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  overflow: hidden;
  transition: border-color 280ms var(--ease-out), background 280ms var(--ease-out);
}
.audience-card::before {
  /* faint dotted lattice inside the card so it ties to the hero motif */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(37,48,68,0.055) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
}
.audience-card::after {
  /* corner crop-mark — instrument datasheet detail */
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 24px; height: 24px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  opacity: 0.7;
}
.audience-card:hover {
  border-color: var(--accent);
  background: color-mix(in oklch, var(--bg-elevated) 88%, var(--accent) 12%);
}

.audience-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.audience-num {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.audience-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}

.audience-schematic {
  width: 100%;
  height: auto;
  display: block;
  margin: 4px 0 28px;
  background:
    linear-gradient(180deg, oklch(22% 0.022 255) 0%, oklch(17% 0.02 255) 100%);
  border: 1px solid var(--border);
  padding: 14px 14px 8px;
  aspect-ratio: 320 / 160;
}

.audience-card h3 {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--fg);
  margin: 0 0 10px 0;
}
.audience-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 42ch;
  margin: 0;
}

/* ── DEMO / SLAM SECTION ───────────────────────────────────────────── */
.demo {
  position: relative;
}
.demo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1792 / 400;
  background: var(--bg-elevated);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 36px 80px -56px rgba(18, 26, 40, 0.45),
    0 0 0 1px var(--border) inset,
    0 0 60px -20px var(--accent-glow);
}

@media (min-width: 960px) {
  .demo-frame {
    width: min(1360px, calc(100vw - 72px));
    left: 50%;
    translate: -50% 0;
  }
}
.demo-frame video,
.demo-frame img.demo-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.45) 100%);
  mix-blend-mode: multiply;
}
.demo-corner {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(93% 0.006 255);
  background: rgba(16, 20, 28, 0.78);
  padding: 8px 12px;
  border: 1px solid var(--border-bright);
  z-index: 2;
}
.demo-corner .rec {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s ease-out infinite;
}
.demo-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .demo-meta { grid-template-columns: repeat(4, 1fr); gap: 40px; }
}
.demo-meta-item .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  display: block;
  margin-bottom: 8px;
}
.demo-meta-item .value {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--fg);
}
.demo-meta-item .value .unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-tertiary);
  margin-left: 4px;
  letter-spacing: 0;
}

/* ── SPEC ───────────────────────────────────────────────────────────── */
.spec-render-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 880px) {
  .spec-render-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}
.spec-table {
  border-left: 1px solid var(--accent);
  margin-bottom: 32px;
}
.spec-group { margin-bottom: 36px; }
.spec-group:last-child { margin-bottom: 0; }
.spec-group .group-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0 0 0 24px;
  margin: 0 0 12px 0;
}
.spec-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: 24px;
  padding: 14px 16px 14px 24px;
  border-bottom: 1px solid var(--border);
}
.spec-group .spec-row:last-child { border-bottom: none; }
.spec-row .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-tertiary);
}
.spec-row .value {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .spec-row { grid-template-columns: 1fr; row-gap: 4px; padding-left: 16px; }
}

.device-render-host {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(106,163,255,0.06), transparent 70%),
    var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
}
.device-render-host img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Source is a 2×2 contact-sheet of unit photos. Cool the colour cast
     and dim slightly so it reads as datasheet imagery, not a product
     gallery thumbnail. */
  filter: saturate(0.74) brightness(1.02) contrast(1.02);
  transition: filter 600ms var(--ease-out);
}
.device-render-host:hover img { filter: saturate(0.92) brightness(1.04) contrast(1.04); }
.device-render-host::after {
  /* film vignette + scanline-style top edge so the contact sheet reads
     as a single composed render rather than four loose thumbnails. */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(250,251,248,0.12) 0%, transparent 18%, transparent 82%, rgba(30,38,56,0.16) 100%),
    radial-gradient(ellipse at center, transparent 55%, rgba(18,26,40,0.22) 100%);
  mix-blend-mode: multiply;
}
.device-render-host::before {
  /* corner crop-marks — small "view from the lab bench" hint. */
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(37,48,68,0.18);
  z-index: 2;
}
.device-render-meta {
  margin-top: 16px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}

.mechanical-panel {
  margin-top: 32px;
  border-left: 1px solid var(--accent);
}
.mechanical-panel .group-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0 0 0 24px;
  margin: 0 0 8px 0;
}
.mech-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 24px;
  padding: 12px 16px 12px 24px;
  border-bottom: 1px solid var(--border);
}
.mech-row:last-child { border-bottom: 0; }
.mech-row .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-tertiary);
}
.mech-row .value {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--fg);
}

/* ── MOQ PATH ──────────────────────────────────────────────────────── */
.moq-table { border-left: 1px solid var(--accent); }
.moq-row {
  display: grid;
  grid-template-columns: 56px 200px 1fr 200px;
  column-gap: 28px;
  align-items: center;
  padding: 24px 16px 24px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 220ms var(--ease-out);
}
.moq-row-viz {
  width: 100%;
  height: auto;
  max-height: 64px;
  display: block;
  justify-self: end;
  opacity: 0.92;
  transition: opacity 220ms var(--ease-out);
  filter: invert(1) hue-rotate(180deg) saturate(0.75);
}
.moq-row:hover .moq-row-viz { opacity: 1; }
.moq-row-viz--terminal { opacity: 1; }
.moq-row:last-child { border-bottom: 0; }
.moq-row:hover { background: rgba(106,163,255,0.03); }
.moq-row-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.moq-row-label {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.moq-row-value {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--fg-secondary);
}
.moq-row--terminal { background: rgba(106,163,255,0.04); }
.moq-row--terminal .moq-row-label { color: var(--accent); }
.moq-row--terminal .moq-row-value { color: var(--fg); }
@media (max-width: 760px) {
  .moq-row {
    grid-template-columns: 48px 1fr;
    row-gap: 8px;
    padding: 18px 12px 18px 16px;
  }
  .moq-row-value { grid-column: 1 / -1; }
  .moq-row-viz { grid-column: 1 / -1; max-height: 56px; justify-self: start; margin-top: 6px; }
}

/* ── CUSTOM HARDWARE BAND ──────────────────────────────────────────── */
.custom-hardware {
  text-align: center;
}
.custom-hardware p {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.25;
  color: var(--fg-secondary);
  margin: 0;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}
.custom-hardware p .ask {
  font-family: 'Instrument Serif', 'Newsreader', serif;
  font-style: italic;
  color: var(--fg);
  font-weight: 400;
}
.custom-hardware a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
.custom-hardware a:hover { border-bottom-color: var(--accent); }

/* ── SECTION DIVIDERS ──────────────────────────────────────────────── */
.divider {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .divider { padding: 0 48px; }
}
.divider-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* ── FOOTER ────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 96px;
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, transparent, rgba(106,163,255,0.045));
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    padding: 80px 48px 56px;
    gap: 48px;
    align-items: end;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-mark {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.footer-tagline {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--fg);
  margin: 0;
  max-width: 520px;
  line-height: 1.2;
}
.footer-tagline .accent {
  font-family: 'Instrument Serif', 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
}
.footer-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) {
  .footer-meta { text-align: right; align-items: flex-end; }
}
.footer-meta p { margin: 0; line-height: 1.6; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-quaternary);
}
@media (min-width: 768px) {
  .footer-bottom { padding: 24px 48px 48px; }
}

/* ── MOBILE STICKY CTA ─────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(250, 251, 248, 0.9);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--border);
  z-index: 50;
}
.sticky-cta .cta { width: 100%; justify-content: center; padding: 16px 24px; }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
}
