/* =========================================================================
   lookingtobuya.com — Phase 1 design system
   Liquid-glass aesthetic · vanilla CSS · mobile-first · CWV-tuned
   -------------------------------------------------------------------------
   1.  Tokens (color · type · spacing · radius · shadow · motion)
   2.  Reset & base
   3.  Typography
   4.  Layout primitives (container, section, grid)
   5.  Glass primitives
   6.  Buttons & links
   7.  Forms (universal match form)
   8.  Header & nav (desktop + mobile)
   9.  Mega menu (categories dropdown)
   10. Hero variants
   11. Mesh-gradient backgrounds
   12. Category bento (homepage signature)
   13. Trust strip & badges
   14. Value-prop grids
   15. How-it-works steps
   16. Featured-hub cards
   17. Trust-by-design block
   18. FAQ accordion
   19. Closer / CTA section
   20. Footer
   21. Sticky mobile CTA bar
   22. Page-type variants (hub, item, GEO, subcategory, utility)
   23. Comparison table & pricing band
   24. Breadcrumbs
   25. Sitemap page
   26. Thank-you page
   27. Animations
   28. Utilities
   29. Print
   ========================================================================= */

/* 1. TOKENS ============================================================== */
:root {
  /* Color — base */
  --bg-base: #0a0c10;
  --bg-elevated: #0f1218;
  --bg-deeper: #06080b;

  /* Color — surface (glass) */
  --surface-glass: rgba(255, 255, 255, 0.04);
  --surface-glass-strong: rgba(255, 255, 255, 0.07);
  --surface-glass-low: rgba(255, 255, 255, 0.025);

  /* Color — borders */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-strong: rgba(255, 255, 255, 0.16);
  --border-glass-faint: rgba(255, 255, 255, 0.05);

  /* Color — text */
  --text-primary: rgba(255, 255, 255, 0.96);
  --text-secondary: rgba(255, 255, 255, 0.66);
  --text-tertiary: rgba(255, 255, 255, 0.42);
  --text-quaternary: rgba(255, 255, 255, 0.28);

  /* Color — single accent (cyan, controlled saturation) */
  --accent: #22d3ee;
  --accent-hover: #67e8f9;
  --accent-pressed: #06b6d4;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --accent-softer: rgba(34, 211, 238, 0.06);
  --accent-glow: rgba(34, 211, 238, 0.32);
  --accent-text: #0a0c10;

  /* Color — semantic */
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --info: #60a5fa;

  /* Color — category hue blobs (used behind the glass on hubs, only as bg) */
  --hue-cars-a: rgba(34, 211, 238, 0.28);
  --hue-cars-b: rgba(96, 165, 250, 0.18);
  --hue-realestate-a: rgba(251, 191, 36, 0.22);
  --hue-realestate-b: rgba(244, 114, 182, 0.16);
  --hue-homeservices-a: rgba(52, 211, 153, 0.22);
  --hue-homeservices-b: rgba(34, 211, 238, 0.16);
  --hue-contractors-a: rgba(251, 146, 60, 0.22);
  --hue-contractors-b: rgba(248, 113, 113, 0.16);
  --hue-local-a: rgba(167, 139, 250, 0.22);
  --hue-local-b: rgba(244, 114, 182, 0.16);

  /* Type */
  --font-display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-48: 3rem;
  --fs-56: 3.5rem;
  --fs-64: 4rem;
  --fs-80: 5rem;

  --lh-tight: 1.05;
  --lh-snug: 1.18;
  --lh-base: 1.55;
  --lh-relaxed: 1.7;

  /* Spacing (8-pt base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;
  --space-13: 128px;
  --space-14: 160px;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.18);
  --sh-md: 0 8px 24px -8px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.18);
  --sh-lg: 0 24px 60px -16px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.22);
  --sh-xl: 0 40px 80px -20px rgba(0, 0, 0, 0.65), 0 8px 24px rgba(0, 0, 0, 0.28);
  --sh-glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --sh-glass-inner-strong: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --sh-glow-accent: 0 0 0 1px var(--accent-glow), 0 12px 32px -8px var(--accent-glow);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 360ms;
  --dur-slowest: 560ms;

  /* Layout */
  --container: 1280px;
  --container-narrow: 880px;
  --container-wide: 1440px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 68px;

  /* Z */
  --z-base: 1;
  --z-sticky: 50;
  --z-overlay: 80;
  --z-modal: 90;
  --z-toast: 95;
}

/* 2. RESET & BASE ======================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[role='list'], ol[role='list'], ul.reset, ol.reset { list-style: none; padding: 0; margin: 0; }
img, picture, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--accent); color: var(--accent-text); }

html { color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: var(--lh-base);
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overflow-x: clip;
}

/* Background mesh — one big page-level gradient field */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 12% 8%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 88% 18%, rgba(96, 165, 250, 0.12), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(34, 211, 238, 0.08), transparent 60%),
    var(--bg-base);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* 3. TYPOGRAPHY ========================================================= */
.h-display, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.h-display { font-size: clamp(2.5rem, 1.4rem + 5vw, 4.75rem); letter-spacing: -0.035em; font-weight: 600; }
.h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); }
.h2 { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.5rem); letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.35rem, 1.05rem + 1.4vw, 1.75rem); letter-spacing: -0.02em; }
.h4 { font-size: 1.25rem; letter-spacing: -0.015em; }
.h5 { font-size: 1.0625rem; letter-spacing: -0.01em; }

.lead { font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.1875rem); line-height: var(--lh-snug); color: var(--text-secondary); max-width: 62ch; }
.body { font-size: var(--fs-16); line-height: var(--lh-base); color: var(--text-secondary); max-width: 65ch; }
.small { font-size: var(--fs-14); color: var(--text-tertiary); }
.caption { font-size: var(--fs-13); color: var(--text-tertiary); letter-spacing: 0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-12);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.eyebrow::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent-glow);
}
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.text-tight { letter-spacing: -0.02em; }
.text-loose { letter-spacing: 0.02em; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

p + p { margin-top: 1em; }
strong, b { font-weight: 600; color: var(--text-primary); }
em, i { font-style: italic; }
code { font-family: var(--font-mono); font-size: 0.92em; padding: 0.12em 0.36em; background: var(--surface-glass); border: 1px solid var(--border-glass); border-radius: 6px; }

/* Display gradient text — used very sparingly (hero only) */
.text-grad {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.62) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Inline accent words */
.accent { color: var(--accent); }

/* 4. LAYOUT PRIMITIVES ================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }
.container-wide { max-width: var(--container-wide); }

.section {
  padding-block: clamp(56px, 8vw, 112px);
  position: relative;
}
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-loose { padding-block: clamp(80px, 12vw, 160px); }

.section-header {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 72ch;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-header.center { align-items: center; text-align: center; margin-inline: auto; }
.section-header.split {
  flex-direction: row; align-items: end; justify-content: space-between;
  gap: 32px; max-width: none; flex-wrap: wrap;
}
.section-header.split > .header-left { flex: 1 1 360px; max-width: 64ch; }
.section-header.split > .header-right { flex: 0 0 auto; }

.divider { height: 1px; width: 100%; background: var(--border-glass-faint); border: 0; }

/* 5. GLASS PRIMITIVES =================================================== */
.glass {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-glass-inner), var(--sh-md);
  overflow: hidden;
}
.glass-strong {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: var(--border-glass-strong);
  box-shadow: var(--sh-glass-inner-strong), var(--sh-lg);
}
.glass-pill { border-radius: var(--r-pill); }
.glass-tight { border-radius: var(--r-md); }
.glass-loose { border-radius: var(--r-xl); }

/* Refractive top edge highlight using a ::before on glass */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 30%);
}

/* 6. BUTTONS & LINKS ==================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  font-family: var(--font-body); font-size: var(--fs-14); font-weight: 500; letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  user-select: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.985); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 12px 32px -6px var(--accent-glow); }

.btn-glass {
  background: var(--surface-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
}
.btn-glass:hover { background: var(--surface-glass-strong); border-color: rgba(255, 255, 255, 0.28); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.btn-ghost:hover { color: var(--text-primary); background: var(--surface-glass); border-color: var(--border-glass); }

.btn-lg { height: 52px; padding: 0 24px; font-size: var(--fs-16); }
.btn-sm { height: 36px; padding: 0 14px; font-size: var(--fs-13); }
.btn-block { width: 100%; }

.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.tlink {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.tlink:hover { color: var(--accent); border-bottom-color: currentColor; }

.alink {
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
  transition: gap var(--dur-base) var(--ease-out);
}
.alink:hover { gap: 10px; }
.alink::after { content: '→'; }

/* 7. FORMS ============================================================== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: var(--fs-13); font-weight: 500; color: var(--text-secondary); letter-spacing: 0.005em; }
.field-help { font-size: var(--fs-12); color: var(--text-tertiary); }
.field-error { font-size: var(--fs-12); color: var(--danger); display: none; }
.field.has-error .field-error { display: block; }
.field.has-error .input { border-color: var(--danger); }

.input,
.select,
.textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--surface-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--r-md);
  font-family: var(--font-body); font-size: var(--fs-15, 0.9375rem);
  letter-spacing: -0.005em;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: var(--text-tertiary); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: rgba(255, 255, 255, 0.06);
}

.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffffaa' stroke-width='1.5' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* The signature search-pill — universal match form on every page */
.search-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 140px auto;
  gap: 4px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--sh-glass-inner), var(--sh-lg);
  align-items: center;
  position: relative;
}
.search-pill::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.16) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.search-pill > .input,
.search-pill > .select {
  height: 52px;
  background: transparent;
  border: 0;
  border-radius: var(--r-pill);
  padding-inline: 22px;
  box-shadow: none;
  font-size: var(--fs-16);
}
.search-pill > .input + .input, .search-pill > .input + .select, .search-pill > .select + .input { border-left: 1px solid var(--border-glass); border-radius: 0; padding-inline: 18px; }
.search-pill > .btn { height: 52px; }
.search-pill .input:focus, .search-pill .select:focus { background: var(--surface-glass); box-shadow: none; }

/* Inline status surface — injected by main.js after the submit button on
   the form that's mid-submit. Pending while POSTing, error on network/server
   failure. Success path redirects so the success state is implicit. */
.form-status {
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: var(--fs-13);
  line-height: 1.45;
  text-align: center;
  letter-spacing: -0.005em;
}
.form-status-pending {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
}
.form-status-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.36);
  color: #fca5a5;
}

/* Stacked match form — used on hub/item/GEO/closer sections */
.match-form {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--r-xl);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sh-glass-inner), var(--sh-lg);
}
/* Form-grid class — works inside .match-form AND inside .hero-form-card */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid > .field-full { grid-column: 1 / -1; }
.match-form .form-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.match-form .fud-row { display: flex; flex-wrap: wrap; gap: 16px; font-size: var(--fs-12); color: var(--text-tertiary); }
.match-form .fud-row li { display: inline-flex; align-items: center; gap: 6px; list-style: none; }
.match-form .fud-row li::before { content: ''; width: 14px; height: 14px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent); position: relative; flex-shrink: 0; }

/* Form pill prefix (shows category/item/city pre-filled) */
.form-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.form-pill .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 999px; box-shadow: 0 0 8px var(--accent-glow); animation: pulseDot 1.6s var(--ease-in-out) infinite; }
.form-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }

@media (max-width: 720px) {
  .search-pill {
    grid-template-columns: 1fr;
    border-radius: var(--r-xl);
    padding: 8px;
    gap: 8px;
  }
  .search-pill > .input,
  .search-pill > .select,
  .search-pill > .btn { width: 100%; height: 48px; border-radius: var(--r-md); padding-inline: 16px; border-left: 0; }
  .search-pill > .input + .input, .search-pill > .input + .select, .search-pill > .select + .input { border-left: 0; padding-inline: 16px; }
}

/* 8. HEADER & NAV ======================================================= */
.site-header {
  position: sticky;
  top: 12px;
  z-index: var(--z-sticky);
  margin-inline: auto;
  margin-top: 12px;
  padding-inline: clamp(12px, 3vw, 32px);
  width: calc(100% - 24px);
  max-width: var(--container-wide);
}
.nav-shell {
  display: flex; align-items: center; gap: 16px;
  height: var(--header-h);
  padding: 0 8px 0 16px;
  background: linear-gradient(135deg, rgba(20, 24, 32, 0.72) 0%, rgba(12, 16, 22, 0.62) 100%);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--r-pill);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: var(--sh-glass-inner), var(--sh-md);
}

.brand { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: var(--r-pill); transition: background var(--dur-base) var(--ease-out); }
.brand:hover { background: var(--surface-glass); }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.022em; color: var(--text-primary); }
.brand-name .accent-dot { color: var(--accent); }

.nav-primary { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: var(--fs-14); font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-pill);
  transition: color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav-link:hover { color: var(--text-primary); background: var(--surface-glass); }
.nav-link[aria-current='page'] { color: var(--text-primary); background: var(--surface-glass); }
.nav-link .chev { transition: transform var(--dur-base) var(--ease-out); }
.nav-link[aria-expanded='true'] .chev { transform: rotate(-180deg); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-search-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px 0 12px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-pill);
  color: var(--text-tertiary);
  font-size: var(--fs-13);
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
  cursor: pointer;
  min-width: 180px;
}
.nav-search-pill:hover { color: var(--text-secondary); border-color: var(--border-glass-strong); background: var(--surface-glass-strong); }
.nav-search-pill .kbd { margin-left: auto; font-family: var(--font-mono); font-size: 11px; padding: 1px 6px; background: var(--surface-glass-strong); border: 1px solid var(--border-glass); border-radius: 4px; color: var(--text-tertiary); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur-base) var(--ease-out), top var(--dur-base) var(--ease-out); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-primary, .nav-search-pill { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-shell { padding: 0 8px 0 12px; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(6, 8, 11, 0.7);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  display: none;
  padding: 92px var(--gutter) 32px;
  overflow-y: auto;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  font-size: 1.0625rem; font-weight: 500;
  color: var(--text-primary);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
}
.mobile-drawer-link:hover { background: var(--surface-glass-strong); }
.mobile-drawer-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mobile-drawer-cat-grid .mobile-drawer-link { padding: 12px 14px; font-size: var(--fs-14); }
.mobile-drawer-section-title { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-tertiary); margin: 24px 0 8px; padding-left: 4px; }
.mobile-drawer-cta { margin-top: 28px; }

/* 9. MEGA MENU ========================================================== */
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(960px, calc(100vw - 24px));
  padding: 24px;
  background: linear-gradient(135deg, rgba(20, 24, 32, 0.92) 0%, rgba(12, 16, 22, 0.88) 100%);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--r-xl);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  box-shadow: var(--sh-glass-inner), var(--sh-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
  z-index: var(--z-sticky);
}
.mega-menu[data-open='true'] { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.mega-cats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
.mega-cat {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--text-secondary);
  font-size: var(--fs-14);
  font-weight: 500;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.mega-cat:hover { background: var(--surface-glass); color: var(--text-primary); }
.mega-cat[data-tier='hub'] { color: var(--text-primary); }
.mega-cat[data-tier='hub']::after { content: 'live'; margin-left: auto; padding: 2px 7px; font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); border-radius: var(--r-pill); }
.mega-icon { width: 24px; height: 24px; color: var(--text-tertiary); flex-shrink: 0; }
.mega-cat[data-tier='hub'] .mega-icon { color: var(--accent); }
.mega-cta {
  display: flex; flex-direction: column;
  padding: 20px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0.04) 100%);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--r-lg);
  gap: 12px;
}
.mega-cta-title { font-size: var(--fs-18); font-weight: 600; letter-spacing: -0.015em; color: var(--text-primary); }
.mega-cta-body { font-size: var(--fs-13); color: var(--text-secondary); line-height: 1.55; }
.mega-cta .btn { align-self: flex-start; }

/* 10. HERO VARIANTS ===================================================== */
.hero {
  position: relative;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
  min-height: clamp(560px, 80dvh, 760px);
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; gap: clamp(20px, 3vw, 28px); max-width: 880px; }
.hero h1, .hero .h-display { max-width: 18ch; }
.hero .hero-sub { color: var(--text-secondary); font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.25rem); line-height: 1.5; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); margin-top: 8px; }
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num { font-family: var(--font-display); font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2rem); font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); line-height: 1; }
.hero-stat-label { font-size: var(--fs-13); color: var(--text-tertiary); }

.hero-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; } }

.hero-form-card {
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--r-xl);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sh-glass-inner), var(--sh-lg);
  display: flex; flex-direction: column; gap: 14px;
}
.hero-form-card .form-title { font-size: var(--fs-18); font-weight: 600; letter-spacing: -0.012em; }
.hero-form-card .form-bullet-list { display: grid; gap: 6px; }
.hero-form-card .form-bullet-list li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-13); color: var(--text-secondary); list-style: none; }
.hero-form-card .form-bullet-list li::before { content: ''; flex: 0 0 16px; height: 16px; margin-top: 3px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent); position: relative; }
.hero-form-card .form-bullet-list li::after { content: ''; }

/* 11. MESH-GRADIENT BACKGROUNDS ========================================= */
.bg-mesh {
  position: absolute;
  inset: -10% -10% -10% -10%;
  z-index: -1;
  pointer-events: none;
  filter: blur(72px) saturate(140%);
  opacity: 0.85;
}
.bg-mesh::before, .bg-mesh::after {
  content: ''; position: absolute; border-radius: 50%;
  will-change: transform;
}
.bg-mesh::before {
  width: 60%; aspect-ratio: 1; left: -10%; top: -10%;
  background: radial-gradient(circle, var(--blob-a, rgba(34, 211, 238, 0.5)) 0%, transparent 60%);
  animation: floatA 22s var(--ease-in-out) infinite alternate;
}
.bg-mesh::after {
  width: 55%; aspect-ratio: 1; right: -8%; bottom: -12%;
  background: radial-gradient(circle, var(--blob-b, rgba(96, 165, 250, 0.4)) 0%, transparent 60%);
  animation: floatB 26s var(--ease-in-out) infinite alternate;
}
.bg-mesh.cars { --blob-a: var(--hue-cars-a); --blob-b: var(--hue-cars-b); }
.bg-mesh.realestate { --blob-a: var(--hue-realestate-a); --blob-b: var(--hue-realestate-b); }
.bg-mesh.homeservices { --blob-a: var(--hue-homeservices-a); --blob-b: var(--hue-homeservices-b); }
.bg-mesh.contractors { --blob-a: var(--hue-contractors-a); --blob-b: var(--hue-contractors-b); }
.bg-mesh.local { --blob-a: var(--hue-local-a); --blob-b: var(--hue-local-b); }

/* 12. CATEGORY BENTO =================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 14px;
}
.bento .tile {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  isolation: isolate;
  min-height: 144px;
}
.bento .tile:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.025) 100%);
  border-color: var(--border-glass-strong);
  transform: translateY(-2px);
}
.bento .tile::before {
  content: '';
  position: absolute; inset: -40% -20% auto auto; width: 220px; aspect-ratio: 1;
  background: radial-gradient(circle, var(--tile-glow, rgba(34, 211, 238, 0.18)) 0%, transparent 60%);
  filter: blur(32px);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.bento .tile:hover::before { opacity: 1; }
.bento .tile-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; height: 100%; justify-content: space-between; }
.bento .tile-icon { width: 28px; height: 28px; color: var(--text-secondary); }
.bento .tile-title { font-family: var(--font-display); font-size: var(--fs-16); font-weight: 600; letter-spacing: -0.012em; color: var(--text-primary); }
.bento .tile-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bento .tile-count { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); letter-spacing: 0; }
.bento .tile-arrow { width: 16px; height: 16px; color: var(--text-tertiary); transition: transform var(--dur-base) var(--ease-out); }
.bento .tile:hover .tile-arrow { transform: translate(2px, -2px); color: var(--text-primary); }

/* Tier sizing: 5 hub categories take 4-col; 14 secondary take 3-col */
.bento .tile.tier-hub { grid-column: span 4; min-height: 200px; }
.bento .tile.tier-hub .tile-title { font-size: var(--fs-20); }
.bento .tile.tier-hub .tile-icon { width: 32px; height: 32px; color: var(--accent); }
.bento .tile.tier-hub .tile-blurb { font-size: var(--fs-14); color: var(--text-secondary); line-height: 1.5; max-width: 28ch; }
.bento .tile.tier-hub::before { --tile-glow: var(--accent-glow); opacity: 0.5; }

.bento .tile.tier-sub { grid-column: span 3; }
.bento .tile.tier-sub.tile-cta { grid-column: span 3; background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0.025) 100%); border-color: rgba(34, 211, 238, 0.32); }

@media (max-width: 1080px) {
  .bento .tile.tier-hub { grid-column: span 6; }
  .bento .tile.tier-sub { grid-column: span 4; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bento .tile.tier-hub, .bento .tile.tier-sub { grid-column: span 1; }
  .bento .tile { min-height: 124px; padding: 16px; }
  .bento .tile.tier-hub { min-height: 168px; }
}

/* 13. TRUST STRIP & BADGES ============================================= */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
}
.trust-strip > .trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-right: 1px solid var(--border-glass-faint);
}
.trust-strip > .trust-item:last-child { border-right: 0; }
.trust-icon { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.trust-label { display: flex; flex-direction: column; gap: 1px; }
.trust-label .l1 { font-size: var(--fs-13); font-weight: 600; color: var(--text-primary); letter-spacing: -0.005em; }
.trust-label .l2 { font-size: var(--fs-12); color: var(--text-tertiary); }

@media (max-width: 720px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > .trust-item { border-right: 0; border-bottom: 1px solid var(--border-glass-faint); }
  .trust-strip > .trust-item:nth-child(odd) { border-right: 1px solid var(--border-glass-faint); }
  .trust-strip > .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Badge chip */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--surface-glass); border: 1px solid var(--border-glass); border-radius: var(--r-pill); font-size: var(--fs-12); color: #ffffff; }
.badge.accent { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* 14. VALUE-PROP GRID ================================================== */
.vp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.vp-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.vp-card:hover { background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%); border-color: var(--border-glass-strong); }
.vp-icon-wrap {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 12px;
  color: var(--accent);
}
.vp-icon-wrap svg { width: 22px; height: 22px; }
.vp-title { font-family: var(--font-display); font-size: var(--fs-18); font-weight: 600; letter-spacing: -0.012em; color: var(--text-primary); }
.vp-body { font-size: var(--fs-14); color: var(--text-secondary); line-height: 1.6; }

/* Asymmetric variant — used on hubs to break the 3-col-card cliché */
.vp-grid-asym { grid-template-columns: 1.4fr 1fr 1fr; }
.vp-grid-asym > .vp-card:first-child { grid-row: span 2; }
.vp-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) {
  .vp-grid, .vp-grid-asym, .vp-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .vp-grid-asym > .vp-card:first-child { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 600px) {
  .vp-grid, .vp-grid-asym, .vp-grid.cols-3 { grid-template-columns: 1fr; }
  .vp-grid-asym > .vp-card:first-child { grid-column: auto; }
}

/* 15. HOW IT WORKS STEPS =============================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}
.step {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  font-family: var(--font-mono); font-size: var(--fs-13); font-weight: 500;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border-glass-strong);
  color: var(--text-primary);
  border-radius: 12px;
  letter-spacing: 0;
}
.step-title { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 600; letter-spacing: -0.014em; }
.step-body { font-size: var(--fs-14); color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* 16. FEATURED HUB CARDS =============================================== */
.hub-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.hub-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px;
  min-height: 240px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.hub-card::before {
  content: '';
  position: absolute; inset: -30% -10% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--hub-glow, rgba(34, 211, 238, 0.22)) 0%, transparent 60%);
  filter: blur(28px);
  z-index: -1;
}
.hub-card:hover { transform: translateY(-3px); border-color: var(--border-glass-strong); }
.hub-card .hub-icon { width: 28px; height: 28px; color: var(--accent); }
.hub-card .hub-title { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 600; letter-spacing: -0.014em; }
.hub-card .hub-blurb { font-size: var(--fs-13); color: var(--text-secondary); line-height: 1.55; }
.hub-card .hub-stats { display: flex; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-glass-faint); }
.hub-card .hub-stats > div { display: flex; flex-direction: column; gap: 2px; }
.hub-card .hub-stats .num { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--text-primary); }
.hub-card .hub-stats .label { font-size: 11px; color: var(--text-tertiary); }

@media (max-width: 1080px) { .hub-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .hub-cards { grid-template-columns: 1fr 1fr; } .hub-card { min-height: 200px; padding: 18px; } }
@media (max-width: 480px) { .hub-cards { grid-template-columns: 1fr; } }

/* 17. TRUST-BY-DESIGN BLOCK ============================================ */
.trust-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
}
.pillar-num { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--text-tertiary); padding-top: 4px; letter-spacing: 0; }
.pillar-title { font-family: var(--font-display); font-size: var(--fs-18); font-weight: 600; letter-spacing: -0.012em; }
.pillar-body { font-size: var(--fs-14); color: var(--text-secondary); line-height: 1.6; margin-top: 8px; }

@media (max-width: 720px) { .trust-pillars { grid-template-columns: 1fr; } }

/* 18. FAQ ACCORDION =================================================== */
.faq {
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
  overflow: hidden;
}
.faq-row { border-bottom: 1px solid var(--border-glass-faint); }
.faq-row:last-child { border-bottom: 0; }
.faq-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%;
  padding: 22px 24px;
  font-family: var(--font-display); font-size: var(--fs-16); font-weight: 500;
  text-align: left;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out);
}
.faq-trigger:hover { background: var(--surface-glass); }
.faq-icon { width: 16px; height: 16px; color: var(--text-tertiary); transition: transform var(--dur-base) var(--ease-out); flex-shrink: 0; }
.faq-row[data-open='true'] .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-row[data-open='true'] .faq-panel { max-height: 480px; }
.faq-body { padding: 0 24px 22px; font-size: var(--fs-14); color: var(--text-secondary); line-height: 1.65; max-width: 70ch; }
.faq-body p + p { margin-top: 0.85em; }
.faq-body a { color: var(--accent); border-bottom: 1px solid rgba(34, 211, 238, 0.4); }
.faq-body ul, .faq-body ol { padding-left: 18px; margin-top: 8px; }
.faq-body li { margin-top: 4px; }

/* 19. CLOSER ========================================================== */
.closer {
  position: relative;
  padding: clamp(40px, 6vw, 80px);
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(255, 255, 255, 0.03) 60%);
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--sh-glass-inner-strong), var(--sh-xl);
  overflow: hidden;
  isolation: isolate;
}
.closer::before {
  content: '';
  position: absolute; inset: -30%; z-index: -1;
  background: radial-gradient(ellipse 40% 50% at 80% 100%, rgba(34, 211, 238, 0.32), transparent 60%);
  filter: blur(50px);
}
.closer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.closer-content { display: flex; flex-direction: column; gap: 20px; }
.closer-content .h2 { max-width: 18ch; }
.closer-perks { display: grid; gap: 8px; margin-top: 4px; }
.closer-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-14); color: var(--text-secondary); list-style: none; }
.closer-perks li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent); position: relative; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2.5 6.2L5 8.7L9.5 3.5' stroke='%2322d3ee' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: center; }

@media (max-width: 920px) { .closer-grid { grid-template-columns: 1fr; } .closer { padding: 32px; } }

/* 20. FOOTER ========================================================== */
.site-footer {
  margin-top: clamp(80px, 12vw, 140px);
  padding: clamp(40px, 6vw, 72px) 0 32px;
  border-top: 1px solid var(--border-glass-faint);
  position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 36ch; }
.footer-brand .brand { padding: 0; }
.footer-blurb { font-size: var(--fs-14); color: var(--text-tertiary); line-height: 1.6; }
.footer-col h4 { font-family: var(--font-body); font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-col a { font-size: var(--fs-14); color: var(--text-secondary); transition: color var(--dur-base) var(--ease-out); }
.footer-col a:hover { color: var(--text-primary); }
.footer-col a .live-dot { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); vertical-align: middle; }

.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--border-glass-faint);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  font-size: var(--fs-12); color: var(--text-tertiary);
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-col:nth-child(4), .footer-col:nth-child(5) { grid-column: span 1; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }

/* 21. STICKY MOBILE CTA BAR =========================================== */
.mobile-sticky {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: var(--z-sticky);
  display: none;
}
.mobile-sticky-shell {
  display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 16px;
  background: linear-gradient(135deg, rgba(20, 24, 32, 0.85) 0%, rgba(12, 16, 22, 0.78) 100%);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--r-pill);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: var(--sh-glass-inner), var(--sh-xl);
}
.mobile-sticky-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.mobile-sticky-text .l1 { font-size: var(--fs-13); font-weight: 600; color: var(--text-primary); }
.mobile-sticky-text .l2 { font-size: 11px; color: var(--text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-sticky .btn { flex-shrink: 0; }
@media (max-width: 920px) { .mobile-sticky { display: block; } body { padding-bottom: 96px; } }

/* 22. PAGE-TYPE VARIANTS =============================================== */

/* Subcategory grid (used on hubs) */
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.subcat {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.subcat:hover { background: var(--surface-glass-strong); border-color: var(--border-glass-strong); transform: translateY(-1px); }
.subcat-icon { width: 24px; height: 24px; color: var(--accent); }
.subcat-title { font-size: var(--fs-15, 0.9375rem); font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; }
.subcat-meta { font-size: 11px; font-family: var(--font-mono); color: var(--text-tertiary); margin-top: auto; }

@media (max-width: 920px) { .subcat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .subcat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Featured items grid (item cards on hubs) */
.item-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.item-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.item-card:hover { transform: translateY(-2px); border-color: var(--border-glass-strong); }
.item-card-visual {
  height: 120px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(96, 165, 250, 0.08) 50%, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-glass-faint);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.item-card-visual svg { width: 64%; height: 64%; color: var(--text-secondary); opacity: 0.85; }
.item-card-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.32) 100%);
}
.item-card-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.item-card-title { font-family: var(--font-display); font-size: var(--fs-15, 0.9375rem); font-weight: 600; letter-spacing: -0.01em; color: var(--text-primary); }
.item-card-price { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); white-space: nowrap; }
.item-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--fs-12); color: var(--text-tertiary); margin-top: auto; }
.item-card-meta .alink { font-size: var(--fs-12); color: var(--accent); }

@media (max-width: 1080px) { .item-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .item-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .item-grid { grid-template-columns: 1fr; } }

/* Item-page hero (item × GEO) */
.item-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.item-hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(96, 165, 250, 0.12) 50%, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-glass-strong);
  overflow: hidden;
  isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-glass-inner-strong), var(--sh-lg);
}
.item-hero-visual svg { width: 70%; height: 70%; color: var(--text-primary); opacity: 0.95; filter: drop-shadow(0 12px 24px rgba(34, 211, 238, 0.32)); }
.item-hero-visual::before {
  content: '';
  position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(34, 211, 238, 0.4), transparent 60%);
  filter: blur(40px);
}
.item-hero-meta {
  position: absolute; left: 16px; top: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.item-hero-meta .badge { background: rgba(8, 12, 18, 0.7); border-color: var(--border-glass-strong); color: var(--text-primary); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.item-hero-stats { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 12px; padding: 10px 14px; background: rgba(8, 12, 18, 0.62); border: 1px solid var(--border-glass-strong); border-radius: var(--r-md); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.item-hero-stats > div { display: flex; flex-direction: column; gap: 1px; }
.item-hero-stats .num { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--text-primary); }
.item-hero-stats .label { font-size: 10px; color: var(--text-tertiary); letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 920px) { .item-hero { grid-template-columns: 1fr; } }

/* Spec list */
.spec-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec-list .spec {
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
}
.spec .label { font-size: var(--fs-12); color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.1em; }
.spec .value { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 600; letter-spacing: -0.012em; color: var(--text-primary); margin-top: 6px; }
.spec .footnote { font-size: 11px; color: var(--text-tertiary); margin-top: 4px; }

@media (max-width: 760px) { .spec-list { grid-template-columns: repeat(2, 1fr); } }

/* Pros/cons (the differentiator) */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.proscon {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
}
.proscon[data-tone='pro'] { border-color: rgba(52, 211, 153, 0.28); background: linear-gradient(135deg, rgba(52, 211, 153, 0.06) 0%, rgba(52, 211, 153, 0.012) 100%); }
.proscon[data-tone='con'] { border-color: rgba(251, 191, 36, 0.22); background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(251, 191, 36, 0.01) 100%); }
.proscon-title { font-family: var(--font-display); font-size: var(--fs-16); font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.proscon[data-tone='pro'] .proscon-title { color: var(--success); }
.proscon[data-tone='con'] .proscon-title { color: var(--warning); }
.proscon ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.proscon li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-14); color: var(--text-secondary); line-height: 1.55; }
.proscon[data-tone='pro'] li::before { content: '+'; color: var(--success); font-weight: 600; flex-shrink: 0; width: 12px; }
.proscon[data-tone='con'] li::before { content: '−'; color: var(--warning); font-weight: 600; flex-shrink: 0; width: 12px; }

@media (max-width: 760px) { .proscons { grid-template-columns: 1fr; } }

/* 23. COMPARISON TABLE & PRICING BAND ================================== */
.compare-wrap {
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
  overflow-x: auto;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-14);
  min-width: 640px;
}
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border-glass-faint); white-space: nowrap; }
.compare th { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-12); color: var(--text-tertiary); letter-spacing: 0.08em; text-transform: uppercase; background: var(--surface-glass-low); }
.compare td { color: var(--text-secondary); }
.compare td.row-name { color: var(--text-primary); font-weight: 500; }
.compare tr.subject td { color: var(--text-primary); }
.compare tr.subject td.row-name { color: var(--accent); }
.compare tr:last-child td { border-bottom: 0; }
.compare .num { font-family: var(--font-mono); }
.compare-key { display: flex; align-items: center; gap: 8px; }
.compare-dot { width: 8px; height: 8px; border-radius: 999px; }
.compare-dot.pos { background: var(--success); }
.compare-dot.neg { background: var(--danger); }
.compare-dot.mid { background: var(--warning); }

/* Pricing band */
.price-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.price-tier {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
}
.price-tier[data-rec='true'] { border-color: rgba(34, 211, 238, 0.32); background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, rgba(255, 255, 255, 0.012) 100%); }
.price-tier .tier-label { font-size: var(--fs-12); color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.1em; }
.price-tier .tier-value { font-family: var(--font-display); font-size: var(--fs-32); font-weight: 600; letter-spacing: -0.022em; color: var(--text-primary); }
.price-tier .tier-value .currency { color: var(--text-tertiary); font-size: 0.6em; vertical-align: top; margin-right: 2px; font-weight: 500; }
.price-tier .tier-meta { font-size: var(--fs-13); color: var(--text-secondary); line-height: 1.55; }

@media (max-width: 760px) { .price-band { grid-template-columns: 1fr; } }

/* GEO local providers (ghost cards) */
.providers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.provider {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px; align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
}
.provider-avatar {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(96, 165, 250, 0.12));
  border: 1px solid var(--border-glass-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0;
}
.provider-name { font-family: var(--font-display); font-size: var(--fs-15, 0.9375rem); font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; }
.provider-meta { font-size: var(--fs-12); color: var(--text-tertiary); margin-top: 2px; display: flex; gap: 8px; flex-wrap: wrap; }
.provider-meta span::before { content: '•'; margin-right: 8px; color: var(--text-quaternary); }
.provider-meta span:first-child::before { content: ''; margin: 0; }
.provider-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; padding: 4px 8px; border-radius: var(--r-pill); background: rgba(52, 211, 153, 0.12); color: var(--success); border: 1px solid rgba(52, 211, 153, 0.3); }
.provider-status::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: currentColor; box-shadow: 0 0 6px currentColor; }

@media (max-width: 920px) { .providers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .providers { grid-template-columns: 1fr; } }

/* GEO map preview (CSS-rendered, no external image) */
.geo-map {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-glass-strong);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06) 0%, rgba(255, 255, 255, 0.012) 100%);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  isolation: isolate;
  box-shadow: var(--sh-glass-inner);
}
.geo-map::after {
  content: '';
  position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(ellipse 30% 40% at 32% 50%, rgba(34, 211, 238, 0.32), transparent 60%);
  filter: blur(40px);
}
.geo-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16), 0 0 24px var(--accent-glow);
  animation: pulseDot 2.4s var(--ease-in-out) infinite;
}
.geo-pin[data-pos='1'] { left: 30%; top: 48%; }
.geo-pin[data-pos='2'] { left: 44%; top: 32%; }
.geo-pin[data-pos='3'] { left: 56%; top: 60%; }
.geo-pin[data-pos='4'] { left: 68%; top: 40%; }
.geo-pin[data-pos='5'] { left: 22%; top: 64%; }
.geo-pin[data-pos='6'] { left: 78%; top: 56%; }
.geo-map-label {
  position: absolute; left: 18px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-12);
  color: var(--text-primary);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}
.geo-map-label .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 999px; }

/* GEO nearby cities & cross-cat strip */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-pill);
  font-size: var(--fs-13);
  color: var(--text-secondary);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.chip:hover { background: var(--surface-glass-strong); color: var(--text-primary); border-color: var(--border-glass-strong); }
.chip .meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); }

/* 24. BREADCRUMBS ====================================================== */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: var(--fs-13);
  color: var(--text-tertiary);
  list-style: none;
  margin-bottom: 14px;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--text-quaternary); margin-left: 6px; }
.breadcrumb a { color: var(--text-tertiary); transition: color var(--dur-base) var(--ease-out); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li[aria-current] { color: var(--text-primary); }

/* 25. SITEMAP PAGE ===================================================== */
.sitemap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.sitemap-block {
  padding: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
}
.sitemap-block h3 { font-family: var(--font-display); font-size: var(--fs-18); font-weight: 600; letter-spacing: -0.012em; margin-bottom: 14px; }
.sitemap-block ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sitemap-block ul ul { padding-left: 16px; margin-top: 6px; border-left: 1px solid var(--border-glass-faint); }
.sitemap-block a { font-size: var(--fs-14); color: var(--text-secondary); }
.sitemap-block a:hover { color: var(--accent); }
.sitemap-block .stub { color: var(--text-tertiary); font-size: var(--fs-13); pointer-events: none; }
.sitemap-block .stub::after { content: ' · planned'; color: var(--text-quaternary); font-size: 11px; }

@media (max-width: 760px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* 26. THANK-YOU PAGE =================================================== */
.thanks-card {
  margin: clamp(64px, 10vw, 120px) auto;
  max-width: 640px;
  padding: clamp(32px, 5vw, 48px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--r-2xl);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: var(--sh-glass-inner-strong), var(--sh-xl);
  text-align: center;
  display: flex; flex-direction: column; gap: 18px; align-items: center;
}
.thanks-icon-ring {
  width: 80px; height: 80px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  position: relative;
}
.thanks-icon-ring::before {
  content: ''; position: absolute; inset: -8px; border-radius: 999px; border: 1px solid rgba(34, 211, 238, 0.3);
  animation: ringPulse 2.4s var(--ease-in-out) infinite;
}
.thanks-icon-ring::after {
  content: ''; position: absolute; inset: -16px; border-radius: 999px; border: 1px solid rgba(34, 211, 238, 0.16);
  animation: ringPulse 2.4s var(--ease-in-out) infinite;
  animation-delay: 0.4s;
}
.thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.thanks-fud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; width: 100%; }
.thanks-fud-item {
  padding: 12px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  font-size: var(--fs-12);
  color: var(--text-secondary);
}
.thanks-fud-item .label { display: block; color: var(--text-tertiary); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }

@media (max-width: 600px) { .thanks-fud { grid-template-columns: 1fr; } }

/* 27. ANIMATIONS ====================================================== */
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34, 211, 238, 0); }
}
@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.85; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}
@keyframes floatA {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(8%, 6%, 0) rotate(40deg) scale(1.06); }
  100% { transform: translate3d(-4%, 10%, 0) rotate(60deg) scale(1.1); }
}
@keyframes floatB {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-7%, -5%, 0) rotate(-30deg) scale(1.08); }
  100% { transform: translate3d(5%, -8%, 0) rotate(-50deg) scale(1.04); }
}
@keyframes shimmer {
  0%   { background-position: -180% 0; }
  100% { background-position: 280% 0; }
}
@keyframes slideUpIn {
  0%   { opacity: 0; transform: translate3d(0, 16px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Reveal-on-load cascade */
[data-reveal] { opacity: 0; transform: translate3d(0, 12px, 0); animation: slideUpIn 600ms var(--ease-out) forwards; animation-delay: calc(var(--rev-i, 0) * 60ms); }

/* Dot status (live indicator) */
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
  animation: pulseDot 1.6s var(--ease-in-out) infinite;
}

/* 28. UTILITIES ======================================================== */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.full { width: 100%; }
.relative { position: relative; }
.hide-mobile { display: revert; }
.show-mobile { display: none; }
@media (max-width: 760px) {
  .hide-mobile { display: none; }
  .show-mobile { display: revert; }
}

/* Two-col content for utility pages */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; } }

/* Article body (about, how-it-works) */
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 64ch; }
.prose p { font-size: var(--fs-16); color: var(--text-secondary); line-height: 1.7; }
.prose h3 { font-family: var(--font-display); font-size: var(--fs-20); margin-top: 24px; }
.prose ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose ul li { padding-left: 24px; position: relative; color: var(--text-secondary); }
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 14px; height: 1px; background: var(--accent);
}

/* GEO callout strip */
.geo-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-2xl);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--sh-glass-inner);
  align-items: center;
}
@media (max-width: 920px) { .geo-strip { grid-template-columns: 1fr; } }

/* Buyer guide preview */
.guide-preview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.guide-card {
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 8px;
}
.guide-card .step-tag { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); }
.guide-card .ttl { font-family: var(--font-display); font-size: var(--fs-15, 0.9375rem); font-weight: 600; letter-spacing: -0.01em; }
.guide-card p { font-size: var(--fs-13); color: var(--text-secondary); line-height: 1.55; }
@media (max-width: 760px) { .guide-preview { grid-template-columns: 1fr; } }

/* ===== MOBILE-FIRST OVERRIDES (90% of traffic is on phones) =========== */
@media (max-width: 600px) {

  /* --- Tighter horizontal gutter so content reads edge-to-edge -------- */
  :root { --gutter: 12px; }

  /* --- Form grids universally collapse to 1 col ----------------------- */
  .form-grid { grid-template-columns: 1fr; gap: 8px; }

  /* --- Sectioning: tighter vertical rhythm on phones ------------------ */
  .section        { padding-block: clamp(36px, 7vw, 60px); }
  .section-tight  { padding-block: clamp(24px, 5vw, 40px); }
  .section-loose  { padding-block: clamp(48px, 10vw, 88px); }
  .section-header { margin-bottom: 24px; gap: 12px; }
  .section-header.split { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-header.split > .header-right { align-self: flex-start; }

  /* --- Hero: content-driven height, smaller top/bottom space --------- */
  .hero {
    min-height: auto;
    padding-block: 28px 36px;
  }
  .hero-content { gap: 16px; }
  .hero-split   { gap: 24px; }
  .hero h1, .hero .h-display { max-width: 100%; }
  .hero-sub { font-size: 1rem; line-height: 1.5; }

  /* Hero stats: 2x2 grid is more readable than wrap on narrow viewports */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.7rem; }

  /* Hero form card on hubs/items — tighter padding, bigger touch area */
  .hero-form-card { padding: 16px; gap: 12px; }
  .hero-form-card .form-title { font-size: 1.0625rem; }
  .hero-form-card .form-bullet-list li { font-size: 0.8125rem; }

  /* --- Header: smaller chrome on phones ------------------------------ */
  .site-header {
    top: 8px;
    margin-top: 8px;
    padding-inline: 10px;
    width: calc(100% - 16px);
  }
  .nav-shell { height: 56px; padding: 0 6px 0 12px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 0.95rem; letter-spacing: -0.025em; }
  .nav-toggle { width: 36px; height: 36px; }
  .btn.btn-sm  { height: 34px; padding: 0 12px; font-size: 0.8125rem; }

  /* Mobile drawer: more breathing room, tap-friendly */
  .mobile-drawer { padding-top: 80px; }
  .mobile-drawer-link { padding: 13px 16px; font-size: 1rem; }
  .mobile-drawer-cat-grid { gap: 8px; }

  /* --- Bento: hub tier full-width (the showpiece), sub tier 2-col ---- */
  .bento { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bento .tile.tier-hub {
    grid-column: span 2;
    min-height: 156px;
  }
  .bento .tile.tier-sub,
  .bento .tile.tier-sub.tile-cta {
    grid-column: span 1;
    min-height: 108px;
  }
  .bento .tile { padding: 14px; }
  .bento .tile-icon { width: 22px; height: 22px; }
  .bento .tile.tier-hub .tile-icon { width: 26px; height: 26px; }
  .bento .tile-title { font-size: 0.9rem; }
  .bento .tile.tier-hub .tile-title { font-size: 1.0625rem; }
  .bento .tile-blurb { font-size: 0.8125rem; line-height: 1.45; }
  .bento .tile-count { font-size: 10px; }

  /* --- Trust strip: tighter ----------------------------------------- */
  .trust-strip { padding: 8px; }
  .trust-strip > .trust-item { padding: 10px 12px; gap: 10px; }
  .trust-icon  { width: 20px; height: 20px; }
  .trust-label .l1 { font-size: 0.8125rem; }
  .trust-label .l2 { font-size: 0.7rem; }

  /* --- Value-prop cards --------------------------------------------- */
  .vp-card { padding: 18px; gap: 10px; }
  .vp-icon-wrap { width: 38px; height: 38px; }
  .vp-icon-wrap svg { width: 18px; height: 18px; }
  .vp-title { font-size: 1.0625rem; }
  .vp-body  { font-size: 0.875rem; line-height: 1.55; }

  /* --- How-it-works steps ------------------------------------------- */
  .step { padding: 20px; gap: 10px; }
  .step-num { width: 32px; height: 32px; font-size: 0.8125rem; }
  .step-title { font-size: 1.125rem; }
  .step-body  { font-size: 0.875rem; }

  /* --- Featured hub cards ------------------------------------------- */
  .hub-card { padding: 18px; min-height: auto; gap: 14px; }
  .hub-card .hub-icon  { width: 24px; height: 24px; }
  .hub-card .hub-title { font-size: 1.125rem; }
  .hub-card .hub-blurb { font-size: 0.8125rem; }
  .hub-card .hub-stats { gap: 10px; padding-top: 10px; }
  .hub-card .hub-stats .num { font-size: 0.8125rem; }
  .hub-card .hub-stats .label { font-size: 10px; }

  /* --- Trust pillars ------------------------------------------------- */
  .pillar { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .pillar-num { padding-top: 0; font-size: 0.75rem; }
  .pillar-title { font-size: 1.0625rem; }
  .pillar-body  { font-size: 0.875rem; }

  /* --- FAQ ------------------------------------------------------------ */
  .faq-trigger { padding: 18px 18px; font-size: 0.9375rem; }
  .faq-body    { padding: 0 18px 18px; font-size: 0.875rem; line-height: 1.6; }
  .faq-icon    { width: 14px; height: 14px; }

  /* --- Closer section ------------------------------------------------- */
  .closer { padding: 28px 20px; }
  .closer-grid { gap: 24px; }
  .closer-content { gap: 14px; }
  .closer-content .h2 { font-size: clamp(1.4rem, 1.05rem + 1.6vw, 1.75rem); }
  .closer-perks li { font-size: 0.8125rem; }

  /* --- Footer --------------------------------------------------------- */
  .site-footer { padding: 36px 0 24px; margin-top: 56px; }
  .footer-grid { gap: 24px; }
  .footer-col h4 { margin-bottom: 10px; font-size: 0.6875rem; }
  .footer-col ul { gap: 6px; }
  .footer-col a  { font-size: 0.8125rem; }
  .footer-blurb  { font-size: 0.8125rem; }
  .footer-bottom { margin-top: 32px; padding-top: 18px; gap: 10px; }
  .footer-bottom .legal-links { gap: 14px; }

  /* --- Mobile sticky CTA: tighter, no overflow ----------------------- */
  body { padding-bottom: 80px; }
  .mobile-sticky { left: 8px; right: 8px; bottom: 8px; }
  .mobile-sticky-shell { padding: 6px 6px 6px 14px; gap: 6px; }
  .mobile-sticky-text .l1 { font-size: 0.8125rem; }
  .mobile-sticky-text .l2 { font-size: 0.6875rem; }

  /* --- Search pill (homepage hero) ----------------------------------- */
  .search-pill { padding: 6px; gap: 6px; }
  .search-pill > .input,
  .search-pill > .select { height: 46px; font-size: 0.9375rem; padding-inline: 14px; }
  .search-pill > .btn    { height: 46px; }

  /* --- Item hero (deep pages): stats inline, not absolute ------------ */
  .item-hero { gap: 22px; }
  .item-hero-visual { aspect-ratio: 16 / 11; }
  .item-hero-visual svg { width: 78%; height: 78%; }
  .item-hero-stats {
    position: static;
    margin-top: 12px;
    justify-content: space-around;
    gap: 8px;
  }
  .item-hero-stats > div { gap: 0; }
  .item-hero-stats .num { font-size: 0.8125rem; }
  .item-hero-stats .label { font-size: 9px; }
  .item-hero-meta { left: 10px; top: 10px; }
  .item-hero-meta .badge { font-size: 0.6875rem; padding: 3px 8px; }

  /* --- Spec list ------------------------------------------------------ */
  .spec-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .spec { padding: 14px; }
  .spec .label { font-size: 0.6875rem; }
  .spec .value { font-size: 1.0625rem; }
  .spec .footnote { font-size: 0.6875rem; }

  /* --- Pros & cons ---------------------------------------------------- */
  .proscon { padding: 18px; gap: 10px; }
  .proscon-title { font-size: 1rem; }
  .proscon li { font-size: 0.875rem; }

  /* --- Comparison table: swipe affordance ---------------------------- */
  .compare-wrap { position: relative; }
  .compare-wrap::after {
    content: "swipe →";
    position: absolute;
    top: 8px;
    right: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
    background: var(--surface-glass-strong);
    border: 1px solid var(--border-glass);
    padding: 3px 8px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 2;
  }
  .compare th, .compare td { padding: 12px 14px; font-size: 0.8125rem; }

  /* --- Pricing band tiers --------------------------------------------- */
  .price-tier { padding: 20px; gap: 6px; }
  .price-tier .tier-value { font-size: 1.625rem; }
  .price-tier .tier-meta  { font-size: 0.8125rem; }

  /* --- Local providers ------------------------------------------------ */
  .provider {
    grid-template-columns: 44px 1fr;
    grid-auto-rows: auto;
    gap: 12px;
    padding: 14px;
    align-items: start;
  }
  .provider-avatar { width: 44px; height: 44px; font-size: 0.875rem; }
  .provider-name { font-size: 0.9375rem; }
  .provider-meta { font-size: 0.6875rem; gap: 6px; }
  .provider-status {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
    font-size: 10px;
  }

  /* --- GEO strip + map ------------------------------------------------ */
  .geo-strip { padding: 24px 18px; gap: 18px; }
  .geo-map { aspect-ratio: 16 / 9; }
  .geo-pin { width: 16px; height: 16px; }
  .geo-map-label { left: 12px; bottom: 10px; font-size: 0.6875rem; padding: 4px 10px; }

  /* --- Subcategory grid + item cards --------------------------------- */
  .subcat        { padding: 14px; gap: 8px; }
  .subcat-icon   { width: 20px; height: 20px; }
  .subcat-title  { font-size: 0.875rem; }
  .subcat-meta   { font-size: 0.6875rem; }
  .item-card     { padding: 14px; gap: 8px; }
  .item-card-visual { height: 96px; }
  .item-card-title  { font-size: 0.9375rem; }
  .item-card-price  { font-size: 10px; }

  /* --- Display headline / lead --------------------------------------- */
  .h-display {
    font-size: clamp(2rem, 1.4rem + 4.5vw, 4.75rem);
    letter-spacing: -0.025em;
  }
  .h1   { font-size: clamp(1.75rem, 1.2rem + 3vw, 3.5rem); }
  .h2   { font-size: clamp(1.4rem, 1.05rem + 2vw, 2.5rem); }
  .lead { font-size: 0.9375rem; line-height: 1.55; }

  /* --- Eyebrow + form pill row --------------------------------------- */
  .eyebrow { font-size: 0.6875rem; letter-spacing: 0.14em; }
  .form-pill-row { gap: 6px; }
  .form-pill { font-size: 0.6875rem; padding: 4px 10px; }

  /* --- Breadcrumbs ---------------------------------------------------- */
  .breadcrumb { font-size: 0.75rem; gap: 4px; margin-bottom: 12px; }

  /* --- Thank-you card ------------------------------------------------- */
  .thanks-card { margin: 56px 0 24px; padding: 28px 22px; }
  .thanks-icon-ring { width: 64px; height: 64px; }
  .thanks-fud-item { padding: 10px; font-size: 0.6875rem; }

  /* --- Sitemap blocks ------------------------------------------------- */
  .sitemap-grid { gap: 18px; }
  .sitemap-block { padding: 18px; }
  .sitemap-block h3 { font-size: 1rem; }
  .sitemap-block a { font-size: 0.8125rem; }

  /* --- Two-col prose (about, contact) -------------------------------- */
  .two-col { gap: 28px; }
  .prose { gap: 14px; }
  .prose p { font-size: 0.9375rem; }

  /* --- Buttons: ensure touch targets stay ≥ 44px --------------------- */
  .btn { height: 44px; padding: 0 16px; font-size: 0.875rem; }
  .btn-lg { height: 48px; padding: 0 20px; font-size: 0.9375rem; }

  /* --- Inputs: 16px font-size to prevent iOS zoom-on-focus ----------- */
  .input, .select, .textarea {
    font-size: 16px;
    height: 46px;
  }
  .textarea { min-height: 110px; padding: 12px 14px; }
}

/* ============================================================
   GLOBAL OVERFLOW + WIDE-VIEWPORT BALANCE (validated on homepage,
   now lifted to apply across every page)
   - Kills mobile horizontal pan caused by .hero's .bg-mesh decoration
   - Balances hero composition at wide / zoom-out viewports
============================================================ */

/* 1. Hard horizontal-overflow guarantee — belt + suspenders alongside body's
      overflow-x: clip (clip has incomplete support on mobile Safari/Android). */
html, body { overflow-x: hidden; }

/* 2. Locally contain the mesh blobs to .hero so they can't expand the document. */
.hero { overflow: hidden; }

/* 3. Let the hero composition fill more of the viewport on wide screens.
      On hub pages the .hero-content sits in a grid cell of .hero-split, so
      this only kicks in where there's no right-column companion (homepage). */
.hero-content { max-width: 1080px; }
.hero h1,
.hero .h-display { max-width: 22ch; }

/* 4. Above 1600px, scale up the global container so every page uses more
      of the viewport instead of staying capped at 1280px. */
@media (min-width: 1600px) {
  :root { --container: 1440px; }
}

/* Ultra-narrow phones (older Androids, iPhone SE 1st-gen) */
@media (max-width: 380px) {
  :root { --gutter: 10px; }

  .h-display { font-size: 1.875rem; line-height: 1.08; }
  .h2 { font-size: 1.375rem; }
  .hero-stats { gap: 10px 8px; }
  .hero-stat-num { font-size: 1.3125rem; }

  .nav-shell { height: 52px; padding: 0 4px 0 10px; }
  .brand-name { font-size: 0.875rem; }
  .nav-actions .btn { padding: 0 10px; font-size: 0.75rem; }

  /* Bento tiles single-column on truly narrow screens */
  .bento { grid-template-columns: 1fr; gap: 8px; }
  .bento .tile.tier-hub,
  .bento .tile.tier-sub,
  .bento .tile.tier-sub.tile-cta { grid-column: span 1; }

  /* Spec + price + subcat single column */
  .spec-list, .subcat-grid, .price-band { grid-template-columns: 1fr; }

  /* Section padding tightest */
  .section { padding-block: 32px; }
}

/* ============================================================
   30. FEATURED-FOR-SALE — homepage spotlight + listings hub
============================================================ */

/* Asymmetric bento: one large feature card on the left, two stacked cards
   on the right. Honors the anti-3-col-cards rule. */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  grid-auto-rows: 1fr;
}
.spotlight-grid > .spotlight-feature { grid-row: span 2; }

.spotlight-card,
.spotlight-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--r-2xl);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--sh-glass-inner), var(--sh-md);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.spotlight-card:hover,
.spotlight-feature:hover {
  transform: translateY(-3px);
  border-color: var(--border-glass-strong);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.025) 100%);
}
.spotlight-card::before,
.spotlight-feature::before {
  content: '';
  position: absolute; inset: -30% -10% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}

.spotlight-image {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(96, 165, 250, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.012) 100%);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}
.spotlight-feature .spotlight-image { aspect-ratio: 16 / 9; }
.spotlight-image svg.car-silhouette {
  width: 64%;
  height: auto;
  color: rgba(255, 255, 255, 0.55);
  filter: drop-shadow(0 8px 24px rgba(34, 211, 238, 0.22));
}
.spotlight-image-meta {
  position: absolute;
  top: 14px; left: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
  z-index: 2;
}
.spotlight-image-price {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 2;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0;
  color: var(--text-primary);
}

.spotlight-body {
  display: flex; flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}
.spotlight-feature .spotlight-body { padding: 28px; gap: 14px; }
.spotlight-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.spotlight-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--fs-20);
  color: var(--text-primary);
  line-height: 1.2;
}
.spotlight-feature .spotlight-title { font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2rem); }
.spotlight-blurb {
  font-size: var(--fs-13);
  line-height: 1.55;
  color: #ffffff;
}
.spotlight-feature .spotlight-blurb { font-size: var(--fs-14); }
.spotlight-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.spotlight-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: #ffffff;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: 999px;
}
.spotlight-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--border-glass-faint);
  font-size: var(--fs-13);
  color: #ffffff;
}
.spotlight-foot .arrow { transition: transform var(--dur-base) var(--ease-out); }
.spotlight-card:hover .spotlight-foot .arrow,
.spotlight-feature:hover .spotlight-foot .arrow { transform: translate(2px, -2px); }

@media (max-width: 920px) {
  .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight-grid > .spotlight-feature { grid-row: auto; }
}
@media (max-width: 600px) {
  .spotlight-body { padding: 16px; gap: 8px; }
  .spotlight-feature .spotlight-body { padding: 18px; gap: 10px; }
}

/* ============================================================
   31. CAR-DETAIL — split hero + spec table + gallery + history
============================================================ */

/* Split-screen detail hero: visual on one side, content on the other.
   Honors taste-skill anti-center-bias rule. */
.detail-hero {
  position: relative;
  padding-block: clamp(28px, 6vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.detail-hero-content { display: flex; flex-direction: column; gap: 16px; }
.detail-hero-content .h-display { max-width: 16ch; font-size: clamp(2rem, 1.4rem + 3.2vw, 3.5rem); }
.detail-hero-content .lead { font-size: clamp(1rem, 0.95rem + 0.4vw, 1.0625rem); color: var(--text-secondary); }
.detail-price-row {
  display: flex; align-items: baseline; gap: 14px;
  padding-top: 8px;
}
.detail-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
.detail-price-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--text-tertiary);
}
.detail-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  margin-top: 4px;
}
.detail-quick-stat { display: flex; flex-direction: column; gap: 2px; }
.detail-quick-stat .num {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--text-primary);
  letter-spacing: 0;
}
.detail-quick-stat .label {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.detail-cta-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 8px;
}
.detail-direct-contact {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  font-size: var(--fs-13);
  color: var(--text-secondary);
  letter-spacing: -0.005em;
}
.detail-direct-contact a {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
}
.detail-direct-contact .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulseDot 1.6s var(--ease-in-out) infinite;
  flex-shrink: 0;
}

.detail-hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-2xl);
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(96, 165, 250, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--sh-glass-inner), var(--sh-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.detail-hero-visual svg.car-silhouette {
  width: 78%;
  height: auto;
  color: rgba(255, 255, 255, 0.7);
  filter: drop-shadow(0 12px 36px rgba(34, 211, 238, 0.28));
}
.detail-hero-visual .placeholder-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  background: rgba(8, 12, 18, 0.62);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 920px) {
  .detail-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .detail-hero-visual { order: -1; aspect-ratio: 16 / 11; }
  .detail-quick-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .detail-quick-stats { grid-template-columns: 1fr 1fr; padding: 12px; }
  .detail-quick-stat .num { font-size: var(--fs-13); }
}

/* Photo gallery — placeholder grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 10px;
}
.gallery-grid > :nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-cell {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(34, 211, 238, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.gallery-grid > :nth-child(1).gallery-cell { aspect-ratio: 16 / 11; }
.gallery-cell:hover { transform: translateY(-2px); border-color: var(--border-glass-strong); }
.gallery-cell svg.car-silhouette { width: 56%; height: auto; color: rgba(255, 255, 255, 0.4); }
.gallery-cell .label {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  background: rgba(8, 12, 18, 0.6);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid > :nth-child(1) { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid > :nth-child(1) { grid-column: auto; }
}

/* Specs + features data table */
.detail-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.detail-specs > div {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px;
  background: var(--bg-base);
}
.detail-specs .label {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.detail-specs .value {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--text-primary);
  letter-spacing: 0;
  word-break: break-word;
}
@media (max-width: 760px) { .detail-specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .detail-specs { grid-template-columns: 1fr; } }

/* Features list — clean two-col */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  padding-top: 4px;
  list-style: none;
  margin: 0;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-14);
  color: var(--text-secondary);
  line-height: 1.55;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; gap: 8px; } }

/* Listings index — scaled-up bento for the /cars/sale/ hub */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 920px) { .listings-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .listings-grid { grid-template-columns: 1fr; } }

/* "For sale" badge for nav + bento Cars tile */
.nav-badge {
  display: inline-flex; align-items: center;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 999px;
}

/* ============================================================
   32. CAR-DETAIL — LEAN VARIANT (4-section structure)
   - Asymmetric photo gallery (1 large + 3 stacked)
   - Single essentials section (bullets + spec rows)
   - Simple 3-field form
   - Inline cross-sell
============================================================ */

/* Real-image cells: cover the cell with object-fit: cover so any aspect ratio works */
.photo-cell img,
.spotlight-image img,
.detail-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.spotlight-image,
.detail-hero-visual { position: relative; }
/* When a real image is present, hide the SVG fallback silhouette inside the same cell */
.photo-cell img + svg.car-silhouette,
.spotlight-image img + svg.car-silhouette,
.detail-hero-visual img + svg.car-silhouette { display: none; }

/* Photo gallery: 1 large + 3 stacked alongside */
.photo-gallery-asym {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  grid-auto-rows: minmax(140px, 1fr);
}
.photo-gallery-asym > .photo-cell-lg { grid-row: span 3; }
.photo-cell {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.photo-gallery-asym > .photo-cell-lg { aspect-ratio: 16/11; }
.photo-cell:hover { transform: translateY(-2px); border-color: var(--border-glass-strong); }
.photo-cell svg.car-silhouette { width: 56%; height: auto; color: rgba(255, 255, 255, 0.4); }
.photo-cell .label {
  position: absolute; bottom: 10px; left: 10px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.04em; color: var(--text-tertiary);
  background: rgba(8, 12, 18, 0.6);
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--border-glass);
}
@media (max-width: 760px) {
  .photo-gallery-asym { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .photo-gallery-asym > .photo-cell-lg { grid-row: auto; }
}

/* Essentials: 2-column bullets + spec rows */
.essentials-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.essentials-col h3 {
  font-family: var(--font-display);
  font-size: var(--fs-13);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 16px;
}
.essentials-bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 14px;
}
.essentials-bullets li {
  position: relative;
  padding-left: 26px;
  font-size: var(--fs-15);
  line-height: 1.55;
  color: var(--text-secondary);
}
.essentials-bullets li strong { color: var(--text-primary); font-weight: 500; }
.essentials-bullets li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}
.essentials-specs {
  display: grid; gap: 1px;
  background: var(--border-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.essentials-specs > .spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-base);
  font-size: var(--fs-13);
}
.essentials-specs .spec-row .key {
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
  flex-shrink: 0;
}
.essentials-specs .spec-row .val {
  font-family: var(--font-mono);
  color: var(--text-primary);
  letter-spacing: 0;
  text-align: right;
  font-size: var(--fs-13);
}
@media (max-width: 760px) {
  .essentials-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Simple 3-field form */
.simple-form-card {
  max-width: 600px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sh-glass-inner), var(--sh-lg);
  display: flex; flex-direction: column; gap: 16px;
  text-align: center;
}
.simple-form-card .form-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}
.simple-form-card form {
  display: flex; flex-direction: column; gap: 10px;
}
.simple-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.simple-form-card .input { text-align: left; }
.simple-form-card .field { margin: 0; }
.simple-form-card .btn { align-self: stretch; margin-top: 6px; }
.simple-form-card .form-direct {
  font-size: var(--fs-13);
  color: var(--text-tertiary);
  margin: 0;
  padding-top: 4px;
}
.simple-form-card .form-direct a {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: var(--fs-13);
  letter-spacing: 0;
}
@media (max-width: 600px) {
  .simple-form-card .form-row { grid-template-columns: 1fr; }
}

/* Cross-sell one-liner under the form */
.cross-sell-inline {
  text-align: center;
  font-size: var(--fs-13);
  color: var(--text-tertiary);
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border-glass-faint);
  max-width: 600px;
  margin-inline: auto;
}
.cross-sell-inline em {
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  margin-right: 4px;
}
.cross-sell-inline a {
  color: var(--text-secondary);
  margin: 0 6px;
  border-bottom: 1px solid var(--border-glass-faint);
  padding-bottom: 1px;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.cross-sell-inline a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 29. PRINT ============================================================ */
@media print {
  body::before, body::after, .site-header, .mobile-sticky, .nav-shell { display: none; }
  body { background: white; color: black; }
  .glass, .closer, .hub-card, .item-card, .vp-card, .step, .pillar, .faq, .trust-strip, .match-form, .hero-form-card { background: white; border: 1px solid #ddd; box-shadow: none; backdrop-filter: none; }
}
