/* ──────────────────────────────────────────────────────────────────────
 * landing.css — Public landing page (Phase 2.B.2.combo.7)
 *
 * Standalone stylesheet loaded ONLY on the / landing page. Reuses the
 * Khand + Montserrat fonts from style.css but defines its own warm-
 * neutral, gray-leaning palette so the landing page can evolve
 * independently of the internal Truth Engine pages.
 *
 * Design principles:
 *   • Gray-leaning warm neutrals (NOT pink, NOT salmon, NOT beige)
 *   • TML orange #B64926 used sparingly for CTAs / accents only
 *   • All 8 zone cards equal height (min-height 280px)
 *   • Subtle, slow animations (8s breathing pulse on hero sunburst)
 *   • Cards visibly lift from page bg via shadow + border + tinted fill
 * ────────────────────────────────────────────────────────────────────── */

:root {
  --landing-bg:           #EDEBE2;  /* darker page bg for card lift */
  --landing-card-bg:      #FAFAF7;  /* unchanged — pushed forward by darker page */
  --landing-card-border:  #D6D3C7;  /* slightly darker for defined edges */
  --landing-text-primary: #1C1C1A;  /* deeper, cooler near-black */
  --landing-text-muted:   #5A5A57;  /* cooler mid-gray secondary text */
  --landing-accent:       #B64926;  /* TML primary — LOCKED */
  --landing-accent-deep:  #8B2F15;  /* CTA hover state */
  --landing-hero-tint:    rgba(182, 73, 38, 0.055);  /* subtle orange tint for hero gradient */
}

/* Reset + base */
.landing-body {
  background: var(--landing-bg);
  color: var(--landing-text-primary);
  font-family: var(--font-b), 'Montserrat', system-ui, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.landing-body * { box-sizing: border-box; }
.landing-body a { color: inherit; text-decoration: none; }

/* ── Minimal header (hamburger only, logo moved into hero) ─────── */
.landing-header {
  padding: 1rem 2.5rem;
  background: var(--landing-bg);
  position: relative;
  z-index: 10;
}

/* ── Main wrapper ───────────────────────────────────────────────── */
.landing-main {
  display: flex;
  flex-direction: column;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.landing-hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 3rem 0 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  width: 100%;
  position: relative;
}
/* Full-bleed dark background via pseudo-element */
.landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #2B2A26;
  z-index: -1;
  border-radius: 0;
}

.landing-hero-logo {
  margin-bottom: 2.625rem;  /* previous 3.75rem × 0.7 */
}
.landing-hero-logo img { height: 64px; width: auto; }  /* 49 × 1.3 ≈ 64 */

.landing-hero-accent-bar {
  width: 64px;
  height: 9px;
  background: #FFBD47;
  margin-bottom: 1.25rem;
  border-radius: 1px;
}

.landing-hero-content { min-width: 0; padding-right: 0; max-width: 400px; }

.landing-headline {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 4.25rem;
  font-weight: 600;
  line-height: 1.05;
  color: #FAFAF7;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.025em;
}

.landing-subheadline {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #C8C5B9;
  margin: 0 0 2.5rem 0;
  max-width: 580px;
  font-weight: 400;
}

.landing-cta-row {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.landing-cta-primary,
.landing-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1.2rem 2.25rem;
  border-radius: 6px;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}
.landing-cta-primary {
  background: var(--landing-accent);
  color: #ffffff;
  border: 1px solid var(--landing-accent);
}
.landing-cta-primary:hover {
  background: var(--landing-accent-deep);
  border-color: var(--landing-accent-deep);
}
.landing-cta-secondary {
  background: rgba(232, 230, 220, 0.85);
  color: #2B2A26;
  border: 1px solid #E8E6DC;
}
.landing-cta-secondary:hover {
  background: #FAFAF7;
  color: #2B2A26;
  border-color: #FAFAF7;
}

.landing-hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-graph-wrapper {
  width: 100%;
  max-width: 720px;
  display: block;
}

/* ── Living knowledge graph (Phase 2.B.2.combo.8 — Task 1) ─────── */
.hero-graph {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.hero-graph .graph-node {
  transition: transform 200ms ease-out, fill 200ms ease-out;
  transform-box: fill-box;
  transform-origin: center;
  cursor: pointer;
}
.hero-graph .graph-node.node-hovered {
  transform: scale(1.4);
  fill: #B64926;
}
.hero-graph .graph-edge {
  transition: stroke 200ms ease-out, opacity 200ms ease-out, stroke-width 200ms ease-out;
  stroke-width: 2.5;
  opacity: 0.55;
}
.hero-graph .graph-edge.edge-highlighted {
  stroke: #B64926;
  opacity: 0.9;
  stroke-width: 3.5;
}
@keyframes neighborPulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%      { opacity: 0.5; transform: scale(1.2); }
}
.hero-graph .graph-node.node-neighbor-pulse {
  animation: neighborPulse 600ms ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .hero-graph .graph-node,
  .hero-graph .graph-edge {
    transition: none;
  }
  .hero-graph .graph-node.node-neighbor-pulse {
    animation: none;
  }
}

/* ── Zones ──────────────────────────────────────────────────────── */
.landing-zone {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem;
  width: 100%;
  background: var(--landing-bg);
}
.zone-label {
  position: relative;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--landing-text-primary);
  text-align: center;
  margin: 0 0 2.25rem 0;
  padding-bottom: 1rem;
}
.zone-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--landing-accent);
}
.zone-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ── Universal card (Phase 2.B.2.combo.10 — text-only) ─────────── */
.zone-card {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem 1.5rem;
  min-height: 240px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  transition: transform 200ms ease-out,
              box-shadow 200ms ease-out,
              border-color 200ms ease-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.025);
}
.zone-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30, 28, 24, 0.10);
  border-color: var(--landing-accent);
}
.zone-cards { gap: 1.25rem; }

.card-title {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--landing-text-primary);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.card-tagline {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--landing-accent);
  margin: 0 0 1.25rem 0;
}
.card-description {
  font-family: var(--font-b), 'Montserrat', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--landing-text-muted);
  margin: 0 0 1rem 0;
  flex: 1;
  font-weight: 400;
}
.card-cta {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--landing-accent);
  margin-top: auto;
}

/* Card illustrations removed in Phase 2.B.2.combo.10 — cards are
   text-only (title + tagline + description + CTA). NanoBanana
   illustrations will be re-added one at a time post-NAB. */

/* ── Footer ─────────────────────────────────────────────────────── */
.landing-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 2.25rem;
  border-top: 1px solid var(--landing-card-border);
  text-align: center;
  background: var(--landing-bg);
}
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.85rem;
}
.footer-logo { height: 40px; width: auto; }
.footer-logo-tml { height: 32px; }
.footer-copyright {
  font-size: 0.78rem;
  color: var(--landing-text-muted);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .landing-headline { font-size: 3.5rem; }
  .zone-label       { font-size: 2rem; }
  .card-title       { font-size: 2.5rem; }
}
@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem 3rem;
  }
  .landing-headline    { font-size: 2.75rem; }
  .landing-subheadline { font-size: 1.2rem; }
  .zone-label          { font-size: 1.75rem; }
  .zone-cards          { grid-template-columns: 1fr; }
  .landing-zone        { padding: 2.75rem 1.5rem; }
  .landing-header      { padding: 1.25rem 1.5rem; }
  .landing-footer      { padding: 2rem 1.5rem 1.75rem; }
  .hero-graph-wrapper  { max-width: 500px; margin: 0 auto; }
  .card-title          { font-size: 2.25rem; }
  .zone-card           { min-height: 260px; }
}
@media (max-width: 600px) {
  .landing-headline { font-size: 2.25rem; }
  .zone-label       { font-size: 1.55rem; }
  .card-title       { font-size: 2rem; }
  .landing-hero     { padding: 2rem 1.25rem 3rem; }
  .landing-zone     { padding: 2.5rem 1.25rem; }
  .landing-cta-row  { flex-direction: column; align-items: stretch; }
  .landing-cta-primary,
  .landing-cta-secondary {
    text-align: center;
    justify-content: center;
  }
}

/* ── Stub page shared styles (loaded by stub_*.html via public.css) ─
 * These rules also live in landing.css so stub pages can opt in by
 * loading landing.css alongside public.css. They're scoped to .stub-*
 * classes to avoid colliding with public_dossier / public_taxonomy. */

.stub-page { padding: 1.5rem 0 3rem; }
.stub-section { margin-bottom: 2rem; }
.stub-title {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 4rem;
  font-weight: 600;
  color: var(--landing-accent);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.stub-tagline {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--landing-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.5rem 0;
}
.stub-badge {
  display: inline-block;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.stub-badge-amber { background: #FEF3E2; color: #A16207; border: 1px solid #F0D6A4; }
.stub-badge-launch { background: rgba(182, 73, 38, 0.1); color: var(--landing-accent); border: 1px solid var(--landing-accent); }
.stub-back-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--landing-accent);
  text-decoration: none;
}
.stub-back-link:hover { text-decoration: underline; }

.stub-breadcrumb {
  font-family: var(--font-b), 'Montserrat', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--neutral-text-muted, #6B6A63);
  margin-bottom: 1rem;
}
.stub-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}
.stub-breadcrumb a:hover { color: var(--landing-accent); }
.stub-breadcrumb .crumb-sep { margin: 0 0.45rem; opacity: 0.55; }
.stub-breadcrumb .crumb-current { color: var(--landing-text-primary); font-weight: 500; }

.stub-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--landing-text-primary);
  margin: 0 0 1rem 0;
}
.stub-content ul {
  margin: 0 0 1.25rem 0;
  padding-left: 1.4rem;
}
.stub-content li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--landing-text-primary);
  margin-bottom: 0.35rem;
}

/* Mockup containers (used by stub_rag, stub_tracker, stub_survey) */
.stub-mockup {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  position: relative;
  margin: 1.5rem 0;
}
.stub-mockup-watermark {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #D97706;
  background: #FEF9E6;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  border: 1px solid #F0D6A4;
}

/* Tracker dashboard mockup */
.tracker-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.tracker-metric {
  background: rgba(139, 135, 121, 0.06);
  border: 1px solid var(--landing-card-border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
}
.tracker-metric-value {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--landing-text-primary);
  line-height: 1;
  display: block;
}
.tracker-metric-label {
  font-size: 0.74rem;
  color: var(--landing-text-muted);
  margin-top: 0.3rem;
  display: block;
}
.tracker-graph {
  width: 100%;
  height: 80px;
  display: block;
  margin-bottom: 1rem;
}
.tracker-events {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}
.tracker-events li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--landing-card-border);
  font-size: 0.86rem;
  color: var(--landing-text-primary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.tracker-events li:last-child { border-bottom: none; }
.tracker-events .event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--landing-accent);
  flex-shrink: 0;
}
.tracker-updated {
  font-size: 0.72rem;
  color: var(--landing-text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* Survey question mockup */
.survey-questions {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}
.survey-questions li {
  padding: 0.85rem 1rem;
  background: rgba(139, 135, 121, 0.06);
  border: 1px solid var(--landing-card-border);
  border-radius: 6px;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--landing-text-primary);
  font-style: italic;
}

/* Value tier table */
.value-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.value-tier {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.value-tier h3 {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 1.35rem;
  margin: 0 0 0.4rem 0;
  color: var(--landing-text-primary);
  font-weight: 600;
}
.value-tier .tier-price {
  font-size: 0.9rem;
  color: var(--landing-accent);
  font-weight: 600;
  margin: 0;
}
.value-tier .tier-features {
  font-size: 0.82rem;
  color: var(--landing-text-muted);
  margin: 0.85rem 0 0 0;
  font-style: italic;
}

/* Investor gate */
.investor-gate {
  max-width: 420px;
  margin: 1.5rem 0;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
}
.investor-gate label {
  display: block;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--landing-accent);
  margin-bottom: 0.35rem;
}
.investor-gate input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--landing-card-border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  background: var(--landing-bg);
  color: var(--landing-text-primary);
}
.investor-gate input:focus {
  outline: none;
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 2px rgba(182, 73, 38, 0.12);
}
.investor-gate button {
  background: var(--landing-accent);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 5px;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 150ms ease;
}
.investor-gate button:hover { background: var(--landing-accent-deep); }

/* Contributors PPR pipeline */
.ppr-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin: 1.75rem 0 2rem;
}
.ppr-step {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  position: relative;
}
.ppr-step-num {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--landing-accent);
  line-height: 1;
}
.ppr-step-title {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--landing-text-primary);
  margin: 0.5rem 0 0.5rem 0;
}
.ppr-step-body {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--landing-text-muted);
  margin: 0;
}
.ppr-terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}
.ppr-term-col h3 {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--landing-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.85rem 0;
}
.ppr-term-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ppr-term-col li {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--landing-text-primary);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--landing-card-border);
}
.ppr-term-col li:last-child { border-bottom: none; }
.ppr-term-col li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--landing-accent);
  border-radius: 50%;
  margin-right: 0.55rem;
  vertical-align: middle;
}

/* Contributor signup form */
.contributor-signup {
  max-width: 580px;
  margin: 1.5rem 0;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 10px;
  padding: 1.75rem 2rem;
}
.contributor-signup label {
  display: block;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--landing-accent);
  margin: 1rem 0 0.3rem 0;
}
.contributor-signup label:first-child { margin-top: 0; }
.contributor-signup input,
.contributor-signup textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--landing-card-border);
  border-radius: 5px;
  font-family: var(--font-b), 'Montserrat', system-ui, sans-serif;
  font-size: 0.88rem;
  background: var(--landing-bg);
  color: var(--landing-text-primary);
  resize: vertical;
}
.contributor-signup input:focus,
.contributor-signup textarea:focus {
  outline: none;
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 2px rgba(182, 73, 38, 0.1);
}
.contributor-signup button {
  margin-top: 1.5rem;
  background: var(--landing-accent);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 5px;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 150ms ease;
}
.contributor-signup button:hover { background: var(--landing-accent-deep); }
.contributor-signup-thanks {
  display: none;
  background: rgba(34, 139, 34, 0.08);
  border: 1px solid #98C798;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  color: #166534;
  font-size: 0.9rem;
  margin-top: 1rem;
}
.contributor-signup-thanks.visible { display: block; }

/* Internal login stub */
.internal-login-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.login-card {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 12px;
  padding: 2.5rem 2.25rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.login-logo { height: 60px; width: auto; margin-bottom: 1rem; }
.login-card h1 {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--landing-text-primary);
  margin: 0 0 0.3rem 0;
}
.login-subtitle {
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--landing-accent);
  margin: 0 0 1.5rem 0;
}
.login-card form { text-align: left; }
.login-card label {
  display: block;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--landing-accent);
  margin: 0.85rem 0 0.3rem 0;
}
.login-card input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--landing-card-border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.88rem;
  background: var(--landing-bg);
  color: var(--landing-text-primary);
}
.login-card input:focus {
  outline: none;
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 2px rgba(182, 73, 38, 0.12);
}
.login-card button {
  width: 100%;
  margin-top: 1.5rem;
  background: var(--landing-accent);
  color: #ffffff;
  border: none;
  padding: 0.75rem;
  border-radius: 5px;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.login-card button:hover { background: var(--landing-accent-deep); }
.login-notice {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  color: var(--landing-text-muted);
  font-style: italic;
}

/* RAG chat mockup */
.rag-chat-mockup {
  background: var(--landing-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.25rem 0;
}
.rag-chat-bubble {
  max-width: 80%;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.rag-chat-user {
  background: rgba(139, 135, 121, 0.15);
  color: var(--landing-text-primary);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.rag-chat-ai {
  background: var(--landing-card-bg);
  color: var(--landing-text-primary);
  border: 1px solid var(--landing-card-border);
  border-bottom-left-radius: 4px;
  margin-right: auto;
}
.rag-chat-citation {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--landing-accent);
  background: rgba(182, 73, 38, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  margin-left: 0.25rem;
}
.rag-chat-meta {
  font-size: 0.7rem;
  color: var(--landing-text-muted);
  margin-top: 0.3rem;
}
@media (max-width: 900px) {
  .ppr-pipeline { grid-template-columns: 1fr; }
  .ppr-terms { grid-template-columns: 1fr; }
  .value-tiers { grid-template-columns: 1fr; }
  .tracker-metrics { grid-template-columns: 1fr; }
}

/* ══════════ BATCH A.7: CTA anything + mini-RAG ══════════ */

.landing-hero-content { max-width: 400px; }

.landing-hero-ctas {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  align-items: center;
}
.landing-hero-bottom-row a,
.landing-hero-bottom-row button {
  font-family: 'Khand', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  transition: all 150ms;
  white-space: nowrap;
  text-align: center;
}
.landing-hero-bottom-row a:hover,
.landing-hero-bottom-row button:hover {
  border-color: white;
  background: rgba(255,255,255,0.12);
}
/* Primary CTA keeps filled orange */
.landing-hero-bottom-row .landing-cta-primary {
  background: #B64926;
  border-color: #B64926;
}
.landing-hero-bottom-row .landing-cta-primary:hover {
  background: #8B2F15;
  border-color: #8B2F15;
}
/* Constellation button pushes right */
.landing-hero-bottom-row .landing-cta-constellation {
  margin-left: auto;
}

.landing-cta-anything {
  background: #FAFAF7;
  color: #2B2A26;
  border: 1px solid #FAFAF7;
  font-family: var(--font-h), 'Khand', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
}
.landing-cta-anything:hover {
  background: transparent;
  color: #FAFAF7;
}

/* Mini-RAG */
.landing-mini-rag {
  background: var(--landing-bg);
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--landing-card-border);
}
.mini-rag-container { max-width: 720px; margin: 0 auto; }
.mini-rag-title {
  font-family: var(--font-h);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--landing-text-primary);
  margin: 0 0 1.5rem 0;
  text-align: center;
}
.mini-rag-chat {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 10px;
  min-height: 240px;
  max-height: 480px;
  overflow-y: auto;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.mini-rag-empty-text {
  color: var(--landing-text-muted);
  text-align: center;
  font-size: 0.92rem;
  margin: 1rem 0 1.25rem;
}
.mini-rag-suggestions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.mini-rag-suggestion {
  padding: 0.5rem 0.85rem;
  background: var(--landing-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 16px;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: var(--font-b);
}
.mini-rag-suggestion:hover { border-color: var(--landing-accent); color: var(--landing-accent); }

.mini-rag-msg { margin-bottom: 0.85rem; display: flex; }
.mini-rag-msg-user { justify-content: flex-end; }
.mini-rag-msg-assistant { justify-content: flex-start; }
.mini-rag-bubble {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  max-width: 85%;
  font-size: 0.92rem;
  line-height: 1.5;
}
.mini-rag-msg-user .mini-rag-bubble { background: #E8E6DE; color: #2B2A26; }
.mini-rag-msg-assistant .mini-rag-bubble {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
}

.mini-rag-input-row { display: flex; gap: 0.5rem; align-items: center; }
.mini-rag-attach {
  width: 40px; height: 40px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}
.mini-rag-input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: var(--font-b);
}
.mini-rag-input:focus { outline: none; border-color: var(--landing-accent); }
.mini-rag-submit {
  padding: 0.7rem 1.25rem;
  background: var(--landing-accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: var(--font-h);
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.mini-rag-submit:hover { background: var(--landing-accent-deep); }

/* Phase 2.C.16 universe-title overrides moved to public.css in 2.C.18
   (landing.css is not loaded on /universe). */

/* ── "See our real constellation" — inline CTA in hero row ── */
/* Hero bottom row — all 4 buttons, spans full grid width */
.landing-hero-bottom-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.75rem;
}
.landing-cta-constellation {
  margin-left: auto;
  font-family: 'Khand', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  transition: all 150ms;
  white-space: nowrap;
}
.landing-cta-constellation:hover {
  border-color: white;
  background: rgba(255,255,255,0.12);
}

/* ── Real graph video section (bottom of landing) ── */
.landing-real-graph-section {
  max-width: 960px;
  margin: 3rem auto;
  padding: 0 2.5rem;
  text-align: center;
}
.landing-real-graph-title {
  font-family: 'Khand', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #B64926;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}
.landing-real-graph-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: #5A5A57;
  margin: 0 0 1.25rem 0;
  line-height: 1.5;
}
.landing-real-graph-video {
  background: #1C1C1A;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(182, 73, 38, 0.2);
}
.landing-real-graph-video video {
  width: 100%;
  display: block;
  max-height: 560px;
  object-fit: cover;
}
