/* ============================================================
   Chip.IT Mechanical — promotional site
   Self-contained automotive-styled stylesheet.

   Sections:
     1. Tokens & reset
     2. Layout helpers
     3. Buttons
     4. Header / Nav
     5. Hero (with rev-gauge + chip-tap visual)
     6. Carbon-fiber section background
     7. Feature cards + dashboard-style stat tiles
     8. Tech-showcase (chip cutaway + flow diagram)
     9. CTA banner
    10. Contact form (dashboard-cluster styled)
    11. Footer
    12. Reveal-on-scroll + reduced motion
   ============================================================ */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --b-50:    #eef3ff;
  --b-100:   #d8e1f8;
  --b-200:   #b3c4f0;
  --b-500:   #1E50E0;
  --b-600:   #1742bf;
  --b-700:   #0B2E9F;
  --b-900:   #061b66;

  --carbon-0:  #060814;   /* deepest carbon */
  --carbon-1:  #0a0e1a;
  --carbon-2:  #131826;
  --carbon-3:  #1d2336;

  --chrome:    #c7cdda;
  --chrome-2:  #8d96aa;

  --warn:      #f59e0b;   /* dash-light amber */
  --warn-2:    #b45309;
  --led-green: #22c55e;
  --led-red:   #ef4444;

  --ink:    #0b1b3d;
  --ink-2:  #1f2c52;
  --muted:  #5a6478;
  --line:   #e4ebf8;
  --bg:     #f6f9ff;
  --surface:#ffffff;

  --shadow-sm: 0 1px 2px rgba(11, 27, 61, .06), 0 1px 3px rgba(11, 27, 61, .05);
  --shadow:    0 8px 24px rgba(11, 35, 90, .10);
  --shadow-lg: 0 22px 60px rgba(11, 35, 90, .18);
  --shadow-dark: 0 22px 60px rgba(0, 0, 0, .55);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --container: 1180px;
  --fs-display: clamp(2.4rem, 5.6vw, 4.6rem);
  --fs-h2:      clamp(1.85rem, 3.4vw, 2.7rem);
  --fs-h3:      clamp(1.15rem, 1.7vw, 1.35rem);
  --fs-lead:    clamp(1.05rem, 1.4vw, 1.2rem);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Belt-and-braces lock: clip is the modern, layout-safe answer
   * (doesn't create a new scroll context like overflow:hidden does).
   * Browsers that don't grok 'clip' fall back to 'hidden' on the
   * preceding declaration. */
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a   { color: var(--b-500); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--b-500); color: #fff; }

h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.015em;
  margin: 0 0 .6rem;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: var(--fs-display); letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2);     letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); }
p  { margin: 0 0 1rem; color: var(--ink-2); }

/* ---------- 2. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative;
  /* Defensive clip on every section so decorative ::before bg
   * patterns / gradients can't push the document horizontally
   * on phones. Any visual that's intentionally outside the
   * section (none, currently) would need its own opt-in. */
  overflow-x: hidden;
  overflow-x: clip;
}
.section .lede { color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--b-700);
  background: linear-gradient(180deg, var(--b-50), #fff);
  border: 1px solid var(--b-100);
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--led-green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0   rgba(34, 197, 94, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(34, 197, 94, 0);   }
}
.section-h { text-align: center; margin: 0 auto 2.4rem; max-width: 720px; }
.section-h h2 { margin-bottom: .8rem; }
.section-h .lede { margin: 0 auto; }

.muted { color: var(--muted); }

/* ---------- 3. Buttons ---------- */
.btn {
  --b-bg: #fff;
  --b-fg: var(--ink);
  --b-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.3rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid var(--b-bd);
  background: var(--b-bg);
  color: var(--b-fg);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease, color .15s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-lg     { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-sm     { padding: .55rem .9rem;  font-size: .88rem; }

.btn-primary {
  --b-bg: linear-gradient(135deg, var(--b-500), var(--b-700));
  --b-fg: #fff;
  --b-bd: transparent;
  box-shadow: 0 8px 22px rgba(30, 80, 224, .35);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(30, 80, 224, .45); }

.btn-ghost {
  --b-bg: transparent;
  --b-fg: #fff;
  --b-bd: rgba(255,255,255,.45);
}
.btn-ghost.on-light {
  --b-fg: var(--ink);
  --b-bd: var(--line);
}

.btn-amber {
  --b-bg: linear-gradient(135deg, var(--warn), var(--warn-2));
  --b-fg: #1b1300;
  --b-bd: transparent;
  box-shadow: 0 8px 22px rgba(245, 158, 11, .35);
}

/* ---------- 4. Header / Nav ---------- */
.nav {
  position: sticky; top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: .8rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1.08rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.015em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand .dot { color: var(--b-500); }
.nav-links {
  display: none;
  margin-left: 1rem;
  gap: 1.4rem;
  flex: 1;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: .94rem;
  position: relative;
}
.nav-links a:hover { color: var(--b-500); text-decoration: none; }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--b-500), var(--warn));
}
.nav-cta {
  margin-left: auto;
  display: flex; align-items: center; gap: .55rem;
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle:hover { border-color: var(--b-200); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .x { display: none; }
.nav.is-open .nav-toggle .menu { display: none; }
.nav.is-open .nav-toggle .x    { display: block; }

@media (min-width: 880px) {
  .nav-links  { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed; left: 0; right: 0; top: 64px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.4rem;
  box-shadow: 0 12px 40px rgba(11, 35, 90, .18);
  z-index: 55;
}
.nav.is-open + .nav-drawer { display: block; }
.nav-drawer a {
  display: block;
  padding: .75rem .25rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 1.02rem;
}
.nav-drawer a:last-of-type { border-bottom: 0; }
.nav-drawer a:hover { color: var(--b-500); text-decoration: none; }
.nav-drawer .drawer-cta { margin-top: 1rem; display: grid; gap: .55rem; }

@media (min-width: 880px) {
  .nav-drawer { display: none !important; }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 540px at 80% -10%, rgba(30, 80, 224, .14), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(245, 158, 11, .10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding: clamp(3.2rem, 7vw, 6rem) 0 clamp(2.4rem, 6vw, 5rem);
  overflow-x: hidden;
  overflow-x: clip;
}
.hero::before {
  /* subtle racing-stripe diagonal grid */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(30, 80, 224, .035) 0 1px,
      transparent 1px 28px);
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 80%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
}
.hero-title { margin-bottom: 1rem; }
.hero-title .grad {
  background: linear-gradient(135deg, var(--b-500) 0%, var(--warn) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero-lead { font-size: var(--fs-lead); color: var(--ink-2); margin-bottom: 1.6rem; max-width: 56ch; }
.hero-cta {
  display: flex; flex-wrap: wrap; gap: .65rem;
  margin-bottom: 1.4rem;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.1rem 1.4rem;
  margin-top: .4rem;
  font-size: .85rem;
  color: var(--muted);
}
.hero-trust-item { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust-item svg { color: var(--led-green); }

/* Hero visual: rev-gauge + chip-tap card */
.hero-visual {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 460px;
}
.gauge {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.gauge svg { width: 100%; height: 100%; }
/* Anchor the readout in the LOWER half of the dial face (where a
 * real automotive tach prints "RPM × 1000") so the centre pivot +
 * needle never sit on top of the words.                          */
.gauge-label {
  position: absolute;
  top: 58%;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--ink-2);
  pointer-events: none;
  padding: 0 1.5rem;
}
.gauge-value {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
}
.gauge-unit {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--b-700);
  margin-top: .3rem;
}
.gauge-tip {
  display: block;
  font-size: .68rem;
  color: var(--muted);
  margin-top: .45rem;
  line-height: 1.3;
}
@keyframes needleSwing {
  0%, 100% { transform: rotate(-118deg); }
  50%      { transform: rotate(95deg); }
}
.needle { transform-origin: 200px 200px; animation: needleSwing 6.2s ease-in-out infinite; }

.tap-card {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: min(58%, 270px);
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.05rem;
}
.tap-card-h { display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem; }
.tap-card-h img { width: 26px; height: 26px; border-radius: 6px; }
.tap-card-h strong { font-size: .85rem; }
.tap-card-h .hl {
  font-size: .65rem;
  font-weight: 700;
  color: var(--led-green);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-left: auto;
}
.tap-card-row {
  display: flex; justify-content: space-between;
  font-size: .78rem;
  color: var(--ink-2);
  padding: .25rem 0;
  border-top: 1px dashed var(--line);
}
.tap-card-row:first-of-type { border-top: 0; }
.tap-card-row b { color: var(--ink); }

/* ---------- 6. Carbon-fiber section bg ---------- */
.section-dark {
  background:
    radial-gradient(700px 320px at 80% 20%, rgba(30, 80, 224, .25), transparent 60%),
    radial-gradient(500px 260px at 10% 90%, rgba(245, 158, 11, .12), transparent 60%),
    linear-gradient(180deg, var(--carbon-1) 0%, var(--carbon-0) 100%);
  color: #d6dceb;
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, .025) 0 1px,
      transparent 1px 6px),
    repeating-linear-gradient(-45deg,
      rgba(0, 0, 0, .35) 0 1px,
      transparent 1px 6px);
  pointer-events: none;
  opacity: .9;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.4));
}
.section-dark > * { position: relative; }
.section-dark h2,
.section-dark h3,
.section-dark .gauge-value { color: #fff; }
.section-dark p { color: #b6c0d6; }
.section-dark .eyebrow {
  background: linear-gradient(180deg, rgba(30,80,224,.14), rgba(30,80,224,.06));
  border-color: rgba(30, 80, 224, .35);
  color: #b6c0ff;
}

/* ---------- 7. Feature cards + dashboard tiles ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

.feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feat-card::after {
  /* dashboard "pixel" highlight */
  content: '';
  position: absolute;
  inset: auto -40% -40% auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(30, 80, 224, .15), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 80, 224, .35);
  box-shadow: var(--shadow);
}
.feat-card:hover::after { opacity: 1; }
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--b-50), #fff);
  border: 1px solid var(--b-100);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--b-700);
  margin-bottom: 1rem;
}
.feat-card h3 { color: var(--ink); margin-bottom: .35rem; }
.feat-card p  { font-size: .94rem; margin: 0; }

.section-dark .feat-card {
  background: linear-gradient(180deg, var(--carbon-2) 0%, var(--carbon-3) 100%);
  border-color: rgba(255, 255, 255, .07);
  color: #d6dceb;
}
.section-dark .feat-card h3 { color: #fff; }
.section-dark .feat-card p  { color: #aab3c9; }
.section-dark .feat-icon {
  background: linear-gradient(135deg, rgba(30, 80, 224, .25), rgba(30, 80, 224, .05));
  border-color: rgba(30, 80, 224, .35);
  color: #b6c0ff;
}

/* Dashboard-style stat cluster */
.cluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  margin-top: 1rem;
}
@media (min-width: 720px) { .cluster { grid-template-columns: repeat(4, 1fr); } }

.cl-tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .02) 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 1.1rem 1.05rem;
  position: relative;
  overflow: hidden;
}
.cl-tile .led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--led-green);
  box-shadow: 0 0 8px var(--led-green);
  position: absolute;
  top: 14px; right: 14px;
}
.cl-tile .led.amber { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.cl-tile .led.red   { background: var(--led-red); box-shadow: 0 0 8px var(--led-red); }
.cl-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chrome-2);
}
.cl-value {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  margin-top: .25rem;
  line-height: 1.1;
}
.cl-sub { font-size: .76rem; color: var(--chrome-2); margin-top: .3rem; }

/* "Anything with an engine" type grid */
.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media (min-width: 600px)  { .types-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px)  { .types-grid { grid-template-columns: repeat(6, 1fr); } }

.type {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem .9rem;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.type:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 80, 224, .35);
  box-shadow: var(--shadow-sm);
}
.type-emoji { font-size: 1.6rem; margin-bottom: .3rem; }
.type-name  { font-size: .85rem; font-weight: 600; color: var(--ink-2); }

/* ---------- 8. Tech-showcase ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}
@media (min-width: 980px) { .tech-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }

.tech-flow {
  display: grid;
  gap: 1rem;
}
.tech-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  position: relative;
}
.tech-step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--b-500), var(--b-700));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 22px rgba(30, 80, 224, .35);
}
.tech-step h3 { color: #fff; margin-bottom: .25rem; }
.tech-step p  { color: #aab3c9; margin: 0; font-size: .94rem; }

.chip-visual {
  position: relative;
  background:
    radial-gradient(450px 240px at 30% 30%, rgba(30, 80, 224, .35), transparent 60%),
    radial-gradient(380px 200px at 80% 80%, rgba(245, 158, 11, .25), transparent 60%),
    linear-gradient(180deg, var(--carbon-2), var(--carbon-3));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  padding: 2rem 1.4rem 2.4rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-dark);
}
.chip-visual::before {
  /* concentric NFC rings */
  content: '';
  position: absolute;
  left: 50%; top: 38%;
  width: 460px; height: 460px;
  margin-left: -230px; margin-top: -230px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center,
      rgba(30, 80, 224, .25) 0 1px,
      transparent 1px 28px);
  mask: radial-gradient(circle at center, #000 0 200px, transparent 220px);
  pointer-events: none;
  z-index: 0;
  animation: ringDrift 18s linear infinite;
}
@keyframes ringDrift { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.chip-visual img {
  width: clamp(150px, 30vw, 200px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55));
}
.chip-stamp {
  display: inline-block;
  margin-top: 1rem;
  padding: .35rem .8rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chrome);
  background: rgba(0, 0, 0, .35);
  position: relative; z-index: 1;
}
.chip-stamp .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--led-green);
  box-shadow: 0 0 8px var(--led-green);
  margin-right: .45rem;
}

/* ---------- 9. CTA banner ---------- */
.cta {
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .18), transparent 50%),
    linear-gradient(135deg, var(--b-700), var(--b-500));
  color: #fff;
  text-align: center;
  border-radius: 28px;
  padding: clamp(2.6rem, 6vw, 4.5rem) 1.5rem;
  margin: 0 1rem;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg,
    rgba(255, 255, 255, .05) 0 1px,
    transparent 1px 18px);
  pointer-events: none;
}
.cta h2 { color: #fff; margin: 0 0 .8rem; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0 auto 1.6rem; max-width: 640px; font-size: var(--fs-lead); }
.cta .btn-primary {
  --b-bg: #fff;
  --b-fg: var(--b-700);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.cta .btn-primary:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .24); }
.cta .btn-ghost {
  --b-fg: #fff;
  --b-bd: rgba(255, 255, 255, .45);
  --b-bg: rgba(255, 255, 255, .06);
}

/* ---------- 10. Contact form (dashboard cluster styled) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 3rem; } }

.contact-info {
  background: linear-gradient(180deg, var(--carbon-2), var(--carbon-3));
  color: #d6dceb;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg,
    rgba(255, 255, 255, .025) 0 1px,
    transparent 1px 7px);
  pointer-events: none;
}
.contact-info h2 { color: #fff; }
.contact-info p  { color: #aab3c9; }
.contact-info .info-rows {
  margin-top: 1.2rem;
  display: grid;
  gap: .8rem;
}
.info-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: .85rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-top: 1px dashed rgba(255, 255, 255, .12);
}
.info-row:first-of-type { border-top: 0; padding-top: 0; }
.info-row svg { color: var(--warn); width: 22px; height: 22px; margin-top: 2px; }
.info-row .info-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chrome-2);
  margin-bottom: 2px;
}
.info-row .info-value {
  color: #fff;
  font-weight: 600;
  word-break: break-word;
}
.info-row a { color: var(--warn); }
.info-row a:hover { color: #fbbf24; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 720px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field {
  display: grid;
  gap: .35rem;
}
.field label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--b-500);
  box-shadow: 0 0 0 4px rgba(30, 80, 224, .15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: .8rem; color: var(--muted); margin-top: .15rem; }

.form-foot {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: space-between;
  align-items: center;
}
.form-foot .legal { font-size: .82rem; color: var(--muted); max-width: 28em; }

.form-msg {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  font-size: .92rem;
  border: 1px solid transparent;
  display: none;
}
.form-msg.ok {
  display: block;
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.form-msg.err {
  display: block;
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* ---------- 11. Footer ---------- */
footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  background: #fff;
}
.foot-grid {
  display: flex; flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.foot-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 600; }
.foot-brand img { width: 26px; height: 26px; border-radius: 6px; }
.foot-links {
  display: flex; flex-wrap: wrap; gap: .8rem 1.2rem;
}
footer a { color: var(--ink-2); }
footer a:hover { color: var(--b-700); }

/* ---------- 12. Reveal-on-scroll + reduced motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .needle { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =============================================================
   13. SECONDARY SHOWCASE — phone mockup with floating NFC chip
   Pulled from the original landing page hero (the user wants
   that visual preserved as a "later in the page" showcase).
   ============================================================= */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.6rem);
  align-items: center;
}
@media (min-width: 980px) {
  .preview-grid { grid-template-columns: 1fr 1.05fr; }
  .preview-grid.flip { grid-template-columns: 1.05fr 1fr; }
  .preview-grid.flip .preview-text { order: 2; }
  .preview-grid.flip .preview-visual { order: 1; }
}

.preview-visual {
  position: relative;
  perspective: 1400px;
  min-height: 480px;
  padding: 1rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* The phone */
.phone {
  position: relative;
  width: min(320px, 84%);
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  background: linear-gradient(160deg, #1a2240, #0b1b3d);
  box-shadow:
    0 38px 80px rgba(11, 35, 90, .32),
    inset 0 0 0 2px rgba(255, 255, 255, .06);
  transform: rotate(-3.5deg);
  transition: transform .6s ease;
}
.phone::after {
  /* notch */
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0b1b3d;
  border-radius: 0 0 14px 14px;
}
.phone-screen {
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f6f9ff, #fff);
  overflow: hidden;
  padding: 38px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-h {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--b-500), var(--b-700));
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
}
.phone-h img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #fff;
  padding: 2px;
}
.phone-h-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.phone-h-title { font-size: 11px; font-weight: 700; }
.phone-h-sub   { font-size: 9px;  opacity: .8; margin-top: 2px; }

.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 10px;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(11, 27, 61, .04);
}
.phone-row .ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ico.green { background: rgba(56, 193, 114, .14); color: #1a8c4e; }
.ico.blue  { background: rgba(30, 80, 224, .14); color: var(--b-700); }
.ico.amber { background: rgba(245, 158, 11, .18); color: var(--warn-2); }
.phone-row strong { display: block; font-size: 10.5px; }
.phone-row .meta  { color: var(--muted); font-size: 9.5px; margin-top: 1px; }
.phone-row .pill {
  margin-left: auto;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 99px;
  background: var(--b-50);
  color: var(--b-700);
  font-weight: 600;
}

/* Floating chip + NFC ripples */
.chip-float {
  position: absolute;
  right: -10px;
  bottom: 8%;
  width: 150px;
  height: 150px;
  transform: rotate(-12deg);
  animation: chipFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(11, 35, 90, .25));
  z-index: 2;
}
.chip-float img { width: 100%; height: 100%; object-fit: contain; }
@keyframes chipFloat {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50%      { transform: rotate(-9deg)  translateY(-14px); }
}
.ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(30, 80, 224, .35);
  pointer-events: none;
  animation: rippleOut 2.4s ease-out infinite;
}
.ripple.r1 { right: 30px; bottom: 16%; width: 100px; height: 100px; animation-delay: 0s; }
.ripple.r2 { right: 30px; bottom: 16%; width: 100px; height: 100px; animation-delay: .6s; }
.ripple.r3 { right: 30px; bottom: 16%; width: 100px; height: 100px; animation-delay: 1.2s; }
@keyframes rippleOut {
  0%   { transform: scale(.4);  opacity: .8; }
  100% { transform: scale(2.2); opacity: 0;  }
}
@media (max-width: 720px) {
  .preview-visual { min-height: 420px; }
  .chip-float { right: 4%;  bottom: 4%;  width: 110px; height: 110px; }
  .ripple    { right: 14px; bottom: 12%; }
}

/* =============================================================
   14. STEPS — the "How it works" 4-up
   ============================================================= */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 720px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  counter-increment: step;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 80, 224, .35);
  box-shadow: var(--shadow);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -10px;
  left: 1.4rem;
  background: linear-gradient(135deg, var(--b-500), var(--b-700));
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: .25rem .7rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(30, 80, 224, .3);
}
.step h3 { color: var(--ink); margin: .35rem 0 .35rem; }
.step p  { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* =============================================================
   15. TRANSFER / SELL-THE-TRUCK
   ============================================================= */
.sell-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: stretch;
}
@media (min-width: 980px) { .sell-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }

.sell-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.sell-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .8rem;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: .96rem;
}
.sell-list li svg {
  width: 24px;
  height: 24px;
  color: var(--b-500);
  flex-shrink: 0;
  margin-top: 2px;
}
.sell-list code,
.kbd {
  background: #fff7e6;
  border: 1px solid #f1d186;
  color: #c8770b;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .04em;
}

.sell-card {
  background: linear-gradient(180deg, #fff, #f6f9ff);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  align-self: center;
  width: 100%;
}
.sell-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  font-size: .9rem;
  box-shadow: 0 1px 3px rgba(11, 27, 61, .04);
}
.sell-row .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sell-row strong { display: block; color: var(--ink); }
.sell-row .meta  { color: var(--muted); font-size: .82rem; margin-top: 1px; }

/* =============================================================
   16. STOLEN / RECOVERY (red-themed)
   ============================================================= */
.stolen-section {
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(220, 38, 38, .08), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(245, 158, 11, .06), transparent 55%),
    linear-gradient(180deg, #fff7f7, #ffffff);
  border-top: 1px solid #fecaca;
  border-bottom: 1px solid #fecaca;
}
.stolen-section .section-h .eyebrow {
  background: linear-gradient(180deg, #ffe4e6, #fff5f5);
  border-color: rgba(220, 38, 38, .25);
  color: #b91c1c;
}
.stolen-section .section-h .eyebrow .pulse {
  background: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, .55);
  animation-name: stolenPulse;
}
@keyframes stolenPulse {
  0%   { box-shadow: 0 0 0 0   rgba(220, 38, 38, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);  }
  100% { box-shadow: 0 0 0 0   rgba(220, 38, 38, 0);   }
}

.stolen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: stretch;
}
@media (min-width: 980px) { .stolen-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }

.stolen-checks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.stolen-checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .8rem;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: .96rem;
}
.stolen-checks li svg {
  width: 24px;
  height: 24px;
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 2px;
}
.stolen-checks code {
  background: #fff7e6;
  border: 1px solid #f1d186;
  color: #c8770b;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* Public recovery-screen mockup */
.recovery-card {
  background: linear-gradient(160deg, #fff, #fef2f2);
  border: 1px solid #fca5a5;
  border-left: 6px solid #dc2626;
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 22px 60px rgba(220, 38, 38, .18);
  color: #7f1d1d;
  align-self: center;
  width: 100%;
}
.recovery-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.2rem;
}
.recovery-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: recoveryRingPulse 2s ease-in-out infinite;
}
@keyframes recoveryRingPulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(220, 38, 38, .55); }
  50%      { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);  }
}
.recovery-card-eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b91c1c;
  background: rgba(255, 255, 255, .65);
  padding: .15rem .55rem;
  border-radius: 999px;
  margin-bottom: 5px;
}
.recovery-card-title {
  margin: 0;
  font-size: 1.15rem;
  color: #7f1d1d;
  line-height: 1.25;
}
.recovery-card-sub {
  margin: 4px 0 0;
  font-size: .85rem;
  color: #991b1b;
  line-height: 1.5;
}

.recovery-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
  margin: 0;
}
@media (min-width: 520px) { .recovery-rows { grid-template-columns: 1fr 1fr; } }
.recovery-row {
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(252, 165, 165, .55);
  border-radius: 12px;
  padding: .7rem .85rem;
}
.recovery-row dt {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #b91c1c;
  margin-bottom: 3px;
}
.recovery-row dd {
  margin: 0;
  font-size: .92rem;
  font-weight: 600;
  color: #0b1b3d;
  word-break: break-word;
}
.recovery-row code {
  background: #fef2f2;
  border: 1px solid rgba(252, 165, 165, .55);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .85em;
}
.recovery-toast {
  margin-top: 1.1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .65rem .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.recovery-toast .dot-anim {
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  flex-shrink: 0;
  animation: recoveryRingPulse 1.4s ease-in-out infinite;
}

/* Footer disclaimer text under stolen section */
.stolen-disclaimer {
  margin-top: 1.4rem;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

/* =============================================================
   17. TAP DEMO — single chip with animated NFC rings
   ============================================================= */
.tap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 980px) { .tap-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }

.tap-anim {
  position: relative;
  height: 320px;
  display: grid;
  place-items: center;
}
.tap-anim .puck {
  position: relative;
  width: 150px;
  height: 150px;
  z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(11, 35, 90, .25));
}
.tap-anim .puck img { width: 100%; height: 100%; object-fit: contain; }
.tap-anim .ring {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(30, 80, 224, .4);
  animation: tapRing 2.4s ease-out infinite;
  pointer-events: none;
}
.tap-anim .ring.r2 { animation-delay: .6s;  }
.tap-anim .ring.r3 { animation-delay: 1.2s; }
@keyframes tapRing {
  0%   { transform: scale(.7);  opacity: .9; }
  100% { transform: scale(2.4); opacity: 0;  }
}

/* =============================================================
   18. STOLEN MINI — compact callout
   Replaces the full-width red-banner section with a calmer
   two-column block. Less visual weight, faster read.
   ============================================================= */
.stolen-mini {
  background: linear-gradient(180deg, #fffafa 0%, #ffffff 100%);
  border-top: 1px solid #fee2e2;
  border-bottom: 1px solid #fee2e2;
  padding: clamp(2.2rem, 5vw, 3.4rem) 0;
}

.stolen-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: center;
}
@media (min-width: 880px) {
  .stolen-mini-grid { grid-template-columns: 1.15fr .85fr; gap: 2.4rem; }
}

.stolen-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: .3rem .65rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.stolen-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, .55);
  animation: stolenPulse 1.8s ease-out infinite;
}

.stolen-mini-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 .55rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.stolen-mini-lede {
  margin: 0 0 1rem;
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.55;
}

.stolen-mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.stolen-mini-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .65rem;
  align-items: center;
  color: var(--ink-2);
  font-size: .92rem;
}
.stolen-mini-list li svg {
  width: 20px;
  height: 20px;
  color: #dc2626;
  flex-shrink: 0;
}

/* Compact version of recovery card used inside the mini stolen block */
.recovery-card.recovery-mini {
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(220, 38, 38, .12);
  align-self: stretch;
}
.recovery-mini .recovery-card-head {
  margin-bottom: .85rem;
  gap: 11px;
}
.recovery-mini .recovery-card-icon {
  width: 38px;
  height: 38px;
}
.recovery-mini .recovery-card-icon svg {
  width: 18px;
  height: 18px;
}
.recovery-mini .recovery-card-title { font-size: 1rem; }
.recovery-mini .recovery-rows {
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.recovery-mini .recovery-row { padding: .55rem .7rem; }
.recovery-mini .recovery-row dd { font-size: .85rem; }
.recovery-mini .recovery-toast {
  margin-top: .85rem;
  font-size: .76rem;
  padding: .5rem .7rem;
}

/* =============================================================
   19. MOBILE PASS — comprehensive small-screen polish
   The site is mobile-first by default, but these breakpoints
   tighten typography, cluster sizes, padding and stack things
   that would otherwise overlap or wrap awkwardly on phones.
   ============================================================= */

/* Hide the inline nav buttons on phones — the hamburger drawer
   already has them. Keeps the topbar from wrapping at narrow widths. */
@media (max-width: 879px) {
  .nav-cta-inline { display: none !important; }
}

/* Phone-sized refinements (iPhone SE / Galaxy A and up) */
@media (max-width: 720px) {
  .wrap        { padding: 0 1rem; }
  .section     { padding: clamp(2.2rem, 6vw, 3.4rem) 0; }
  .section-h   { margin-bottom: 1.6rem; }

  /* Hero — tighter padding, smaller display title */
  .hero {
    padding: clamp(2rem, 7vw, 3rem) 0 clamp(1.5rem, 5vw, 2.5rem);
  }
  .hero-grid { gap: 1.6rem; }
  h1.hero-title { font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.08; }
  .hero-lead    { font-size: .98rem; margin-bottom: 1.2rem; }

  /* Buttons stack and go full-width on phones for big tap targets */
  .hero-cta { flex-direction: column; align-items: stretch; gap: .55rem; }
  .hero-cta .btn,
  .hero-cta .btn-lg { width: 100%; padding: .9rem 1.2rem; font-size: .98rem; justify-content: center; }
  .btn-lg { padding: .9rem 1.3rem; font-size: 1rem; }

  /* Hero gauge sized to viewport, tap-card flows BELOW it (no overlap) */
  .hero-visual { max-width: 360px; }
  .gauge-value { font-size: 2.2rem; }
  .gauge-tip   { font-size: .72rem; }
  .tap-card {
    position: static;
    width: 100%;
    max-width: 360px;
    margin: 1rem auto 0;
    box-shadow: var(--shadow);
  }

  /* Trust row tighter */
  .hero-trust { gap: .65rem 1rem; margin-top: .25rem; font-size: .82rem; }

  /* Feature cards padding tightened */
  .feat-card { padding: 1.15rem 1.15rem 1.3rem; }
  .feat-card h3 { font-size: 1.05rem; }
  .feat-card p  { font-size: .9rem; }

  /* Tech showcase chip + flow */
  .chip-visual { padding: 1.4rem 1rem 1.6rem; border-radius: var(--radius-lg); }
  .chip-visual img { width: 130px; }
  .tech-step { padding: .85rem .95rem; gap: .8rem; grid-template-columns: 44px 1fr; }
  .tech-step-num { width: 38px; height: 38px; font-size: 1rem; }

  /* Cluster — stays 2x2 but tighter */
  .cluster { gap: .65rem; }
  .cl-tile { padding: .9rem .85rem; }
  .cl-value { font-size: 1.3rem; }
  .cl-label { font-size: .62rem; }
  .cl-sub   { font-size: .7rem; }

  /* Phone preview section */
  .preview-grid   { gap: 1.4rem; }
  .preview-visual { min-height: 380px; padding: .25rem; overflow: hidden; }
  .phone          { width: min(280px, 80%); }
  .chip-float     { width: 95px; height: 95px; right: 2%; bottom: 4%; }
  .ripple.r1, .ripple.r2, .ripple.r3 { right: 8px; bottom: 14%; width: 88px; height: 88px; }
  .sell-list li { font-size: .9rem; }

  /* Steps — single column, tighter */
  .step { padding: 1.2rem 1.15rem; }
  .step h3 { font-size: 1.05rem; }
  .step p  { font-size: .9rem; }

  /* Transfer / Sell card */
  .sell-card { padding: 1.05rem 1.15rem; gap: .55rem; }
  .sell-row { padding: .75rem .85rem; font-size: .85rem; gap: .6rem; }
  .sell-row .ico { width: 30px; height: 30px; border-radius: 8px; }

  /* Stolen mini — keep both columns visible, just smaller */
  .stolen-mini-grid { gap: 1.2rem; }
  .stolen-mini-title { font-size: 1.35rem; }
  .stolen-mini-lede  { font-size: .92rem; }
  .stolen-mini-list li { font-size: .88rem; }
  .recovery-card.recovery-mini { padding: .95rem 1rem; }
  .recovery-mini .recovery-rows { grid-template-columns: 1fr 1fr; gap: .4rem; }

  /* Types grid stays 2-col on smallest, types padding tightened */
  .types-grid { gap: .55rem; }
  .type { padding: .9rem .7rem; }
  .type-emoji { font-size: 1.4rem; }
  .type-name  { font-size: .8rem; }

  /* Final CTA banner */
  .cta { padding: clamp(2rem, 7vw, 3rem) 1.2rem; margin: 0 .25rem; border-radius: 22px; }
  .cta h2 { font-size: 1.5rem; }
  .cta p  { font-size: .98rem; margin-bottom: 1.2rem; }

  /* Footer */
  footer { padding: 2rem 0 1.4rem; }
  .foot-grid { flex-direction: column; align-items: flex-start; gap: .9rem; text-align: left; }
  .foot-links { gap: .55rem 1rem; }

  /* Contact form (when present) */
  .form-card    { padding: 1.4rem 1.15rem; }
  .contact-info { padding: 1.4rem 1.2rem; }
  .form-row.two { grid-template-columns: 1fr; }
  .form-foot    { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; justify-content: center; }
  .form-foot .legal { order: 2; text-align: center; max-width: none; }
}

/* Smallest phones — iPhone mini, narrow Androids */
@media (max-width: 420px) {
  .brand          { font-size: .95rem; gap: .45rem; }
  .brand img      { width: 26px; height: 26px; }
  .nav-toggle     { width: 38px; height: 38px; }
  .hero-trust     { font-size: .78rem; }
  h1.hero-title   { font-size: clamp(1.8rem, 9vw, 2.2rem); }
  .gauge-value    { font-size: 1.9rem; }
  .gauge-unit     { font-size: .62rem; }
  .gauge-tip      { font-size: .68rem; }
  .types-grid     { grid-template-columns: repeat(2, 1fr); }
  .cluster        { grid-template-columns: 1fr; }
  .stolen-mini-grid { gap: 1rem; }
  .recovery-mini .recovery-rows { grid-template-columns: 1fr; }
}
