/* RepGeo reps-first homepage handoff implementation */

:root {
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --ink: #0a0d14;
  --ink-90: #14171f;
  --muted: #5b6478;
  --muted-2: #8a92a4;
  --paper: #f8f8f5;
  --paper-2: #ffffff;
  --hairline: rgba(10, 13, 20, 0.08);
  --hairline-2: rgba(10, 13, 20, 0.14);

  --primary: #4f46e5;
  --primary-2: #6366f1;
  --sky: #818cf8;
  --sky-soft: #eef2ff;
  --mint: #10b981;
  --mint-soft: #ecfdf5;

  --night: #0a0e1a;
  --night-2: #0f1424;
  --night-line: rgba(255, 255, 255, 0.09);
  --night-line-2: rgba(255, 255, 255, 0.16);
  --night-mute: #8a93b0;
  --night-fg: #e6e9f2;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1240px;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.agent-home {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark {
  background: var(--night);
  color: var(--night-fg);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.section--dark .eyebrow { color: var(--night-mute); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.h-display em {
  font-style: normal;
  color: var(--primary);
}

.h-section {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.5;
  text-wrap: pretty;
}
.section--dark .lead { color: var(--night-mute); }

.mono { font-family: var(--font-mono); }
.tiny { font-size: 12px; letter-spacing: 0.04em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary,
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover,
.btn-primary:hover { background: var(--primary); }
.btn--ghost,
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline-2);
}
.btn--ghost:hover,
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--hairline-2);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 248, 245, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner,
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.nav__brand,
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.nav__brand-mark {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
}
.nav-brand-wordmark .geo { color: var(--primary); font-style: normal; }
.nav__links,
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}
.nav__links a,
.nav-links a,
.nav-dropdown-trigger {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav-links a:hover,
.nav-dropdown-trigger:hover { color: var(--ink); }
.nav__spacer { flex: 1 1 auto; }
.nav__pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline-2);
  font-size: 13px;
  color: var(--muted);
}
.nav__pill[aria-current="page"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.nav__cta,
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.nav-dropdown-trigger svg {
  width: 11px;
  height: 11px;
  opacity: 0.7;
  transition: transform 160ms ease;
}
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); opacity: 1; }
.nav-dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 250px;
  padding: 8px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -28px rgba(10, 13, 20, 0.25), 0 6px 18px -10px rgba(10, 13, 20, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 80;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.nav-dropdown-menu.nav-menu-wide {
  min-width: 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}
.nav-dropdown-section { padding: 8px; }
.nav-dropdown-section-title {
  margin: 0 0 6px 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nav-dropdown-section-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  transition: background 0.14s ease;
}
.nav-dropdown-item:hover { background: var(--paper); }
.nav-dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sky-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}
.nav-dropdown-item-title {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 3px;
}
.nav-dropdown-item-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 0;
  position: relative;
  z-index: 90;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 70;
  min-height: calc(100dvh - var(--nav-h));
  padding: 40px var(--gutter) 48px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 24px 60px -28px rgba(10, 13, 20, 0.25);
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a,
.nav-mobile-trigger {
  color: var(--muted);
  font-size: clamp(20px, 7vw, 32px);
  font-weight: 500;
}
.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}
.nav-mobile .btn {
  margin-top: 22px;
  width: 100%;
  height: 78px;
  font-size: clamp(20px, 7vw, 30px);
}
.nav-mobile-group { border-bottom: 1px solid var(--hairline); }
.nav-mobile-trigger {
  min-height: 68px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.nav-mobile-trigger span {
  color: var(--muted-2);
  transition: transform 0.18s ease;
}
.nav-mobile-group.open .nav-mobile-trigger span { transform: rotate(45deg); }
.nav-mobile-panel {
  display: none;
  padding: 2px 0 24px 24px;
}
.nav-mobile-group.open .nav-mobile-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-mobile-panel a {
  border: 0;
  padding: 6px 0;
}
.nav-mobile-divider {
  height: 1px;
  background: var(--hairline);
  margin: 14px 0;
}
.nav-mobile-audience {
  display: flex;
  gap: 8px;
  padding: 6px 0 14px;
}
.nav-mobile-audience .nav__pill {
  justify-content: center;
  flex: 1;
  height: 44px;
  font-size: 13px;
  border-bottom: 1px solid var(--hairline-2);
  padding: 0 12px;
}

/* Hero */
.hero {
  position: relative;
  padding-top: clamp(48px, 5vw, 80px);
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 75% 15%, rgba(99, 102, 241, 0.06), rgba(99, 102, 241, 0) 65%),
    linear-gradient(180deg, #f6f4ff 0%, var(--paper) 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(40px, 4.5vw, 64px);
  align-items: center;
  padding-bottom: clamp(48px, 5vw, 72px);
}
.hero__head { max-width: 620px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero__badge-stars {
  color: var(--primary);
  letter-spacing: 2px;
  font-size: 11px;
}
.hero__head .h-display {
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
}
.hero__head .h-display em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}
.hero__sub {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: clamp(15px, 1vw, 17px);
  color: var(--muted);
  line-height: 1.55;
}
.hero__form {
  margin-top: 32px;
  display: flex;
  gap: 8px;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.10);
}
.hero__form-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
  padding: 0 14px;
  color: var(--ink);
  min-width: 0;
}
.hero__form-input::placeholder { color: var(--muted-2); }
.hero__form-btn {
  height: 44px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 8px;
}
.hero__form-legend {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.hero__media { position: relative; min-width: 0; }
.hero__media-card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -28px rgba(15, 23, 42, 0.22),
    0 14px 28px -12px rgba(15, 23, 42, 0.10);
}
.hero__video {
  width: 100%;
  height: auto;
  background: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
}
.stat {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--hairline);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: clamp(36px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 500;
  line-height: 1;
}
.stat__num sup {
  font-size: 0.55em;
  vertical-align: top;
  color: var(--primary);
  margin-left: 2px;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 12px;
  display: block;
  text-transform: uppercase;
}

.agent-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.agent-section-head--compact { margin-bottom: 40px; }
.agent-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.agent-feature-band {
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.install {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.install__step {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.install__step__n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
}
.install__step h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.install__step p {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
}
.install__step__art {
  margin-top: auto;
  border-top: 1px dashed var(--hairline);
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.plan__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}
.plan__list li {
  position: relative;
  padding-left: 22px;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 2px;
  background: var(--primary);
}

.context-card {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 16px;
  min-width: 280px;
  box-shadow: 0 20px 40px -16px rgba(10, 13, 20, 0.4);
}
.context-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.context-card__head .glow {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(124, 197, 255, 0.18);
}
.context-card__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  font-size: 13px;
}
.context-card__row + .context-card__row { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.context-card__row span:first-child { color: rgba(255, 255, 255, 0.55); }
.context-card__row span:last-child {
  color: #fff;
  font-family: var(--font-mono);
  text-align: right;
}
.context-card__cta {
  margin-top: 12px;
  background: var(--sky);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.opener-card {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}
.opener-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.opener-card__copy {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.opener-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}
.opener-card__actions .btn {
  height: 32px;
  font-size: 12.5px;
  padding: 0 10px;
}
.opener-card__score {
  color: var(--muted);
  margin-left: auto;
}

.tool-video-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.25), 0 8px 18px -8px rgba(15, 23, 42, 0.10);
}
.tool-video-frame video {
  width: 100%;
  height: auto;
}

.integrations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.intg {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 24px;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  transition: background 0.2s;
}
.intg:hover { background: var(--paper); }
.intg__mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
}
.intg__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.intg__role {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.copilot-headline {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 16ch;
}
.copilot-headline em {
  font-style: normal;
  color: var(--sky);
}
.copilot-strike { position: relative; }
.copilot-strike::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 55%;
  height: 6px;
  background: rgba(255, 110, 110, 0.6);
  transform: rotate(-3deg);
  border-radius: 2px;
}
.section--dark .pill {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: var(--night-line-2);
}

.cta-banner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: end;
}
.cta-banner h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.cta-banner em {
  color: var(--sky);
  font-style: normal;
}
.cta-banner__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 16px;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  color: var(--ink);
  font-size: 14.5px;
}
.footer__col a:hover { color: var(--primary); }
.footer__brand p {
  color: var(--muted);
  max-width: 30ch;
  margin: 12px 0 0;
  font-size: 14px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--hairline-2);
  background: var(--paper);
  color: var(--muted);
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.dots span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 1px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.4s infinite;
}
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease-out both; }

@media (max-width: 1080px) {
  .nav__links .nav-dropdown,
  .nav__links > a:not(.nav__pill) { display: none; }
}

@media (max-width: 980px) {
  .hero__grid,
  .agent-feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__head { max-width: none; }
  .hero__form { max-width: none; }
}

@media (max-width: 900px) {
  .nav__inner,
  .nav-inner { gap: 18px; }
  .nav__cta .btn--ghost,
  .nav__cta .btn-ghost { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 880px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 18px 20px 0; }
  .agent-section-head,
  .cta-banner {
    grid-template-columns: 1fr;
  }
  .cta-banner__actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .install,
  .integrations { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav__links { display: none; }
  .nav__cta .btn--primary,
  .nav__cta .btn-primary { display: none; }
  .hero__form { flex-direction: column; }
  .hero__form-input {
    min-height: 44px;
    padding: 0 10px;
  }
  .hero__form-btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .stat:last-child { border-bottom: 0; }
  .opener-card__actions {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .opener-card__score {
    flex-basis: 100%;
    margin-left: 0;
  }
  .footer__top,
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__bottom {
    display: grid;
    align-items: start;
  }
}

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