/* Landing page — Persuade surface. Night ground; the page IS the OR at night
   and its one authored moment is light arriving at the emitter array.
   Consumes the same tokens as assay.css (loaded first). */

.ld {
  background: var(--night);
  color: var(--icebr);
  overflow-x: hidden;
}
.ld a { color: var(--ice); }
.ld a:focus-visible, .ld button:focus-visible { outline-color: var(--icebr); }

/* nav */
.ld-nav {
  display: flex; align-items: center; gap: 2.4rem;
  min-height: 68px;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: blur(8px);
}
.ld-links { display: flex; gap: 1.6rem; }
.ld-links a {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 560;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ice);
}
.ld-links a:hover { color: var(--white); text-decoration: none; }
.ld-nav-right { margin-left: auto; display: flex; gap: 0.7rem; align-items: center; }

.btn-ghost {
  background: transparent; color: var(--ice); border: 1px solid var(--navy80);
}
.btn-ghost:hover { background: var(--navy80); color: var(--white); }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 0.74rem; }

/* hero — split, fits the viewport */
.ld-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  min-height: min(calc(100dvh - 68px), 880px);
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  max-width: 1280px;
  margin: 0 auto;
}
.ld-hero-copy h1 {
  font-family: var(--disp); font-weight: 680;
  font-size: clamp(2.4rem, 4.7vw, 4.4rem);
  line-height: 0.99;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.ld-sub {
  font-size: 1.15rem; line-height: 1.6;
  color: var(--ice);
  max-width: 44ch;
  margin-bottom: 2rem;
}
.ld-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.ld-hero-fig { position: relative; height: min(72vh, 640px); }
.hero-emitter { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-emitter .cell { transition: fill-opacity 700ms var(--ease); }

/* sections */
.ld-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 3rem) 0;
}
.ld-h2 {
  font-family: var(--disp); font-weight: 620;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.ld-body { font-size: 1.05rem; line-height: 1.65; color: var(--ice); max-width: 62ch; margin-bottom: 0.8rem; }
.ld-eyebrow {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 560;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}
.ld-note { font-size: 0.85rem; line-height: 1.55; color: var(--steel); max-width: 68ch; margin-top: 1.4rem; }

/* tier list — marks on dark */
.ld-tiers { list-style: none; margin-top: 2.2rem; border-top: 1px solid var(--navy80); }
.ld-tier {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid var(--navy80);
}
.ld-tier .mark { color: var(--icebr); flex: none; margin-top: 0.15rem; min-width: 64px; }
.ld-tier b { font-family: var(--disp); font-weight: 620; font-size: 1rem; color: var(--white); display: block; }
.ld-tier p { font-size: 0.9rem; color: var(--ice); margin-top: 0.15rem; }
.ld-tier.is-signal b { color: var(--coral); }
.ld .mark-vf .hx  { background: var(--icebr); }
.ld .mark-att .hx { background: var(--ice); box-shadow: inset 0 0 0 2.5px var(--night), inset 0 0 0 20px var(--ice); }
.ld .mark-ar .hx  { background: var(--steel); }
.ld .mark-ps .hx  { background: transparent; box-shadow: inset 0 0 0 1.5px var(--steel); }
.ld .mark-ai      { color: var(--coral); }
.ld .mark-ai .hx  { background: transparent; box-shadow: inset 0 0 0 1.5px var(--coral); }
.ld .mark-un      { color: var(--steel); }
.ld .mark-un .hx  {
  background: linear-gradient(to top right, transparent 44%, var(--steel) 44%, var(--steel) 56%, transparent 56%);
  box-shadow: inset 0 0 0 1.5px var(--steel);
}

/* specimen — the product rendering itself */
.ld-panelled .ld-specimen {
  background: var(--navy80);
  padding: 1.6rem 1.9rem;
  margin-top: 2rem;
}
.ld-line {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--steel) 30%, transparent);
  font-size: 0.98rem;
  color: var(--icebr);
}
.ld-line:last-child { border-bottom: none; }
.ld-line.void span:first-child { color: var(--steel); }
.ld-line .mark { flex: none; color: var(--icebr); }

/* custody steps — vertical rail, not zigzag */
.ld-steps { list-style: none; margin-top: 2.2rem; max-width: 760px; }
.ld-step {
  display: grid;
  grid-template-columns: 40px 110px 1fr auto;
  gap: 1rem; align-items: baseline;
  padding: 0.95rem 0.2rem;
  border-bottom: 1px solid var(--navy80);
}
.ld-step-n { font-family: var(--mono); font-size: 0.72rem; color: var(--steel); }
.ld-step b { font-family: var(--disp); font-weight: 620; font-size: 1rem; color: var(--white); }
.ld-step span { font-size: 0.92rem; color: var(--ice); }
.ld-step i {
  font-style: normal;
  font-family: var(--mono); font-size: 0.58rem; font-weight: 560;
  letter-spacing: 0.14em; color: var(--steel);
}
.ld-step.human b { color: var(--coral); }
.ld-step.human i { color: var(--coral); }

/* buyers — hex-cluster asymmetry: one large cell + satellites */
.ld-buyers {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 2.2rem;
}
.ld-buyer {
  background: var(--navy80);
  padding: 1.6rem 1.7rem;
}
.ld-buyer-main { grid-row: 1 / span 2; background: var(--navy); }
.ld-buyer b { font-family: var(--disp); font-weight: 620; font-size: 1.08rem; color: var(--white); display: block; margin-bottom: 0.6rem; }
.ld-buyer p { font-size: 0.94rem; line-height: 1.55; color: var(--ice); }

/* origin */
.ld-origin-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start;
}
.ld-filings { display: flex; flex-direction: column; gap: 1rem; padding-top: 2.6rem; }
.ld-filing {
  border: 1px solid var(--navy80);
  padding: 1rem 1.2rem;
}
.ld-inid { font-family: var(--mono); font-size: 0.62rem; color: var(--steel); letter-spacing: 0.12em; display: block; }
.ld-filing b { display: block; font-size: 1.15rem; color: var(--white); margin: 0.3rem 0 0.2rem; }
.ld-filing span:last-child { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.ld-proof {
  display: flex; gap: 0.8rem; align-items: center;
  font-family: var(--mono); font-size: 0.78rem; font-variant-numeric: tabular-nums;
  color: var(--ice);
  padding: 0.4rem 0.2rem;
}

/* final CTA */
.ld-final {
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 1.5rem clamp(4rem, 8vw, 6rem);
}
.ld-final h2 {
  font-family: var(--disp); font-weight: 680;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.8rem;
}
.ld-final .ld-note { margin: 1.6rem auto 0; }

/* contact */
.ld-mail { margin: 1.6rem 0 0.9rem; }
.ld-mail a {
  font-family: var(--mono); font-size: 1rem; color: var(--coral);
  text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.ld-mail a:hover { border-bottom-color: var(--coral); }
.ld-people { list-style: none; display: grid; gap: 1px; background: var(--navy80); border: 1px solid var(--navy80); }
.ld-person {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: 0.3rem 1rem; background: var(--night); padding: 1.1rem 1.2rem;
}
.ld-person b { font-weight: 560; color: var(--white); font-size: 0.98rem; }
.ld-person span { grid-column: 1; font-size: 0.85rem; color: var(--steel); line-height: 1.5; }
.ld-person a {
  grid-row: 1 / span 2; align-self: center;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ice); text-decoration: none; border: 1px solid var(--navy80); padding: 0.4rem 0.7rem;
}
.ld-person a:hover { border-color: var(--ice); color: var(--white); }

.ld-foot { background: var(--night); border-top: 1px solid var(--navy80); margin-top: 2rem; }
.ld-foot .foot-cell { color: var(--steel); }
.ld-foot .foot-mid { border-color: var(--navy80); }

/* scroll reveals — sections rise as they enter; stagger via inline delay */
.ld-reveal { opacity: 0; transform: translateY(22px); }
.ld-reveal.in {
  opacity: 1; transform: none;
  transition: opacity 550ms var(--ease), transform 550ms var(--ease);
}

@media (max-width: 900px) {
  .ld-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 3rem; gap: 0; }
  .ld-hero-fig { height: 46vw; min-height: 260px; order: 2; }
  .ld-buyers, .ld-origin-grid { grid-template-columns: 1fr; }
  .ld-buyer-main { grid-row: auto; }
  .ld-step { grid-template-columns: 32px 90px 1fr; }
  .ld-step i { display: none; }
  .ld-links { display: none; }
  .ld-filings { padding-top: 0; }
  /* The authored break lands mid-clause once the column narrows; let it wrap. */
  .ld-h2 br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ld-reveal { opacity: 1; transform: none; }
  .hero-emitter .cell { transition: none; }
}
