/* ─── FONTS (self-hosted, latin + latin-ext only — variable weight files) ─── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── DESIGN TOKENS ─── */
:root {
  --ink:       #0A0E14;
  --signal:    #1F6FEB;
  --graphite:  #3A4150;
  --steel:     #5C6B7A;
  --paper:     #F4F6F8;
  --hairline:  #D4D9E0;
  --ok:        #2FA84F;
  --fault:     #E5484D;
  --caution:   #E0A800;
  --surface:   #111720;
  --surface2:  #0D1218;

  --font: 'Inter', system-ui, Arial, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 28px;
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ─── ACCESSIBILITY ─── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--signal);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 4px 0;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ─── UTILITIES ─── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

.mono { font-family: var(--mono); }
.self-start { align-self: flex-start; }

.status-dot--fault { background: var(--fault); }
.status-dot--ok { background: var(--ok); }

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

/* ─── FADE IN ─── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.07s; }
.reveal.d2 { transition-delay: 0.14s; }
.reveal.d3 { transition-delay: 0.21s; }
.reveal.d4 { transition-delay: 0.28s; }
.reveal.d5 { transition-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(10, 14, 20, 0.94);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.055);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
}
.logo-icon { width: 26px; height: 26px; flex-shrink: 0; }
.logo-text { display: flex; align-items: center; }
.logo-nocap { font-weight: 800; font-size: 17px; color: var(--paper); letter-spacing: -0.3px; }
.logo-sep {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; margin: 0 9px;
}
.logo-sep-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--signal); }
.logo-sep-line { width: 1px; height: 11px; background: var(--signal); }
.logo-robotics { font-weight: 300; font-size: 17px; color: var(--paper); }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--steel); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--paper); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); text-decoration: none; border-radius: 4px;
  cursor: pointer; border: none; white-space: nowrap; letter-spacing: 0.01em;
  transition: opacity 0.18s, background 0.18s;
}
.btn-sm  { height: 38px; padding: 0 18px; font-size: 13px; font-weight: 700; }
.btn-md  { height: 48px; padding: 0 28px; font-size: 15px; font-weight: 700; }

.btn-solid   { background: var(--signal); color: #fff; }
.btn-solid:hover { opacity: 0.86; }

.btn-outline { background: transparent; color: var(--signal); border: 1px solid var(--signal); font-weight: 600; }
.btn-outline:hover { background: rgba(31,111,235,0.09); }

.btn-ghost {
  background: transparent; color: var(--signal); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; padding: 0;
  height: 48px; font-size: 15px;
}
.btn-ghost .arr { display: inline-block; transition: transform 0.2s; }
.btn-ghost:hover .arr { transform: translateX(4px); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--ink);
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 48px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--signal);
}

.hero-h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 60px;
  letter-spacing: -2px;
  color: var(--paper);
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-sub {
  font-size: 19px;
  line-height: 30px;
  color: var(--steel);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--paper); font-weight: 500; }

.hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ─── PCB VISUAL ─── */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--graphite);
  border-radius: 4px;
  overflow: hidden;
  background: #060A10;
}
.hero-visual-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255,255,255,0.12);
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
}

/* ─── PILLAR STRIP ─── */
.pillars {
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: var(--surface);
}
.pillars-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pillar {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.055);
}
.pillar:last-child { border-right: none; }
.pillar-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--signal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pillar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  line-height: 22px;
  margin-bottom: 8px;
}
.pillar-proof {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--steel);
  line-height: 17px;
}

/* ─── PROBLEM SECTION ─── */
.section-problem {
  background: var(--paper);
  color: var(--ink);
  padding: 112px 48px;
}
.section-problem .inner { max-width: var(--max); margin: 0 auto; }

.section-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}
.section-h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 46px;
  color: var(--ink);
  margin-bottom: 56px;
  max-width: 680px;
  text-wrap: balance;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.compare-card {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
}
.compare-head {
  padding: 14px 24px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  background: #fff;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.compare-body {
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.problem-copy { max-width: 720px; }
.problem-copy p {
  font-size: 17px;
  line-height: 28px;
  color: var(--graphite);
  margin-bottom: 18px;
}
.problem-copy p:last-child { margin-bottom: 0; }
.problem-copy strong { color: var(--ink); font-weight: 600; }

/* ─── SPECS STRIP ─── */
.specs-strip {
  background: var(--ink);
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.specs-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.spec-tile {
  padding: 52px 16px;
  border-right: 1px solid var(--graphite);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.spec-tile:last-child { border-right: none; }
.spec-val {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--paper);
  line-height: 1;
  letter-spacing: -0.5px;
}
.spec-unit {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.spec-label {
  font-size: 12px;
  color: var(--steel);
  line-height: 16px;
  margin-top: 2px;
}

/* ─────────── PRODUCT LINEUP ─────────── */
.section-lineup {
  background: var(--ink);
  padding: 120px 40px 110px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.section-lineup .inner { max-width: var(--max); margin: 0 auto; }
.lineup-head { max-width: 720px; margin-bottom: 56px; }
.lineup-head .section-eyebrow { color: var(--steel); }
.lineup-h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 14px 0 18px;
}
.lineup-intro { color: var(--steel); font-size: 17px; line-height: 28px; max-width: 600px; }
.lineup-intro strong { color: var(--paper); font-weight: 500; }

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 36px 34px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}
.product-card:hover { border-color: rgba(31,111,235,0.55); transform: translateY(-3px); }
.product-card .status-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 4px;
  margin-bottom: 22px;
}
.badge-shipping { color: var(--ok); background: rgba(47,168,79,0.12); border: 1px solid rgba(47,168,79,0.3); }
.badge-edu      { color: var(--signal); background: rgba(31,111,235,0.12); border: 1px solid rgba(31,111,235,0.32); }
.product-name {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 4px;
}
.product-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.product-desc { color: var(--steel); font-size: 15.5px; line-height: 25px; margin-bottom: 22px; }
.product-desc strong { color: var(--paper); font-weight: 500; }
.product-speclist { list-style: none; margin: 0 0 28px; padding: 0; }
.product-speclist li {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--paper);
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.product-speclist li span:last-child { color: var(--steel); text-align: right; }
.product-card-cta { margin-top: auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Roadmap rail */
.roadmap {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 34px 34px 30px;
  background: linear-gradient(180deg, rgba(31,111,235,0.04), transparent);
}
.roadmap-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 26px;
}
.roadmap-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.roadmap-step { position: relative; padding-right: 28px; }
.roadmap-step::before {
  content: '';
  position: absolute;
  top: 6px; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--steel);
  z-index: 2;
}
.roadmap-step.is-now::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 4px rgba(31,111,235,0.18); }
.roadmap-step::after {
  content: '';
  position: absolute;
  top: 11px; left: 11px; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.09);
}
.roadmap-step:last-child::after { display: none; }
.roadmap-step .rs-stage {
  font-size: 19px;
  font-weight: 700;
  color: var(--paper);
  margin: 22px 0 3px;
  letter-spacing: -0.01em;
}
.roadmap-step.is-future .rs-stage { color: var(--steel); }
.roadmap-step .rs-type { font-family: var(--mono); font-size: 11.5px; color: var(--signal); letter-spacing: 0.04em; }
.roadmap-step.is-future .rs-type { color: var(--steel); }
.roadmap-step .rs-when { font-size: 13px; color: var(--steel); margin-top: 8px; line-height: 19px; }
.roadmap-note { margin-top: 26px; font-size: 13px; color: var(--steel); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 18px; }

.section-audience {
  background: var(--surface2);
  padding: 112px 48px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.section-audience .inner { max-width: var(--max); margin: 0 auto; }
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.audience-card {
  border: 1px solid var(--graphite);
  border-radius: 4px;
  padding: 48px;
  display: flex;
  flex-direction: column;
}
.audience-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.audience-headline {
  font-size: 26px;
  font-weight: 700;
  color: var(--paper);
  line-height: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.audience-body {
  font-size: 15px;
  color: var(--steel);
  line-height: 24px;
  margin-bottom: 36px;
  flex: 1;
}

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  border-top: 1px solid var(--graphite);
  padding: 48px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left { display: flex; flex-direction: column; gap: 14px; }
.footer-tagline {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--steel);
  letter-spacing: 0.04em;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.footer-link {
  font-size: 13px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-link:hover { color: var(--paper); }
.footer-copy {
  font-size: 11px;
  color: var(--graphite);
  margin-top: 4px;
  font-family: var(--mono);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 120px 32px 64px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: none; }
  .specs-grid { grid-template-columns: repeat(3, 1fr); }
  .spec-tile:nth-child(3) { border-right: none; }
  .spec-tile:nth-child(n+4) { border-top: 1px solid var(--graphite); }
  .compare-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .lineup-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .roadmap-track { grid-template-columns: 1fr; gap: 20px; }
  .roadmap-step { padding-right: 0; padding-left: 26px; }
  .roadmap-step::before { left: 0; top: 4px; }
  .roadmap-step::after { display: none; }
  .roadmap-step .rs-stage { margin-top: 0; }
}

@media (max-width: 720px) {
  .container, .section-problem, .section-lineup, .section-audience { padding-left: 24px; padding-right: 24px; }
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-actions .btn-sm.btn-outline { display: none; }
  .hero-inner { padding: 104px 20px 56px; }
  .hero-h1 { font-size: 38px; line-height: 44px; letter-spacing: -1px; }
  .hero-sub { font-size: 17px; line-height: 27px; }
  .section-h2 { font-size: 28px; line-height: 34px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.055); }
  .pillar:last-child { border-bottom: none; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-tile:nth-child(even) { border-right: none; }
  .spec-tile:nth-child(n+3) { border-top: 1px solid var(--graphite); }
  .audience-card { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-right { align-items: flex-start; }
}
