/* ============================================================
   LeadGen AI — Base typography + layout primitives
   Note: any animations referenced here (e.g. .eyebrow .dot pulse)
   have their @keyframes defined in animations.css.
   ============================================================ */

.dx h1, .dx h2, .dx h3, .dx h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}
.dx h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.dx h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.dx h3 { font-size: 20px; line-height: 1.3; }
.dx h4 { font-size: 16px; line-height: 1.4; }

.dx .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  /* `align-self: flex-start` keeps the pill its natural width when its
     parent is a flex column (e.g. .hero-left). Without this, the
     parent's default `align-items: stretch` makes the eyebrow span the
     full container width — the "LIVE · 2.4M leads…" pill stretching
     edge-to-edge bug. Width also locked to `max-content` for safety
     in CSS grid parents (which also default to stretch). */
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.dx .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow:
    0 0 0 0 rgba(0, 214, 126, 0.55),
    0 0 0 0 rgba(0, 214, 126, 0.35);
  animation: dx-live-ring 2.2s var(--ease) infinite;
}

.dx .mono  { font-family: var(--font-mono); }
.dx .muted { color: var(--fg-muted); }
.dx .dim   { color: var(--fg-dim); }

.dx .lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 56ch;
}

/* ---------- LAYOUT PRIMITIVES ---------- */
.dx .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.dx section { padding: var(--section-y) 0; }
.dx .stack > * + * { margin-top: var(--gap, 16px); }
.dx .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* SEO_AUDIT.md SL-7: Skip-to-content link, hidden until focused. */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  z-index: 9999;
  padding: 8px 14px;
  background: var(--bg, #0a0a0c);
  color: var(--fg, #fff);
  border: 1px solid var(--line, #2a2a30);
  border-radius: 6px;
  text-decoration: none;
  font: 500 13px/1 var(--font-sans, system-ui);
  transition: top 120ms ease-in-out;
}
.skip-link:focus { top: 8px; outline: 2px solid var(--orange, #ff7a00); }
