/* Landing-specific styles. Layered on top of styles.css — reuses tokens. */

/* Override: landing has no sidebar/dashboard chrome */
body.landing { background: var(--bg); }

/* ── Top navigation ── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 60px;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.lp-nav-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  flex-shrink: 0;
}
.lp-brand img { height: 24px; width: auto; display: block; }
[data-theme="dark"] .lp-brand img { filter: invert(1) brightness(1.6) contrast(0.95); }
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.lp-nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 450;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 120ms, background 120ms;
}
.lp-nav-links a:hover { color: var(--fg); background: var(--hover-tint); }
.lp-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-nav-right a { text-decoration: none; }

/* ── Section primitives ── */
.lp-section {
  padding: 96px 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-section.tight { padding: 64px 28px; }
.lp-section.full {
  max-width: none;
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.lp-section.full .lp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.lp-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px color-mix(in oklab, var(--accent) 70%, transparent);
}

.lp-h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 22px;
  color: var(--fg);
  text-wrap: balance;
}
.lp-h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lp-h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.lp-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0 0 18px;
  max-width: 62ch;
  text-wrap: pretty;
}
.lp-body { color: var(--fg-muted); font-size: 15.5px; line-height: 1.6; max-width: 62ch; }
.lp-body p { margin: 0 0 14px; }
.lp-body strong { color: var(--fg); font-weight: 600; }

/* ── Hero ── */
.lp-hero {
  padding: 80px 28px 64px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.lp-hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.lp-hero .btn.lg {
  padding: 11px 18px;
  font-size: 14px;
}

/* hero routing diagram */
.lp-hero-art {
  position: relative;
  aspect-ratio: 1.1 / 1;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 35%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 50%),
    var(--bg-elev-1);
  overflow: hidden;
}
.lp-hero-art svg { width: 100%; height: 100%; display: block; }
.lp-hero-art .corner-meta {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--fg-faint);
  text-transform: uppercase;
}
.lp-hero-art .corner-meta-r {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-dim);
  display: flex; gap: 14px; align-items: center;
}
.lp-hero-art .corner-meta-r .swatch { display: inline-block; width: 9px; height: 9px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }

/* ── Trust strip ── */
.lp-trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
  padding: 32px 28px;
}
.lp-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.lp-trust-label {
  font-size: 13px;
  color: var(--fg-dim);
  max-width: 320px;
  line-height: 1.55;
}
.lp-trust-logos {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.lp-provider {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elev-1);
  white-space: nowrap;
}

/* ── Two-column section (heading left, body right) ── */
.lp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}
.lp-split-narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }

/* ── Feature grid ── */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}
.lp-feature {
  background: var(--bg-elev-1);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-feature .ico {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--accent-faint);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
}
.lp-feature .ico svg { width: 16px; height: 16px; }
.lp-feature p { color: var(--fg-muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* ── Value prop with split comparison ── */
.lp-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.lp-distribution {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-elev-1);
  padding: 22px 22px 20px;
}
.lp-distribution-head {
  display: flex; align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.lp-distribution-head h4 { margin: 0; font-size: 14px; font-weight: 600; }
.lp-dist-row {
  display: grid;
  grid-template-columns: 110px 1fr 60px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}
.lp-dist-row .lbl { font-size: 13px; font-weight: 500; }
.lp-dist-row .sub { font-size: 11px; color: var(--fg-faint); font-family: var(--font-mono); margin-top: 1px; }
.lp-dist-row .bar { height: 10px; background: var(--surface-alt-3); border-radius: 999px; overflow: hidden; }
.lp-dist-row .bar i { display: block; height: 100%; border-radius: inherit; }
.lp-dist-row .pct { font-family: var(--font-mono); font-size: 12px; color: var(--fg); text-align: right; }
.lp-dist-foot { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--fg-dim); }
.lp-dist-foot strong { color: var(--accent); font-weight: 600; font-family: var(--font-mono); }

/* ── Green section ── */
.lp-green {
  background:
    radial-gradient(circle at 80% 20%, color-mix(in oklab, var(--accent) 6%, transparent), transparent 55%),
    color-mix(in oklab, var(--accent) 3%, var(--bg));
  border-top: 1px solid color-mix(in oklab, var(--accent) 20%, var(--border));
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 20%, var(--border));
}
.lp-green .lp-eyebrow .dot { background: var(--accent); }

/* ── How it works (numbered steps) ── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}
.lp-step {
  background: var(--bg-elev-1);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.lp-step .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}
.lp-step h4 { margin: 0 0 8px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.lp-step p { margin: 0; color: var(--fg-muted); font-size: 13px; line-height: 1.5; }

/* ── Use cases ── */
.lp-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.lp-case {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  background: var(--bg-elev-1);
  transition: border-color 160ms ease, background 160ms ease;
}
.lp-case:hover { border-color: var(--border-bright); }
.lp-case .lp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-faint);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
}
.lp-case h4 { margin: 0 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.lp-case p { margin: 0; color: var(--fg-muted); font-size: 13.5px; line-height: 1.55; }

/* ── Quote / differentiation ── */
.lp-diff {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 56px;
  background: var(--bg-elev-1);
}
.lp-diff-q {
  font-size: 15px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  margin-bottom: 22px;
  line-height: 1.5;
}
.lp-diff-a {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--fg);
  text-wrap: balance;
  max-width: 28ch;
}
.lp-diff-a strong { color: var(--accent); font-weight: 600; }

/* ── Enterprise stakeholders ── */
.lp-stakeholders {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.lp-stakeholder {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  background: var(--bg-elev-1);
}
.lp-stakeholder .role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.lp-stakeholder p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--fg); }

/* ── Question list ── */
.lp-questions {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--border);
}
.lp-questions li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--fg);
  font-weight: 500;
}
.lp-questions li .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-faint);
  letter-spacing: 0.04em;
  min-width: 32px;
  font-weight: 400;
}

/* ── Final CTA ── */
.lp-cta {
  text-align: center;
  padding: 96px 28px;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top, color-mix(in oklab, var(--accent) 5%, transparent), transparent 60%),
    var(--bg);
}
.lp-cta .lp-h2 { margin-left: auto; margin-right: auto; max-width: 18ch; }
.lp-cta .lp-lead { margin-left: auto; margin-right: auto; }
.lp-cta-buttons { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* ── Footer ── */
.lp-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  padding: 56px 28px 32px;
}
.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}
.lp-footer h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 14px;
  font-weight: 500;
}
.lp-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.lp-footer ul a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 120ms;
}
.lp-footer ul a:hover { color: var(--fg); }
.lp-footer-foot {
  max-width: 1200px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-faint);
  flex-wrap: wrap;
  gap: 16px;
}
.lp-footnote {
  max-width: 56ch;
  font-size: 12px;
  color: var(--fg-faint);
  line-height: 1.6;
  margin: 24px 0 0;
}

/* ── Buttons (landing-tuned) ── */
.lp-section .btn, .lp-hero .btn, .lp-cta .btn, .lp-nav .btn {
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .lp-hero { grid-template-columns: 1fr; gap: 48px; }
  .lp-hero-art { max-width: 540px; }
  .lp-split, .lp-split-narrow, .lp-value { grid-template-columns: 1fr; gap: 36px; }
  .lp-features, .lp-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-cases { grid-template-columns: repeat(2, 1fr); }
  .lp-stakeholders { grid-template-columns: repeat(2, 1fr); }
  .lp-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .lp-nav-links { display: none; }
  .lp-section { padding: 64px 20px; }
  .lp-hero { padding: 48px 20px; }
  .lp-features, .lp-steps, .lp-cases, .lp-stakeholders { grid-template-columns: 1fr; }
  .lp-diff { padding: 32px 24px; }
  .lp-trust-inner { flex-direction: column; align-items: flex-start; }
}
