/* ============== TOKENS ============== */
:root {
  --bg-deep:        #050a1a;
  --bg-mid:         #0a132a;
  --bg-card:        rgba(20, 32, 64, 0.55);
  --bg-card-solid:  #0f1c3d;
  --border:         rgba(110, 150, 220, 0.22);
  --border-bright:  rgba(140, 180, 240, 0.45);
  --text:           #e6ecf8;
  --text-dim:       #9badd0;
  --text-mute:      #6b7fa6;
  --accent:         #4ea0ff;
  --accent-bright:  #7fbfff;
  --accent-deep:    #1d62c4;
  --accent-glow:    rgba(78, 160, 255, 0.55);
  --good:           #5fd28a;
  --warn:           #f7c948;
  --shadow-card:    0 12px 36px rgba(0, 8, 30, 0.55);
  --radius:         18px;
  --radius-sm:      10px;
  --maxw:           1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(ellipse 90% 70% at 50% -10%, #0c1a3e 0%, var(--bg-deep) 55%, #02050f 100%);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--accent-bright); text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }

/* ============== BACKGROUND DECOR ============== */
/* faint dotted PCB grid */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(78,160,255,0.16) 1px, transparent 1.4px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 80%);
  opacity: 0.55;
}

/* SVG-based PCB traces flowing across the page */
.bg-traces {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 1200px;
  z-index: -2; pointer-events: none;
  opacity: 0.85;
}

.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%; pointer-events: none;
  filter: blur(140px); opacity: 0.5;
}
.bg-glow-1 { width: 720px; height: 720px; left: -260px; top: -180px; background: #1a3870; }
.bg-glow-2 { width: 620px; height: 620px; right: -220px; top: 12vh;  background: #1f3d85; }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  backdrop-filter: blur(12px);
  background: rgba(5, 10, 26, 0.55);
  border-bottom: 1px solid rgba(110, 150, 220, 0.08);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  background: rgba(15, 28, 61, 0.6);
  box-shadow: 0 0 22px rgba(78, 160, 255, 0.18), inset 0 0 12px rgba(78,160,255,0.08);
  color: #fff; font-weight: 700; letter-spacing: 0.2px;
}
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 4px #fff inset;
}
.brand-name { font-size: 16px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 9px 22px;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  background: rgba(15, 28, 61, 0.6);
  box-shadow: 0 0 18px rgba(78,160,255,0.15);
}
.nav-cta:hover { background: rgba(78,160,255,0.18); color: #fff; }

/* ============== LAYOUT ============== */
main { width: 100%; }
section { padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 56px); max-width: var(--maxw); margin: 0 auto; }

/* ============== HERO ============== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 5vw, 60px);
  align-items: center;
  padding-top: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(36px, 5vw, 60px);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  background: rgba(15, 28, 61, 0.55);
  color: var(--text);
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.1px;
  margin-bottom: 26px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.04;
  font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: -1.5px;
  color: #fff;
}
.accent { color: var(--accent-bright); }
.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 0 30px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #2a72d8, #1d54a8);
  color: #fff;
  box-shadow: 0 0 22px rgba(78,160,255,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(78,160,255,0.55), inset 0 1px 0 rgba(255,255,255,0.22);
  color: #fff;
}
.btn-ghost {
  background: rgba(15, 28, 61, 0.55);
  border-color: var(--border-bright);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(78,160,255,0.14); color: #fff; }

.pill-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.pill-row li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: rgba(15, 28, 61, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 13.5px;
}
.pill-icon { font-size: 14px; }

/* hero card — the logo PNG already has its own frame + wordmark, so this just
   adds a soft glow halo behind it without doubling the frame. */
.hero-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 36px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(78,160,255,0.45), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.hero-logo {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(0, 8, 30, 0.6))
          drop-shadow(0 0 40px rgba(78, 160, 255, 0.25));
}

/* ============== SECTION HEADINGS ============== */
h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.6px;
}
.section-lede {
  color: var(--text-dim);
  font-size: clamp(15px, 1.3vw, 17px);
  max-width: 720px;
  margin: 0 0 36px;
}

/* ============== CARDS / SERVICES ============== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--border-bright); transform: translateY(-2px); }

.tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(78,160,255,0.12);
  border: 1px solid rgba(78,160,255,0.35);
  color: var(--accent-bright);
  font-size: 12px; font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}
/* ============== PRODUCT (SPLINEGEN) ============== */
.section-product { padding-top: clamp(20px, 3vw, 40px); }
.product-header { max-width: 920px; margin-bottom: 42px; }
.product-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.product-title {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0;
}
.product-tagline {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--accent-bright);
  margin: 0 0 14px;
  letter-spacing: -0.2px;
}

/* hero shot */
.hero-shot { margin: 30px 0 50px; }
.shot-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  background: var(--bg-card-solid);
  box-shadow: 0 0 80px rgba(78,160,255,0.14), 0 30px 80px rgba(0, 8, 30, 0.6);
}
.shot-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #142143, #0c1733);
  border-bottom: 1px solid rgba(110, 150, 220, 0.18);
}
.shot-chrome span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.shot-chrome span:nth-child(1) { background: #ff5f56; }
.shot-chrome span:nth-child(2) { background: #ffbd2e; }
.shot-chrome span:nth-child(3) { background: #27c93f; }
.shot-url {
  margin-left: 14px;
  padding: 4px 14px;
  background: rgba(0,0,0,0.28);
  border-radius: 6px;
  font-size: 12.5px; color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.shot-frame img { width: 100%; height: auto; display: block; }

/* stats */
.stat-row {
  list-style: none; padding: 0; margin: 0 0 60px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.stat-row li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 14px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.stat-num {
  display: block;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { color: var(--text-dim); font-size: 13px; letter-spacing: 0.3px; }

/* feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 22px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.feature h3 { margin: 6px 0 10px; font-size: 22px; color: #fff; font-weight: 700; letter-spacing: -0.2px; }
.feature p { color: var(--text-dim); margin: 0; font-size: 15px; }
.feature-bullets {
  list-style: none; padding: 0; margin: 14px 0 0;
}
.feature-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim); font-size: 14.5px;
  margin-bottom: 6px;
}
.feature-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.feature-bullets.compact li { font-size: 14px; margin-bottom: 5px; }

.feature-shot {
  appearance: none;
  background: #0a1024;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0; margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color .15s ease, transform .15s ease;
}
.feature-shot:hover { border-color: var(--accent); }
.feature-shot img { width: 100%; height: auto; display: block; }

/* compact variant: image sits at natural size, capped, with breathing room */
.feature-shot-fit {
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.feature-shot-fit img {
  width: auto;
  max-width: 100%;
  max-height: 240px;
  margin: 0 auto;
}

/* wide / tall variants */
.feature-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 36px;
}
.feature-wide .feature-text { flex: 1 1 50%; min-width: 0; }
.feature-wide .feature-shot { flex: 1 1 50%; min-width: 0; }
.feature-wide.reverse { flex-direction: row-reverse; }

.feature-tall { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 36px; }
.feature-tall .feature-text { flex: 1 1 50%; }
.feature-tall .feature-shot { flex: 1 1 50%; max-width: 540px; }

code {
  background: rgba(78,160,255,0.12);
  color: var(--accent-bright);
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* standards strip */
.strip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 60px;
  backdrop-filter: blur(10px);
}
.strip-title { margin: 0 0 16px; color: #fff; font-weight: 700; font-size: 18px; }
.chip-row { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px;
  background: rgba(78,160,255,0.08);
  border: 1px solid rgba(110, 150, 220, 0.3);
  color: var(--text);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* pricing */
.pricing { margin-bottom: 60px; }
.pricing h3 {
  font-size: clamp(26px, 3vw, 36px);
  color: #fff; font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.price { padding: 30px; position: relative; }
.price-head { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.price h4 { margin: 0 0 12px; font-size: 18px; color: var(--text-dim); font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; }
.price-amount { font-size: 44px; font-weight: 800; color: #fff; line-height: 1; }
.price-suffix { font-size: 18px; color: var(--text-mute); font-weight: 500; margin-left: 4px; }
.price-period { color: var(--text-mute); font-size: 13px; margin-top: 6px; }
.price-features { list-style: none; padding: 0; margin: 0; }
.price-features li {
  position: relative; padding-left: 24px;
  color: var(--text); font-size: 14.5px;
  margin-bottom: 10px;
}
.price-features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent-bright); font-weight: 700;
}
.price-featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(78,160,255,0.22), var(--shadow-card);
  background: linear-gradient(160deg, rgba(30, 50, 100, 0.55), rgba(15, 28, 61, 0.55));
}
.ribbon {
  position: absolute; top: -12px; right: 22px;
  padding: 5px 14px;
  background: linear-gradient(180deg, #2a72d8, #1d54a8);
  color: #fff;
  font-size: 12px; font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.3px;
  box-shadow: 0 0 14px rgba(78,160,255,0.5);
}

/* compare */
.compare h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  color: #fff; font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: -0.3px;
}
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(110, 150, 220, 0.12);
}
.compare-table th {
  background: rgba(15, 28, 61, 0.6);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.compare-table td { color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .us {
  color: var(--accent-bright);
  font-weight: 700;
  background: rgba(78,160,255,0.06);
}
.compare-table th.us { color: #fff; background: rgba(78,160,255,0.12); }

/* ============== CONTACT ============== */
.section-contact { padding-bottom: clamp(80px, 10vw, 140px); }
.contact-cta {
  display: flex;
  justify-content: center;
}
.contact-open { font-size: 16px; padding: 14px 32px; }

/* ============== MODAL ============== */
.modal {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modal-fade .15s ease-out;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 5, 15, 0.85);
  backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(20, 32, 64, 0.95), rgba(15, 28, 61, 0.95));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 0 60px rgba(78,160,255,0.18);
  padding: 32px;
  animation: modal-pop .18s ease-out;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10, 18, 40, 0.65);
  color: var(--text-dim);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.modal-close:hover { border-color: var(--accent); background: rgba(78,160,255,0.15); color: #fff; }
.modal-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.modal-sub {
  margin: 0 0 20px;
  color: var(--text-dim);
  font-size: 14.5px;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(10, 18, 40, 0.55);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover,
.field textarea:hover { border-color: var(--border-bright); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(78,160,255,0.06);
  box-shadow: 0 0 0 3px rgba(78,160,255,0.15);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) { border-color: rgba(247, 105, 105, 0.55); }
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-submit { align-self: flex-start; margin-top: 4px; }
.contact-submit[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-status {
  margin: 0;
  min-height: 20px;
  font-size: 14px;
  color: var(--text-dim);
}
.contact-status.is-ok { color: var(--good); }
.contact-status.is-err { color: #ff8a8a; }

/* ============== FOOTER ============== */
.foot {
  border-top: 1px solid rgba(110, 150, 220, 0.1);
  padding: 24px clamp(20px, 5vw, 56px);
  margin-top: 40px;
}
.foot-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: center; align-items: center;
  text-align: center;
  font-size: 13px; color: var(--text-mute);
  flex-wrap: wrap; gap: 12px;
}
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--text-mute); }
.foot-links a:hover { color: var(--accent-bright); }

/* ============== LIGHTBOX ============== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(2, 5, 15, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 96vw; max-height: 90vh;
  border-radius: 12px;
  border: 1px solid var(--border-bright);
  box-shadow: 0 0 80px rgba(78,160,255,0.3), 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  background: rgba(15, 28, 61, 0.85);
  color: #fff;
  font-size: 24px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(78,160,255,0.4); }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-card { order: -1; max-width: 380px; margin: 0 auto; width: 100%; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide, .feature-tall { flex-direction: column; gap: 22px; }
  .feature-wide.reverse { flex-direction: column; }
  .feature-wide .feature-text, .feature-wide .feature-shot,
  .feature-tall .feature-text, .feature-tall .feature-shot { flex: 1 1 100%; max-width: 100%; }
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  section { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 42px; letter-spacing: -1px; }
  .pill-row li { font-size: 12.5px; padding: 6px 11px; }
  .feature, .card, .price { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
