@import url("../../_ds/fonts.css");
@import url("../../_ds/theme.css");
@import url("../../_shared/chrome.css");
@import url("../../_shared/components.css");
@import url("../../_shared/audience-switcher.css");

/* ──────────────────────────────────────────────────────────
   /solutions/lead-enrichment — the EMPTY FIELD.
   The account record that completes itself from the live web.
   Border-before-fill widgets; H2s all white; one purple band.
   ────────────────────────────────────────────────────────── */

/* one token for the "live data lighting up" marks (dot, wires, scan
   line, extracted count, the drag grip) — brand PURPLE informing, per
   the colour philosophy; defined once so the page reads coherent. */
body { --le-teal: #7C4FE8; }

.le-hero,
.le-sig,
.le-proof,
.le-end { padding-inline: var(--page-gutter, 7vw); }

/* ═══ Act 1 — Hero: a list of accounts enriches itself ═══
   Full-width CRM table that fills its blank columns on mount; the
   headline + tagline sit centered BELOW it. The visual leads. */
.le-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(40px, 6vh, 76px);
  padding-top: clamp(104px, 13vh, 168px);
  padding-bottom: clamp(72px, 9vh, 124px);
}
.le-hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.le-hero-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--mkt-h2);
  line-height: 1.0;
  letter-spacing: -0.018em;
  color: var(--text-primary);
  text-wrap: balance;
}
.le-hero-h1 em { font-style: normal; color: var(--text-primary); }
.le-hero-sub { margin: clamp(18px, 2vw, 26px) auto 0; font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.55; color: var(--text-tertiary); max-width: 52ch; }
.le-hero-cta { margin-top: clamp(26px, 3vw, 36px); }
.le-hero-x { display: inline-block; margin-top: 20px; }

/* the enrichment table — hairline, no fill; the signature visual */
.le-tbl-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px;
  letter-spacing: 0.03em;
}
.le-tbl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--le-teal); flex-shrink: 0; }
.le-tbl-dot.is-done { animation: none; }
.le-tbl-status { color: var(--text-secondary); }
.le-tbl-meta { margin-left: auto; color: var(--text-quaternary); }
.le-tbl-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.2fr 0.9fr 0.9fr;
  align-items: center;
  column-gap: clamp(10px, 1.4vw, 22px);
}
.le-tbl-h, .le-tbl-co, .le-tbl-c {
  padding: 15px clamp(10px, 1.4vw, 18px);
  font-size: var(--mkt-body-sm);
  border-bottom: 1px solid color-mix(in oklab, var(--border-subtle) 55%, transparent);
}
.le-tbl-h {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}
.le-tbl-co { font-family: var(--font-mono, ui-monospace, monospace); color: var(--text-primary); white-space: nowrap; }
.le-tbl-c {
  font-family: var(--font-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary);
  white-space: nowrap;
  position: relative;
}
/* blank cells start as a skeleton bar, then resolve to the value */
.le-tbl-c[data-le-cell] { color: transparent; }
.le-tbl-c[data-le-cell]::before {
  content: "";
  position: absolute; left: clamp(10px, 1.4vw, 18px); top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 8px; border-radius: 3px;
  background: color-mix(in oklab, var(--text-quaternary) 45%, transparent);
  transition: opacity 240ms ease;
}
.le-tbl-c[data-le-cell].is-filled { color: var(--text-primary); transition: color 320ms ease; }
.le-tbl-c[data-le-cell].is-filled::before { opacity: 0; }
.le-tbl-grid > :nth-last-child(-n + 5) { border-bottom: none; }

/* ═══ Act 2 — Signals: source -> field connectors ═══ */
.le-sig { padding-top: clamp(90px, 13vh, 180px); padding-bottom: clamp(90px, 13vh, 180px); }
.le-sig-head { max-width: 720px; margin: 0 auto clamp(46px, 6vw, 88px); text-align: center; }
.le-sig-h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.04; letter-spacing: -0.015em; color: var(--text-primary); }
.le-sig-h2 em { font-style: normal; color: var(--text-primary); }
.le-sig-sub { margin: 18px auto 0; max-width: 52ch; font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.55; color: var(--text-tertiary); }
.le-sig-stage { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 22px); max-width: 1000px; margin: 0 auto; }
/* each row pairs source + connector + field; the connector is centred
   in its own cell so it lines up box-to-box, never over the text */
.le-sig-row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(64px, 11vw, 168px) minmax(0, 1fr); align-items: stretch; }
.le-sig-link { display: flex; align-items: center; }
.le-sig-wire { display: block; width: 100%; height: 1.5px; background: var(--le-teal); transform: scaleX(0); transform-origin: left center; transition: transform 90ms linear; }
.le-sig-node {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  transition: border-color 260ms ease;
}
.le-sig-node--r { text-align: right; }
.le-sig-n { font-family: var(--font-base); font-size: var(--mkt-body-sm); font-weight: var(--font-weight-medium, 500); color: var(--text-secondary); transition: color 260ms ease; }
.le-sig-m { font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; color: var(--text-quaternary); }
.le-sig-node.is-on { border-color: var(--border); }
.le-sig-node.is-on .le-sig-n { color: var(--text-primary); }

/* ═══ Act 3 — Proof: careers page swept into a hiring signal ═══ */
/* sticky stage: the section is tall, the stage pins while you scroll,
   and scroll progress drives the sweep + extraction */
.le-proof { position: relative; min-height: 230vh; padding-top: clamp(40px, 6vh, 90px); padding-bottom: clamp(40px, 6vh, 90px); }
.le-proof-sticky { position: sticky; top: clamp(84px, 12vh, 140px); }
.le-proof-head { max-width: 1040px; margin: 0 auto clamp(32px, 4vw, 56px); }
.le-proof-h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.018em; color: var(--text-primary); }
.le-proof-h2 em { font-style: normal; color: var(--text-primary); }
.le-proof-sub { margin: 18px 0 0; max-width: 50ch; font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.55; color: var(--text-tertiary); }
.le-proof-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
/* careers page mock — hairline, no fill */
.le-page { position: relative; border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden; }
.le-page-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); }
.le-page-d { width: 9px; height: 9px; border-radius: 50%; background: var(--border-subtle); }
.le-page-url { margin-left: 12px; font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; color: var(--text-quaternary); }
.le-page-body { position: relative; padding: 20px 22px 26px; }
.le-page-h { margin: 0 0 14px; font-family: var(--font-base); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-quaternary); }
.le-page-jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.le-job {
  border: 1px solid color-mix(in oklab, var(--border-subtle) 70%, transparent);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 220ms ease, background 220ms ease;
}
.le-job-t { font-family: var(--font-base); font-size: 15px; font-weight: var(--font-weight-medium, 500); color: var(--text-secondary); transition: color 220ms ease; }
.le-job-m { font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; color: var(--text-quaternary); }
.le-job.is-hit { border-color: var(--border); }
.le-job.is-hit .le-job-t { color: var(--text-primary); }
/* the sweep line travels down the page body */
.le-sweep { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--le-teal); box-shadow: 0 0 18px 2px color-mix(in oklab, var(--le-teal) 60%, transparent); pointer-events: none; transition: top 80ms linear; }
/* extracted output */
.le-out { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.le-json { margin: 0; min-width: 0; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 20px 22px; overflow-x: auto; font-family: var(--font-mono, ui-monospace, monospace); font-size: var(--mkt-body-xs); line-height: 1.9; }
.le-json code { white-space: pre; }
.x-p { color: var(--text-quaternary); }
.x-k { color: var(--text-secondary); }
.x-s { color: var(--text-tertiary); }
.x-n, .x-b { color: var(--text-primary); }
.x-hi { color: var(--le-teal); }
.x-c { color: var(--text-quaternary); }
.x-fn { color: var(--text-primary); font-weight: var(--font-weight-medium); }
.le-tag { color: var(--text-quaternary); opacity: 0.4; transition: opacity 200ms ease, color 200ms ease; }
.le-tag.is-on { color: var(--text-primary); opacity: 1; }

/* ═══ Act 4 — Coverage band (SOLID teal, bloom reveal) ═══ */
.le-cov { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 16vh, 200px) var(--page-gutter, 7vw); }
.le-cov-fill {
  position: absolute; inset: 0; z-index: -1; background: #7C4FE8;
  clip-path: circle(0% at 18% 50%);
  transition: clip-path 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(0); backface-visibility: hidden; will-change: clip-path;
}
.le-cov.is-in .le-cov-fill { clip-path: circle(150% at 18% 50%); }
.le-cov-inner { max-width: 1000px; margin: 0 auto; }
.le-cov-h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.98; letter-spacing: -0.02em; color: #fff; }
.le-cov-sub { margin: 20px 0 0; max-width: 46ch; font-family: var(--font-base); font-size: var(--mkt-lead); line-height: 1.5; color: #fff; opacity: 0.85; }
.le-cov-cads { list-style: none; margin: clamp(34px, 4.5vw, 60px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.le-cad { font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; letter-spacing: 0.02em; color: #fff; border: 1px solid color-mix(in oklab, #fff 40%, transparent); border-radius: 999px; padding: 9px 16px; }

/* ═══ Act 5 — Closer ═══ */
.le-end { min-height: 86vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: clamp(110px, 16vh, 200px); padding-bottom: clamp(110px, 16vh, 200px); }
.le-end-frame { display: flex; flex-direction: column; align-items: center; gap: clamp(26px, 3vh, 40px); }
.le-end-h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.98; letter-spacing: -0.02em; color: var(--text-primary); }
.le-end-h2 em { font-style: normal; color: var(--text-primary); }
.le-end-x { margin-top: 4px; }

/* topbar inversion over the purple band — keep chrome white, flip the
   CTA to teal; scope to the topbar CTA only */

/* ── Reveals ── */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22,1,0.36,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ═══ Mobile ═══ */
@media (max-width: 860px) {
  /* full-width table, headline below; drop two columns so it fits the phone */
  .le-hero { gap: 28px; padding-top: clamp(72px, 14vh, 120px); }
  .le-tbl-grid { grid-template-columns: 1.2fr 0.8fr 0.9fr; }
  .le-col-stack, .le-col-fund { display: none; }
  .le-tbl-h, .le-tbl-co, .le-tbl-c { padding: 13px 12px; }
  .le-sig-stage { gap: 12px; max-width: 520px; }
  .le-sig-row { grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); }
  .le-sig-node { padding: 12px 13px; }
  /* sticky scroll-stage off on phones; the act fills once on entry */
  .le-proof { min-height: 0; padding-top: clamp(72px, 10vh, 120px); padding-bottom: clamp(72px, 10vh, 120px); }
  .le-proof-sticky { position: static; }
  .le-proof-stage { grid-template-columns: minmax(0, 1fr); }
  .le-hero-x, .le-end-x, .le-sig-head { text-align: center; }
}

/* ═══ Wide screens — let the acts breathe (≥1920 / ≥2560) ═══ */
@media (min-width: 1920px) {
  .le-sig-stage { max-width: 1440px; }
  .le-proof-head, .le-proof-stage { max-width: 1440px; }
  .le-cov-inner { max-width: 1360px; }
}
@media (min-width: 2560px) {
  .le-sig-stage { max-width: 1700px; }
  .le-proof-head, .le-proof-stage { max-width: 1700px; }
  .le-cov-inner { max-width: 1580px; }
}
