/* ============================================================
   JAVELIN · MARS — Precision in Motion
   Design system: deep navy / electric blue / signal orange
   Type: Archivo (display, expanded) + IBM Plex Mono (kickers)
   ============================================================ */

:root {
  --bg0: #05080f;
  --bg1: #081020;
  --panel: #0c1729;
  --panel-2: #101e36;
  --line: rgba(141, 173, 224, 0.14);
  --line-strong: rgba(141, 173, 224, 0.26);
  --ink: #eaf0fa;
  --mut: #9caec8;
  --mut-2: #6d80a0;
  --blue: #3d8bff;
  --blue-soft: #7fb6ff;
  --navy: #16365f;
  --org: #ff8a1e;
  --org-soft: #ffb45e;
  --cream: #f3eee4;
  --cream-deep: #e9e2d2;
  --cream-ink: #161d2b;
  --cream-mut: #5b6577;
  --wa-out: #d7f1c8;
  --radius: 18px;
  --radius-lg: 28px;
  --font-d: "Archivo", "Helvetica Neue", sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, monospace;
  --wide: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font-d);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- language switching ---------- */
html[data-lang="en"] [data-l="es"] { display: none !important; }
html[data-lang="es"] [data-l="en"] { display: none !important; }

/* ---------- primitives ---------- */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 28px; }

.kicker {
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--org);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--org);
  opacity: 0.7;
}

.title {
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 18px 0 0;
  font-size: clamp(34px, 4.6vw, 58px);
}
.copy {
  color: var(--mut);
  font-size: clamp(17px, 1.5vw, 19px);
  max-width: 56ch;
  text-wrap: pretty;
  margin: 20px 0 0;
}

section { position: relative; }
.band { padding: clamp(84px, 10vw, 140px) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--org) 0%, #ff7305 100%);
  color: #160d02;
  box-shadow: 0 10px 30px -10px rgba(255, 138, 30, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(255, 138, 30, 0.7);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--blue-soft); background: rgba(61, 139, 255, 0.08); }
.btn svg { flex: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg0) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg0) 88%, transparent); }
.nav-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  flex-shrink: 0;
}
.nav-brand .brand-word {
  font-weight: 800;
  font-stretch: 118%;
  font-size: 17px;
  letter-spacing: 0.10em;
  white-space: nowrap;
}
.nav-brand .brand-tag {
  display: block;
  white-space: nowrap;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mut);
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--mut);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 14px;
  padding: 10px 20px;
}

/* language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  background: rgba(8, 16, 32, 0.6);
}
.lang-toggle button {
  font-family: var(--font-m);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--mut);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-toggle button.active { background: var(--blue); color: #061021; }
.lang-toggle button:not(.active):hover { color: var(--ink); }

.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(150px, 17vw, 220px) 0 clamp(80px, 9vw, 130px);
  background:
    radial-gradient(1200px 600px at 78% 8%, rgba(34, 80, 160, 0.32), transparent 64%),
    radial-gradient(900px 500px at 12% 90%, rgba(255, 138, 30, 0.07), transparent 60%),
    var(--bg0);
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 173, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 173, 224, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-art {
  position: absolute;
  top: 6%;
  right: clamp(-110px, -5vw, -58px);
  width: min(58vw, 880px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, black 38%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, black 38%, transparent 72%);
  filter: saturate(1.05);
}
.hero-inner { position: relative; max-width: var(--wide); margin: 0 auto; padding: 0 28px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 18px;
  background: rgba(12, 23, 41, 0.65);
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--org);
  box-shadow: 0 0 12px var(--org);
}
.hero h1 {
  font-size: clamp(46px, 7.2vw, 104px);
  font-weight: 800;
  font-stretch: 114%;
  line-height: 0.99;
  letter-spacing: -0.028em;
  margin: 30px 0 0;
  max-width: 13ch;
  text-wrap: balance;
}
.hero h1 .accent {
  color: transparent;
  background: linear-gradient(100deg, var(--blue-soft) 10%, var(--blue) 45%, var(--org) 95%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub {
  color: var(--mut);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  max-width: 54ch;
  margin: 28px 0 0;
  text-wrap: pretty;
}
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 46px;
  font-family: var(--font-m);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--mut-2);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .tick { color: var(--org); }

/* javelin streak across hero bottom */
.streak {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 139, 255, 0.5) 30%, rgba(255, 138, 30, 0.6) 70%, transparent);
}

/* ============================================================
   MARS INTRO STRIP
   ============================================================ */
.mars-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg1), var(--bg0));
}
.mars-strip-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 48px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.mars-lockup { display: flex; align-items: center; justify-content: center; }
.mars-strip-copy {
  color: var(--mut);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 60ch;
  border-left: 1px solid var(--line-strong);
  padding-left: 36px;
}
.mars-strip-copy strong { color: var(--ink); }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.cap-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, rgba(12, 23, 41, 0.4) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.cap-card:hover { transform: translateY(-4px); border-color: rgba(61, 139, 255, 0.45); }
.cap-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--org));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cap-card:hover::after { opacity: 1; }
.cap-num {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mut-2);
}
.cap-card h3 {
  font-size: 21px;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.01em;
  margin: 14px 0 10px;
  line-height: 1.2;
}
.cap-card p { color: var(--mut); font-size: 15.5px; margin: 0; text-wrap: pretty; }
.cap-icon { margin-bottom: 18px; color: var(--blue-soft); }

/* ============================================================
   SHOWCASE (light band, chat mock)
   ============================================================ */
.showcase {
  background: var(--cream);
  color: var(--cream-ink);
  border-radius: var(--radius-lg);
  margin: 0 clamp(10px, 2vw, 24px);
  overflow: hidden;
  position: relative;
}
.showcase .kicker { color: #c0660a; }
.showcase .kicker::before { background: #c0660a; }
.showcase .copy { color: var(--cream-mut); }
.showcase-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 110px) 28px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.showcase-points { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 0; }
.showcase-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(22, 29, 43, 0.12);
  align-items: start;
}
.showcase-points li:last-child { border-bottom: 1px solid rgba(22, 29, 43, 0.12); }
.showcase-points .pt-num {
  font-family: var(--font-m);
  font-size: 13px;
  font-weight: 600;
  color: #c0660a;
  border: 1px solid rgba(192, 102, 10, 0.4);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}
.showcase-points strong { display: block; font-size: 17px; font-weight: 800; font-stretch: 106%; }
.showcase-points span.pt-copy { display: block; color: var(--cream-mut); font-size: 15px; margin-top: 4px; }

/* phone mock */
.phone {
  background: #0b0f17;
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 50px 100px -30px rgba(15, 23, 42, 0.55),
    0 0 0 1px rgba(22, 29, 43, 0.2);
  width: 100%;
  max-width: 400px;
  justify-self: center;
  transform: rotate(0.001deg);
}
.phone-screen {
  background: #ece5dc;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 660px;
}
.chat-head {
  background: #12551f;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.chat-head .chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ff9d3e, #d2590a 70%);
  display: grid;
  place-items: center;
  flex: none;
}
.chat-head strong { font-size: 15.5px; font-stretch: 106%; letter-spacing: 0.02em; }
.chat-head small { display: block; font-size: 11.5px; opacity: 0.75; font-weight: 400; }
.chat-scroll {
  flex: 1;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  background-image: radial-gradient(rgba(18, 85, 31, 0.05) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.bubble {
  max-width: 84%;
  border-radius: 14px;
  padding: 10px 12px 8px;
  font-size: 13.8px;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateY(14px);
}
.bubble.shown { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; }
@media (prefers-reduced-motion: reduce) {
  .bubble { opacity: 1; transform: none; }
}
.bubble-out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 4px; color: #15231a; }
.bubble-in { align-self: flex-start; background: #ffffff; border-top-left-radius: 4px; color: #1c2430; }
.bubble .b-meta {
  display: block;
  text-align: right;
  font-size: 10.5px;
  color: rgba(28, 36, 48, 0.45);
  margin-top: 4px;
  font-family: var(--font-m);
}
.file-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 85, 31, 0.07);
  border: 1px solid rgba(18, 85, 31, 0.16);
  border-radius: 10px;
  padding: 9px 11px;
  margin-top: 8px;
}
.file-chip .file-badge {
  font-family: var(--font-m);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  border-radius: 6px;
  padding: 5px 7px;
  flex: none;
}
.file-badge.pdf { background: #d3382c; }
.file-badge.xls { background: #1d6f42; }
.file-badge.img { background: #2563ad; }
.file-chip .file-name { font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.file-chip .file-sub { display: block; font-size: 10.5px; color: rgba(28, 36, 48, 0.5); font-weight: 400; }
.chat-note {
  background: #f6f1e9;
  border-top: 1px solid rgba(22, 29, 43, 0.08);
  padding: 12px 16px;
  font-family: var(--font-m);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--cream-mut);
  text-align: center;
}

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights { background: var(--bg1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.insights-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.prompt-stack { display: grid; gap: 14px; }
.prompt-chip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  gap: 14px;
  align-items: baseline;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.prompt-chip:hover { border-color: rgba(255, 138, 30, 0.5); transform: translateX(6px); }
.prompt-chip .q {
  font-family: var(--font-m);
  color: var(--org);
  font-size: 13px;
  flex: none;
}
.prompt-chip em { font-style: normal; color: var(--mut); display: block; font-size: 13.5px; margin-top: 3px; }

/* ============================================================
   SECURITY
   ============================================================ */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.sec-card {
  background: linear-gradient(180deg, var(--panel) 0%, rgba(12, 23, 41, 0.35) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.sec-card .sec-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(61, 139, 255, 0.1);
  border: 1px solid rgba(61, 139, 255, 0.28);
  color: var(--blue-soft);
  margin-bottom: 22px;
}
.sec-card h3 { font-size: 20px; font-weight: 800; font-stretch: 108%; margin: 0 0 10px; line-height: 1.25; }
.sec-card p { color: var(--mut); font-size: 15.5px; margin: 0; text-wrap: pretty; }
.sec-banner {
  margin-top: 18px;
  border: 1px dashed rgba(255, 138, 30, 0.4);
  background: rgba(255, 138, 30, 0.05);
  border-radius: var(--radius);
  padding: 22px 30px;
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--org-soft);
  font-size: 15.5px;
}
.sec-banner svg { flex: none; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.ind-band { background: var(--bg1); border-top: 1px solid var(--line); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 52px;
}
.ind-chip {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 20px 18px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  font-stretch: 105%;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ind-chip:hover { border-color: rgba(61, 139, 255, 0.5); transform: translateY(-3px); }
.ind-chip svg { color: var(--blue-soft); }

/* ============================================================
   DEMO CTA
   ============================================================ */
.demo-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 138, 30, 0.25);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 138, 30, 0.14), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(61, 139, 255, 0.16), transparent 60%),
    var(--panel);
  padding: clamp(56px, 7vw, 96px) clamp(28px, 6vw, 90px);
  overflow: hidden;
  text-align: center;
}
.demo-panel .title { margin-left: auto; margin-right: auto; max-width: 18ch; }
.demo-panel .copy { margin-left: auto; margin-right: auto; }
.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 52px auto 0;
  max-width: 920px;
  text-align: left;
}
.demo-step {
  background: rgba(5, 8, 15, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.demo-step .step-num {
  font-family: var(--font-m);
  color: var(--org);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.demo-step strong { display: block; font-size: 17px; font-weight: 800; font-stretch: 106%; margin-top: 10px; line-height: 1.3; }
.demo-step span.d-copy { display: block; color: var(--mut); font-size: 14.5px; margin-top: 6px; }
.demo-cta-row { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.btn-demo { font-size: 18px; padding: 20px 40px; }
.demo-contact {
  color: var(--ink);
  font-family: var(--font-m);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.demo-contact:hover { color: var(--blue2); }
.demo-fine {
  font-family: var(--font-m);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--mut-2);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 48px;
  background: var(--bg0);
}
.foot-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.foot-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.foot-brand .brand-word { font-weight: 800; font-stretch: 118%; letter-spacing: 0.1em; font-size: 17px; }
.foot-brand .brand-tag { display: block; font-family: var(--font-m); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mut-2); }
.foot-meta { font-family: var(--font-m); font-size: 12px; letter-spacing: 0.05em; color: var(--mut-2); display: flex; gap: 26px; flex-wrap: wrap; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
  .rv.in { opacity: 1; transform: none; }
  .rv-d1 { transition-delay: 0.08s; }
  .rv-d2 { transition-delay: 0.16s; }
  .rv-d3 { transition-delay: 0.24s; }
  .rv-d4 { transition-delay: 0.32s; }
  .rv-d5 { transition-delay: 0.4s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .showcase-inner { grid-template-columns: 1fr; }
  .phone { justify-self: start; }
  .insights-inner { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg1);
    border-bottom: 1px solid var(--line);
    padding: 18px 28px 26px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-of-type { border-bottom: 0; }
  .nav-burger { display: grid; place-items: center; }
}
@media (max-width: 880px) {
  .mars-strip-inner { grid-template-columns: 1fr; gap: 26px; }
  .mars-strip-copy { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: 26px; }
  .demo-steps { grid-template-columns: 1fr; }
  .hero-art { opacity: 0.3; right: -38%; width: 120vw; }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: 1fr; }
  .phone-screen { height: 600px; }
  .btn { width: 100%; justify-content: center; }
  .nav-cta { width: auto; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
}
