/* ============================================================
   Everline v7 — Voltage Lime design system
   Dark base · #C7FF3D lime accent
   ============================================================ */

/* Metric-matched fallback for Inter */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90%;
  descent-override: 22.43%;
  line-gap-override: 0%;
  size-adjust: 107.64%;
}

/* ============================================================
   DESIGN TOKENS — VOLTAGE LIME
   ============================================================ */
:root {
  /* Palette */
  --bg:          #0B0D0C;
  --surface:     #13171A;
  --surface-2:   #181D21;
  --border:      #1F2629;
  --border-2:    #2A3338;
  --text:        #E8ECEA;
  --text-muted:  #7C8B86;
  --text-faint:  #4A5550;
  --lime:        #C7FF3D;
  --lime-soft:   #A8E021;
  --lime-deep:   #88B91A;
  --teal:        #5EEAD4;
  --danger:      #FF6B6B;
  --shadow-glow: 0 0 40px rgba(199,255,61,0.15);

  /* Derived border colors */
  --border-lime: rgba(199,255,61,0.25);
  --lime-bg-faint: rgba(199,255,61,0.06);
  --lime-bg-light: rgba(199,255,61,0.10);
  --lime-bg-mid:   rgba(199,255,61,0.14);

  /* Fluid type scale */
  --text-xs:   clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.28vw, 0.975rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.075rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.6vw, 1.35rem);
  --text-xl:   clamp(1.35rem, 1.1rem + 1.2vw, 1.875rem);
  --text-2xl:  clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  --text-3xl:  clamp(2.25rem, 1.2rem + 4vw, 4rem);
  --text-hero: clamp(2.6rem, 1.1rem + 6vw, 5.5rem);

  /* Spacing */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem;  --s-8: 2rem;    --s-10: 2.5rem;
  --s-12: 3rem;   --s-16: 4rem;   --s-20: 5rem;   --s-24: 6rem;

  /* Radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms var(--ease);
  --t-med:  320ms var(--ease);
  --t-slow: 600ms var(--ease);

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

/* ============================================================
   LOGO ANIMATION
   ============================================================ */
@keyframes everline-pulse {
  0%   { r: 14; opacity: 0.85; }
  70%  { r: 22; opacity: 0; }
  100% { r: 22; opacity: 0; }
}
.everline-pulse-ring {
  animation: everline-pulse 2s ease-out infinite;
  transform-origin: 34px 60px;
}
@media (prefers-reduced-motion: reduce) {
  .everline-pulse-ring { animation: none; opacity: 0; }
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  background: var(--bg);
  color-scheme: dark;
}
body {
  min-height: 100dvh;
  font-family: 'Inter', 'Inter Display', 'Inter Fallback', 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: 'cv11','ss01','ss03';
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

::selection { background: rgba(199,255,61,0.25); color: var(--text); }

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

/* Instrument Serif italic */
.serif-accent {
  font-family: 'Instrument Serif', 'Georgia', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}

/* Typewriter caret for hero serif accent.
   The wrapper reserves the FULL phrase width via an invisible ghost line so
   the surrounding headline never shifts as characters are typed/erased. */
[data-typewriter] {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}
[data-typewriter] .tw-ghost {
  visibility: hidden;
  white-space: pre;
  pointer-events: none;
  user-select: none;
}
[data-typewriter] .tw-live {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: baseline;
  white-space: pre;
}
[data-typewriter] .tw-text { white-space: pre; }
[data-typewriter] .tw-caret { display: none; }
/* When the typewriter has erased to empty, make the live layer completely
   invisible so no anti-alias/punctuation specks can render. */
[data-typewriter][data-empty="true"] .tw-live {
  visibility: hidden;
}
/* On narrow screens the phrase doesn't fit inline. Drop the absolute
   positioning and let the text flow normally; JS will keep it static. */
@media (max-width: 720px) {
  [data-typewriter] .tw-ghost { display: none; }
  [data-typewriter] .tw-live {
    position: static;
    display: inline;
    visibility: visible !important;
  }
}

/* ============================================================
   AMBIENT BACKGROUND
   ============================================================ */
.bg-grid {
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(199,255,61,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199,255,61,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.bg-glow {
  position: fixed; inset: auto 0 -40vh 0; height: 120vh; z-index: 0;
  background: radial-gradient(60% 60% at 50% 100%, rgba(199,255,61,0.08) 0%, rgba(199,255,61,0) 60%);
  pointer-events: none;
  animation: glow-drift 32s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes glow-drift {
  0%   { transform: translate3d(-2%, 1%, 0) scale(1.0); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-glow { animation: none; }
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  position: relative;
  z-index: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--text-sm);
  letter-spacing: -0.01em;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-med), border-color var(--t-fast);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { will-change: transform; }
.btn-sm { padding: 10px 18px; font-size: var(--text-xs); }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--lime);
  color: #0B0D0C;
  border-color: var(--lime);
  box-shadow: 0 8px 24px -8px rgba(199,255,61,0.4), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.btn-primary:hover {
  background: #d6ff5c;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -6px rgba(199,255,61,0.55), 0 1px 0 rgba(255,255,255,0.15) inset;
}

.btn-ghost {
  background: rgba(232,236,234,0.04);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  background: rgba(232,236,234,0.08);
  border-color: rgba(232,236,234,0.2);
  transform: translateY(-1px);
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}
/* Hero elements: exempt from the hide-then-animate cycle so they paint at
   final position immediately and never flicker. Scroll reveals below the
   fold still animate as normal. */
html.reveal-ready [data-reveal][data-reveal-static] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 12px; z-index: 50;
  padding-inline: clamp(1rem, 3vw, 2rem);
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-5);
  width: min(100%, 980px);
  padding: 8px 8px 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(11,13,12,0.85);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(199,255,61,0.04) inset, 0 10px 30px rgba(0,0,0,0.5);
  transition: background var(--t-med), box-shadow var(--t-med);
}
.nav[data-scrolled="true"] .nav-inner {
  background: rgba(11,13,12,0.94);
  box-shadow: 0 1px 0 rgba(199,255,61,0.06) inset, 0 16px 40px rgba(0,0,0,0.6);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 4px;
  color: var(--lime);
  flex-shrink: 0;
}
.nav-logo .mark {
  width: 40px; height: 17px; color: var(--lime); flex-shrink: 0;
}
.wordmark {
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.wordmark-ai {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.9em;
  color: var(--lime);
  margin-left: 1px;
}
.wordmark-sep {
  display: inline-block;
  margin: 0 0.45em;
  color: var(--lime);
  font-weight: 400;
  opacity: 0.85;
}
.wordmark-tag {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.92em;
  color: var(--text-muted, #b6b6b6);
  letter-spacing: 0;
}
@media (max-width: 720px) {
  .wordmark { font-size: 0.82rem; }
  .wordmark-sep { margin: 0 0.28em; }
  .wordmark-tag { font-size: 0.72em; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 0.74rem; }
  .wordmark-tag { font-size: 0.66em; }
}

.nav-links {
  display: flex; align-items: center; gap: var(--s-5);
  margin-left: auto;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.nav-links a {
  padding: 6px 2px;
  position: relative;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--lime);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-med);
}
.nav-links a:hover { color: var(--lime); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Nav dropdown (Agents) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none; border: none; padding: 6px 2px;
  color: inherit; font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
  transition: color var(--t-fast);
}
.nav-dropdown-toggle svg { transition: transform var(--t-med); opacity: 0.75; }
.nav-dropdown-toggle:hover { color: var(--lime); }
.nav-dropdown[data-open="true"] .nav-dropdown-toggle { color: var(--lime); }
.nav-dropdown[data-open="true"] .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px; padding: 8px;
  background: rgba(18, 20, 22, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
  z-index: 50;
}
.nav-dropdown[data-open="true"] .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  padding: 9px 12px; border-radius: 8px;
  color: var(--text);
  font-size: var(--text-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover {
  background: rgba(192, 255, 92, 0.08);
  color: var(--lime);
}

/* Mobile menu collapsible group */
.mobile-menu-group { border: none; }
.mobile-menu-group > summary {
  list-style: none; cursor: pointer;
  padding: 12px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1.15rem; font-weight: 600; color: var(--text);
}
.mobile-menu-group > summary::-webkit-details-marker { display: none; }
.mobile-menu-group > summary::after {
  content: ''; width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-right: 4px; opacity: 0.7;
  transition: transform var(--t-med);
}
.mobile-menu-group[open] > summary::after { transform: rotate(-135deg); }
.mobile-menu-sub { display: flex; flex-direction: column; padding: 4px 0 8px 16px; }
.mobile-menu-sub a { padding: 9px 0; font-size: 1rem; color: var(--text-muted); }

.nav-cta { margin-left: auto; }
.nav-cta-short { display: none; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  color: var(--text);
  border: 1px solid var(--border-2);
  background: var(--surface);
  flex-shrink: 0;
}
.nav-toggle-bars {
  display: flex; flex-direction: column; gap: 5px;
}
.nav-toggle-bars span {
  display: block; width: 18px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-fast);
}
[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; order: -1; }
  .nav-cta { margin-left: auto; padding: 8px 12px; font-size: 0.82rem; }
  .nav-cta-full { display: inline; }
  .nav-cta-short { display: none; }
  .nav-inner { gap: var(--s-3); }
}
@media (max-width: 380px) {
  .nav-cta { padding: 7px 10px; font-size: 0.78rem; }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  display: grid;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-med);
}
.mobile-menu.is-open { pointer-events: auto; opacity: 1; }
.mobile-menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(11,13,12,0.7);
  backdrop-filter: blur(4px);
}
.mobile-menu-panel {
  position: absolute; inset: 0 0 0 auto;
  width: min(320px, 90vw);
  background: var(--surface);
  border-left: 1px solid var(--border-2);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-5) var(--s-6);
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: transparent;
}
.mobile-menu-close:hover { color: var(--text); border-color: var(--border-2); }
.mobile-menu-nav {
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--s-5) var(--s-5);
  flex: 1;
}
.mobile-menu-nav a {
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: var(--text-base); font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.mobile-menu-nav a:hover { color: var(--lime); background: var(--lime-bg-faint); }
.mobile-menu-foot {
  padding: var(--s-5) var(--s-6) var(--s-8);
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.mobile-menu-contact {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}
.mobile-menu-contact a:hover { color: var(--lime); }
.meta-sep { margin-inline: 6px; color: var(--text-faint); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; z-index: 1;
  padding: clamp(3.5rem, 8vh, 6rem) 0 clamp(4.5rem, 10vw, 7rem);
  text-align: center;
  overflow: hidden;
}

/* Eyebrow */
.hero-eyebrow { margin-bottom: var(--s-8); }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--lime-bg-faint);
  border: 1px solid rgba(199,255,61,0.4);
  color: var(--lime);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero headline */
.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 0 auto var(--s-6);
  text-wrap: balance;
  color: var(--text);
}
.hero-title-line2 {
  display: block;
  font-family: inherit;
  font-size: 0.5em;
  margin-top: 0.95em;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  font-style: normal;
  opacity: 1;
}
.hero-title-line2 .free-accent {
  color: var(--lime);
  font-family: 'Instrument Serif', 'Georgia', serif;
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  max-width: 58ch;
  margin: var(--s-6) auto var(--s-8);
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-cta {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-8);
}

/* Stat strip */
.hero-stat-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.03em;
  margin-top: var(--s-4);
}
.stat-dot { color: var(--text-faint); }

/* ============================================================
   HERO LIVE ACTIVITY FEED
   A vertical event log that streams new rows in from the top.
   Distinct from the chat-bubble demos: each row is a single
   dense line (icon · event · business · timestamp · status pill).
   ============================================================ */
.hero-feed {
  position: relative;
  width: min(560px, 100%);
  margin: var(--s-8) auto 0;
  padding: 18px 18px 12px;
  background: linear-gradient(180deg, rgba(20,22,21,0.85) 0%, rgba(14,16,15,0.9) 100%);
  border: 1px solid rgba(199,255,61,0.18);    /* visible lime-tinted card edge */
  border-radius: var(--r-2xl, 18px);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    0 0 0 1px rgba(199,255,61,0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}

/* Header row: pulse + label + counter */
.feed-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.feed-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(199,255,61,0.6);
  animation: feed-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes feed-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(199,255,61,0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(199,255,61,0); }
}
.feed-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.feed-meta {
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* Rotating list */
.feed-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 8px;
  min-height: 296px;     /* desktop: 4 rows visible */
}

/* Each row */
.feed-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg, 12px);
  font-size: var(--text-sm);
  color: var(--text);
  /* Entry animation: slide down + fade in */
  animation: feed-row-in 480ms cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
  position: relative;
  overflow: hidden;
}
.feed-row.is-leaving {
  animation: feed-row-out 360ms ease-in forwards;
}
@keyframes feed-row-in {
  0%   { opacity: 0; transform: translateY(-12px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0)     scale(1); }
}
@keyframes feed-row-out {
  0%   { opacity: 1; transform: translateY(0)    scale(1); max-height: 80px; margin-top: 0; padding-top: 12px; padding-bottom: 12px; border-width: 1px; }
  100% { opacity: 0; transform: translateY(8px)  scale(0.985); max-height: 0;  margin-top: -8px; padding-top: 0; padding-bottom: 0; border-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .feed-row, .feed-row.is-leaving { animation: none; }
}

/* New rows briefly highlight (lime accent on left edge) */
.feed-row.is-new::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(199,255,61,0.55);
  animation: feed-flash 1800ms ease-out forwards;
}
@keyframes feed-flash {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* Icon column — small circular badge */
.feed-icon {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  font-size: 14px;
  flex-shrink: 0;
}
.feed-icon-lime  { color: var(--lime);  box-shadow: 0 0 0 1px rgba(199,255,61,0.18) inset; }
.feed-icon-teal  { color: var(--teal);  box-shadow: 0 0 0 1px rgba(94,234,212,0.18) inset; }
.feed-icon-amber { color: #fbbf24;      box-shadow: 0 0 0 1px rgba(251,191,36,0.18) inset; }

/* Body column — event + business + timestamp */
.feed-body {
  min-width: 0;            /* allow truncation */
  text-align: left;        /* override .hero { text-align:center } */
}
.feed-event {
  display: block;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.feed-meta-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-business { color: var(--text-muted); }
.feed-sep { opacity: 0.5; }
.feed-time { color: var(--text-faint); font-variant-numeric: tabular-nums; }

/* Status pill on the right */
.feed-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.feed-status-success {
  color: var(--lime);
  background: rgba(199,255,61,0.1);
  border: 1px solid rgba(199,255,61,0.24);
}
.feed-status-info {
  color: var(--teal);
  background: rgba(94,234,212,0.08);
  border: 1px solid rgba(94,234,212,0.22);
}
.feed-status-warn {
  color: #fbbf24;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.22);
}

/* Soft fade at the bottom edge so rows feel like they’re scrolling out */
.feed-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38px;
  background: linear-gradient(180deg, transparent, rgba(14,16,15,0.95));
  pointer-events: none;
}

/* Mobile: shrink padding + smaller font + reduce row count via min-height */
@media (max-width: 560px) {
  .hero-feed {
    /* Symmetric ~14px gutters either side of the card */
    width: calc(100% - 28px);
    margin: var(--s-6) auto 0;
    padding: 12px 10px 8px;
    border-color: rgba(199,255,61,0.22);   /* a touch brighter on small screens */
    box-shadow:
      0 16px 40px rgba(0,0,0,0.45),
      0 0 0 1px rgba(199,255,61,0.05),
      inset 0 1px 0 rgba(255,255,255,0.04);
  }
  .feed-list { min-height: 296px; gap: 6px; }   /* ~4 rows */
  .feed-row {
    /* Tighter columns so event copy and timestamps fit without truncation */
    grid-template-columns: 26px 1fr auto;
    gap: 8px;
    padding: 9px 10px;
    font-size: 13px;
    border-color: rgba(255,255,255,0.06);
  }
  .feed-icon { width: 26px; height: 26px; font-size: 12px; }
  .feed-event {
    font-size: 12.5px;
    /* Allow event titles to wrap to 2 lines on mobile so they don’t truncate */
    white-space: normal;
    line-height: 1.25;
    text-overflow: clip;
  }
  .feed-meta-row {
    font-size: 10.5px;
    /* Allow business + time to wrap if absolutely needed */
    white-space: normal;
  }
  .feed-status {
    font-size: 9.5px;
    padding: 3px 6px;
    letter-spacing: 0.01em;
  }
  .feed-meta { display: none; }   /* hide “across 240+ businesses” on mobile */
  .feed-header { padding-bottom: 8px; margin-bottom: 2px; }
}

/* Pulse dot (generic for eyebrows and pilot banner) */
.pulse {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(199,255,61,0.6);
  animation: live-pulse 2.2s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 2px;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(199,255,61,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(199,255,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(199,255,61,0); }
}

/* ============================================================
   GENERIC SECTION SHELL
   ============================================================ */
/* Unified vertical rhythm for every section on the page.
   One padding rule, no "feature" override — all sections breathe equally. */
.section { padding: clamp(4.5rem, 10vw, 7rem) 0; position: relative; z-index: 1; }
.section-feature { padding: clamp(4.5rem, 10vw, 7rem) 0; }
.section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-block: 1px solid var(--border);
}

.eyebrow-label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: var(--s-4);
}
.eyebrow-center { text-align: center; }

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 22ch;
  margin-bottom: var(--s-4);
  text-wrap: balance;
  color: var(--text);
}
.section-sub {
  max-width: 60ch;
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
  margin-bottom: var(--s-10);
  text-wrap: pretty;
}
/* When a section title is centered (most are), its sub should center too
   and gain a consistent block of breathing room before the content below. */
.eyebrow-center + .section-title,
.section-title { /* default left-aligned still allowed */ }
.section > .container > .section-title { /* default keeps */ }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.section-table { background: var(--bg); }
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.compare-table thead {
  background: var(--surface);
  border-bottom: 1px solid var(--border-2);
}
.compare-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.compare-table th.col-everline { color: var(--lime); }
.compare-table th.col-impact {
  background: rgba(199,255,61,0.06);
  color: var(--lime);
}
.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}
.compare-table tbody tr:last-child { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(199,255,61,0.04); }
.compare-table td {
  padding: 16px 20px;
  color: var(--text-muted);
}
.compare-table td:first-child { color: var(--text); font-weight: 500; }
.val-bad { color: #FF6B6B !important; }
.val-neutral { color: var(--text-muted) !important; }
.val-good { color: var(--lime) !important; font-weight: 600; }
.col-everline { background: rgba(199,255,61,0.04); }
.col-impact {
  background: rgba(199,255,61,0.07);
  color: var(--lime) !important;
  font-weight: 600;
}

/* ============================================================
   FEATURE SECTIONS (Voice / Sales / Scheduler)
   ============================================================ */
.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.feature-layout-rev { }
@media (max-width: 840px) {
  .feature-layout,
  .feature-layout-rev { grid-template-columns: 1fr; }
  .feature-layout-rev .feature-visual { order: -1; }
}

.feature-eyebrow { margin-bottom: var(--s-4); }

.feature-copy {
  display: flex; flex-direction: column; gap: var(--s-6);
  max-width: 42ch;
}
@media (max-width: 840px) {
  .feature-copy { max-width: none; }
}

.feature-body {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

.feature-visual {
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.phone-frame {
  position: relative;
  width: 280px;
  min-height: 520px;
  border-radius: 40px;
  background: var(--surface);
  border: 2px solid var(--border-2);
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.03),
    0 30px 80px rgba(0,0,0,0.6),
    var(--shadow-glow);
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 48px 0 0;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 20px;
  background: var(--bg);
  border-radius: var(--r-pill);
}
.phone-screen {
  flex: 1;
  display: flex; flex-direction: column;
  padding: var(--s-5);
  overflow: hidden;
}
/* The HTML `hidden` attribute is overridden by `display:flex` above, which
   caused both call screens to render at once and the in-call transcript to
   pile up on mobile as the section came into view. Force-hide here. */
.phone-screen[hidden] { display: none !important; }

/* Incoming call screen */
.screen-incoming {
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  background: linear-gradient(180deg, #0f1a10 0%, var(--bg) 100%);
  padding-bottom: var(--s-8);
}
.call-header { text-align: center; }
.call-app-label {
  font-size: var(--text-xs); font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.call-number {
  font-size: var(--text-xl); font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.call-status {
  font-size: var(--text-xs); color: var(--text-muted);
  margin-top: 4px;
}
.call-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--lime-bg-faint);
  border: 2px solid var(--border-lime);
  display: grid; place-items: center;
  font-size: var(--text-sm); font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.04em;
}
.call-buttons {
  display: flex; gap: 48px; align-items: center;
}
.call-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: none;
  cursor: default;
}
.call-btn svg { width: 22px; height: 22px; }
.call-decline {
  background: #FF6B6B;
  color: white;
  transform: rotate(135deg);
}
.call-accept { background: #2ecc71; color: white; }

/* In-call screen */
.screen-incall {
  background: var(--bg);
  gap: var(--s-4);
  justify-content: flex-start;
}
.incall-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 0;
}
.incall-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-xs); font-weight: 700;
  color: var(--lime); letter-spacing: 0.08em;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  animation: live-pulse 1.2s ease-in-out infinite;
}
.incall-timer { font-size: var(--text-xs); color: var(--text-faint); font-variant-numeric: tabular-nums; }

/* Waveform */
.incall-wave {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  height: 40px;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 0 12px;
}
.wave-bar {
  display: block;
  width: 3px;
  height: var(--h, 50%);
  border-radius: 2px;
  background: var(--lime);
  opacity: 0.7;
  animation: wave-anim 0.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * 0.07s);
}
.wave-bar:nth-child(1) { animation-delay: 0.00s; }
.wave-bar:nth-child(2) { animation-delay: 0.07s; }
.wave-bar:nth-child(3) { animation-delay: 0.14s; }
.wave-bar:nth-child(4) { animation-delay: 0.21s; }
.wave-bar:nth-child(5) { animation-delay: 0.28s; }
.wave-bar:nth-child(6) { animation-delay: 0.35s; }
.wave-bar:nth-child(7) { animation-delay: 0.42s; }
.wave-bar:nth-child(8) { animation-delay: 0.49s; }
.wave-bar:nth-child(9) { animation-delay: 0.56s; }
@keyframes wave-anim {
  from { height: 20%; }
  to   { height: var(--h, 50%); }
}
@media (prefers-reduced-motion: reduce) {
  .wave-bar { animation: none; }
}

/* Transcript bubbles */
.transcript {
  display: flex; flex-direction: column; gap: var(--s-3);
  flex: 1;
  overflow-y: auto;
  padding-bottom: var(--s-3);
}
.bubble {
  display: flex; flex-direction: column; gap: 2px;
  max-width: 88%;
  animation: bubble-in 0.3s var(--ease) both;
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bubble-caller { align-self: flex-start; }
.bubble-agent  { align-self: flex-end; }
.bubble-label {
  font-size: 9px;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 4px;
}
.bubble-agent .bubble-label { color: var(--lime-deep); text-align: right; }
.bubble-text {
  padding: 8px 11px;
  border-radius: 14px;
  font-size: var(--text-xs);
  line-height: 1.5;
}
.bubble-caller .bubble-text {
  background: var(--surface-2);
  color: var(--text);
  border-radius: 14px 14px 14px 4px;
}
.bubble-agent .bubble-text {
  background: var(--lime-bg-mid);
  color: var(--text);
  border: 1px solid var(--border-lime);
  border-radius: 14px 14px 4px 14px;
}
.typing-dots {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-radius: 14px;
  align-self: flex-start;
}
.typing-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-faint);
  animation: typing 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
  40% { transform: scale(1.3); opacity: 1; }
}

/* ============================================================
   CHAT THREAD (Sales / Scheduler)
   ============================================================ */
.chat-frame {
  width: 100%;
  max-width: 400px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-glow);
  overflow: hidden;
}
.chat-frame-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.chat-frame-dots {
  display: flex; gap: 5px;
}
.chat-frame-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-2);
}
.chat-frame-dots span:nth-child(1) { background: #FF5F57; }
.chat-frame-dots span:nth-child(2) { background: #FFBD2E; }
.chat-frame-dots span:nth-child(3) { background: #28C840; }
.chat-frame-title {
  font-size: var(--text-xs); font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.04em;
  margin-left: auto; margin-right: auto;
}
.chat-body {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-5);
  min-height: 280px;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.section-testimonial { background: var(--bg); }
.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(199,255,61,0.05);
}
.testimonial-quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: var(--s-8);
  quotes: '\201C' '\201D';
}
.testimonial-attr {
  display: flex; align-items: center; gap: var(--s-4);
  flex-wrap: wrap;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--lime-bg-faint);
  border: 1px solid var(--border-lime);
  display: grid; place-items: center;
  font-size: var(--text-sm); font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  color: var(--text);
  font-size: var(--text-base);
}
.testimonial-role {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.testimonial-badge {
  margin-left: auto;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--lime-bg-faint);
  border: 1px solid var(--border-lime);
  font-size: var(--text-xs); font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ============================================================
   STAT GRID
   ============================================================ */
.section-stats {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-block: 1px solid var(--border);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: var(--s-10);
  text-align: center;
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color var(--t-med), transform var(--t-med);
}
.stat-item:hover { border-color: var(--border-lime); transform: translateY(-2px); }
.stat-num {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lime);
}
.stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   AGENT GRID
   ============================================================ */
.section-grid { background: var(--bg); }
.agent-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-6);
  margin-top: var(--s-10);
  align-items: start;
}
@media (max-width: 780px) {
  .agent-grid { grid-template-columns: 1fr; }
}

/* Agent list (left) */
.agent-list {
  display: flex; flex-direction: column; gap: 4px;
}
.agent-row {
  display: flex; align-items: center;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: transparent;
  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
  border-left-width: 3px;
  border-left-color: transparent;
  gap: var(--s-4);
}
.agent-row:hover {
  background: var(--lime-bg-faint);
  border-color: var(--border-2);
}
.agent-row.is-selected {
  background: var(--lime-bg-faint);
  border-color: var(--border-2);
  border-left-color: var(--lime);
}
.agent-row-inner {
  flex: 1;
  display: flex; flex-direction: column; gap: 3px;
}
.agent-row-name { font-weight: 600; font-size: var(--text-sm); color: var(--text); }
.agent-row-tag  { font-size: var(--text-xs); color: var(--text-muted); }
.agent-row.is-selected .agent-row-name { color: var(--lime); }
.agent-row-arrow {
  width: 16px; height: 16px;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: color var(--t-fast), transform var(--t-fast);
}
.agent-row.is-selected .agent-row-arrow { color: var(--lime); transform: translateX(2px); }

/* Agent panel (right) */
.agent-panel { position: relative; }
.agent-card {
  display: none;
  flex-direction: column; gap: var(--s-5);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), var(--shadow-glow);
  animation: card-fade 0.3s var(--ease) both;
}
.agent-card.is-active { display: flex; }
@keyframes card-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.agent-card-head {
  display: flex; align-items: center; gap: var(--s-4);
}
.agent-card-icon { font-size: 2rem; }
.agent-card-name { font-weight: 700; font-size: var(--text-xl); color: var(--text); letter-spacing: -0.02em; }
.agent-card-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--lime-bg-faint);
  border: 1px solid var(--border-lime);
  font-size: var(--text-xs); font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.04em;
  margin-top: 3px;
}
.agent-stats-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: var(--text-xs); font-weight: 600;
  color: var(--lime);
}
.strip-sep { color: var(--text-faint); font-weight: 400; }
.agent-bullets {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.agent-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}
.agent-bullets li::before {
  content: '';
  position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--lime-bg-faint);
  border: 1.5px solid var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m2.5 6 2.5 2.5 4.5-5' stroke='%23C7FF3D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ============================================================
   PRICING
   ============================================================ */
.pilot-banner {
  background: var(--surface-2);
  border: 1px solid var(--border-lime);
  border-radius: var(--r-xl);
  margin-bottom: var(--s-10);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.pilot-banner-inner {
  display: flex; flex-direction: column; gap: var(--s-5);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.pilot-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--lime-bg-faint);
  border: 1px solid var(--border-lime);
  font-size: var(--text-xs); font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.04em;
  align-self: flex-start;
}
.pilot-copy h3 {
  font-size: var(--text-xl); font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--s-3);
}
.pilot-copy p {
  color: var(--text-muted); font-size: var(--text-sm); line-height: 1.6;
}
.pilot-remaining { margin-top: var(--s-2); }
.pilot-remaining strong { color: var(--lime); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  align-items: start;
}
.pricing-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 800px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-2 { grid-template-columns: 1fr; max-width: 480px; }
}

.price-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-xl);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--s-5);
  transition: border-color var(--t-med), transform var(--t-med);
}
.price-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.price-card.featured {
  border-color: var(--lime);
  background: var(--surface);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.price-card header { display: flex; flex-direction: column; gap: var(--s-2); }
.badge {
  display: inline-block;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--lime);
  color: #0B0D0C;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.04em;
  align-self: flex-start;
  margin-bottom: 4px;
}
.price-name { font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.025em; color: var(--text); }
.price-tag  { font-size: var(--text-sm); color: var(--text-muted); }
.price-amount {
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  margin-top: var(--s-2);
}
.price-amount .currency { font-size: 0.5em; font-weight: 600; vertical-align: super; line-height: 0; color: var(--text-muted); }
.price-amount .per { font-size: 0.38em; font-weight: 500; color: var(--text-muted); margin-left: 2px; }
.price-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--s-3);
  flex: 1;
}
.price-features li {
  padding-left: 20px;
  font-size: var(--text-sm); color: var(--text-muted);
  line-height: 1.5; position: relative;
}
.price-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--lime); font-weight: 700; font-size: 11px;
  top: 2px;
}
.price-outcome {
  font-size: var(--text-sm); color: var(--text-muted);
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  line-height: 1.5;
}
.price-outcome strong { color: var(--text); }
.price-setup {
  font-size: var(--text-xs); color: var(--text-faint);
  text-align: center;
}
.pilot-tag { color: var(--lime-deep); }
.pricing-footnote {
  text-align: center;
  font-size: var(--text-sm); color: var(--text-faint);
  margin-top: var(--s-8);
}

/* ============================================================
   WEBSITE BUILDER — pricing-card variants + add-on callout
   Re-uses .price-card / .pricing-grid-2 from above for the two
   tier cards. Adds: 'Recommended' badge variant, hosted sublabel,
   lighter add-on callout, and italic bridge line into pricing.
   ============================================================ */

/* 'Recommended' pill — same lime-on-dark treatment as .badge,
   just a separate class so we don't conflict with 'Most popular'
   on The Ever Line in pricing. */
.badge.badge-recommended {
  background: var(--lime);
  color: #0B0D0C;
}

/* Inline sub-label inside .price-name (e.g. ' · Hosted').
   Lighter weight so the brand name keeps emphasis. */
.price-name-sub {
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* Full-width 'Optional add-on' callout below the two tier cards.
   Visually lighter than .price-card so the eye reads it as
   supplementary, not a third tier. */
.addon-callout {
  max-width: 920px;
  margin: var(--s-6) auto 0;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px dashed var(--border-2);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.addon-callout-head {
  display: flex; flex-direction: column; gap: var(--s-2);
}
.addon-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-muted);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.addon-headline {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: var(--s-3) var(--s-4);
}
.addon-headline h3 {
  font-size: var(--text-lg); font-weight: 700;
  letter-spacing: -0.02em; color: var(--text);
  margin: 0;
}
.addon-price {
  font-size: var(--text-sm); color: var(--text-muted);
  margin: 0;
}
.addon-price strong { color: var(--text); font-weight: 700; }
.addon-features {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-2) var(--s-5);
}
.addon-features li {
  padding-left: 20px;
  font-size: var(--text-sm); color: var(--text-muted);
  line-height: 1.5; position: relative;
}
.addon-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 2px;
  color: var(--lime); font-weight: 700; font-size: 11px;
}
.addon-footnote {
  font-size: var(--text-xs); color: var(--text-faint);
  line-height: 1.55;
  margin: 0;
}

/* Bridge line: small italic centered under the add-on,
   nudges the eye toward the agents/pricing stack below. */
.website-bridge {
  text-align: center;
  margin-top: var(--s-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 56ch;
  margin-left: auto; margin-right: auto;
}
.website-bridge em {
  font-family: 'Instrument Serif', 'Georgia', serif;
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 560px) {
  .addon-features { grid-template-columns: 1fr; }
  .addon-headline { gap: var(--s-2); }
}

/* When either modal flips to success, hide the original
   form header so the 3-step progress UI owns the panel. */
#website-modal.is-success .audit-head,
#audit-modal.is-success .audit-head { display: none; }

/* ============================================================
   WEBSITE BUILDER — 3-step progress success state
   Replaces the generic success icon with a 3-step roadmap:
   Step 1 (done) · Step 2 (active, spinner) · Step 3 (locked).
   Lives inside the website modal, overrides .audit-success layout.
   ============================================================ */
.audit-success.website-progress {
  text-align: left;
  align-items: stretch;
  padding: 0;
  gap: var(--s-5);
}
.website-progress-head {
  display: flex; flex-direction: column; gap: var(--s-2);
  align-items: flex-start;
}
.website-progress-head h4 {
  font-size: var(--text-xl); font-weight: 700;
  letter-spacing: -0.02em; color: var(--text);
  margin: 0;
}
.website-progress-head p {
  font-size: var(--text-sm); color: var(--text-muted);
  margin: 0; max-width: none; line-height: 1.55;
}

.steps-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
  position: relative;
}
.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
  position: relative;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.step + .step { margin-top: 6px; }
.step-ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-muted);
  flex-shrink: 0;
}
.step-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.step-num {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}
.step-status { font-weight: 600; letter-spacing: 0.04em; }
.step-title {
  font-size: var(--text-base); font-weight: 600;
  color: var(--text); margin: 0;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: var(--text-sm); color: var(--text-muted);
  line-height: 1.55; margin: 2px 0 0;
}

/* ---------- DONE: lime checkmark ---------- */
.step.is-done {
  border-color: var(--border-lime);
  background: var(--lime-bg-faint);
}
.step.is-done .step-ico {
  background: var(--lime);
  border-color: var(--lime);
  color: #0B0D0C;
}
.step.is-done .step-num,
.step.is-done .step-status { color: var(--lime); }

/* ---------- ACTIVE: spinner, brighter surface ---------- */
.step.is-active {
  border-color: var(--border-2);
  background: var(--surface);
}
.step.is-active .step-ico {
  border-color: var(--lime);
  background: transparent;
}
.step.is-active .step-num,
.step.is-active .step-status { color: var(--text); }
.step-spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  border-top-color: var(--lime);
  animation: step-spin 0.9s linear infinite;
}
@keyframes step-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .step-spinner { animation: none; border-top-color: var(--lime); }
}

/* ---------- LOCKED: muted, padlock ---------- */
.step.is-locked {
  opacity: 0.55;
  background: transparent;
  border-style: dashed;
}
.step.is-locked .step-ico { color: var(--text-faint); }
.step.is-locked .step-title,
.step.is-locked .step-desc { color: var(--text-faint); }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: flex; flex-direction: column; gap: 2px;
  max-width: 740px;
}
.faq details {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: border-color var(--t-fast);
  overflow: hidden;
}
.faq details[open] { border-color: var(--border-2); }
.faq details + details { margin-top: 4px; }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 18px 22px;
  cursor: pointer;
  font-size: var(--text-base); font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast);
}
.faq summary:hover { color: var(--lime); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.2em;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: transform var(--t-med), color var(--t-fast);
  line-height: 1;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--lime);
}
.faq details p {
  padding: 0 22px 20px;
  color: var(--text-muted); font-size: var(--text-sm); line-height: 1.7;
}
.faq details p em { color: var(--text); font-style: italic; }

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.section-cta {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--s-5);
  text-wrap: balance;
  color: var(--text);
}
.cta-sub {
  max-width: 52ch; margin: 0 auto var(--s-8);
  color: var(--text-muted); font-size: var(--text-lg); line-height: 1.6;
  text-wrap: pretty;
}
.cta-actions { display: flex; justify-content: center; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-5); }
.form-note  { color: var(--text-faint); font-size: var(--text-xs); margin-bottom: var(--s-3); }
.form-meta  { color: var(--text-muted); font-size: var(--text-sm); }
.form-meta a:hover { color: var(--lime); }

/* ============================================================
   AUDIT MODAL
   ============================================================ */
.audit-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: var(--s-5);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-med);
}
.audit-modal.is-open { pointer-events: auto; opacity: 1; }
.audit-backdrop {
  position: absolute; inset: 0;
  background: rgba(11,13,12,0.75);
  backdrop-filter: blur(6px);
}
.audit-panel {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 580px;
  max-height: 90dvh;
  overflow-y: auto;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), var(--shadow-glow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transform: scale(0.95) translateY(12px);
  transition: transform var(--t-slow);
}
.audit-modal.is-open .audit-panel { transform: scale(1) translateY(0); }
.audit-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.audit-close:hover { color: var(--text); border-color: var(--border-2); }

.audit-head { margin-bottom: var(--s-6); }
.audit-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-xs); font-weight: 600; color: var(--lime);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.audit-title {
  font-size: var(--text-xl); font-weight: 700;
  letter-spacing: -0.025em; color: var(--text);
  margin-bottom: var(--s-2);
}
.audit-sub { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }

.audit-form { display: flex; flex-direction: column; gap: var(--s-5); }
.audit-form[hidden] { display: none; }
.audit-row { display: flex; gap: var(--s-4); }
.audit-row.two { }
@media (max-width: 520px) { .audit-row.two { flex-direction: column; } }

.audit-field {
  display: flex; flex-direction: column; gap: var(--s-2);
  flex: 1;
}
.audit-field > span:first-child {
  font-size: var(--text-sm); font-weight: 600; color: var(--text);
}
.audit-field input,
.audit-field textarea {
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-size: var(--text-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.audit-field input::placeholder,
.audit-field textarea::placeholder { color: var(--text-faint); }
.audit-field input:focus,
.audit-field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(199,255,61,0.12);
}
.audit-field.has-error input,
.audit-field.has-error select,
.audit-field.has-error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255,107,107,0.12);
}

.audit-select {
  position: relative;
}
.audit-select select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-size: var(--text-sm);
  appearance: none;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.audit-select select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(199,255,61,0.12); }
.audit-chev {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--text-muted);
}

.audit-help { font-size: var(--text-xs); color: var(--text-faint); margin-top: -4px; }
.audit-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: var(--s-3);
}
.audit-chip {
  display: flex; align-items: center;
  cursor: pointer;
}
.audit-chip input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.audit-chip span {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  font-size: var(--text-xs); font-weight: 500;
  color: var(--text-muted);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  cursor: pointer;
}
.audit-chip:hover span { border-color: var(--border-lime); color: var(--text); }
.audit-chip input:checked + span {
  background: var(--lime-bg-faint);
  border-color: var(--lime);
  color: var(--lime);
}
.audit-chip input:focus-visible + span {
  outline: 2px solid var(--lime); outline-offset: 2px;
}

.audit-actions { display: flex; flex-direction: column; gap: var(--s-3); }
.audit-note { font-size: var(--text-xs); color: var(--text-faint); text-align: center; }
.audit-note.is-error { color: var(--danger); }

/* Success state */
.audit-success {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-4);
  padding: var(--s-8) 0;
}
.audit-success[hidden] { display: none; }
.audit-success-ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lime-bg-faint);
  border: 1px solid var(--border-lime);
  display: grid; place-items: center;
  color: var(--lime);
}
.audit-success h4 { font-size: var(--text-xl); font-weight: 700; color: var(--text); }
.audit-success p  { font-size: var(--text-sm); color: var(--text-muted); max-width: 40ch; }

/* Body locked when modal open */
body.audit-open,
body.website-open,
body.menu-open { overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  align-items: flex-start;
}
.footer-brand {
  display: flex; flex-direction: column; gap: var(--s-4);
  flex: 0 0 240px;
}
.footer-brand .nav-logo { color: var(--lime); }
.footer-brand .mark { width: 40px; height: 17px; }
.footer-tag { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; max-width: 26ch; }

/* Social pill row in footer brand column */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.footer-social-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(199, 255, 61, 0.06);
  transform: translateY(-1px);
}
.footer-social-link:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.footer-cols {
  display: flex; flex-wrap: wrap; gap: clamp(2rem, 4vw, 4rem);
  flex: 1;
}
.footer-cols > div {
  display: flex; flex-direction: column; gap: var(--s-3);
  min-width: 100px;
}
.footer-cols h4 {
  font-size: var(--text-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 2px;
}
.footer-cols a {
  font-size: var(--text-sm); color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-cols a:hover { color: var(--lime); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: var(--s-3);
  padding-block: var(--s-5);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs); color: var(--text-faint);
}
.footer-base a:hover { color: var(--lime); }
