/* ==========================================================================
   OnFire Cars — cars.onfire.so landing page
   Design system derived from OnFire style.md:
   - Brand gradient  #FF6B1F -> #FFCE54
   - Dark text       #222222
   - Low contrast    #707781
   - SF Pro (system font stack on web)
   - Premium feel: layered soft shadows, 4/8px grid, easeOutCubic motion
   ========================================================================== */

/* ------------------------------- Tokens ---------------------------------- */
:root {
  /* Brand */
  --orange: #ff6b1f;
  --orange-deep: #f4520a;
  --yellow: #ffce54;
  --brand-gradient: linear-gradient(120deg, #ff6b1f 0%, #ff8a3d 45%, #ffce54 100%);
  --brand-gradient-soft: linear-gradient(120deg, rgba(255,107,31,0.12), rgba(255,206,84,0.12));

  /* Ink */
  --ink: #222222;
  --ink-soft: #3a3d42;
  --muted: #707781;
  --muted-2: #9aa0a8;

  /* Surfaces */
  --bg: #ffffff;
  --bg-tint: #fbf7f2;      /* warm off-white */
  --bg-tint-2: #fff6ec;    /* faint orange wash */
  --surface: #ffffff;
  --line: #ececf0;
  --line-soft: #f2f2f5;
  --grey-light: #f0f0f5;

  /* System */
  --blue: #2d71ec;
  --green: #27ae60;
  --red: #ff3b30;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow — always layered, never a single harsh drop */
  --shadow-sm: 0 1px 2px rgba(20,20,30,0.04), 0 2px 8px rgba(20,20,30,0.05);
  --shadow-md: 0 1px 3px rgba(20,20,30,0.05), 0 10px 30px rgba(20,20,30,0.08);
  --shadow-lg: 0 2px 6px rgba(20,20,30,0.06), 0 24px 60px rgba(20,20,30,0.12);
  --shadow-brand: 0 8px 20px rgba(255,107,31,0.28), 0 2px 6px rgba(255,107,31,0.20);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);      /* easeOutCubic-ish */
  --ease-spring: cubic-bezier(0.34, 1.3, 0.5, 1); /* gentle overshoot */

  /* Layout */
  --maxw: 1200px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ------------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid rgba(45,113,236,0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --------------------------- Layout helpers ------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--brand-gradient-soft);
  padding: 7px 14px; border-radius: var(--r-pill);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-gradient);
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

h2.title {
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin-top: 18px;
}
.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  margin-top: 16px;
}
.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ------------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: var(--r-pill);
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.22s var(--ease), background 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary {
  color: #fff; background: var(--brand-gradient);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,107,31,0.36), 0 3px 8px rgba(255,107,31,0.24); }
.btn-ghost {
  color: var(--ink); background: #fff; border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #dcdce2; }
.btn-dark { color: #fff; background: var(--ink); }
.btn-dark:hover { transform: translateY(-2px); background: #000; box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 30px; font-size: 17px; }

/* ------------------------------- Navbar ---------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(20,20,30,0.02), 0 8px 24px rgba(20,20,30,0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-gradient); box-shadow: var(--shadow-brand); color: #fff;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand small { font-weight: 600; color: var(--muted); font-size: 12px; letter-spacing: 0.02em; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color 0.18s var(--ease); }
.nav-links a:hover { color: var(--orange-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ------------------------------- Hero ------------------------------------ */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(60px, 8vw, 120px); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(255,206,84,0.30), transparent 60%),
    radial-gradient(55% 50% at 8% 12%, rgba(255,107,31,0.20), transparent 55%),
    linear-gradient(180deg, #fff7ee 0%, #ffffff 62%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; z-index: -1;
}
.hero-blob.a { width: 420px; height: 420px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(255,107,31,0.5), transparent 70%); }
.hero-blob.b { width: 360px; height: 360px; left: -120px; top: 120px; background: radial-gradient(circle, rgba(255,206,84,0.55), transparent 70%); }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 700;
  margin-top: 22px;
}
.hero .lede { max-width: 30ch; margin-top: 22px; font-size: clamp(17px, 1.9vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px 26px; margin-top: 30px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); font-weight: 500; }
.hero-trust svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* Search card */
.search {
  margin-top: 30px; background: #fff; border-radius: var(--r-lg);
  padding: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft);
}
.search-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; }
.field {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px; border-radius: var(--r-md); background: var(--bg-tint);
  border: 1px solid transparent; transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
  min-width: 0;
}
.field:focus-within { background: #fff; border-color: var(--orange); }
.field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.field .fld-input { display: flex; align-items: center; gap: 8px; }
.field .fld-input svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.field input {
  border: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink);
  width: 100%; padding: 0; min-width: 0;
}
.field input::placeholder { color: var(--muted-2); font-weight: 500; }
.field input:focus { outline: none; }
.search-submit {
  border: 0; border-radius: var(--r-md); background: var(--brand-gradient); color: #fff;
  padding: 0 22px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-brand); transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
}
.search-submit svg { width: 18px; height: 18px; }
.search-submit:hover { transform: translateY(-1px); }
.search-submit:active { transform: translateY(1px) scale(0.99); }
.search-note { font-size: 12.5px; color: var(--muted); margin: 12px 6px 2px; display: flex; align-items: center; gap: 6px; }
.search-note svg { width: 14px; height: 14px; color: var(--orange); }

/* Hero visual (right) */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
  background: var(--brand-gradient);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.img-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  background: linear-gradient(150deg, #ffb26b, #ff6b1f 55%, #ffce54);
}
.img-fallback svg { width: 42%; height: 42%; color: rgba(255,255,255,0.9); }
/* Remote photo layers above its gradient fallback; on load error, app.js adds
   .is-fallback which hides the img and reveals the on-brand placeholder. */
[data-fallback] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-fallback].is-fallback > img { opacity: 0; }

/* Floating stat card over hero photo */
.float-card {
  position: absolute; background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--r-md); padding: 13px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.float-card .fc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-gradient-soft); color: var(--orange-deep); flex: none; }
.float-card .fc-ic svg { width: 20px; height: 20px; }
.float-card strong { font-size: 15px; display: block; letter-spacing: -0.01em; }
.float-card span { font-size: 12px; color: var(--muted); }
.float-card.tl { top: 22px; left: -26px; }
.float-card.br { bottom: 26px; right: -22px; }

/* ------------------------------ Stat strip ------------------------------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-tint); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 40px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.03em; }
.stat .lbl { font-size: 14px; color: var(--muted); margin-top: 4px; font-weight: 500; }

/* ----------------------------- Categories -------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm); background: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: block;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,0.68) 100%); }
.cat-card .cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; z-index: 1; }
.cat-card .cat-body h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.cat-card .cat-body p { font-size: 13px; color: rgba(255,255,255,0.82); margin-top: 3px; }
.cat-card .cat-chip {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: 12px; font-weight: 700; color: #fff; padding: 6px 11px; border-radius: var(--r-pill);
  background: rgba(0,0,0,0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cat-card .cat-chip.ev { background: rgba(39,174,96,0.9); }

/* ------------------------- Split / two-audience -------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lg); background: var(--brand-gradient);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Steps */
.steps { display: grid; gap: 14px; margin-top: 28px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-n {
  flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  font-weight: 700; font-size: 16px; color: #fff; background: var(--brand-gradient); box-shadow: var(--shadow-brand);
}
.step-txt h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 3px 0 3px; }
.step-txt p { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Feature bullets */
.feats { display: grid; gap: 12px; margin-top: 26px; }
.feat { display: flex; gap: 12px; align-items: flex-start; }
.feat .fi { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-gradient-soft); color: var(--orange-deep); }
.feat .fi svg { width: 15px; height: 15px; }
.feat p { font-size: 15.5px; color: var(--ink-soft); }
.feat p strong { color: var(--ink); font-weight: 600; }

/* ----------------------------- Host earnings ----------------------------- */
.host {
  color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 15% 0%, #2a2118 0%, #1a1a1e 55%, #131317 100%);
}
.host .eyebrow { color: #ffd68a; background: rgba(255,206,84,0.12); }
.host .lede { color: rgba(255,255,255,0.72); }
.host h2.title { color: #fff; }
.host-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.earn-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl); padding: 30px; backdrop-filter: blur(8px);
}
.earn-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.earn-top span { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 600; }
.earn-badge { font-size: 12px; font-weight: 700; color: #0d0d10; background: var(--yellow); padding: 5px 11px; border-radius: var(--r-pill); }
.earn-amount { font-size: clamp(40px, 6vw, 58px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.earn-amount .grad-text { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.earn-sub { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 8px; }
.earn-slider { margin-top: 26px; }
.earn-slider label { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 600; display: flex; justify-content: space-between; margin-bottom: 10px; }
.earn-slider label b { color: #fff; }
input[type="range"].range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.16); outline: none;
}
input[type="range"].range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-gradient); box-shadow: var(--shadow-brand); cursor: pointer; border: 3px solid #fff;
}
input[type="range"].range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #ff6b1f; box-shadow: var(--shadow-brand); cursor: pointer; border: 3px solid #fff;
}
.earn-wallet {
  margin-top: 22px; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,206,84,0.08); border: 1px solid rgba(255,206,84,0.2);
}
.earn-wallet svg { width: 22px; height: 22px; color: var(--yellow); flex: none; }
.earn-wallet p { font-size: 13.5px; color: rgba(255,255,255,0.82); }
.earn-wallet strong { color: #fff; }

/* ------------------------------ Trust cards ------------------------------ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.trust-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow-brand); margin-bottom: 16px; }
.trust-ic svg { width: 24px; height: 24px; }
.trust-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.trust-card p { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ----------------------------- Testimonials ------------------------------ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
}
.quote .stars { display: flex; gap: 3px; color: var(--yellow); }
.quote .stars svg { width: 17px; height: 17px; }
.quote p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; background: var(--brand-gradient); flex: none; }
.quote .who b { font-size: 14.5px; font-weight: 600; display: block; }
.quote .who span { font-size: 13px; color: var(--muted); }

/* ------------------------------- Final CTA ------------------------------- */
.cta {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: var(--brand-gradient);
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background: radial-gradient(50% 60% at 80% 20%, rgba(255,255,255,0.35), transparent 60%),
              radial-gradient(45% 55% at 10% 90%, rgba(255,255,255,0.22), transparent 60%);
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; max-width: 16ch; margin-inline: auto; }
.cta p { font-size: clamp(16px, 1.8vw, 20px); color: rgba(255,255,255,0.9); margin-top: 18px; max-width: 46ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* App-store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px; border-radius: 14px;
  background: #111; color: #fff; transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.08);
}
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge .bt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.badge .bt small { font-size: 10px; opacity: 0.8; font-weight: 500; }
.badge .bt strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.cta .badge { background: #111; }

/* ------------------------------- Footer ---------------------------------- */
.footer { background: #0f0f12; color: rgba(255,255,255,0.7); padding-block: 64px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px 24px; }
.footer .brand { color: #fff; }
.footer-about { margin-top: 16px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.55); max-width: 30ch; }
.footer-badges { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,0.72); padding: 6px 0; transition: color 0.16s var(--ease); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.09);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 13.5px; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { font-size: 13.5px; color: rgba(255,255,255,0.55); }
.footer-legal a:hover { color: var(--yellow); }
.footer-note { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 14px; line-height: 1.5; }

/* ------------------------------ Reveal anim ------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* Mobile menu sheet */
.mobile-menu { display: none; }

/* ------------------------------ Responsive ------------------------------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero .lede { max-width: 46ch; }
  .host-grid { grid-template-columns: 1fr; }
}
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .search-row { grid-template-columns: 1fr 1fr; }
  .search-submit { grid-column: 1 / -1; padding: 15px; }
  .float-card { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .cat-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 1fr; }
}

/* Mobile menu open state (toggled by JS) */
body.menu-open { overflow: hidden; }
.mobile-menu {
  position: fixed; inset: 68px 0 0; z-index: 90; background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 28px var(--gutter); flex-direction: column; gap: 6px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
body.menu-open .mobile-menu { display: flex; opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-size: 20px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .cat-card, .cat-card img, .trust-card, .badge { transition: none !important; }
}
