/* ═══════════════════════════════════════════════════════════════
   VZ-Scan landing page — Vulzero Cybersecurity Inc.
   Layout follows the 2026-11 Stitch redesign (console panel, phase grid,
   tabbed code, guarantee cards); every colour, font and radius comes from
   the vulzero.cc tokens in style.css. No literals for brand colours here.
   Loaded only by templates/scanner/home.html.
   ═══════════════════════════════════════════════════════════════ */

.lp-section { padding-block: clamp(64px, 8vw, 104px); }

/* Visible layout grid: hairline column guides and section rules on the content
   column, so every block reads as placed rather than floating. */
@media (min-width: 900px) {
  .lp-hero, .lp-section { border-inline: 1px dashed var(--hair); }
  .lp-section { border-top: 1px dashed var(--hair); }
}
/* Full-bleed alternate band behind a section (same column guides on top). */
.lp-band {
  background: var(--ink-1);
  box-shadow: 0 0 0 100vmax var(--ink-1);
  clip-path: inset(0 -100vmax);
}

/* Section eyebrow on this page: quieter than the site-wide kicker. */
.lp-section .vzs-kicker {
  display: inline-flex; align-items: center; gap: 10px; color: var(--fg-3);
  text-transform: none; letter-spacing: 0.02em; font-size: 0.82rem; margin-bottom: 16px;
}
.lp-section .vzs-kicker::before {
  content: ""; width: 8px; height: 8px; background: var(--accent); flex: none;
}
/* Anchored sections land below the sticky header + announcement band. */
.lp-section[id], .lp-anchor { scroll-margin-top: 112px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.lp-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── type ───────────────────────────────────────────────────────── */
.lp-h1 {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.05; margin: 0 0 20px; max-width: 20ch;
  text-wrap: balance;
}
.lp-l2 { display: block; }
.lp-h1--final { max-width: none; text-align: center; font-size: clamp(2rem, 5vw, 3.4rem); }
.lp-accent { color: var(--accent-text); }
.lp-lead { color: var(--fg-2); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 62ch; margin: 0 0 28px; }
.lp-lead--center { margin-inline: auto; text-align: center; }
.lp-h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 12px; font-weight: 600; letter-spacing: -0.015em; }
.lp-h2--sm { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lp-sub { color: var(--fg-2); max-width: 64ch; margin: 0 0 40px; }
.lp-link {
  font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; color: var(--accent-text);
}
.lp-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── hero ───────────────────────────────────────────────────────── */
.lp-hero { padding-block: clamp(40px, 7vw, 88px) clamp(28px, 4vw, 48px); }
/* The working console sits right under the hero so it shows near the fold. */
.lp-hero + .lp-section { padding-top: 0; border-top: 0; }
@media (max-width: 560px) {
  .lp-actions .vzs-btn { flex: 1 1 100%; justify-content: center; }
}
.lp-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 14px; border: 1px solid var(--hair-2); background: var(--ink-1);
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none; transition: border-color 0.2s var(--ease);
}
.lp-pill:hover { border-color: var(--accent); color: var(--fg); }
.lp-diode {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
}
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.lp-checks {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-family: var(--f-mono); font-size: 0.8rem; color: var(--fg-2);
}
.lp-checks li { display: inline-flex; align-items: center; gap: 9px; }
.lp-checks--center { justify-content: center; margin-top: 22px; }
.lp-tick {
  width: 14px; height: 14px; flex: none; border: 1px solid var(--accent);
  background: linear-gradient(var(--accent), var(--accent)) center / 6px 6px no-repeat;
}

/* ── console (start form + request log) ─────────────────────────── */
.lp-console {
  border: 1px solid var(--hair); background: var(--ink-1); border-radius: 10px;
  overflow: hidden; box-shadow: inset 0 2px 0 var(--accent);
}
.lp-console-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; border-bottom: 1px solid var(--hair); background: var(--ink-0);
}
.lp-console-title {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--fg-2);
}
.lp-console-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .lp-console-grid { grid-template-columns: 1fr; } }
.lp-pane { padding: clamp(20px, 3vw, 30px); }
.lp-pane + .lp-pane { border-left: 1px solid var(--hair); }
@media (max-width: 900px) { .lp-pane + .lp-pane { border-left: 0; border-top: 1px solid var(--hair); } }
.lp-pane--log { background: var(--ink-0); display: flex; flex-direction: column; min-height: 320px; }
.lp-pane-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.lp-pane-head .lp-pane-h { margin: 0 auto 0 0; }
.lp-pane-h {
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-3); margin: 0 0 10px;
}
.lp-pane-p { color: var(--fg-2); font-size: 0.95rem; margin: 0 0 20px; }

.lp-chip {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent);
  background: color-mix(in srgb, var(--ok) 10%, transparent);
}
.lp-chip--muted { color: var(--fg-3); border-color: var(--hair-2); background: transparent; }

.lp-label { display: block; font-size: 0.86rem; color: var(--fg-2); margin-bottom: 7px; }
.lp-inputrow { position: relative; display: flex; gap: 10px; }
.lp-inputrow--btn .vzs-btn { flex: none; }
@media (max-width: 560px) { .lp-inputrow--btn { flex-direction: column; } }
.lp-input { font-family: var(--f-mono); font-size: 0.92rem; }
.lp-input::placeholder { color: var(--fg-3); opacity: 0.7; }
.lp-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-mono); font-size: 0.92rem; color: var(--fg-3); pointer-events: none;
}
.lp-input--prefixed { padding-left: 82px; }
.lp-wide { width: 100%; justify-content: center; margin-top: 4px; }

.lp-kv { margin: 18px 0; display: grid; border: 1px solid var(--hair); }
.lp-kv > div {
  display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 9px 12px;
  border-bottom: 1px solid var(--hair); font-size: 0.86rem;
}
.lp-kv > div:last-child { border-bottom: 0; }
.lp-kv dt {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-3); padding-top: 2px;
}
.lp-kv dd { margin: 0; color: var(--fg); }
.lp-kv--tall { margin-bottom: 20px; }

.lp-log {
  list-style: none; margin: 0; padding: 0; flex: 1; overflow-y: auto; max-height: 320px;
  font-family: var(--f-mono); font-size: 0.8rem; line-height: 1.5;
}
.lp-log-empty { color: var(--fg-3); padding: 6px 0; }
.lp-log li[data-kind] {
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 4px 12px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed var(--hair);
}
.lp-log-t { color: var(--fg-3); }
.lp-log-m { color: var(--accent-text); font-weight: 500; }
.lp-log-p { color: var(--fg); overflow-wrap: anywhere; }
.lp-log-s { color: var(--ok); }
.lp-log li[data-kind="err"] .lp-log-s { color: var(--deny); }
.lp-log-n { grid-column: 2 / -1; color: var(--fg-2); }
.lp-log-foot { margin: 14px 0 0; font-size: 0.8rem; color: var(--fg-3); }

/* ── phases ─────────────────────────────────────────────────────── */
.lp-phases {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--hair); border: 1px solid var(--hair);
}
@media (max-width: 980px) { .lp-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-phases { grid-template-columns: 1fr; } }
.lp-phase { background: var(--ink-1); padding: 24px 22px; display: flex; flex-direction: column; }
.lp-num { font-family: var(--f-mono); font-size: 0.8rem; color: var(--accent-text); margin-bottom: 18px; }
.lp-phase h3 { font-size: 1.25rem; margin: 0 0 8px; }
.lp-phase p { color: var(--fg-2); font-size: 0.93rem; margin: 0 0 18px; flex: 1; }
.lp-foot {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--fg-3);
  border-top: 1px solid var(--hair); padding-top: 12px;
}

/* ── developers ─────────────────────────────────────────────────── */
.lp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .lp-split { grid-template-columns: 1fr; } }
.lp-bullets { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.lp-bullets li { padding-left: 18px; border-left: 2px solid var(--hair-2); color: var(--fg-2); font-size: 0.95rem; }
.lp-bullets b { display: block; color: var(--fg); font-weight: 500; margin-bottom: 2px; }
.lp-code { border: 1px solid var(--hair); background: var(--ink-0); border-radius: 10px; overflow: hidden; min-width: 0; }
.lp-tabs { display: flex; align-items: stretch; border-bottom: 1px solid var(--hair); background: var(--ink-1); overflow-x: auto; }
.lp-tab {
  appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent;
  color: var(--fg-3); font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.06em;
  padding: 12px 16px; cursor: pointer; white-space: nowrap;
}
.lp-tab:hover { color: var(--fg); }
.lp-tab[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); background: var(--ink-0); }
.lp-tab:focus-visible, .lp-copy:focus-visible { outline: 2px solid var(--fg); outline-offset: -2px; }
.lp-copy {
  appearance: none; margin-left: auto; background: transparent; border: 0; border-left: 1px solid var(--hair);
  color: var(--fg-2); font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0 16px; cursor: pointer;
}
.lp-copy:hover { color: var(--accent-text); }
.lp-pre {
  margin: 0; padding: 20px 22px; overflow-x: auto; font-family: var(--f-mono);
  font-size: 0.82rem; line-height: 1.65; color: var(--fg); white-space: pre;
}
.lp-pre[hidden] { display: none; }
.lp-pre .c { color: var(--fg-3); }
.lp-pre .k { color: var(--fg-2); }
.lp-pre .s { color: var(--accent-text); }
.lp-pre .n { color: var(--fg); }
/* Field notes under the Response example; shown only with that tab. */
.lp-schema { display: none; margin: 0; border-top: 1px solid var(--hair); }
.lp-code:has(#code-resp:not([hidden])) .lp-schema { display: block; }
.lp-schema > div {
  display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px;
  padding: 10px 22px; border-bottom: 1px solid var(--hair); font-size: 0.84rem;
}
.lp-schema > div:last-child { border-bottom: 0; }
.lp-schema dt { font-family: var(--f-mono); color: var(--accent-text); }
.lp-schema dd { margin: 0; color: var(--fg-2); }

/* ── guarantee cards ────────────────────────────────────────────── */
.lp-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.lp-card {
  border: 1px solid var(--hair); background: var(--ink-1); border-radius: 10px; padding: 24px;
  transition: border-color 0.2s var(--ease);
}
.lp-card:hover { border-color: var(--hair-2); }
.lp-card h3 { font-size: 1.15rem; margin: 16px 0 8px; }
.lp-card p { color: var(--fg-2); font-size: 0.93rem; margin: 0; }
.lp-ico {
  width: 34px; height: 34px; padding: 6px; border: 1px solid var(--hair-2);
  fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ── published limits ───────────────────────────────────────────── */
.lp-limits { border: 1px solid var(--hair); border-radius: 10px; background: var(--ink-1); padding: clamp(22px, 4vw, 40px); }
.lp-limits-head { display: flex; flex-wrap: wrap; align-items: end; gap: 6px 24px; margin-bottom: 26px; }
.lp-limits-head .vzs-kicker { flex-basis: 100%; }
.lp-limits-head .lp-h2 { margin: 0 auto 0 0; }
.lp-stats {
  margin: 0; display: grid; gap: 1px; background: var(--hair); border: 1px solid var(--hair);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 860px) { .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .lp-stats dd { font-size: 1.8rem; } }
.lp-stats > div { background: var(--ink-0); padding: 20px; }
.lp-stats dt {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 10px;
}
.lp-stats dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--fg); }
.lp-stats small { font-family: var(--f-mono); font-size: 0.8rem; font-weight: 400; color: var(--fg-2); }

/* ── token ──────────────────────────────────────────────────────── */
.lp-tokenbox {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px);
  border: 1px solid var(--hair); border-radius: 10px; background: var(--ink-1);
  padding: clamp(22px, 4vw, 40px); box-shadow: inset 2px 0 0 var(--accent);
}
@media (max-width: 900px) { .lp-tokenbox { grid-template-columns: 1fr; } }
.lp-tokenform { margin-top: 4px; }
.lp-tokenout { margin-top: 18px; border: 1px solid var(--accent); background: var(--ink-0); padding: 14px 16px; }
.lp-tokenwarn { margin: 0 0 10px; font-size: 0.86rem; color: var(--accent-text); font-weight: 500; }
.lp-tokenrow { display: flex; align-items: center; gap: 12px; }
.lp-tokenval { flex: 1; min-width: 0; font-family: var(--f-mono); font-size: 0.85rem; overflow-wrap: anywhere; color: var(--fg); }
.lp-tokenrow .lp-copy { border: 1px solid var(--hair-2); padding: 8px 12px; margin: 0; }
.lp-session { border: 1px solid var(--hair); background: var(--ink-0); padding: 20px; }

/* ── closing CTA ────────────────────────────────────────────────── */
.lp-final { text-align: center; border-top: 1px solid var(--hair); }
.lp-final-form { max-width: 560px; margin: 0 auto; text-align: left; }

/* Scroll reveal, CSS only: cards rise in as they enter view where the browser
   supports scroll-driven animations; elsewhere they simply render. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lp-phase, .lp-card, .lp-stats > div {
      animation: lp-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-pill, .lp-card { transition: none; }
}
