:root {
  --bg-primary:    #ffffff;
  --bg-secondary:  #fafafa;
  --bg-tertiary:   #f4f4f6;
  --border:        rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);
  --text-primary:  #1c1c1e;
  --text-secondary:#5c5c64;
  --text-tertiary: #9c9ca4;
  --brand:         #0a84ff;
  --brand-deep:    #0070e0;
  --brand-soft:    rgba(10, 132, 255, 0.10);
}

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

html, body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--brand); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 8px;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 3px;
}
.contact-tile:focus-visible {
  outline-offset: -2px;
}

/* ---------- Reusable animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(48, 209, 80, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(48, 209, 80, 0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.hero h1,
.hero .lead,
.hero-ctas,
section .container > * {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero .lead { animation-delay: 0.08s; }
.hero-ctas { animation-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container-edge { width: 100%; padding: 0 20px; }

/* ---------- Nav ---------- */
.nav { border-bottom: 0.5px solid var(--border); position: sticky; top: 0; background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(12px); z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; width: 100%; padding: 0 20px; }
.nav-brand { display: flex; align-items: center; }
.nav-brand-mark { width: 64px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.nav-links a { position: relative; padding-bottom: 2px; }
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--brand);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { color: var(--text-primary); }
@media (prefers-reduced-motion: reduce) {
  .nav-links a::after { transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 6px;
  font-weight: 600; font-size: 14px;
  border: 0.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #2a99ff 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(10, 132, 255, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.btn-ghost { color: var(--text-primary); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-secondary); color: var(--text-primary); }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.5px; color: var(--text-primary); }
h1 { font-size: 48px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 12px; }
h2 { font-size: 40px; font-weight: 800; letter-spacing: -1.2px; margin-bottom: 10px; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; margin-bottom: 4px; }
p { color: var(--text-secondary); margin-bottom: 8px; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 17px; color: var(--text-secondary); margin-bottom: 16px; }

/* ---------- Sections ---------- */
section { padding: 36px 0; }
.band { background: var(--bg-secondary); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }

/* ---------- Effects: scroll reveal ---------- */
/* Safety: only hide if JS is loaded (body.js-on). If JS fails, content stays visible. */
.js-on .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.js-on .reveal.in-view { opacity: 1; transform: translateY(0); }
.js-on .reveal[data-delay="1"].in-view { transition-delay: 0.08s; }
.js-on .reveal[data-delay="2"].in-view { transition-delay: 0.16s; }
.js-on .reveal[data-delay="3"].in-view { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js-on .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* CLI lines: stagger fade-in when CLI block reveals */
.js-on .hero-cli.reveal .cli-body > div {
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.45s, transform 0.45s;
}
.js-on .hero-cli.reveal.in-view .cli-body > div { opacity: 1; transform: translateY(0); }
.js-on .hero-cli.reveal.in-view .cli-body > div:nth-child(1) { transition-delay: 0.30s; }
.js-on .hero-cli.reveal.in-view .cli-body > div:nth-child(2) { transition-delay: 0.50s; }
.js-on .hero-cli.reveal.in-view .cli-body > div:nth-child(3) { transition-delay: 0.65s; }
.js-on .hero-cli.reveal.in-view .cli-body > div:nth-child(4) { transition-delay: 0.80s; }
.js-on .hero-cli.reveal.in-view .cli-body > div:nth-child(5) { transition-delay: 1.00s; }

/* ---------- Effects: button shine sweep ---------- */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -110%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg,
              transparent 0%,
              rgba(255,255,255,0.18) 50%,
              transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { transition: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 56px;
  text-align: center;
  overflow: hidden;
}

/* ---------- Effects: hero mouse spotlight ---------- */
.hero-spotlight {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
                circle 340px at var(--mx, 50%) var(--my, 36%),
                rgba(10,132,255,0.14),
                transparent 70%);
  transition: opacity 0.4s ease-out;
  opacity: 0.6;   /* visible on first paint */
}
.hero:hover .hero-spotlight { opacity: 1; }
@media (prefers-reduced-motion: reduce), (hover: none) {
  .hero-spotlight { opacity: 0.5; transition: none; }   /* keep visible, no follow */
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(10, 132, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 30% 25% at 22% 38%, rgba(94, 184, 255, 0.06), transparent 65%),
    radial-gradient(ellipse 30% 25% at 78% 38%, rgba(94, 184, 255, 0.06), transparent 65%);
  z-index: 0;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(10, 132, 255, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 80%);
  z-index: 0;
  opacity: 0.7;
}
.hero > .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  background: rgba(10, 132, 255, 0.07);
  border: 0.5px solid rgba(10, 132, 255, 0.22);
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 0 rgba(48, 209, 80, 0.55);
  animation: pulseDot 2s ease-out infinite;
}
.hero-badge .badge-sep { color: var(--text-tertiary); margin: 0 2px; }
.hero-badge .badge-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--brand);
  font-size: 11px;
  letter-spacing: 0;
}

.hero h1 { max-width: 880px; margin-left: auto; margin-right: auto; line-height: 1.08; }
.hero-accent {
  background: linear-gradient(135deg, var(--brand) 0%, #5eb8ff 60%, var(--brand) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 800;
  animation: shimmer 6s linear infinite;
}

.hero .lead { max-width: 560px; margin: 18px auto 0; font-size: 16px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
  border-radius: 8px;
}
.btn-lg svg { transition: transform 0.25s ease; }
.btn-lg:hover svg { transform: translateX(4px); }

/* ---------- Hero CLI block ---------- */
.hero-cli {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 0;
  background: #0e1014;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 14px 50px rgba(10, 132, 255, 0.18),
    0 2px 10px rgba(0, 0, 0, 0.25);
}
.cli-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: #16191f;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.cli-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.cli-bar .cli-title {
  width: auto; height: auto; background: transparent; border-radius: 0;
  margin-left: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.2px;
}
.cli-body {
  padding: 14px 18px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.85;
  color: #e0e2e8;
}
.cli-prompt { color: #5eb8ff; margin-right: 4px; }
.cli-cmd { color: #ffffff; }
.cli-key { color: #5eb8ff; }
.cli-val { color: #c8cad0; }
.cli-ok { color: #30d158; font-weight: 700; }
.cli-dim { color: rgba(255,255,255,0.45); }
.cli-cursor {
  display: inline-block;
  width: 7px; height: 13px;
  background: #30d158;
  vertical-align: -2px;
  margin-left: 6px;
  animation: cliBlink 1s steps(2) infinite;
}
@keyframes cliBlink { to { opacity: 0; } }

/* ---------- Trust chips ---------- */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}
.hero-trust .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.7);
  border: 0.5px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-trust .chip svg { width: 11px; height: 11px; color: #30d158; flex-shrink: 0; }


/* ---------- How it works ---------- */
#how {
  position: relative;
  overflow: hidden;
}
#how::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(10,132,255,0.06), transparent 70%);
  pointer-events: none;
}
#how > .container { position: relative; z-index: 1; }

.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.how-step {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--bg-primary);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 10px 26px rgba(10,132,255,0.04);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.how-step:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.04), 0 16px 40px rgba(10,132,255,0.10);
}

.how-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 9px;
  border-radius: 100px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.how-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.how-icon svg { width: 20px; height: 20px; }

.how-step h3 {
  font-size: 18px; font-weight: 700; letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.how-step p {
  font-size: 13.5px; color: var(--text-secondary);
  line-height: 1.55; margin: 0 0 14px;
}
.how-code {
  margin-top: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: var(--brand);
  background: rgba(10,132,255,0.06);
  border: 0.5px solid rgba(10,132,255,0.18);
  border-radius: 6px;
  padding: 7px 10px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}
.how-arrow svg { width: 22px; height: 22px; opacity: 0.5; }

@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr; gap: 10px; }
  .how-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ---------- Products section background ---------- */
#products {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(10, 132, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 132, 255, 0.16) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: -1px -1px;
}
#products::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(10, 132, 255, 0.08), transparent 70%),
    linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.4) 30%, rgba(255,255,255,0.4) 70%, rgba(255,255,255,0.85));
  pointer-events: none;
  z-index: 0;
}
#products > * { position: relative; z-index: 1; }

/* ---------- Products ---------- */
/* Reduce side gutters ~70% inside the products section so the 4-up cards
   breathe on wide displays. max() keeps a 16px floor at narrow viewports. */
#products .container {
  max-width: none;
  padding: 0 max(16px, calc(((100vw - 1180px) / 2) * 0.3 + 16px));
}

.products-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px;
  align-items: stretch;
  width: 100%;
}
.products-grid > .product {
  flex: 0 0 calc((100% - 42px) / 4) !important;
  width: calc((100% - 42px) / 4) !important;
  max-width: calc((100% - 42px) / 4) !important;
  min-width: 0 !important;
  box-sizing: border-box;
}
.products-grid > .product .product-logo {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
  max-height: 78px;
}
.products-grid > .product .product-logo.tracer { max-height: 62px; }
.products-grid > .product .product-logo.scanner { max-height: 64px; }
.product {
  padding: 20px; border: 0.5px solid var(--border); border-radius: 12px;
  background: var(--bg-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 8px 24px rgba(10,132,255,0.04);
  transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.product::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(10,132,255,0.07), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.product:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.04), 0 20px 50px rgba(10,132,255,0.12);
}
.product:hover::after { opacity: 1; }

/* ---------- Shared specs row (below products) ---------- */
.shared-row {
  margin-top: 20px;
  padding: 18px 20px;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.shared-item { display: flex; align-items: flex-start; gap: 10px; }
.shared-item .ico {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.shared-item .ico svg { width: 14px; height: 14px; }
.shared-item .meta .t { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 1px; }
.shared-item .meta .d { font-size: 12px; color: var(--text-secondary); line-height: 1.45; }
.product-head { display: flex; align-items: center; margin-bottom: 14px; min-height: 80px; }
.product-logo { height: 78px; width: auto; display: block; }
.product-logo.tracer { height: 62px; }
.product-logo.scanner { height: 64px; }
.product p { font-size: 14px; margin-bottom: 12px; }
.product .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.product .tag {
  font-size: 11px; font-weight: 500;
  padding: 3px 9px;
  background: var(--bg-secondary);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.product .tag:hover {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: rgba(10,132,255,0.3);
  transform: translateY(-1px);
}


/* ---------- Contact (full-bleed redesign) ---------- */
#contact { padding: 0; position: relative; }
.contact-bleed { width: 100%; }

.contact-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid var(--border);
}
.contact-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 36px;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
  transition: background 0.3s ease;
}
.contact-tile + .contact-tile {
  border-left: 0.5px solid var(--border);
}
.contact-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(10,132,255,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.contact-tile:hover { background: var(--brand-soft); color: var(--text-primary); }
.contact-tile:hover::before { opacity: 1; }

.contact-tile .ico {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(10,132,255,0.10); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  transition: background 0.3s, color 0.3s, transform 0.3s ease;
}
.contact-tile .ico svg { width: 18px; height: 18px; }
.contact-tile:hover .ico {
  background: var(--brand); color: #fff;
  transform: translateY(-1px);
}

.contact-tile h3 {
  font-size: 17px; font-weight: 700; letter-spacing: -0.3px;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.contact-tile p {
  font-size: 13px; line-height: 1.55; color: var(--text-secondary);
  margin: 0 0 16px; max-width: 460px;
}

.contact-tile .addr {
  margin-top: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px; font-weight: 600; color: var(--brand);
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.2px;
}
.contact-tile .arrow {
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.contact-tile:hover .arrow { transform: translateX(5px); }

@media (max-width: 860px) {
  .contact-pair { grid-template-columns: 1fr; }
  .contact-tile + .contact-tile {
    border-left: 0;
    border-top: 0.5px solid var(--border);
  }
  .contact-tile { padding: 22px 22px; }
  .contact-head { padding: 32px 20px 20px; }
  .contact-head h2 { font-size: 26px; }
}

.section-head { text-align: center; margin-bottom: 18px; }
.section-head h2 { margin-bottom: 4px; }
.section-head p { font-size: 14px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
footer {
  background: #f0f0f3;
  color: var(--text-secondary);
  padding: 24px 0 14px;
  border-top: 0.5px solid var(--border);
}
.footer-inner { width: 100%; padding: 0 24px; max-width: none; margin: 0; }

.footer-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.footer-head img { width: 56px; height: auto; display: block; }
.footer-head .name {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  line-height: 1;
}
.footer-head .rule {
  flex: 1;
  height: 1px;
  background: var(--border-strong);
  margin: 0 8px;
  align-self: center;
}
.footer-head .meta {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-info {
  display: flex; flex-direction: column; gap: 10px;
  max-width: none;
}
.footer-info p {
  font-size: 12.5px; color: var(--text-tertiary);
  line-height: 1.7; margin: 0;
}
.footer-info strong { color: var(--text-tertiary); font-weight: 600; }
.footer-info a { color: var(--text-tertiary); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 2px; }
.footer-info a:hover { color: var(--brand); text-decoration-color: var(--brand); }

.footer-copy {
  font-size: 11px; color: var(--text-tertiary);
  margin-top: 14px; padding-top: 12px; border-top: 0.5px solid var(--border);
}

@media (max-width: 720px) {
  .footer-head img { width: 64px; }
  .footer-head .name { font-size: 24px; }
  .footer-inner { padding: 0 20px; }
  footer { padding: 40px 0 20px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .products-grid { flex-direction: column !important; flex-wrap: wrap !important; }
  .products-grid > .product {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .shared-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  h1 { font-size: 30px; letter-spacing: -0.8px; }
  h2 { font-size: 24px; letter-spacing: -0.6px; }
  .container { padding: 0 20px; }
  .hero { padding: 40px 0 32px; }
  section { padding: 40px 0; }
  .nav-links a:not(.btn) { font-size: 13px; }
  .nav-links { gap: 16px; }
  .nav-brand-mark { width: 48px; }

  /* Hero adjustments */
  .hero-badge {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 10.5px;
    padding: 5px 12px;
    letter-spacing: 0.2px;
  }
  .hero-badge .badge-sep { display: none; }
  .hero-badge .badge-mono { font-size: 10.5px; }

  /* Hero CLI block */
  .hero-cli { max-width: 100%; width: 100%; }
  .cli-bar { padding: 6px 10px; }
  .cli-bar .cli-title { font-size: 10px; margin-left: 6px; }
  .cli-body { padding: 11px 12px 13px; font-size: 10.5px; line-height: 1.75; }
  .cli-key { display: inline-block; min-width: 88px; }
  .cli-cursor { width: 6px; height: 11px; }

  /* Trust chips */
  .hero-trust .chip { font-size: 10px; padding: 4px 9px; }

  /* Products */
  .product { padding: 20px; }
  .product-logo { height: 64px; }
  .product-logo.tracer { height: 50px; }
  .shared-row { padding: 14px 16px; gap: 12px; }

  /* Contact */
  .contact-tile { padding: 24px 22px; }
  .contact-tile h3 { font-size: 16px; }
  .contact-tile .addr { font-size: 13px; }

  /* Footer */
  .footer-head { flex-wrap: wrap; gap: 10px; }
  .footer-head img { width: 44px; }
  .footer-head .name { font-size: 20px; }
  .footer-head .rule { display: none; }
  .footer-head .meta {
    flex-basis: 100%;
    white-space: normal;
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .footer-info p { font-size: 12px; line-height: 1.6; }
}
