/* ==========================================================================
   Activation Foundry
   Bold sans-serif marketing site, dark theme, vibrant gradient system
   ========================================================================== */

:root {
  --bg: #08080f;
  --bg-1: #0c0c16;
  --bg-2: #11111c;
  --surface: #15151f;
  --surface-2: #1c1c28;
  --surface-3: #222230;

  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f7f7fb;
  --text-muted: #a8aaba;
  --text-subtle: #6a6c7c;

  /* gradient stops — cool, gender-neutral cyan→blue→indigo */
  --g-1: #22d3ee; /* cyan */
  --g-2: #3b82f6; /* blue */
  --g-3: #6366f1; /* indigo */

  --gradient: linear-gradient(135deg, var(--g-1) 0%, var(--g-2) 50%, var(--g-3) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(59, 130, 246, 0.12) 50%, rgba(99, 102, 241, 0.10));
  --gradient-text: linear-gradient(135deg, #67e8f9 0%, #93c5fd 45%, #a5b4fc 100%);

  /* single-color accent (used for body links, highlighted text in mockups) */
  --accent-link: #7dd3fc; /* sky-300 */
  --accent-link-hover: #bae6fd; /* sky-200 */

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 60px -32px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 20px 60px -20px rgba(59, 130, 246, 0.45), 0 30px 80px -30px rgba(34, 211, 238, 0.30);
  --shadow-button: 0 8px 24px -6px rgba(59, 130, 246, 0.4), 0 4px 12px -4px rgba(34, 211, 238, 0.3);

  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* `content-visibility: auto` was removed — it deferred painting entire sections
   until scroll, which looked like copy “loading in” late or popping blank on
   resize/rotation. Sections still paint eagerly so text is always measurable
   and wrap-stable across breakpoints. */

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

a {
  color: var(--accent-link);
  text-decoration: none;
}

a:hover { color: var(--accent-link-hover); }

::selection {
  background: var(--g-2);
  color: white;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--g-2);
  color: white;
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  position: relative;
}

/* Gradient text utility */
.grad-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* small glow under the text without affecting layout */
  filter: drop-shadow(0 2px 24px rgba(59, 130, 246, 0.22));
  /* Gradient clipped text still participates in line breaking — without this,
     long phrases inside `.grad-text` can refuse to wrap inside flex/grid tracks. */
  overflow-wrap: break-word;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Slightly more opaque + lighter blur = less scroll-time compositing cost than
     a strong frosted glass effect over the full viewport. */
  background: rgba(8, 8, 15, 0.88);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: clamp(2.25rem, 4.8vw, 2.9rem);
  width: auto;
  transition: opacity 0.18s;
}

.logo:hover img { opacity: 0.85; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.93rem;
  letter-spacing: 0.005em;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.18s;
}

.site-nav a:hover { color: var(--text); }

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

/* Must beat `.site-nav a { padding: 0.4rem 0 }` (same element) — `.nav-cta`
   alone loses specificity, so horizontal padding was never applied. */
.site-nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Extended gradient stops + solid fallback — no corner banding on pill */
  background:
    linear-gradient(135deg, var(--g-1) -10%, var(--g-2) 50%, var(--g-3) 110%);
  background-color: var(--g-2);
  color: white !important;
  padding: 0.75rem 1.85rem;
  min-height: 2.75rem;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-button);
}

.site-nav a.nav-cta:hover {
  filter: brightness(1.1);
  color: white !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  margin-inline: auto;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.25rem;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    gap: 0;
    display: none;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child:not(.nav-cta) {
    border-bottom: none;
    margin-top: 0.65rem;
    text-align: center;
    padding: 0.7rem 1rem;
  }

  /* CTA is usually last — give it real tap target + horizontal room */
  .site-nav a.nav-cta {
    justify-content: center;
    margin-top: 0.65rem;
    padding: 0.85rem 1.75rem;
    min-height: 3rem;
    border-bottom: none;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* ==========================================================================
   Typography utilities
   ========================================================================== */

.display-1 {
  /* Min size lowered from 2.6rem so the headline never overflows a 320px
     viewport — at the old min, the single word "Optimisation." was wider
     than the container, which combined with `body { overflow-x: hidden }`
     made the right edge of the hero (headline, lead, CTA, AI card) get
     clipped and become unreachable on phones. */
  font-size: clamp(2rem, 6.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
  color: var(--text);
  /* Last-resort safety net: if a future word is still too long for the
     available width, break inside it instead of overflowing the page. */
  overflow-wrap: break-word;
  hyphens: auto;
}

.display-2 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--text);
  overflow-wrap: break-word;
  hyphens: auto;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: min(48ch, 100%);
  line-height: 1.6;
  overflow-wrap: break-word;
}

.badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0 0 1.75rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.8); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.65rem;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  position: relative;
  isolation: isolate;
}

.btn:focus-visible {
  outline: 2px solid var(--g-1);
  outline-offset: 3px;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
  font-weight: 400;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  /* No transparent border — it was causing subpixel edge banding at the
     rounded corners (especially bottom-right where 135° gradient ends).
     Extended gradient stops + solid fallback colour keep the pill clean. */
  background:
    linear-gradient(135deg, var(--g-1) -10%, var(--g-2) 50%, var(--g-3) 110%);
  background-color: var(--g-2);
  color: white;
  border: 0;
  /* +1px on each side to match the height of .btn-ghost/.btn-secondary,
     which still carry the 1px transparent border from .btn. */
  padding: calc(0.95rem + 1px) calc(1.65rem + 1px);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: white;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: rgba(59, 130, 246, 0.6);
  color: var(--text);
  background: rgba(59, 130, 246, 0.06);
}

.btn-block { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  /* Trim top padding on desktop so the headline sits closer to the header
     instead of leaving a dead band underneath the sticky nav. */
  padding: clamp(2.25rem, 4.5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

/* ---- Hero background slideshow ----
   Six dimmed photos representing the major AI players + the data centres
   that power them, cycling on a continuous loop behind the headline. */

.hero-photos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg);
  contain: paint;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  /* Heavy desaturation + darken so the photo reads as texture, not content,
     and the foreground copy keeps its contrast. */
  filter: grayscale(0.55) brightness(0.42) contrast(1.05);
  /* 6 slides × 6s window = 36s loop, with a 1s crossfade on either side. */
  animation: hero-photo-cycle 36s linear infinite;
}

/* Subtle Ken Burns drift while a slide is on screen, so it doesn't feel static. */
@keyframes hero-photo-cycle {
  0%      { opacity: 0; transform: scale(1.04); }
  2.78%   { opacity: 1; transform: scale(1.04); }
  16.66%  { opacity: 1; transform: scale(1.00); }
  19.44%  { opacity: 0; transform: scale(1.00); }
  100%    { opacity: 0; transform: scale(1.04); }
}

/* Slide 1 ships the only background-image declared in CSS so it loads on
   first paint as the LCP candidate (also preloaded in <head>). Slides 2-6
   have their URL injected by main.js on window.load — keeps the initial
   payload to a single ~150 KB image instead of six. */
.hero-photo-1 { animation-delay:   0s; background-image: url("https://images.unsplash.com/photo-1751448582395-27fc57293f1a?w=1400&q=45&auto=format&fit=crop"); }
.hero-photo-2 { animation-delay:   6s; }
.hero-photo-3 { animation-delay:  12s; }
.hero-photo-4 { animation-delay:  18s; }
.hero-photo-5 { animation-delay:  24s; }
.hero-photo-6 { animation-delay:  30s; }

/* Overlay sits above the photos but below the content. Pulls everything down
   to roughly the body background's brightness, then layers a brand wash on
   top so the section still feels like part of the site, not a hero image. */
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    /* extra darken on the left where the headline sits */
    linear-gradient(90deg, rgba(8, 8, 15, 0.85) 0%, rgba(8, 8, 15, 0.55) 55%, rgba(8, 8, 15, 0.7) 100%),
    /* top + bottom fade into the page background */
    linear-gradient(180deg, rgba(8, 8, 15, 0.6) 0%, rgba(8, 8, 15, 0.4) 40%, rgba(8, 8, 15, 0.85) 100%),
    /* brand wash so the cyan→indigo identity carries over */
    radial-gradient(60% 70% at 75% 25%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(70% 80% at 20% 80%, rgba(99, 102, 241, 0.18), transparent 70%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo {
    animation: none;
  }
  /* Show only the first slide, fully visible. */
  .hero-photo-1 { opacity: 1; transform: none; }
}

.hero-grid {
  display: grid;
  /* `minmax(0, 1fr)` (instead of the implicit `auto`) is critical: it lets
     the column shrink below its content's intrinsic width, so a long word
     in the headline or a wide AI-card mockup can't push the row past the
     container edge. Without this the row would overflow on narrow phones
     and the right side of the hero would get clipped by `overflow-x:hidden`
     on <body>. */
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Belt-and-braces: also pin grid items themselves so any future track
   definition still allows the children to shrink. */
.hero-grid > * { min-width: 0; }

@media (min-width: 980px) {
  .hero-grid {
    /* Same `minmax(0, ...)` pattern as the mobile single-column track, so
       a wide child can't push either column past its intended share. */
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4.5rem;
    /* On desktop the AI-card mockup is much taller than the headline copy,
       so vertically centring would visually drop the headline. Anchor both
       columns to the top of the row instead. */
    align-items: start;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 520px) {
  /* Side‑by‑side pills + `nowrap` labels used to spill past the viewport on
     phones — stacking full‑width keeps every word reachable without zooming. */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ---- AI answer mockup ---- */

.hero-visual {
  position: relative;
  perspective: 1200px;
}

.ai-card-glow {
  position: absolute;
  inset: 5% -5% -10% 0;
  background: var(--gradient);
  filter: blur(48px);
  opacity: 0.52;
  z-index: -1;
  border-radius: 50%;
}

.ai-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  transform: rotate3d(1, -0.4, 0, 6deg) translateY(-4px);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ai-card:hover { transform: rotate3d(1, -0.4, 0, 4deg) translateY(-8px); }

@media (max-width: 980px) {
  .ai-card { transform: none; }
  .ai-card:hover { transform: translateY(-4px); }
}

/* gradient border using mask trick */
.ai-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.55), rgba(59, 130, 246, 0.4) 50%, transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ai-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.ai-window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.ai-dot-r { background: #ff5f57; }
.ai-dot-y { background: #febc2e; }
.ai-dot-g { background: #28c840; }

.ai-card-title {
  margin-left: auto;
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 0.78rem;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
  overflow-wrap: break-word;
}

.ai-card-body { padding: 1.4rem 1.5rem 1.6rem; }

.ai-msg {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.ai-msg:last-child { margin-bottom: 0; }

.ai-tag {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: white;
}

.ai-tag-user {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.ai-tag-bot {
  background: var(--gradient);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.45);
}

.ai-msg-body {
  min-width: 0;
}

.ai-msg-user p,
.ai-msg-body p {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text);
}

.ai-msg-user p { color: var(--text-muted); }

.ai-list {
  list-style: none;
  margin: 0.85rem 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.ai-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.ai-list li > div {
  min-width: 0;
}

.ai-list-featured {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(59, 130, 246, 0.12) 60%, rgba(99, 102, 241, 0.08)) !important;
  border-color: rgba(59, 130, 246, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 8px 32px -12px rgba(34, 211, 238, 0.35);
}

.ai-rank {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
}

.ai-list-featured .ai-rank {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

.ai-list strong {
  display: block;
  font-size: 0.93rem;
  color: var(--text);
  font-weight: 600;
}

.ai-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 0.15rem;
}

.ai-pin {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-pill);
  color: var(--accent-link);
  white-space: normal;
  text-align: center;
  overflow-wrap: break-word;
  hyphens: auto;
}

.ai-cite {
  font-size: 0.76rem !important;
  color: var(--text-subtle) !important;
  margin: 0.5rem 0 0 !important;
}

/* ==========================================================================
   Industries (photo grid) — replaces old trust strip
   ========================================================================== */

.industries {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}

.industries-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.industries-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.industries-sub {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin-inline: auto;
}

.industries-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) { .industries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1100px) { .industries-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.industry-card {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  isolation: isolate;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s;
  filter: saturate(0.85) contrast(1.05);
}

.industry-card::before {
  /* darken image so text is readable; gradient hint at bottom */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 15, 0.15) 0%, rgba(8, 8, 15, 0.55) 60%, rgba(8, 8, 15, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s;
}

.industry-card::after {
  /* gradient outline on hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}

.industry-card:hover img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.05);
}

.industry-card:hover::after { opacity: 1; }

.industry-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1rem 1.15rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--text);
}

.industry-card figcaption span::before {
  /* gradient dot before label */
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.7);
  vertical-align: middle;
}

/* ==========================================================================
   Search shift (phone mockups with stock video)
   ========================================================================== */

.search-shift {
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  background:
    radial-gradient(700px 380px at 90% 10%, rgba(99, 102, 241, 0.08), transparent 60%),
    radial-gradient(700px 380px at 0% 90%, rgba(34, 211, 238, 0.06), transparent 60%),
    var(--bg);
}

.search-shift-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  justify-content: center;
}

@media (min-width: 760px) {
  .search-shift-grid { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 2.5rem; }
}

@media (min-width: 1100px) {
  .search-shift-grid { grid-template-columns: repeat(3, minmax(0, 280px)); gap: 2.5rem; }
}

.phone-mock {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone-screen {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  /* Default screen wallpaper: a deep brand-tinted gradient with a soft
     highlight near the top — gives the device a "screen-on" feel without
     needing video. Variants below tweak the hue per phone. */
  background:
    radial-gradient(80% 35% at 50% -10%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(120% 90% at 50% 110%, rgba(34, 211, 238, 0.20), transparent 70%),
    linear-gradient(170deg, #0d1530 0%, #0a1024 45%, #0c1230 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  /* subtle outer device shadow + gradient halo */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 60px -25px rgba(0, 0, 0, 0.8),
    0 40px 100px -30px rgba(59, 130, 246, 0.35);
  overflow: hidden;
  isolation: isolate;
}

/* notch */
.phone-screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 18px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
}

/* Per-phone wallpaper variants: each leans on a different stop of the
   cyan→indigo brand range so the row of three feels distinct. */
.phone-screen-google {
  background:
    radial-gradient(80% 35% at 50% -10%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(110% 80% at 50% 110%, rgba(34, 211, 238, 0.22), transparent 70%),
    linear-gradient(170deg, #0d1730 0%, #0a1126 45%, #0c1330 100%);
}

.phone-screen-ai {
  background:
    radial-gradient(80% 35% at 50% -10%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(110% 80% at 50% 110%, rgba(99, 102, 241, 0.22), transparent 70%),
    linear-gradient(170deg, #14122a 0%, #0d0c20 45%, #11102a 100%);
}

.phone-screen-overview {
  background:
    radial-gradient(80% 35% at 50% -10%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(110% 80% at 50% 110%, rgba(59, 130, 246, 0.22), transparent 70%),
    linear-gradient(170deg, #0c1430 0%, #0a1024 45%, #0e1230 100%);
}

/* Faint diagonal sheen, like a clean glass panel with a single light source
   above-right — sells the "phone screen on" effect without any motion. */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 35%, transparent 70%, rgba(255, 255, 255, 0.04) 100%);
  mix-blend-mode: screen;
}

.phone-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 0.85rem 1.25rem;
  /* Soft dark scrim so the white UI chrome (search bar, results, AI Overview)
     has clean contrast against the brand-tinted screen wallpaper below. */
  background:
    linear-gradient(180deg, rgba(8, 8, 15, 0.72) 0%, rgba(8, 8, 15, 0.5) 60%, rgba(8, 8, 15, 0.78) 100%);
}

.po-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.85rem;
  margin-bottom: 0.85rem;
}

.po-logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  font-family: Arial, sans-serif;
}

.po-g { display: inline-block; }
.po-g-blue   { color: #4285f4; }
.po-g-red    { color: #ea4335; }
.po-g-yellow { color: #fbbc05; }
.po-g-green  { color: #34a853; }

.po-app {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.po-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.72rem;
  color: #f1f5f9;
  margin-bottom: 0.85rem;
  min-width: 0;
}

.po-search > span:last-of-type {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}

.po-search-icon { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }

.po-result {
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.po-result-top {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(59, 130, 246, 0.45);
}

.po-url {
  margin: 0;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
}

.po-title {
  margin: 0.15rem 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-link);
  line-height: 1.25;
}

.po-meta {
  margin: 0;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.6);
}

/* AI overlay variant */
.po-msg-user {
  align-self: flex-end;
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px 12px 4px 12px;
}

.po-msg-bot {
  align-self: flex-start;
  max-width: 92%;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(59, 130, 246, 0.10));
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 12px 12px 12px 4px;
}

.po-bot-name {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

.po-msg-bot p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: white;
}

.po-msg-bot strong {
  color: var(--accent-link);
  font-weight: 700;
}

.phone-caption {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 24ch;
  line-height: 1.4;
}

/* AI Overview overlay (Google's SGE-style result) */
.po-overview {
  margin-top: 0.25rem;
  padding: 0.7rem 0.75rem 0.75rem;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.10), rgba(99, 102, 241, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.po-overview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}

.po-overview-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.po-spark {
  width: 12px;
  height: 12px;
  display: block;
  flex-shrink: 0;
}

.po-overview-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.po-overview-text {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  line-height: 1.45;
  color: white;
}

.po-overview-text strong {
  color: var(--accent-link);
  font-weight: 700;
}

.po-cite-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.po-cite {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.22rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

/* ==========================================================================
   Partners
   ========================================================================== */

/* Hero-style backdrop: a high-res sunrise shot of Bronte Beach (by Sam Wermut
   on Unsplash, free license) sits behind the section, dimmed and overlaid
   with cool gradients so headings/body copy still pass contrast. */
.partners {
  position: relative;
  isolation: isolate;
  background-color: var(--bg-1);
  background-image:
    /* top fade so the header bar sits cleanly */
    linear-gradient(180deg, rgba(8, 8, 15, 0.85) 0%, rgba(8, 8, 15, 0.55) 30%, rgba(8, 8, 15, 0.55) 70%, rgba(8, 8, 15, 0.92) 100%),
    /* brand-tinted wash to keep the cyan→indigo identity */
    linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(59, 130, 246, 0.18) 50%, rgba(99, 102, 241, 0.28)),
    url("https://images.unsplash.com/photo-1532484468512-fd9df0aa70f4?w=1800&q=55&auto=format&fit=crop");
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  /* All scroll — fixed attachment repaints the whole viewport on scroll. */
  background-attachment: scroll, scroll, scroll;
  border-block: 1px solid var(--border);
}

/* Soft vignette + subtle grain so the photo never feels like a flat backdrop. */
.partners::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 60% at 50% 50%, transparent 0%, rgba(8, 8, 15, 0.35) 100%);
  z-index: -1;
}

/* Lift the section header copy so it reads against the photograph. */
.partners .section-eyebrow { color: #bae6fd; }
.partners .section-intro { color: rgba(226, 232, 240, 0.92); }

.partner-grid {
  display: grid;
  gap: 1.25rem;
  /* allow up to 3 cards across once the roster grows; single card stays centered */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 380px));
  justify-content: center;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  padding: 1.5rem 1.65rem;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  position: relative;
  isolation: isolate;
  transition: transform 0.2s, border-color 0.2s;
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

/* gradient outline on hover */
.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.55), rgba(59, 130, 246, 0.4) 50%, transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.partner-card:hover::before { opacity: 1; }

/* Logo bay: clean white panel so the partner's official mark reads exactly
   as it does on their own brand assets. */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 28px -14px rgba(15, 23, 42, 0.55);
}

.partner-logo img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

.partner-text { min-width: 0; }

.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.45rem;
  padding: 0.22rem 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-link);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 999px;
}

.partner-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}

.partner-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.partner-blurb {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.partner-link {
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.18s;
}

.partner-card:hover .partner-link { filter: brightness(1.15); }

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  /* Pulled in from clamp(4.5rem, 9vw, 7rem) so sections don't feel like
     they're floating with empty space above on wider viewports. */
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin: 0 0 3.5rem;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1.25rem;
  display: inline-block;
}

.section-intro {
  color: var(--text-muted);
  max-width: min(60ch, 100%);
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.section-head:not(.section-head-center) .section-intro { margin: 0; }

/* ==========================================================================
   How it works (feature blocks)
   ========================================================================== */

.how {
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(34, 211, 238, 0.07), transparent 60%),
    radial-gradient(800px 400px at -10% 30%, rgba(59, 130, 246, 0.06), transparent 60%),
    var(--bg);
}

.feature-grid {
  display: grid;
  gap: 2rem;
}

.feature-card {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(59, 130, 246, 0.15) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover::after { opacity: 1; }

@media (min-width: 880px) {
  .feature-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
    padding: clamp(2rem, 3.5vw, 3rem);
  }
  .feature-card-reverse .feature-text { order: 2; }
  .feature-card-reverse .feature-visual { order: 1; }
}

.feature-text,
.feature-visual {
  min-width: 0;
}

.feature-num {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.feature-text h3 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text);
  overflow-wrap: break-word;
}

.feature-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: min(50ch, 100%);
  overflow-wrap: break-word;
}

.feature-visual {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- SERP mock ---- */

.serp-mock {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-card);
}

.serp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.serp-search {
  font-size: 0.9rem;
  color: var(--text);
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}

.serp-icon {
  color: var(--text-subtle);
  font-size: 1rem;
}

.serp-meta {
  margin: 0 0 0.85rem;
  padding-left: 0.4rem;
  font-size: 0.74rem;
  color: var(--text-subtle);
}

.serp-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.serp-result:last-child { margin-bottom: 0; }

.serp-result-top {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(59, 130, 246, 0.10));
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.serp-fav {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient);
  flex-shrink: 0;
}

/* per-business favicon variants — keeps each mockup feeling like its own brand */
.serp-fav-dental { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.serp-fav-2 { background: linear-gradient(135deg, #475569, #64748b); }

.serp-url {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.serp-title {
  margin: 0.15rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-link);
}

.serp-rating {
  margin: 0.2rem 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.serp-stars {
  color: #fbbf24;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  line-height: 1;
}

.serp-stars-half {
  background: linear-gradient(90deg, #fbbf24 0%, #fbbf24 90%, rgba(251, 191, 36, 0.3) 90%, rgba(251, 191, 36, 0.3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.serp-rating-meta { color: var(--text-subtle); }

.serp-snippet {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.serp-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.6rem;
  background: var(--gradient);
  color: white;
  border-radius: 6px;
  white-space: normal;
  text-align: center;
  overflow-wrap: break-word;
}

/* ---- Chat / GEO mock ---- */

.chat-mock {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.chat-app {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chat-time {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.chat-user {
  display: block;
  margin: 0 0 1rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 2px;
  font-size: 0.92rem;
  color: var(--text);
  max-width: 88%;
}

.chat-bot {
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.10), rgba(59, 130, 246, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 14px 14px 2px 14px;
  margin-left: auto;
  max-width: 92%;
}

.chat-bot-name {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.6rem;
}

.chat-bot p { margin: 0 0 0.65rem; font-size: 0.92rem; color: var(--text); line-height: 1.55; }

.chat-cite-list {
  list-style: none;
  margin: 0.65rem 0 0.95rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  counter-reset: chat-cite;
}

.chat-cite-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.45rem 0.7rem 0.45rem 2rem;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  counter-increment: chat-cite;
  line-height: 1.45;
}

.chat-cite-list li::before {
  content: counter(chat-cite);
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  background: var(--gradient);
  border-radius: 5px;
}

.chat-cite-list strong { color: var(--text); font-weight: 600; }
.chat-cite-list sup {
  font-size: 0.65rem;
  color: var(--accent-link);
  margin-left: 0.15rem;
  font-weight: 700;
  vertical-align: super;
}

.chat-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.chat-source {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 0.32rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

/* ---- Answer / AEO mock ---- */

.answer-mock {
  width: 100%;
  display: grid;
  gap: 0.75rem;
  align-items: start;
}

.answer-box {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.answer-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient);
}

.answer-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding: 0.32rem 0.7rem 0.32rem 0.55rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-pill);
}

.answer-label-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.7);
}

.answer-q {
  margin: 0 0 0.6rem !important;
  font-size: 0.85rem !important;
  font-weight: 600;
  color: var(--text-muted) !important;
  line-height: 1.4 !important;
}

.answer-a {
  margin: 0 0 1.1rem !important;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}

.answer-a strong { font-weight: 700; }

.answer-source-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.answer-source-fav {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, #0891b2, #1d4ed8);
  flex-shrink: 0;
}

.answer-source {
  font-size: 0.78rem !important;
  color: var(--text-subtle) !important;
  margin: 0 !important;
}

.answer-source span {
  color: var(--accent-link);
  font-weight: 500;
}

.answer-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.answer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.answer-pill-icon { font-size: 0.85rem; line-height: 1; }

/* ---- Browser / Web mock ---- */

.browser-mock {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.95rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.browser-url {
  margin-left: 0.85rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  min-width: 0;
  overflow-wrap: break-word;
}

.browser-lock {
  font-size: 0.7rem;
  margin-left: 0.5rem;
  color: var(--text-subtle);
}

.browser-body { padding: 1.5rem; }

.browser-body-split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 540px) {
  .browser-body-split {
    grid-template-columns: 1.3fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }
}

.browser-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.65rem;
}

.browser-body h4 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2.3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.browser-sub {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.browser-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.browser-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.6rem 1.05rem;
  background: var(--gradient);
  color: white;
  border-radius: var(--radius-pill);
}

.browser-btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.browser-btn-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.85rem;
  padding-block: 0.7rem;
}

/* Quote-builder card on the right side of the mock */
.browser-quote {
  padding: 1rem 1.1rem 1.1rem;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.06), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: var(--radius-sm);
}

.browser-quote-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.85rem;
}

.browser-quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

.browser-quote-row:last-of-type { border-bottom: none; }

.browser-quote-key {
  color: var(--text-subtle);
  font-size: 0.78rem;
}

.browser-quote-val {
  color: var(--text);
  font-weight: 600;
}

.browser-quote-total {
  margin-top: 0.4rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-strong) !important;
}

.browser-quote-total .browser-quote-val {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Trust strip across the bottom of the browser body */
.browser-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.browser-strip-item {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Outcomes
   ========================================================================== */

.outcomes {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-1);
  border-block: 1px solid var(--border);
}

.outcomes-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) { .outcomes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1100px) { .outcomes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.outcome-card {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.outcome-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 60%;
  height: 1px;
  background: var(--gradient);
}

.outcome-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.4);
}

.outcome-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.outcome-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--text);
  line-height: 1.3;
}

.outcome-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ==========================================================================
   Packages
   ========================================================================== */

.packages {
  background:
    radial-gradient(700px 350px at 50% 0%, rgba(34, 211, 238, 0.06), transparent 60%),
    var(--bg);
}

.package-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 960px) { .package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; } }

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.85rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, border-color 0.2s;
}

.package-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.package-card-featured {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid transparent;
  box-shadow: var(--shadow-glow);
}

.package-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 960px) {
  .package-card-featured { transform: translateY(-12px); }
  .package-card-featured:hover { transform: translateY(-15px); }
}

.package-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.42rem 0.95rem;
  background: var(--gradient);
  color: white;
  border-radius: var(--radius-pill);
  white-space: normal;
  text-align: center;
  max-width: calc(100% - 2rem);
  overflow-wrap: break-word;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.6);
}

.package-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.package-tier {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.package-card-featured .package-tier {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.package-price {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.package-price .amount {
  font-size: clamp(2.6rem, 4.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.package-price .period {
  margin-left: 0.3rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.package-blurb {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.package-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  flex: 1;
  font-size: 0.96rem;
}

.package-features li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  color: var(--text);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.package-features li:last-child { border-bottom: none; }

.package-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.package-features li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1rem;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2393c5fd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8.5 6.5 12 13 5'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.packages-footnote {
  margin: 3rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.packages-footnote a {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ==========================================================================
   Process
   ========================================================================== */

.process {
  background: var(--bg-1);
  border-block: 1px solid var(--border);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 820px) { .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; } }

.process-steps li {
  position: relative;
  padding: 2.25rem 1.85rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-steps li::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}

.step-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.process-steps h3 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--text);
}

.process-steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ==========================================================================
   Inquiry / Final CTA
   ========================================================================== */

.inquiry {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.inquiry-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(56px);
  opacity: 0.62;
  pointer-events: none;
  /* A 56px blur over a section-sized box is one of the more expensive paint
     operations on the page. `contain` scopes layout/paint to this element
     so the rasteriser doesn't re-blur the parent on unrelated invalidations,
     and the GPU layer hint keeps the blurred bitmap cached between frames. */
  contain: layout paint;
  will-change: transform;
}

.inquiry-mesh .blob,
.inquiry-mesh .blob-1,
.inquiry-mesh .blob-2 {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
}

.inquiry-mesh .blob-1 {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.45), transparent 65%);
  top: 10%;
  left: -10%;
}

.inquiry-mesh .blob-2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 65%);
  bottom: -10%;
  right: -5%;
}

.inquiry-grid {
  display: grid;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 980px) {
  .inquiry-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 4.5rem;
  }
}

.inquiry-copy {
  min-width: 0;
}

.inquiry-copy p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: min(46ch, 100%);
  font-size: 1.02rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.inquiry-points {
  list-style: none;
  margin: 1.75rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.inquiry-points li {
  position: relative;
  padding-left: 2rem;
  color: var(--text);
  font-size: 0.97rem;
}

.inquiry-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.inquiry-points li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8.5 6.5 12 13 5'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-subtle);
  max-width: min(40ch, 100%);
  margin-top: 1.5rem !important;
  line-height: 1.5 !important;
  overflow-wrap: break-word;
}

.form-thanks {
  grid-column: 1 / -1;
  margin: 0 0 0.5rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-sm);
  color: var(--accent-link);
  font-size: 0.95rem;
}

.inquiry-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.25rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 60px -20px rgba(59, 130, 246, 0.3);
}

.inquiry-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.5), rgba(59, 130, 246, 0.35) 50%, rgba(99, 102, 241, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.form-field-full { grid-column: 1 / -1; }

.label-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: var(--text-subtle);
}

.inquiry-form input:hover,
.inquiry-form select:hover,
.inquiry-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
  background: var(--bg-1);
}

.inquiry-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a1a1a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 6 6 11 1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.5;
}

.inquiry-form button[type="submit"] {
  grid-column: 1 / -1;
  margin-top: 0.6rem;
  padding-block: 1.05rem;
  font-size: 1rem;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.footer-brand-block { max-width: 360px; }

.footer-logo {
  display: block;
  height: clamp(2.5rem, 5.2vw, 3.25rem);
  width: auto;
  margin: 0 0 1rem;
}

.footer-tag {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 720px) { .footer-links { justify-self: end; } }

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text);
  font-size: 0.94rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.83rem;
  color: var(--text-subtle);
}

.footer-bottom p { margin: 0; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
