@import url("/dashboard-assets/type_tokens.css");

:root {
  --bg: #0c1017;
  --panel: rgba(17, 23, 33, 0.9);
  --panel-soft: rgba(21, 29, 41, 0.82);
  --ink: #f7fafc;
  --muted: #a5afbd;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #dbe6f3;
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  /* Display stack for hero headlines. Restrained, institutional, no
     downloads. Falls through Inter -> SF Pro Display -> Segoe UI
     Variable Display -> Segoe UI -> system, so it renders cleanly on
     every modern Windows / macOS / Linux install. */
  --font-display: "Inter", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(101, 120, 148, 0.16), transparent 26%),
    linear-gradient(180deg, #0a0e15 0%, #0f141d 52%, #141a25 100%);
}
a { color: inherit; }

.site-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 28px 64px;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 17, 25, 0.72);
  backdrop-filter: blur(18px);
}

.site-brand { display: flex; flex-direction: column; gap: 4px; }
.site-brand-mark,
.eyebrow,
.ladder-index,
.mini-stat strong,
.meta-box strong {
  --type-label-letter-spacing: 0.26em;
  font-family: var(--type-label-family);
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  line-height: var(--type-label-line-height);
  letter-spacing: var(--type-label-letter-spacing);
  text-transform: var(--type-label-transform);
  color: var(--muted);
}
.site-brand-title { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav-links a,
.button,
.proof-link,
.chip {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: 13px;
}

.site-nav-links a {
  color: var(--muted);
  border-color: transparent;
  background: transparent;
}
.site-nav-links a:hover,
.site-nav-links a.active {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.hero,
.page-hero,
.card,
.proof-card,
.ladder-card,
.page-panel,
.quote-panel,
.cta-panel,
.hero-proof-card {
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

.hero,
.page-hero {
  display: grid;
  gap: 18px;
  padding: 38px 40px 40px;
  background: linear-gradient(180deg, rgba(13, 18, 26, 0.98) 0%, rgba(18, 25, 35, 0.94) 100%);
}

h1 {
  margin: 0;
  max-width: 980px;
  font-family: var(--type-display-hero-alt-family);
  font-size: var(--type-display-hero-alt-size);
  font-weight: var(--type-display-hero-alt-weight);
  line-height: var(--type-display-hero-alt-line-height);
  letter-spacing: var(--type-display-hero-alt-letter-spacing);
  text-transform: var(--type-display-hero-alt-transform);
}

.hero-copy,
.page-hero-copy {
  max-width: 860px;
  color: var(--accent);
  font-family: var(--type-body-large-family);
  font-size: var(--type-body-large-size);
  font-weight: var(--type-body-large-weight);
  line-height: var(--type-body-large-line-height);
  letter-spacing: var(--type-body-large-letter-spacing);
  text-transform: var(--type-body-large-transform);
}

.hero-chips,
.page-chip-row,
.hero-actions,
.cta-row,
.proof-links,
.grid-two,
.grid-three,
.grid-proof,
.ladder-grid,
.page-grid {
  display: grid;
  gap: 18px;
}

.hero-chips,
.page-chip-row,
.hero-actions,
.cta-row,
.proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ----- Informational badges — NOT interactive, NOT button-shaped ----- */
.chip {
  background: transparent;
  border: 0;
  border-left: 2px solid rgba(170, 200, 255, 0.28);
  border-radius: 0;
  padding: 2px 12px 2px 10px;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: default;
}

/* ----- Secondary buttons — clickable but quieter than primary -------- */
.button {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .18s ease, border-color .18s ease,
              transform .12s ease, box-shadow .18s ease;
}

.button:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 2px solid rgba(170, 200, 255, 0.7);
  outline-offset: 2px;
}

/* ----- Primary CTA — deep navy, accent-aligned, fits the dark theme -- */
.button.primary {
  background: linear-gradient(180deg, #1f2c43 0%, #16202f 100%);
  color: var(--ink);
  border: 1px solid rgba(170, 200, 255, 0.34);
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px -18px rgba(120, 170, 255, 0.55);
}

.button.primary:hover {
  background: linear-gradient(180deg, #25334d 0%, #1a2537 100%);
  border-color: rgba(170, 200, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 32px -16px rgba(120, 170, 255, 0.7);
}

/* ----- Inline link-style CTAs inside cards --------------------------- */
.proof-link {
  cursor: pointer;
  font-weight: 600;
  transition: background-color .18s ease, border-color .18s ease,
              transform .12s ease, box-shadow .18s ease;
}

.proof-link:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.proof-link:focus-visible {
  outline: 2px solid rgba(170, 200, 255, 0.7);
  outline-offset: 2px;
}

.proof-link::after {
  content: " ›";
  opacity: 0.7;
}

.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-proof { grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); }
.ladder-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.page-grid { grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); }

.section { margin-top: 30px; }
.section-head { display: grid; gap: 10px; margin-bottom: 18px; }
.section-head h2,
.card h3,
.proof-card h3,
.ladder-card h3,
.page-panel h2,
.cta-panel h2 {
  margin: 0;
  font-family: var(--type-section-headline-family);
  font-size: var(--type-section-headline-size);
  font-weight: var(--type-section-headline-weight);
  line-height: var(--type-section-headline-line-height);
  letter-spacing: var(--type-section-headline-letter-spacing);
  text-transform: var(--type-section-headline-transform);
}

.section-head p,
.card p,
.proof-card p,
.ladder-card p,
.page-panel p,
.quote-panel p,
.cta-panel p,
.footer-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--type-body-family);
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  line-height: var(--type-body-line-height);
  letter-spacing: var(--type-body-letter-spacing);
  text-transform: var(--type-body-transform);
}

.card,
.proof-card,
.ladder-card,
.page-panel,
.quote-panel,
.cta-panel,
.hero-proof-card {
  padding: 22px;
}

.hero-proof-card img,
.proof-hero-image,
.proof-thumb {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #0b1018;
}

.hero-proof-link {
  display: block;
  line-height: 0;
  border-radius: 24px;
}

.hero-proof-link:focus-visible {
  outline: 2px solid rgba(219, 230, 243, 0.42);
  outline-offset: 4px;
}

.proof-hero-image {
  aspect-ratio: 1030 / 650;
  object-fit: cover;
  object-position: center;
}

.proof-thumb { margin-bottom: 14px; }
.ladder-card { display: grid; gap: 10px; }
.live-signal-card {
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(15, 21, 31, 0.98) 0%, rgba(20, 28, 40, 0.92) 100%);
}

.live-proof-ticker {
  position: relative;
  overflow: hidden;
}

.live-proof-ticker::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(219, 230, 243, 0.42) 22%, transparent 100%);
}

.live-signal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.signal-state-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.ticker-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.ticker-pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7ccf9f;
  box-shadow: 0 0 0 6px rgba(124, 207, 159, 0.12);
}

.ticker-status-label {
  --type-label-letter-spacing: 0.18em;
  font-family: var(--type-label-family);
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  line-height: var(--type-label-line-height);
  letter-spacing: var(--type-label-letter-spacing);
  text-transform: var(--type-label-transform);
  color: var(--muted);
}

.ticker-status-value {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

@keyframes tickerPulse {
  0% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.08); opacity: 0.64; }
  100% { transform: scale(1); opacity: 0.92; }
}

.live-proof-ticker[data-status="active"] .ticker-pulse {
  animation: tickerPulse 3.8s ease-in-out infinite;
}

.live-proof-ticker[data-status="idle"] .ticker-pulse {
  animation: none;
  background: #7d8898;
  box-shadow: 0 0 0 6px rgba(125, 136, 152, 0.12);
}

.signal-state {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(219, 230, 243, 0.16);
  background: rgba(219, 230, 243, 0.08);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-proof-ticker[data-tone="pass"] {
  border-color: rgba(124, 207, 159, 0.2);
}

.live-proof-ticker[data-tone="pass"] .signal-state {
  border-color: rgba(124, 207, 159, 0.22);
  background: rgba(124, 207, 159, 0.09);
  color: #d6f7e2;
}

.live-proof-ticker[data-tone="warn"] {
  border-color: rgba(213, 164, 93, 0.22);
}

.live-proof-ticker[data-tone="warn"] .signal-state {
  border-color: rgba(213, 164, 93, 0.24);
  background: rgba(213, 164, 93, 0.1);
  color: #f3debf;
}

.live-proof-ticker[data-tone="block"] {
  border-color: rgba(204, 106, 106, 0.22);
}

.live-proof-ticker[data-tone="block"] .signal-state {
  border-color: rgba(204, 106, 106, 0.24);
  background: rgba(204, 106, 106, 0.1);
  color: #ffd4d4;
}

.live-signal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.live-signal-grid .meta-box {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 104px;
}

.meta-subtext {
  color: var(--muted);
  font-family: var(--type-meta-family);
  font-size: var(--type-meta-size);
  font-weight: var(--type-meta-weight);
  line-height: var(--type-meta-line-height);
  letter-spacing: var(--type-meta-letter-spacing);
  text-transform: var(--type-meta-transform);
}

.proof-state-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.proof-state-badge.state-snapshot {
  border-color: rgba(219, 230, 243, 0.28);
  background: rgba(219, 230, 243, 0.14);
  color: var(--ink);
}

.proof-state-badge.state-proof {
  border-color: rgba(216, 226, 239, 0.22);
  background: rgba(216, 226, 239, 0.09);
  color: var(--accent);
}

.proof-state-badge.state-demo {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent);
}

.proof-state-badge.state-standard {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.signal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quote-panel blockquote {
  margin: 0;
  max-width: 920px;
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.feature-list,
.outcome-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-list li,
.outcome-list li { margin: 0 0 8px; }

.comparison-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(13, 18, 26, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.comparison-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.6;
}

.comparison-table th {
  --type-label-letter-spacing: 0.18em;
  font-family: var(--type-label-family);
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  line-height: var(--type-label-line-height);
  letter-spacing: var(--type-label-letter-spacing);
  text-transform: var(--type-label-transform);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  position: sticky;
  top: 0;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  min-width: 190px;
}

.comparison-table .zdg-col {
  color: var(--ink);
  font-weight: 700;
  background: rgba(219, 230, 243, 0.05);
}

.comparison-close {
  margin-top: 14px;
  color: var(--accent);
  font-size: 17px;
  line-height: 1.65;
  max-width: 860px;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-family: var(--type-meta-family);
  font-size: var(--type-meta-size);
  font-weight: var(--type-meta-weight);
  line-height: var(--type-meta-line-height);
  letter-spacing: var(--type-meta-letter-spacing);
  text-transform: var(--type-meta-transform);
}

.mini-stat,
.meta-box {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.page-side { display: grid; gap: 18px; }
.mini-stat span,
.meta-box span { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }

#live-signal-session,
#live-signal-bundle,
#live-signal-updated {
  font-family: var(--font-mono);
}

#live-signal-pattern,
#live-signal-latency {
  color: var(--accent);
}

@media (max-width: 1120px) {
  .ladder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1240px) {
  .live-signal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .site-nav { border-radius: 26px; align-items: start; flex-direction: column; }
  .grid-two,
  .grid-three,
  .grid-proof,
  .page-grid,
  .live-signal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-shell { padding: 20px 16px 44px; }
  .hero,
  .page-hero { padding: 28px 22px 26px; }
  .ladder-grid { grid-template-columns: 1fr; }
  .live-signal-head { flex-direction: column; }
  .signal-state-wrap { justify-content: flex-start; }
  .ticker-status,
  .signal-state { width: 100%; justify-content: center; }
  .comparison-table th,
  .comparison-table td {
    padding: 14px 14px;
    font-size: 13px;
  }
}

/* ==========================================================================
 * Public-site polish slice — hero readability + quieter left-rail on
 * public routes (/platform, /assessment, /about, /).
 * No markup or layout change; CSS overrides only.
 * ========================================================================== */

/* ----- Hero display headline — institutional, restrained ------------- */
/* Replaces the earlier all-caps / weight-800 / tight-tracking treatment
 * with a mixed-case medium-weight display. Reads as an institution, not
 * a launch event. Every property here overrides the global h1 rule.
 *   - font-family:    display stack (Inter first, graceful fallback)
 *   - font-weight:    500 (medium) — restraint over brute weight
 *   - text-transform: none — mixed case carries the authority
 *   - letter-spacing: -0.012em — subtle optical correction only
 *   - line-height:    1.06 — display-tight but readable
 *   - font-size:      clamp(36px, 5vw, 60px) — reduces max ~23%
 *   - text-wrap:      balance — editorial line-break distribution
 *   - text-shadow:    single 1px drop for legibility on dark panel
 */
.page-hero h1,
.hero h1 {
  font-family: var(--type-display-hero-alt-family);
  font-size: var(--type-display-hero-alt-size);
  font-weight: var(--type-display-hero-alt-weight);
  line-height: var(--type-display-hero-alt-line-height);
  letter-spacing: var(--type-display-hero-alt-letter-spacing);
  text-transform: var(--type-display-hero-alt-transform);
  text-wrap: balance;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  max-width: 24ch;
}

/* ----- Quieter operator left-rail on public routes ------------------- */
/* The nav-shell is injected on /platform, /assessment, /about, etc., and
 * currently competes with marketing content. On product (public) pages we
 * fade the chrome and partially desaturate the interior so the rail
 * visibly recedes. Full contrast restored on hover/focus so users who
 * actually want to navigate still get the whole rail. */
body[data-brand-mode="product"] .nav-shell {
  background: rgba(8, 12, 18, 0.55);
  border-right-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  transition: background-color .25s ease, border-color .25s ease;
}

body[data-brand-mode="product"] .nav-shell .nav-shell-scroll,
body[data-brand-mode="product"] .nav-shell .nav-shell-content,
body[data-brand-mode="product"] .nav-shell .nav-shell-head {
  filter: saturate(0.7);
  opacity: 0.82;
  transition: filter .25s ease, opacity .25s ease;
}

body[data-brand-mode="product"] .nav-shell:hover,
body[data-brand-mode="product"] .nav-shell:focus-within {
  background:
    linear-gradient(180deg, var(--nav-shell-bg-strong), var(--nav-shell-bg));
  border-right-color: var(--nav-shell-line);
}

body[data-brand-mode="product"] .nav-shell:hover .nav-shell-scroll,
body[data-brand-mode="product"] .nav-shell:focus-within .nav-shell-scroll,
body[data-brand-mode="product"] .nav-shell:hover .nav-shell-content,
body[data-brand-mode="product"] .nav-shell:focus-within .nav-shell-content,
body[data-brand-mode="product"] .nav-shell:hover .nav-shell-head,
body[data-brand-mode="product"] .nav-shell:focus-within .nav-shell-head {
  filter: none;
  opacity: 1;
}

/* ==========================================================================
 * Public-site dark-theme lock.
 *
 * dashboard/nav_tree.css switches `body[data-brand-mode="product"]` to a
 * light theme (white body gradient, white nav-shell tokens, dark navy
 * text). That's wrong for the ZDG public site, which is dark premium.
 * Override those tokens here so the cascade lands dark on public pages.
 * nav_tree.css loads after site.css, so these rules need equal or higher
 * specificity — `body[data-brand-mode="product"]` matches.
 * ========================================================================== */

body[data-brand-mode="product"] {
  /* Restore dark body gradient */
  background:
    radial-gradient(circle at top, rgba(101, 120, 148, 0.16), transparent 26%),
    linear-gradient(180deg, #0a0e15 0%, #0f141d 52%, #141a25 100%);
  color: var(--ink);

  /* Re-bind nav-shell tokens to the dark-mode values so the operator
     left rail renders in the same premium palette as the homepage. */
  --nav-shell-bg: rgba(7, 14, 20, 0.97);
  --nav-shell-bg-strong: rgba(10, 18, 26, 0.99);
  --nav-shell-line: rgba(121, 186, 206, 0.16);
  --nav-shell-line-strong: rgba(121, 186, 206, 0.28);
  --nav-shell-text: #e9eef4;
  --nav-shell-soft: #c7d4df;
  --nav-shell-muted: #9aabbc;
  --nav-shell-accent: #43d7b2;
  --nav-shell-accent-soft: rgba(67, 215, 178, 0.11);
}

/* Strip the light gradient nav_tree.css puts on .nav-shell-content in
   product mode; let the body gradient show through. */
body[data-brand-mode="product"] .nav-shell-content {
  background: transparent;
}

/* ==========================================================================
 * Dark-theme overrides for nav-shell inner components on public routes.
 * nav_tree.css sets explicit rgba(255,255,255,*) backgrounds on the brand
 * card, the demo-lane container, and every lane link in product mode.
 * These rules re-skin those components in the premium dark palette.
 * Scoped by body[data-brand-mode="product"] so operator pages
 * (data-brand-mode="internal") are not touched.
 * ========================================================================== */

body[data-brand-mode="product"] .nav-shell-brand--product {
  background: linear-gradient(180deg, rgba(35, 50, 70, 0.55), rgba(20, 30, 45, 0.55));
  box-shadow: none;
}

body[data-brand-mode="product"] .nav-shell-brand--product .nav-shell-brand-mark {
  border-color: rgba(170, 200, 255, 0.28);
  background: rgba(20, 30, 45, 0.72);
  color: var(--ink);
}

body[data-brand-mode="product"] .nav-shell-demo-lane {
  background: rgba(20, 30, 45, 0.45);
  border-color: rgba(170, 200, 255, 0.18);
  box-shadow: none;
}

body[data-brand-mode="product"] .nav-shell-demo-lane-link {
  background: rgba(20, 30, 45, 0.55);
  border-color: rgba(170, 200, 255, 0.16);
  color: var(--ink);
}

body[data-brand-mode="product"] .nav-shell-demo-lane-link.is-complete {
  border-color: rgba(67, 215, 178, 0.30);
  background: rgba(67, 215, 178, 0.08);
}

body[data-brand-mode="product"] .nav-shell-demo-lane-link.is-active {
  border-color: rgba(170, 200, 255, 0.45);
  background: linear-gradient(180deg, rgba(31, 44, 67, 0.88), rgba(22, 32, 47, 0.88));
  box-shadow: inset 0 0 0 1px rgba(170, 200, 255, 0.12);
}

body[data-brand-mode="product"] .nav-shell-demo-lane-step {
  background: rgba(170, 200, 255, 0.12);
  color: rgba(200, 220, 255, 0.85);
}

body[data-brand-mode="product"] .nav-shell-demo-lane-kicker {
  color: var(--muted);
}

body[data-brand-mode="product"] .nav-shell-demo-lane-note {
  color: var(--accent);
}

body[data-brand-mode="product"] .nav-shell-demo-lane--minimal .nav-shell-demo-lane-link {
  background: rgba(20, 30, 45, 0.55);
  box-shadow: none;
}

/* ==========================================================================
 * Homepage rebuild — new layout utilities (2026-04-22)
 * All rules are additive. Existing selectors above are not touched.
 * ========================================================================== */

/* ----- Hero statement block — quote + resolution inside .hero ---------- */
.hero-statement {
  border-left: 2px solid rgba(170, 200, 255, 0.28);
  padding: 14px 18px;
  background: rgba(170, 200, 255, 0.04);
  border-radius: 0 12px 12px 0;
  max-width: 720px;
  display: grid;
  gap: 10px;
}

.hero-statement-quote {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  font-style: italic;
}

.hero-statement-resolution {
  margin: 0;
  color: var(--accent);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

/* ----- CLI / terminal display ------------------------------------------ */
.cli-block {
  margin: 0;
  padding: 16px 20px;
  background: rgba(6, 10, 16, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: #7ccf9f;
  overflow-x: auto;
  white-space: pre;
}

.cli-block code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
}

.cli-desc {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ----- Proof CLI grid — two CLI blocks side by side -------------------- */
.proof-cli-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.cli-label {
  margin-bottom: 8px;
}

/* ----- Problem list — Section 2 direct problem statements -------------- */
.problem-list {
  display: grid;
  gap: 8px;
}

.problem-row {
  display: grid;
  grid-template-columns: minmax(220px, max-content) 1fr;
  gap: 24px;
  align-items: start;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.problem-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.problem-detail {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ----- Proof claims list — "What this proves" -------------------------- */
.proof-claim-list {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.proof-claim-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.proof-claim-list li:last-child {
  border-bottom: none;
}

.proof-claim-list li::before {
  content: "✓";
  color: #7ccf9f;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* ----- Scan offer panel — entry CTA surface ---------------------------- */
.scan-panel {
  margin-top: 30px;
  border-color: rgba(170, 200, 255, 0.2);
  background: linear-gradient(180deg, rgba(14, 20, 30, 0.99) 0%, rgba(18, 26, 40, 0.97) 100%);
}

/* ----- Responsive adjustments for new components ----------------------- */
@media (max-width: 980px) {
  .proof-cli-grid {
    grid-template-columns: 1fr;
  }

  .problem-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 720px) {
  .hero-statement { border-radius: 0 8px 8px 0; }
  .cli-block { font-size: 13px; padding: 14px 16px; }
}
