/* ==========================================================================
   Home page - premium upgrade matching site-wide aesthetic.
   Scoped to .home-page. No !important.
   ========================================================================== */

.home-page {
  --hm-bg: #07070b;
  --hm-card: rgba(255, 255, 255, 0.035);
  --hm-card-hover: rgba(255, 255, 255, 0.06);
  --hm-border: rgba(255, 255, 255, 0.08);
  --hm-border-hover: rgba(196, 181, 253, 0.45);
  --hm-text: #f5f5f7;
  --hm-text-muted: #a8a8b3;
  --hm-accent: #c4b5fd;
  --hm-accent-strong: #a78bfa;
  --hm-success: #7AB55C;
}

/* HERO eyebrow pill with pulsing dot */
.home-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  background: rgba(196, 181, 253, 0.08);
  border: 1px solid rgba(196, 181, 253, 0.25);
  color: var(--hm-accent);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease-out;
}
.home-page .hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hm-success);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(122, 181, 92, 0.7);
  animation: hm-pulse 2.4s infinite;
}
@keyframes hm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Hero container. Radial glow now lives on .hero-background::before in
   premium3.css alongside the dot grid pattern, so the prior ::after glow
   on .home-page .hero has been removed to avoid double-painting. */
.home-page .hero {
  position: relative;
  isolation: isolate;
  min-height: auto;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.home-page .hero + .section-dark {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
.home-page .hero-content { position: relative; z-index: 2; }

/* Diegetic monospace metadata strip above the eyebrow. Reads as a
   release tag, signals dev culture and ship velocity without bragging.
   Replaces the role the matrix code rain used to play. */
.home-page .hero-meta-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 auto 0.95rem;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(196, 181, 253, 0.5);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.home-page .hero-meta-tag { color: rgba(245, 245, 247, 0.55); }
.home-page .hero-meta-sep { color: rgba(196, 181, 253, 0.35); }
.home-page .hero-meta-strip .hero-meta-tag:last-child { color: rgba(122, 181, 92, 0.7); }

@media (max-width: 480px) {
  .home-page .hero-meta-strip {
    font-size: 0.66rem;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Hero H1 - keep gradient text but front-load purple */
.home-page .hero h1 {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stat numbers - front-load purple over green so they don't read flat green */
.home-page .stat-number,
.home-page .featured-card-val {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 60%, #7AB55C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Featured-result-label pill: was teal/green, now purple */
.home-page .featured-result-label {
  color: var(--hm-accent);
  background: rgba(196, 181, 253, 0.10);
  border: 1px solid rgba(196, 181, 253, 0.22);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== CARD HOVER SYSTEM (unified) =====
   One envelope across all 3 card variants. transform/opacity only.
   Pre-rendered shadow on ::after with opacity fade — no blur radius animation.
   ============================================================ */
.home-page .featured-card,
.home-page .testimonial-card,
.home-page .services-grid .card {
  position: relative;
  background: var(--hm-card);
  border: 1px solid var(--hm-border);
  border-radius: 16px;
  transition:
    transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 180ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background-color 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.home-page .featured-card { border-radius: 18px; }
/* Pre-rendered shadow layer (opacity-faded, GPU-friendly) */
.home-page .featured-card::after,
.home-page .testimonial-card::after,
.home-page .services-grid .card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 14px 40px -16px rgba(196, 181, 253, 0.45);
  opacity: 0;
  transition: opacity 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .home-page .featured-card:hover,
  .home-page .testimonial-card:hover,
  .home-page .services-grid .card:hover {
    transform: translateY(-2px);
    border-color: var(--hm-border-hover);
    background-color: var(--hm-card-hover);
  }
  .home-page .featured-card:hover::after,
  .home-page .testimonial-card:hover::after,
  .home-page .services-grid .card:hover::after {
    opacity: 1;
  }

  /* Case study card micro: thumb scale + arrow translate + title accent */
  .home-page .featured-card-thumb {
    overflow: hidden;
    border-radius: 12px;
  }
  .home-page .featured-card-thumb img {
    transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .home-page .featured-card:hover .featured-card-thumb img {
    transform: scale(1.03);
  }
  .home-page .featured-card-link {
    display: inline-block;
    transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .home-page .featured-card:hover .featured-card-link {
    transform: translateX(4px);
  }
  .home-page .featured-card:hover .featured-card-title,
  .home-page .featured-card:hover h3 { color: var(--hm-accent); }

  /* Service card micro: icon nudge */
  .home-page .services-grid .card .card-icon {
    transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .home-page .services-grid .card:hover .card-icon {
    transform: translateY(-1px);
  }
}

/* Active / pressed state — clickable cards only */
.home-page .featured-card:active {
  transform: translateY(0) scale(0.995);
  transition-duration: 90ms;
}

/* Static rules that don't depend on hover */
.home-page .featured-card-link {
  color: var(--hm-accent);
  font-weight: 700;
}
.home-page .featured-card-lbl {
  white-space: nowrap;
  font-size: 0.62rem;
}
.home-page .testimonial-tag {
  color: var(--hm-accent);
  background: rgba(196, 181, 253, 0.08);
  border: 1px solid rgba(196, 181, 253, 0.18);
}
.home-page .card-icon {
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.12), rgba(122, 181, 92, 0.10));
  border: 1px solid rgba(196, 181, 253, 0.22);
  color: var(--hm-accent);
}

@media (prefers-reduced-motion: reduce) {
  .home-page .featured-card,
  .home-page .testimonial-card,
  .home-page .services-grid .card,
  .home-page .featured-card-thumb img,
  .home-page .featured-card-link,
  .home-page .services-grid .card .card-icon {
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
  }
  .home-page .featured-card:hover,
  .home-page .testimonial-card:hover,
  .home-page .services-grid .card:hover { transform: none; }
  .home-page .featured-card:hover .featured-card-thumb img,
  .home-page .featured-card:hover .featured-card-link,
  .home-page .services-grid .card:hover .card-icon { transform: none; }
  .home-page .featured-card::after,
  .home-page .testimonial-card::after,
  .home-page .services-grid .card::after { display: none; }
}
.home-page .card-icon {
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.12), rgba(122, 181, 92, 0.10));
  border: 1px solid rgba(196, 181, 253, 0.22);
  color: var(--hm-accent);
}

/* Hero CTA - primary + ghost secondary, matched heights, premium polish */
.home-page .cta-group {
  align-items: stretch;
}
.home-page .hero-cta-primary,
.home-page .hero-cta-secondary {
  position: relative;
  isolation: isolate;
  transition:
    transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background-color 180ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background 180ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 180ms cubic-bezier(0.2, 0.7, 0.2, 1),
    color 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.home-page .hero-cta-primary {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
  color: #0a0a0f;
  border: 1px solid rgba(196, 181, 253, 0.5);
}
/* Pre-rendered shadow layer (no blur radius animation) */
.home-page .hero-cta-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 18px 48px -16px rgba(196, 181, 253, 0.6);
  opacity: 0.4;
  transition: opacity 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: -1;
  pointer-events: none;
}
.home-page .hero-cta-primary:hover,
.home-page .hero-cta-primary:focus-visible {
  background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
  color: #0a0a0f;
  transform: translateY(-1px);
}
.home-page .hero-cta-primary:hover::before,
.home-page .hero-cta-primary:focus-visible::before { opacity: 1; }

.home-page .hero-cta-primary svg {
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.home-page .hero-cta-primary:hover svg {
  transform: rotate(-6deg) scale(1.05);
}

.home-page .hero-cta-secondary {
  background: rgba(196, 181, 253, 0.04);
  color: #f5f5f7;
  border: 1px solid rgba(196, 181, 253, 0.3);
  font-weight: 600;
}
.home-page .hero-cta-secondary:hover,
.home-page .hero-cta-secondary:focus-visible {
  background: rgba(196, 181, 253, 0.12);
  border-color: rgba(196, 181, 253, 0.55);
  color: #fff;
  transform: translateY(-1px);
}
.home-page .hero-cta-secondary svg {
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.home-page .hero-cta-secondary:hover svg {
  transform: translateX(4px);
}

/* Active press feedback */
.home-page .hero-cta-primary:active,
.home-page .hero-cta-secondary:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 90ms;
}

/* Premium dual-layer focus ring */
.home-page .hero-cta-primary:focus-visible,
.home-page .hero-cta-secondary:focus-visible {
  outline: 2px solid var(--hm-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(196, 181, 253, 0.18);
}

/* Final CTA - upgrade to closing-card chrome with sublabel */
.home-page .section-cta-final {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--hm-bg);
}
.home-page .section-cta-final .container {
  max-width: 760px;
  margin: 0 auto;
}
.home-page .cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(122, 181, 92, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(196, 181, 253, 0.22), transparent 70%),
    linear-gradient(135deg, rgba(15, 15, 20, 0.6) 0%, rgba(20, 16, 32, 0.5) 100%);
  border: 1px solid rgba(196, 181, 253, 0.3);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: 0 30px 80px -40px rgba(196, 181, 253, 0.35);
}
.home-page .cta-final h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--hm-text);
  margin: 0 0 0.85rem;
  line-height: 1.2;
}
.home-page .cta-final p {
  color: var(--hm-text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto 1.75rem;
}
.home-page .cta-final .btn-primary {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.home-page .cta-final .cta-sublabel {
  display: block;
  font-size: 0.78rem;
  color: var(--hm-text-muted);
  margin-top: 0.95rem;
  letter-spacing: 0.01em;
}

/* Homepage FAQ accordion: premium chip +/- centered on text row */
.home-page .home-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}
.home-page .home-faq-item summary::-webkit-details-marker { display: none; }
.home-page .home-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  align-self: center;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hm-accent);
  background: rgba(196, 181, 253, 0.1);
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.home-page .home-faq-item[open] summary::after {
  content: "\2212";
  background: rgba(196, 181, 253, 0.18);
}

/* MOBILE COMPACTION - homepage was endless on phones */
@media (max-width: 768px) {
  /* Common Questions accordion: tighter padding so 8 items don't dominate the page */
  .home-page .home-faq-item {
    padding: 0.85rem 1rem;
  }
  .home-page .home-faq-item summary {
    font-size: 0.95rem;
    line-height: 1.35;
    min-height: 44px;
  }
  .home-page .home-faq-item summary h3 {
    font-size: 0.95rem;
    line-height: 1.35;
  }
  .home-page .home-faq-item p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-top: 0.75rem;
  }
  .home-page .home-faq-item summary::after {
    width: 26px;
    height: 26px;
    font-size: 1.1rem;
  }

  /* Testimonial cards: clamp quote so each card stays under ~360px tall */
  .home-page .testimonial-card { padding: 1.25rem 1.25rem 1rem; }
  .home-page .testimonial-card blockquote {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .home-page .testimonial-card .testimonial-tags {
    margin-top: 0.5rem;
  }

  /* Tighten section padding on home so the page feels less endless overall */
  .home-page .section-dark { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-eyebrow::before,
  .home-page .featured-card,
  .home-page .testimonial-card,
  .home-page .services-grid .card { transition: none; animation: none; }
  .home-page .featured-card:hover,
  .home-page .testimonial-card:hover,
  .home-page .services-grid .card:hover { transform: none; }
}

/* ==========================================================================
   ROUND 5: Premium motion polish (10-agent audit synthesis 2026-05-02).
   Restraint > maximalism. transform/opacity/background-position only.
   All motion gated by prefers-reduced-motion at the global blanket
   (style3.css:1071) plus targeted resets here.
   ========================================================================== */

/* Motion tokens - house easing curves */
.home-page {
  --kf-ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --kf-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --kf-ease-tactile: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* === Hero entrance choreography (replaces the 0.8s/30px swoop) === */
@keyframes kf-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.home-page .hero-eyebrow,
.home-page .hero h1,
.home-page .hero .tagline,
.home-page .hero .cta-group,
.home-page .hero .cta-micro-trust,
.home-page .hero .trust-badges,
.home-page .hero .stats {
  opacity: 0;
  animation: kf-rise 600ms var(--kf-ease-out) forwards;
}
.home-page .hero-eyebrow      { animation-delay: 0ms;   animation-duration: 500ms; }
.home-page .hero h1           { animation-delay: 120ms; animation-duration: 700ms; }
.home-page .hero .tagline     { animation-delay: 240ms; animation-duration: 500ms; }
.home-page .hero .cta-group   { animation-delay: 360ms; animation-duration: 500ms; }
.home-page .hero .cta-micro-trust,
.home-page .hero .trust-badges { animation-delay: 480ms; animation-duration: 400ms; }
.home-page .hero .stats        { animation-delay: 560ms; animation-duration: 500ms; }

/* === One-shot headline shimmer on the dollar/percentage spans ===
   The .nowrap spans wrap "$500K-$10M+" and "15-30%". A single left-to-right
   highlight sweeps through them ~1s after the H1 lands, then stops forever.
   Premium because it confirms the eye's existing focus instead of demanding it. */
.home-page .hero h1 .nowrap {
  background: linear-gradient(
    100deg,
    #c4b5fd 0%,
    #c4b5fd 40%,
    #ffffff 50%,
    #c4b5fd 60%,
    #c4b5fd 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: kf-shimmer 900ms cubic-bezier(0.4, 0, 0.2, 1) 1100ms 1 forwards;
}
.home-page .hero h1 .nowrap:last-of-type {
  animation-delay: 1300ms;
}
@keyframes kf-shimmer {
  to { background-position: 0 0; }
}

/* === Eyebrow pulse refinement (was 8px ring / 0.6 alpha — too aggressive) === */
@keyframes hm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.home-page .hero-eyebrow::before {
  animation: hm-pulse 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* === Stat number formatting: tabular-nums prevents jitter during count-up === */
.home-page .stat-number {
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
}
.home-page .stat-suffix {
  /* Suffix stays static; only the number node animates */
  display: inline;
}

/* Removed: kf-hero-drift and kf-cta-drift background-position animations.
   background-position is a PAINT property — animating it forces full repaint
   every frame, which Lighthouse Speed Index registers as 'page never
   stabilizes'. Static gradient blobs alone carry the 'live surface' feel
   without the perf penalty. */

/* === Static SVG noise grain over the hero only (non-animated, ~380 bytes inline) ===
   Adds a premium "this is a real surface" texture. Sage-green CTAs and lavender
   gradients pop against a faint grain. mix-blend-mode: overlay disappears in pure
   black, registers only over the gradient halos. */
.home-page .hero {
  --kf-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: var(--kf-noise);
  background-size: 200px 200px;
}

/* Reduced-motion: freeze ambient drift, keep static gradients visible */
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-eyebrow,
  .home-page .hero h1,
  .home-page .hero h1 .nowrap,
  .home-page .hero .tagline,
  .home-page .hero .cta-group,
  .home-page .hero .cta-micro-trust,
  .home-page .hero .trust-badges,
  .home-page .hero .stats {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .home-page .hero h1 .nowrap {
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #fff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 0 0;
  }
  .home-page .hero-eyebrow::before { animation: none; }
  .home-page .hero::after,
  .home-page .cta-final::before { animation: none; }
}

/* ==========================================================================
   Free tools strip on the homepage. Adds 3 inbound internal links from
   the highest-PageRank page to the orphan tool pages.
   ========================================================================== */
.home-page .home-tools-strip { background: var(--hm-bg, #07070b); }
.home-page .home-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1rem;
  margin: 0 auto 1.5rem;
  max-width: 1080px;
}
.home-page .home-tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background 0.25s ease;
}
.home-page .home-tool-card:hover,
.home-page .home-tool-card:focus-visible {
  background: rgba(196, 181, 253, 0.06);
  border-color: rgba(196, 181, 253, 0.35);
  transform: translateY(-3px);
  outline: none;
}
.home-page .home-tool-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -0.01em;
}
.home-page .home-tool-card p {
  margin: 0;
  color: #a8a8b3;
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
}
.home-page .home-tool-cta {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c4b5fd;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease;
}
.home-page .home-tool-card:hover .home-tool-cta {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-tool-card,
  .home-page .home-tool-cta { transition: none; }
  .home-page .home-tool-card:hover { transform: none; }
  .home-page .home-tool-card:hover .home-tool-cta { transform: none; }
}

/* Mobile: horizontal scroll-snap carousel, matches engagements tier pattern. */
@media (max-width: 760px) {
  .home-page .home-tools-strip { padding-top: 2rem; padding-bottom: 2rem; }
  .home-page .home-tools-strip .section-header { margin-bottom: 1rem; }
  .home-page .home-tools-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    gap: 0.85rem;
    margin: 0 -1rem 1rem;
    padding: 0.25rem 1rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .home-page .home-tools-grid::-webkit-scrollbar { display: none; }
  .home-page .home-tools-grid > .home-tool-card {
    flex: 0 0 min(85%, 320px);
    min-width: 240px;
    max-width: 320px;
    scroll-snap-align: start;
    padding: 1.15rem 1.25rem;
  }
  .home-page .home-tool-card p { font-size: 0.875rem; }
  .home-page .home-tools-strip .section-cta { margin-top: 0.5rem; }
}
