/* ============================================================
   AutoClarity — getautoclarity.com
   Design system: "diagnostic studio" — deep navy, electric blue,
   glass surfaces, restrained motion. System font stack only.
   ============================================================ */

:root {
  /* Ink */
  --bg: #060b18;
  --bg-elev-1: #0a1226;
  --bg-elev-2: #0d1830;

  /* Accent */
  --blue: #2f6bff;
  --blue-bright: #5b8cff;
  --blue-soft: #9db9ff;
  --cyan: #56d4ff;

  /* Text */
  --text: #f4f7ff;
  --text-2: #aab6d3;
  --text-3: #7d89a8;

  /* Semantic */
  --amber: #ffb454;
  --red: #ff6b70;
  --green: #3dd68c;

  /* Surfaces */
  --glass: rgba(148, 176, 255, 0.055);
  --glass-strong: rgba(148, 176, 255, 0.09);
  --line: rgba(148, 176, 255, 0.14);
  --line-soft: rgba(148, 176, 255, 0.08);

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px rgba(2, 6, 18, 0.55);
  --shadow-phone: 0 2px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 90px rgba(2, 6, 18, 0.7), 0 12px 30px rgba(2, 6, 18, 0.5);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space: clamp(76px, 12vw, 148px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }

p { margin: 0; }

a { color: var(--blue-bright); }

::selection { background: rgba(47, 107, 255, 0.45); color: #fff; }

/* ---------- Accessibility helpers ---------- */

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #4079ff 0%, var(--blue) 55%, #2456d8 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 28px rgba(37, 84, 220, 0.38);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 16px 34px rgba(37, 84, 220, 0.5);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 16px rgba(37, 84, 220, 0.4); }

.btn-ghost {
  background: var(--glass);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: var(--glass-strong); border-color: rgba(148, 176, 255, 0.28); }

.btn-lg { padding: 16px 30px; font-size: 17px; border-radius: 16px; }
.btn-xl { padding: 18px 38px; font-size: 18px; border-radius: 18px; }
.btn-nav { padding: 9px 18px; font-size: 15px; border-radius: 12px; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-scrolled {
  background: rgba(7, 12, 26, 0.82);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.nav-brand img { border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--glass); }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(120px, 16vw, 180px) 22px clamp(40px, 6vw, 90px);
  overflow: clip;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero-glow-1 {
  width: 720px; height: 720px;
  top: -320px; left: 50%;
  transform: translateX(-78%);
  background: radial-gradient(circle, rgba(47, 107, 255, 0.34) 0%, rgba(47, 107, 255, 0) 65%);
}
.hero-glow-2 {
  width: 640px; height: 640px;
  top: 60px; right: -260px;
  background: radial-gradient(circle, rgba(86, 178, 255, 0.16) 0%, rgba(86, 178, 255, 0) 65%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 176, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 176, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--blue-soft);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(61, 214, 140, 0.9);
}

.hero h1 {
  font-size: clamp(37px, 5.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.033em;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 33em;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-fineprint {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-3);
}

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 26px 0 0;
}
.hero-chips li {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 18, 38, 0.6);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- Phone ---------- */

.hero-visual { position: relative; }

.phone-scene {
  position: relative;
  width: min(340px, 82vw);
  margin: 0 auto;
  perspective: 1400px;
}

.phone {
  position: relative;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(160deg, #2a3550 0%, #10182c 40%, #0a1122 100%);
  border: 1px solid rgba(170, 195, 255, 0.22);
  box-shadow: var(--shadow-phone);
  transform-style: preserve-3d;
}

.phone-scene .phone {
  transform: rotateY(calc(var(--tilt-x, 0) * 1deg)) rotateX(calc(var(--tilt-y, 0) * 1deg));
  transition: transform 0.25s ease-out;
}

.phone::after {
  /* directional light sweep on the glass */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 46px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 30%);
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  border-radius: 14px;
  background: #05080f;
  z-index: 3;
}

.phone-screen {
  position: relative;
  border-radius: 36px;
  background: #f4f6fb;
  color: #101828;
  padding: 58px 14px 18px;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* in-app UI recreation (light, matches the real app) */
.app-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.app-topbar-center { justify-content: center; text-align: center; }
.app-back { color: #2563eb; font-size: 24px; font-weight: 700; line-height: 1; }
.app-title { display: flex; flex-direction: column; }
.app-title strong { font-size: 15.5px; font-weight: 800; letter-spacing: -0.02em; color: #0f172a; }
.app-title span { font-size: 11.5px; color: #64748b; }

.app-safety {
  border-radius: 16px;
  border: 1px solid #ffd8d9;
  background: #fff1f1;
  padding: 12px 13px;
}
.app-safety-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: #d92d31;
  font-size: 13.5px;
}
.app-safety-head strong { font-weight: 800; }
.app-safety-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #d92d31;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-safety p { font-size: 12px; line-height: 1.5; color: #7f1d1d; }
.app-safety-action { margin-top: 5px; }

.app-card {
  border-radius: 16px;
  border: 1px solid #e6eaf2;
  background: #fff;
  padding: 12px 13px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.app-card-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 5px;
}
.app-issue { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: #0f172a; }

.app-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.app-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d8e4ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
}
.app-pill-amber { background: #fff7e8; border-color: #fde3b3; color: #b45309; }

.app-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #334155;
}
.app-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}
.app-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #2563eb;
}
.app-list-num { counter-reset: steps; }
.app-list-num li { padding-left: 22px; counter-increment: steps; }
.app-list-num li::before {
  content: counter(steps);
  width: 15px; height: 15px;
  left: 0; top: 2px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 6px;
}
.app-tile {
  border-radius: 15px;
  border: 1px solid #e6eaf2;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  padding: 14px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.app-tile-icon {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: #eef4ff;
  color: #2563eb;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-footnote {
  margin-top: auto;
  padding-top: 10px;
  text-align: center;
  font-size: 10.5px;
  color: #64748b;
}

.app-progress {
  height: 5px;
  border-radius: 99px;
  background: #e2e8f0;
  overflow: hidden;
}
.app-progress span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #2563eb, #4e8cff);
}

.app-question { margin-top: 8px; }
.app-question > strong {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 12px;
}
.app-answers { display: flex; flex-direction: column; gap: 8px; }
.app-answer {
  border-radius: 13px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.app-answer.is-picked {
  border-color: #2563eb;
  background: #eef4ff;
  color: #1d4ed8;
  box-shadow: 0 0 0 1px #2563eb inset;
}

/* floating glass chips around the hero phone */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(13, 22, 44, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.float-chip-1 { top: -18px; left: -26px; animation: float-a 7s ease-in-out infinite; }
.float-chip-2 { bottom: -18px; right: -26px; animation: float-b 8s ease-in-out 0.8s infinite; }

.float-chip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.float-dot-green { background: var(--green); box-shadow: 0 0 10px rgba(61, 214, 140, 0.8); }
.float-dot-blue { background: var(--blue-bright); box-shadow: 0 0 10px rgba(91, 140, 255, 0.8); }

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.visual-note {
  position: relative;
  margin-top: 18px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-3);
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

.hero-visual .visual-note { margin-top: 42px; }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-chips { justify-content: center; }
  .hero-visual { margin-top: 26px; }
  .float-chip-1 { left: -10px; top: -16px; }
  .float-chip-2 { right: -10px; bottom: -16px; }
}

@media (max-width: 400px) {
  .float-chip { font-size: 11.5px; padding: 8px 11px; }
  .float-chip-1 { left: -4px; }
  .float-chip-2 { right: -4px; }
}

/* ---------- Sections ---------- */

.section { position: relative; padding: var(--space) 22px; }
.section-alt {
  background: linear-gradient(180deg, rgba(13, 24, 48, 0.55) 0%, rgba(13, 24, 48, 0.15) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-inner { max-width: 1160px; margin: 0 auto; }
.section-narrow { max-width: 860px; text-align: center; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }

.kicker {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.65;
  color: var(--text-2);
}

/* ---------- Demo (how it works) ---------- */

.demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.demo-steps { display: flex; flex-direction: column; gap: 14px; }

.demo-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: var(--glass);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.demo-step:hover { border-color: var(--line); background: var(--glass-strong); }
.demo-step.is-active {
  border-color: rgba(91, 140, 255, 0.55);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.14), rgba(47, 107, 255, 0.05));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 14px 34px rgba(20, 50, 130, 0.35);
}

.demo-step-num {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  color: var(--blue-soft);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
}
.demo-step.is-active .demo-step-num {
  background: linear-gradient(180deg, #4079ff, #2456d8);
  border-color: transparent;
  color: #fff;
}

.demo-step-body { display: flex; flex-direction: column; gap: 4px; }
.demo-step-body strong { font-size: 17px; font-weight: 750; letter-spacing: -0.015em; }
.demo-step-body span { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }

.demo-phone-wrap { display: flex; flex-direction: column; align-items: center; }
.phone-demo { width: min(320px, 80vw); }

.demo-screen[hidden] { display: none; }

.demo-screen.is-entering { animation: screen-in 0.4s ease both; }

@keyframes screen-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 940px) {
  .demo { grid-template-columns: 1fr; }
  .demo-phone-wrap { order: -1; }
}

/* ---------- Feature grid ---------- */

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(148, 176, 255, 0.07), rgba(148, 176, 255, 0.025));
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--line); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(47, 107, 255, 0.16);
  border: 1px solid rgba(91, 140, 255, 0.35);
  color: var(--blue-soft);
  margin-bottom: 16px;
}
.feature-icon svg { width: 23px; height: 23px; }

.feature-card h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

@media (max-width: 940px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Coverage ---------- */

.coverage {
  margin-top: 48px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: var(--glass);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}
.coverage h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 20px; }

.coverage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.coverage-list li {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 18, 38, 0.55);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

/* ---------- Mechanic ---------- */

.mechanic-card {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 160% at 15% 0%, rgba(47, 107, 255, 0.16) 0%, rgba(47, 107, 255, 0) 55%),
    linear-gradient(180deg, rgba(148, 176, 255, 0.06), rgba(148, 176, 255, 0.02));
  box-shadow: var(--shadow-card);
  padding: clamp(30px, 5vw, 56px);
  text-align: center;
}

.mechanic-body {
  font-size: clamp(16.5px, 2vw, 18.5px);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 18px;
}
.mechanic-body:first-of-type { color: var(--text); }

.mechanic-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding: 0;
  margin: 26px 0 0;
}
.mechanic-chips li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(91, 140, 255, 0.4);
  background: rgba(47, 107, 255, 0.12);
  color: var(--blue-soft);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Video ---------- */

.video-shell {
  max-width: 380px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: #000;
}

.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.video-cta { margin-top: 36px; text-align: center; }

/* ---------- Final CTA ---------- */

.final-cta { overflow: clip; }

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 50% 115%, rgba(47, 107, 255, 0.34) 0%, rgba(47, 107, 255, 0) 70%);
  pointer-events: none;
}

.final-cta .section-inner { position: relative; }

.final-icon {
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(2, 6, 18, 0.7);
  margin-bottom: 26px;
}

.final-cta h2 { margin-bottom: 14px; }
.final-cta .section-sub { margin-bottom: 30px; }
.final-cta .hero-fineprint { margin-top: 16px; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 9, 19, 0.7);
  padding: 56px 22px calc(40px + env(safe-area-inset-bottom));
}

.footer-inner { max-width: 1160px; margin: 0 auto; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
.footer-brand img { border-radius: 7px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 640px;
}

.footer-col h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.footer-col p { font-size: 15px; line-height: 1.6; color: var(--text-2); margin-bottom: 8px; }
.footer-col a { color: var(--blue-bright); font-weight: 600; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-muted { color: var(--text-3); font-size: 13.5px; }

.footer-disclaimer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 760px;
}

/* ---------- Reveal on scroll ---------- */
/* Content is fully visible by default; animation applies only
   when JS adds .js-anim to <html> (and reduced motion is off). */

.js-anim .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-anim .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .float-chip-1,
  .float-chip-2 { animation: none !important; }

  .phone-scene .phone { transform: none !important; }

  .js-anim .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
