/* Landing page v2 — ported closely from design/landing-page-v2.html.
   All selectors namespaced under .landing-v2 to avoid collisions with the
   rest of this app's CSS (generic names like .card/.btn/.hero/.wrap are
   already used elsewhere). No external font/icon CDNs — this app has none
   anywhere else; Inter/JetBrains Mono already fall back to system fonts
   the same way style.css does for the rest of the app. */

.landing-v2 {
  --lv2-bg: #0b0f0d;
  --lv2-bg-raised: #10221a;
  --lv2-bg-card: #0f1d16;
  --lv2-border: #1e3329;
  --lv2-border-strong: #2c4a3b;
  --lv2-ink: #f3f6f4;
  --lv2-muted: #8fa79a;
  --lv2-faint: #5c7568;

  /* Brand accent. Solid (--lv2-brand) is used in exactly two places: the
     primary CTA background, and the keyboard focus ring. Every other
     brand-colored element uses one of the translucent variants below —
     never the solid value, never a different hue. Aliased to the global
     --brand-amber token (operator-workstation.css :root) rather than
     redeclaring the literal #b49e62 here — one canonical value, this is
     just this file's own naming convention pointing at it. */
  --lv2-brand: var(--brand-amber);
  --lv2-brand-tint: var(--brand-amber-tint);   /* translucent — text/marks/borders */
  --lv2-brand-wash: var(--brand-amber-wash);   /* translucent — background fills */

  /* Semantic status only — fully separate from brand. Reserved for
     genuine state: live/healthy indicator, high-confidence reading,
     the P3/low-severity pill, matrix "allow" cells. The only green
     on the page. */
  --lv2-success: #5cff9d;

  --lv2-font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lv2-font-mono: "JetBrains Mono", monospace;

  background: var(--lv2-bg);
  color: var(--lv2-ink);
  font-family: var(--lv2-font-sans);
  line-height: 1.55;
  min-height: 100vh;
}

.landing-v2__wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.landing-v2 a { color: inherit; text-decoration: none; }

.landing-v2__header {
  border-bottom: 1px solid var(--lv2-border);
  padding: 20px 0;
}
.landing-v2__nav { display: flex; align-items: center; justify-content: space-between; }
.landing-v2__brand { display: flex; align-items: center; gap: 10px; }
.landing-v2__brand-mark { width: 26px; height: 26px; object-fit: contain; display: block; }
.landing-v2__brand-name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.landing-v2__nav-links { display: flex; gap: 28px; align-items: center; }
.landing-v2__nav-links a { font-size: 14px; color: var(--lv2-muted); transition: color 0.15s; }
.landing-v2__nav-links a:hover { color: var(--lv2-ink); }

.landing-v2__btn {
  font-family: var(--lv2-font-sans);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--lv2-border-strong);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--lv2-ink);
}
/* Exception 1 of 2: solid brand fill. */
.landing-v2__btn--primary { background: var(--lv2-brand); color: #0b0f0d; border-color: var(--lv2-brand); transition: filter 0.15s, transform 0.15s; }
.landing-v2__btn--primary:hover { filter: brightness(0.93); }
.landing-v2__btn--primary:active { transform: translateY(1px); }
.landing-v2__btn--ghost { background: transparent; color: var(--lv2-ink); transition: background 0.15s, border-color 0.15s; }
.landing-v2__btn--ghost:hover { background: var(--lv2-bg-raised); border-color: var(--lv2-brand-tint); }
.landing-v2__btn:disabled { opacity: 0.6; cursor: default; pointer-events: none; }
.landing-v2__btn--lg { padding: 13px 22px; font-size: 15px; }
.landing-v2__btn svg { flex-shrink: 0; }

.landing-v2__doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lv2-muted);
  padding: 13px 4px;
  cursor: default;
}
.landing-v2__doc-link:hover { color: var(--lv2-ink); }

/* Exception 2 of 2: solid brand focus ring. */
.landing-v2__btn:focus-visible,
.landing-v2__doc-link:focus-visible,
.landing-v2__nav-links a:focus-visible,
.landing-v2__footer-links a:focus-visible {
  outline: 2px solid var(--lv2-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.landing-v2__eyebrow {
  font-family: var(--lv2-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lv2-brand-tint);
  margin-bottom: 14px;
}

.landing-v2__hero h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 780px;
  margin-bottom: 22px;
}
.landing-v2__hero p.landing-v2__sub {
  font-size: 18px;
  color: var(--lv2-muted);
  max-width: 620px;
  margin-bottom: 36px;
}
.landing-v2__cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.landing-v2__proof-line {
  font-family: var(--lv2-font-mono);
  font-size: 13px;
  color: var(--lv2-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-v2__console-frame {
  margin-top: 40px;
  border: 1px solid var(--lv2-border);
  border-radius: 14px;
  background: var(--lv2-bg-card);
  overflow: hidden;
}
.landing-v2__console-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-bottom: 1px solid var(--lv2-border);
  font-family: var(--lv2-font-mono); font-size: 12px; color: var(--lv2-faint);
}
.landing-v2__console-titlebar .landing-v2__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lv2-success); display: inline-block; margin-right: 8px; }
.landing-v2__console-body { padding: 18px; }
.landing-v2__console-row {
  display: grid; grid-template-columns: 80px 1fr 90px 70px 90px;
  gap: 14px; align-items: center; padding: 11px 4px;
  border-bottom: 1px solid var(--lv2-border); font-size: 13px;
}
.landing-v2__console-row:last-child { border-bottom: none; }
.landing-v2__console-row .landing-v2__t { font-family: var(--lv2-font-mono); color: var(--lv2-faint); font-size: 12px; }
.landing-v2__console-row .landing-v2__title { color: var(--lv2-ink); }
.landing-v2__console-row .landing-v2__title .landing-v2__id { color: var(--lv2-faint); font-family: var(--lv2-font-mono); font-size: 11px; display: block; margin-top: 2px; }
.landing-v2__console-row--head { color: var(--lv2-faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--lv2-border); }
.landing-v2__pill { font-family: var(--lv2-font-mono); font-size: 11px; padding: 3px 8px; border-radius: 20px; display: inline-block; text-align: center; }
/* P1 is a brand-scale (attention) reading, not a status reading — uses
   the translucent brand wash/tint, never the solid brand fill. */
.landing-v2__pill--p1 { background: var(--lv2-brand-wash); color: var(--lv2-brand-tint); }
.landing-v2__pill--p3 { background: rgba(92,255,157,0.1); color: var(--lv2-success); }
.landing-v2__conf-bar { height: 4px; border-radius: 2px; background: var(--lv2-border-strong); overflow: hidden; }
.landing-v2__conf-fill { height: 100%; background: var(--lv2-success); }

.landing-v2__section { padding: 70px 0; border-top: 1px solid var(--lv2-border); }
.landing-v2__section--no-border { border-top: none; }
/* Compound selector (higher specificity than either class alone) so this
   wins regardless of source order — the hero needs more top breathing
   room than the standard section rhythm, on purpose. */
.landing-v2__hero.landing-v2__section { padding-top: 90px; padding-bottom: 70px; }
.landing-v2__section-head { max-width: 620px; margin-bottom: 44px; }
.landing-v2__section-head h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.landing-v2__section-head p { color: var(--lv2-muted); font-size: 16px; }

.landing-v2__grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.landing-v2__card {
  background: var(--lv2-bg-card); border: 1px solid var(--lv2-border); border-radius: 12px;
  padding: 24px;
}
.landing-v2__card .landing-v2__num { font-family: var(--lv2-font-mono); color: var(--lv2-brand-tint); font-size: 13px; margin-bottom: 14px; }
.landing-v2__card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.landing-v2__card p { color: var(--lv2-muted); font-size: 14px; }

.landing-v2__split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.landing-v2__checklist { display: flex; flex-direction: column; gap: 16px; }
.landing-v2__check-item { display: flex; gap: 12px; align-items: flex-start; }
.landing-v2__check-item .landing-v2__check-mark { color: var(--lv2-brand-tint); margin-top: 2px; flex-shrink: 0; display: inline-flex; }
.landing-v2__check-item div p { color: var(--lv2-muted); font-size: 14px; margin-top: 2px; }
.landing-v2__check-item div strong { font-size: 15px; }

.landing-v2__matrix-preview {
  background: var(--lv2-bg-card); border: 1px solid var(--lv2-border); border-radius: 12px; padding: 20px;
  font-family: var(--lv2-font-mono); font-size: 12px;
}
.landing-v2__matrix-row { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--lv2-border); align-items: center; }
.landing-v2__matrix-row:last-child { border-bottom: none; }
.landing-v2__matrix-row--head { color: var(--lv2-faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.landing-v2__allow { color: var(--lv2-success); }
.landing-v2__deny { color: var(--lv2-faint); }

/* One flat bordered strip with internal dividers — not four floating
   boxes. The featured tier gets an inset ring in the translucent brand
   tint (the one legitimate "featured pricing border" use) plus a wash
   background, without breaking the shared-strip divider layout. */
.landing-v2__pricing-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--lv2-border);
  border-radius: 12px;
  background: var(--lv2-bg-card);
  overflow: hidden;
}
.landing-v2__price-card {
  padding: 22px 18px;
  border-left: 1px solid var(--lv2-border);
}
.landing-v2__price-card:first-child { border-left: none; }
.landing-v2__price-card--featured {
  background: var(--lv2-brand-wash);
  box-shadow: inset 0 0 0 1px var(--lv2-brand-tint);
}
.landing-v2__price-card .landing-v2__tier { font-family: var(--lv2-font-mono); font-size: 11px; color: var(--lv2-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.landing-v2__price-card .landing-v2__amount { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.landing-v2__price-card .landing-v2__period { font-size: 12px; color: var(--lv2-faint); margin-bottom: 14px; }
.landing-v2__price-card .landing-v2__desc { font-size: 13px; color: var(--lv2-muted); }

.landing-v2__pilot-cta {
  background: var(--lv2-bg-raised); border: 1px solid var(--lv2-border-strong); border-radius: 16px;
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.landing-v2__pilot-cta h2 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.landing-v2__pilot-cta p { color: var(--lv2-muted); font-size: 15px; max-width: 440px; }

.landing-v2__pilot-form {
  display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin-top: 18px;
}
.landing-v2__pilot-form input,
.landing-v2__pilot-form textarea {
  font-family: var(--lv2-font-sans);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--lv2-border-strong);
  background: var(--lv2-bg);
  color: var(--lv2-ink);
}
.landing-v2__pilot-form .landing-v2__note {
  font-size: 13px;
  color: var(--lv2-muted);
}

.landing-v2__footer { padding: 40px 0; border-top: 1px solid var(--lv2-border); }
.landing-v2__footer-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--lv2-faint); flex-wrap: wrap; gap: 12px; }
.landing-v2__footer-links { display: flex; gap: 20px; }

@media (max-width: 760px) {
  .landing-v2__hero h1 { font-size: 34px; }
  .landing-v2__grid-3, .landing-v2__split { grid-template-columns: 1fr; }
  .landing-v2__pricing-strip { grid-template-columns: 1fr; }
  .landing-v2__price-card { border-left: none; border-top: 1px solid var(--lv2-border); }
  .landing-v2__price-card:first-child { border-top: none; }
  .landing-v2__pilot-cta { flex-direction: column; text-align: center; }
  .landing-v2__nav-links a:not(.landing-v2__btn) { display: none; }

  /* Restores the original design reference's mobile behavior for the
     illustrative console preview: drop to 3 visible columns
     (time/ticket/priority), hide confidence + team. nth-child, not new
     classes — the row's child order is fixed markup. */
  .landing-v2__console-row { grid-template-columns: 56px 1fr 64px; }
  .landing-v2__console-row > *:nth-child(4),
  .landing-v2__console-row > *:nth-child(5) { display: none; }
}
