/*
 * Landing page: light, calm, evidence-first. Scoped under .landing.
 * One accent colour, generous whitespace, a single gentle fade-in on scroll.
 * Everything shown is real: live database counts, the committed acceptance
 * report, API responses copied from this build, numbers from the proof.
 */
.landing {
  --l-bg: #ffffff;
  --l-alt: #fafaf8;
  --l-ink: #0b0b0d;
  --l-text: #27272a;
  --l-text-2: #52525b;
  --l-muted: #71717a;
  --l-line: #e8e6e1;
  --l-line-2: #d6d3cc;
  --l-accent: #c8401f;
  --l-accent-soft: #fbece7;
  --l-ok: #15803d;
  --l-ok-soft: #e9f6ee;
  --l-code-bg: #f6f5f2;
  background: var(--l-bg);
  color: var(--l-text);
  font-size: 17px;
  line-height: 1.65;
}
.landing .container { max-width: 1160px; }
.landing h1, .landing h2, .landing h3, .landing h4 { color: var(--l-ink); font-family: var(--vd-sans); }
.landing a:not(.l-btn):not(.l-event) { color: var(--l-ink); text-decoration: underline; text-decoration-color: var(--l-line-2); text-underline-offset: 3px; }
.landing a:not(.l-btn):not(.l-event):hover { text-decoration-color: var(--l-accent); color: var(--l-accent); }
.l-serif { font-family: var(--vd-serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.landing code { font-family: var(--vd-mono); font-size: 0.86em; background: var(--l-code-bg); border: 1px solid var(--l-line); padding: 0.08em 0.38em; border-radius: 5px; color: var(--l-ink); }

.l-section { padding: clamp(4rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--l-line); }
.l-section.alt { background: var(--l-alt); }
.l-kicker { display: inline-block; font-family: var(--vd-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--l-accent); margin-bottom: 0.9rem; }
.l-h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; margin: 0 0 1rem; max-width: 24ch; }
.l-intro { color: var(--l-text-2); max-width: 64ch; margin: 0 0 2.6rem; }

.l-hero { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.l-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.l-badge { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: var(--l-text-2); border: 1px solid var(--l-line); border-radius: 999px; padding: 0.3rem 0.85rem 0.3rem 0.4rem; }
.l-badge b { font-family: var(--vd-mono); font-weight: 500; font-size: 0.74rem; color: var(--l-ok); background: var(--l-ok-soft); border-radius: 999px; padding: 0.12rem 0.55rem; }
.l-title { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; margin: 1.3rem 0; }
.l-title .l-serif { color: var(--l-accent); font-size: 1.05em; }
.l-lede { font-size: 1.15rem; color: var(--l-text-2); max-width: 54ch; margin: 0 0 2rem; }
.l-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.l-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.78rem 1.25rem; border-radius: 10px; font-weight: 550; font-size: 0.97rem; text-decoration: none; transition: background-color .15s, border-color .15s; }
.l-btn-primary { background: var(--l-ink); color: #fff !important; border: 1px solid var(--l-ink); }
.l-btn-primary:hover { background: var(--l-accent); border-color: var(--l-accent); }
.l-btn-secondary { background: #fff; color: var(--l-ink) !important; border: 1px solid var(--l-line-2); }
.l-btn-secondary:hover { border-color: var(--l-ink); }
.l-facts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 0.55rem; font-size: 0.95rem; color: var(--l-text-2); }
.l-facts li { display: flex; gap: 0.7rem; align-items: baseline; }
.l-facts li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 2px; background: var(--l-accent); transform: translateY(-2px); }

.l-report { border: 1px solid var(--l-line); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(10,10,13,.04), 0 20px 40px -28px rgba(10,10,13,.18); overflow: hidden; }
.l-report-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--l-line); background: var(--l-alt); }
.l-report-head strong { font-size: 0.95rem; color: var(--l-ink); display: block; }
.l-report-head small { font-family: var(--vd-mono); font-size: 0.76rem; color: var(--l-muted); }
.l-score { font-family: var(--vd-mono); font-size: 0.8rem; font-weight: 600; color: var(--l-ok); background: var(--l-ok-soft); border-radius: 999px; padding: 0.18rem 0.65rem; white-space: nowrap; }
.l-report ol { list-style: none; margin: 0; padding: 0.4rem 0; }
.l-report li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.46rem 1.2rem; font-family: var(--vd-mono); font-size: 0.83rem; color: var(--l-text); }
.l-report li .res { font-weight: 600; color: var(--l-ok); }
.l-report li .res.fail { color: var(--l-accent); }
.l-report-foot { border-top: 1px solid var(--l-line); padding: 0.8rem 1.2rem; font-size: 0.86rem; color: var(--l-text-2); }

.l-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--l-line); border-radius: 14px; background: #fff; overflow: hidden; }
.l-stats div { padding: 1.4rem 1.5rem; border-right: 1px solid var(--l-line); }
.l-stats div:last-child { border-right: 0; }
.l-stats .n { display: block; font-size: 2.4rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; color: var(--l-ink); font-variant-numeric: tabular-nums; }
.l-stats .k { display: block; color: var(--l-muted); font-size: 0.9rem; margin-top: 0.3rem; }
.l-live { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--vd-mono); font-size: 0.76rem; color: var(--l-ok); margin-bottom: 0.9rem; }
.l-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--l-ok); }

.l-compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--l-line); border-radius: 14px; overflow: hidden; background: #fff; font-size: 0.97rem; }
.l-compare th { text-align: left; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--l-muted); background: var(--l-alt); padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--l-line); }
.l-compare td { padding: 1.05rem 1.2rem; border-bottom: 1px solid var(--l-line); vertical-align: top; color: var(--l-text); }
.l-compare tr:last-child td { border-bottom: 0; }
.l-compare td:first-child { color: var(--l-text-2); width: 30%; }
.l-compare td:nth-child(2) { color: var(--l-ink); font-weight: 500; }
.l-compare td:last-child { width: 27%; font-size: 0.86rem; }

.l-calls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.l-call { border: 1px solid var(--l-line); border-radius: 14px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.l-call-head { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--l-line); }
.l-call-head h3 { font-size: 1rem; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.l-status { font-family: var(--vd-mono); font-size: 0.78rem; font-weight: 600; border-radius: 6px; padding: 0.12rem 0.5rem; white-space: nowrap; }
.l-status.s4 { color: var(--l-accent); background: var(--l-accent-soft); }
.l-status.s2 { color: var(--l-ok); background: var(--l-ok-soft); }
.l-call pre { margin: 0; padding: 1rem 1.1rem; font-family: var(--vd-mono); font-size: 0.8rem; line-height: 1.7; color: var(--l-text); background: var(--l-code-bg); white-space: pre-wrap; word-break: break-word; flex: 1; }
.l-call pre .v { color: var(--l-accent); }
.l-call pre .c { color: var(--l-muted); }
.l-call p { margin: 0; padding: 0.8rem 1.1rem; font-size: 0.88rem; color: var(--l-text-2); border-top: 1px solid var(--l-line); }

.l-arch { display: grid; gap: 0.75rem; }
.l-tier { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; align-items: stretch; }
.l-tier-label { font-family: var(--vd-mono); font-size: 0.76rem; color: var(--l-muted); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 0.95rem; }
.l-boxes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.75rem; }
.l-box { border: 1px solid var(--l-line); border-radius: 12px; background: #fff; padding: 0.9rem 1rem; }
.l-box h4 { font-size: 0.97rem; font-weight: 600; margin: 0 0 0.25rem; letter-spacing: -0.01em; }
.l-box p { font-size: 0.84rem; color: var(--l-text-2); margin: 0; line-height: 1.55; }
.l-box.key { border-color: var(--l-accent); box-shadow: inset 3px 0 0 var(--l-accent); }
.l-flow { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; }
.l-flow span { grid-column: 2; font-family: var(--vd-mono); font-size: 0.76rem; color: var(--l-muted); text-align: center; }
.l-flow span::before { content: "\2193  "; color: var(--l-accent); }

.l-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.l-result { border: 1px solid var(--l-line); border-radius: 14px; background: #fff; padding: 1.4rem 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; }
.l-result .big { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--l-ink); font-variant-numeric: tabular-nums; }
.l-result h3 { font-size: 1.02rem; font-weight: 600; margin: 0; }
.l-result p { font-size: 0.92rem; color: var(--l-text-2); margin: 0; }
.l-result .src { margin-top: auto; padding-top: 0.7rem; border-top: 1px solid var(--l-line); font-family: var(--vd-mono); font-size: 0.75rem; color: var(--l-muted); }
.l-note { margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-left: 3px solid var(--l-accent); background: var(--l-accent-soft); border-radius: 0 10px 10px 0; color: var(--l-text); font-size: 0.97rem; max-width: 82ch; }

.l-traps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.l-trap { border-top: 2px solid var(--l-ink); padding-top: 1rem; }
.l-trap h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.4rem; }
.l-trap p { font-size: 0.93rem; color: var(--l-text-2); margin: 0; }

.l-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.l-event { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem; border: 1px solid var(--l-line); border-radius: 14px; background: #fff; text-decoration: none; transition: border-color .15s; }
.l-event:hover { border-color: var(--l-ink); }
.l-event h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.l-event p { color: var(--l-text-2); font-size: 0.94rem; margin: 0; }
.l-event .meta { margin-top: auto; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--l-line); padding-top: 0.8rem; font-size: 0.86rem; color: var(--l-muted); }
.l-event .meta strong { color: var(--l-ink); font-variant-numeric: tabular-nums; }
.l-final { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.l-final h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 600; letter-spacing: -0.035em; margin: 0 0 0.6rem; }
.l-final p { color: var(--l-text-2); margin: 0; max-width: 58ch; }
.l-cmd { font-family: var(--vd-mono); font-size: 0.95rem; background: var(--l-ink); color: #fff; border-radius: 10px; padding: 0.9rem 1.2rem; white-space: nowrap; }
.l-cmd .p { color: #ff8f73; }

.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .l-hero-grid, .l-final { grid-template-columns: 1fr; }
  .l-calls, .l-results, .l-traps { grid-template-columns: 1fr; }
  .l-stats { grid-template-columns: 1fr 1fr; }
  .l-stats div:nth-child(2) { border-right: 0; }
  .l-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--l-line); }
  .l-tier, .l-flow { grid-template-columns: 1fr; gap: 0.5rem; }
  .l-flow span { grid-column: 1; }
  .l-boxes { grid-auto-flow: row; }
  .l-compare td:first-child, .l-compare td:last-child { width: auto; }
}
@media (max-width: 575.98px) {
  .landing { font-size: 16px; }
  .l-compare th:last-child, .l-compare td:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hosted preview only: the full recorded walkthrough. */
.l-walkthrough-video { display: block; width: 100%; max-width: 1120px; aspect-ratio: 16 / 9; margin: 24px auto 14px;
  border-radius: 14px; background: #111; box-shadow: 0 22px 60px -32px rgba(20, 21, 26, .5); }
