/* Homepage redesign — Proof, not promises.
   Tokens only. Scoped to body.landing-proof so other marketing pages stay put. */

@keyframes mamapulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 12px color-mix(in srgb, var(--proof-sage) 65%, transparent);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 4px color-mix(in srgb, var(--proof-sage) 25%, transparent);
  }
}

html:has(body.landing-proof) {
  scroll-padding-top: 120px;
  color-scheme: dark;
}

html[data-force-theme="dark"] {
  color-scheme: dark;
}

body.landing-proof {
  --nav-clearance: 86px;
  font-family: var(--font-proof-body);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg-void);
  overflow-x: hidden;
}

body.landing-proof::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 90% 55% at 15% 12%,
      color-mix(in srgb, var(--text-muted) 18%, transparent),
      transparent 55%
    ),
    radial-gradient(
      ellipse 70% 50% at 88% 60%,
      color-mix(in srgb, var(--proof-taupe) 16%, transparent),
      transparent 52%
    ),
    radial-gradient(
      ellipse 55% 40% at 45% 100%,
      color-mix(in srgb, var(--proof-sage) 12%, transparent),
      transparent 48%
    );
}

body.landing-proof::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      45deg,
      color-mix(in srgb, var(--proof-cream) 3%, transparent) 0 1px,
      transparent 1px 15px
    ),
    repeating-linear-gradient(
      -45deg,
      color-mix(in srgb, var(--proof-cream) 2%, transparent) 0 1px,
      transparent 1px 15px
    );
}

body.landing-proof > section,
body.landing-proof > footer,
body.landing-proof > .segment-reel,
body.landing-proof > .access-wrap {
  position: relative;
  z-index: 1;
}

/* ---- Floating pill nav ---- */
body.landing-proof .nav.nav--pill {
  position: fixed;
  top: 18px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 100;
}

body.landing-proof .nav.nav--pill .container,
body.landing-proof .nav-pill-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 9px 10px 9px 12px;
  border-radius: 100px;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--text-primary) 12%, transparent),
    color-mix(in srgb, var(--text-primary) 4%, transparent)
  );
  border: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  box-shadow:
    0 8px 40px color-mix(in srgb, var(--bg-void) 35%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--text-primary) 14%, transparent);
}

body.landing-proof .nav-logo {
  font-family: var(--font-proof);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--proof-cream);
}

body.landing-proof .nav-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--text-primary) 18%, transparent);
}

body.landing-proof .nav-center {
  gap: 20px;
}

body.landing-proof .nav-text-link {
  color: var(--text-muted);
  font-weight: 400;
}

body.landing-proof .nav-text-link:hover {
  color: var(--text-primary);
}

body.landing-proof .nav-login {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
}

body.landing-proof .nav-login:hover {
  color: var(--text-primary);
}

body.landing-proof .nav-cta,
body.landing-proof .btn-proof {
  font-weight: 600;
  font-size: 13px;
  color: var(--proof-ink);
  background: var(--proof-cream);
  border-radius: 100px;
  padding: 8px 18px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--proof-cream) 18%, transparent);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

body.landing-proof .nav-cta:hover,
body.landing-proof .btn-proof:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--proof-cream) 30%, transparent);
  color: var(--proof-ink);
}

body.landing-proof .nav-menu-toggle {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

body.landing-proof .nav-menu-toggle span,
body.landing-proof .nav-menu-toggle::before,
body.landing-proof .nav-menu-toggle::after {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
}

@media (max-width: 820px) {
  body.landing-proof .nav-links-desktop {
    display: none;
  }
  body.landing-proof .nav-menu-toggle {
    display: flex;
  }
  body.landing-proof .nav-login {
    display: none;
  }
  body.landing-proof .hero-status {
    letter-spacing: 0.08em;
    white-space: normal;
    line-height: 1.55;
    max-width: min(340px, calc(100vw - 48px));
  }
}

body.landing-proof .nav-drawer {
  position: fixed;
  z-index: 200;
}

body.landing-proof .nav-drawer-panel {
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

/* ---- Hero ---- */
body.landing-proof .hero.hero--video {
  text-align: center;
  padding-bottom: 28px;
}

body.landing-proof .hero-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--proof-taupe);
  margin: 0 0 8px;
}

body.landing-proof .hero.hero--video h1 {
  margin: 18px 0 0;
  font-weight: 400;
}

body.landing-proof .hero.hero--video h1 .h1-display,
body.landing-proof .proof-display {
  display: block;
  font-family: var(--font-proof);
  font-weight: 400;
  font-size: clamp(50px, 8vw, 104px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  background: linear-gradient(
    180deg,
    var(--text-primary) 0%,
    color-mix(in srgb, var(--text-primary) 70%, var(--proof-taupe)) 55%,
    var(--proof-taupe) 125%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

body.landing-proof .hero.hero--video h1 .h1-seo,
body.landing-proof .hero.hero--video h1 .h1-alt {
  display: block;
  margin-top: 0.08em;
}

body.landing-proof .hero.hero--video h1 .h1-alt {
  font-size: clamp(36px, 6vw, 72px);
}

body.landing-proof .hero-acronym {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
}

body.landing-proof .hero-proof-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-top: 30px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

body.landing-proof .hero-proof-bar .sep {
  color: color-mix(in srgb, var(--proof-taupe) 40%, transparent);
}

body.landing-proof .step-detail {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

body.landing-proof .widget-headline span {
  color: var(--proof-taupe);
}

body.landing-proof .hero-lede {
  font-family: var(--font-proof-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 2.6vw, 26px);
  color: var(--proof-cream);
  max-width: 30ch;
  margin: 24px auto 0;
  line-height: 1.35;
}

body.landing-proof .hero-subtitle {
  max-width: 56ch;
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
}

body.landing-proof .hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

body.landing-proof .hero-cta,
body.landing-proof .btn-primary {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--proof-ink);
  background: var(--proof-cream);
  border-radius: 100px;
  padding: 14px 30px;
  text-decoration: none;
  box-shadow: 0 6px 26px color-mix(in srgb, var(--proof-cream) 16%, transparent);
}

body.landing-proof .btn-secondary,
body.landing-proof .btn-ghost {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--proof-cream);
  border: 1px solid color-mix(in srgb, var(--text-primary) 16%, transparent);
  border-radius: 100px;
  padding: 14px 30px;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--text-primary) 8%, transparent),
    color-mix(in srgb, var(--text-primary) 2%, transparent)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
}

body.landing-proof .hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--text-primary) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
}

body.landing-proof .hero-status .ok {
  color: var(--proof-sage);
}

/* Framed device + live board */
body.landing-proof .hero.hero--video .hero-media {
  height: auto;
  min-height: 0;
  max-width: min(920px, 94vw);
  margin: 40px auto 0;
  padding: 12px;
  border-radius: 30px;
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--text-primary) 16%, transparent) 0%,
      color-mix(in srgb, var(--text-primary) 5%, transparent) 40%,
      color-mix(in srgb, var(--text-primary) 2%, transparent) 100%
    ),
    color-mix(in srgb, var(--text-primary) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-primary) 14%, transparent);
  backdrop-filter: saturate(180%) blur(40px);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  box-shadow:
    0 40px 120px color-mix(in srgb, var(--bg-void) 60%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--text-primary) 16%, transparent);
}

body.landing-proof .hero.hero--video .hero-video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body.landing-proof .hero.hero--video .hero-scrim {
  display: none;
}

body.landing-proof .hero.hero--video .hero-content {
  position: relative;
  inset: auto;
  padding: 26px 26px 30px;
  text-align: left;
  border-radius: 20px;
  background: linear-gradient(
    175deg,
    var(--bg-primary),
    color-mix(in srgb, var(--bg-void) 92%, var(--bg-elevated))
  );
  border: 1px solid var(--border-subtle);
}

body.landing-proof .board-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

body.landing-proof .board-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--proof-sage);
  box-shadow: 0 0 10px color-mix(in srgb, var(--proof-sage) 50%, transparent);
}

body.landing-proof .board-title {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
}

body.landing-proof .board-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

body.landing-proof .board-heading {
  font-weight: 600;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--proof-cream);
}

body.landing-proof .board-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 6px 0 20px;
}

body.landing-proof .board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  overflow-x: auto;
}

body.landing-proof .board-col {
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-void) 35%, transparent);
  border: 1px solid var(--border-subtle);
  padding: 10px;
  min-height: 220px;
}

body.landing-proof .board-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--proof-taupe);
}

body.landing-proof .board-card {
  position: relative;
  border-radius: 10px;
  padding: 11px 12px;
  margin-bottom: 8px;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--text-primary) 13%, transparent),
    color-mix(in srgb, var(--text-primary) 5%, transparent)
  );
  border: 1px solid color-mix(in srgb, var(--text-primary) 14%, transparent);
}

body.landing-proof .board-card-title {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  padding-right: 30px;
}

body.landing-proof .board-avatar {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid color-mix(in srgb, var(--proof-cream) 55%, transparent);
}

body.landing-proof .board-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

body.landing-proof .board-tag {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  border-radius: 4px;
  padding: 2px 5px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

body.landing-proof .board-tag.is-role {
  color: var(--proof-taupe);
  border-color: color-mix(in srgb, var(--proof-taupe) 22%, transparent);
  background: color-mix(in srgb, var(--proof-taupe) 7%, transparent);
}

body.landing-proof .board-tag.is-ok {
  color: var(--proof-sage);
  border-color: color-mix(in srgb, var(--proof-sage) 25%, transparent);
  background: color-mix(in srgb, var(--proof-sage) 7%, transparent);
}

body.landing-proof .live-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin: 18px 0 0;
}

body.landing-proof .live-caption .ok {
  color: var(--proof-sage);
}

/* ---- Sections ---- */
body.landing-proof .proof-section {
  scroll-margin-top: 120px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 28px 40px;
  border-top: 1px solid var(--border-subtle);
}

body.landing-proof .section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

body.landing-proof .section-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--proof-cream) 22%, transparent),
    transparent
  );
}

body.landing-proof .truth-quote {
  margin: 0;
  font-family: var(--font-proof);
  font-weight: 400;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.16;
  padding-left: 28px;
  border-left: 2px solid var(--proof-taupe);
  max-width: 24ch;
  text-wrap: balance;
}

body.landing-proof .truth-quote em {
  color: var(--proof-sage);
  font-style: normal;
}

body.landing-proof .truth-body {
  max-width: 58ch;
  color: var(--text-muted);
  margin: 20px 0 28px 30px;
  font-size: 16px;
  font-weight: 400;
}

body.landing-proof #problem .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

body.landing-proof #problem .glass-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 840px) {
  body.landing-proof #problem .card-grid {
    grid-template-columns: 1fr;
  }
}

body.landing-proof .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

body.landing-proof .glass-card {
  position: relative;
  border-radius: 24px;
  padding: 32px;
  overflow: hidden;
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--text-primary) 13%, transparent) 0%,
      color-mix(in srgb, var(--text-primary) 5%, transparent) 38%,
      color-mix(in srgb, var(--text-primary) 2%, transparent) 100%
    ),
    color-mix(in srgb, var(--text-primary) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
  backdrop-filter: saturate(180%) blur(36px);
  -webkit-backdrop-filter: saturate(180%) blur(36px);
  box-shadow:
    0 8px 40px color-mix(in srgb, var(--bg-void) 35%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--text-primary) 14%, transparent);
}

body.landing-proof .glass-card.featured {
  border-color: color-mix(in srgb, var(--proof-cream) 18%, transparent);
}

body.landing-proof .glass-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--proof-taupe);
  margin-bottom: 16px;
}

body.landing-proof .glass-card h3 {
  font-family: var(--font-proof-body);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  color: var(--proof-cream);
}

body.landing-proof .glass-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 400;
}

body.landing-proof .chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

body.landing-proof .chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

body.landing-proof .chip-sage {
  border: 1px solid color-mix(in srgb, var(--proof-sage) 30%, transparent);
  background: color-mix(in srgb, var(--proof-sage) 8%, transparent);
  color: var(--proof-sage);
}

body.landing-proof .chip-taupe {
  border: 1px solid color-mix(in srgb, var(--proof-taupe) 30%, transparent);
  background: color-mix(in srgb, var(--proof-taupe) 10%, transparent);
  color: var(--proof-taupe);
}

body.landing-proof .chip-alert {
  border: 1px solid color-mix(in srgb, var(--error) 25%, transparent);
  background: color-mix(in srgb, var(--error) 12%, transparent);
  color: #d4a0a0;
}

body.landing-proof .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

body.landing-proof .step-num {
  font-family: var(--font-proof);
  font-size: 40px;
  color: color-mix(in srgb, var(--proof-taupe) 60%, transparent);
  line-height: 1;
}

body.landing-proof .glass-card h3.step-title {
  margin: 14px 0 8px;
  font-size: 17px;
}

/* Widgets */
body.landing-proof .widget-headline {
  font-family: var(--font-proof);
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.18;
  max-width: 28ch;
  margin: 0 0 36px;
}

body.landing-proof .widget-stage {
  position: relative;
  border-radius: 28px;
  padding: 44px 34px;
  background:
    radial-gradient(
      ellipse 90% 60% at 15% 20%,
      color-mix(in srgb, var(--text-muted) 25%, transparent),
      transparent 55%
    ),
    var(--bg-primary);
  border: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
}

body.landing-proof .widget-card {
  width: 338px;
  max-width: 80vw;
  min-height: 300px;
  border-radius: 22px;
  padding: 16px;
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--text-primary) 14%, transparent) 0%,
      color-mix(in srgb, var(--text-primary) 5%, transparent) 38%,
      color-mix(in srgb, var(--text-primary) 2%, transparent) 100%
    ),
    color-mix(in srgb, var(--text-primary) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent);
  backdrop-filter: saturate(180%) blur(40px);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
}

body.landing-proof .widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

body.landing-proof .widget-head img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

body.landing-proof .widget-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

body.landing-proof .pulse {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--proof-sage);
  animation: mamapulse 2.6s ease-in-out infinite;
}

body.landing-proof .widget-hello {
  font-size: 15px;
  margin-bottom: 2px;
}

body.landing-proof .widget-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

body.landing-proof .widget-task {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 6px 0;
  font-size: 12px;
}

body.landing-proof .pri {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

body.landing-proof .pri-p0 {
  color: #d4a0a0;
  background: color-mix(in srgb, var(--error) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--error) 25%, transparent);
}

body.landing-proof .pri-p1 {
  color: var(--text-muted);
  background: color-mix(in srgb, var(--text-primary) 5%, transparent);
  border: 1px solid var(--border-subtle);
}

body.landing-proof .widget-prompt {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 8px 10px 8px 14px;
  background: color-mix(in srgb, var(--text-primary) 3%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent);
  color: var(--text-muted);
  font-size: 11px;
}

body.landing-proof .widget-send {
  /* Nothing else in .widget-prompt grows, so without this the button sits
     against the placeholder instead of the far edge of the pill. */
  margin-left: auto;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--proof-cream);
  color: var(--proof-ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* Proof / receipt */
body.landing-proof .receipt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: start;
}

body.landing-proof .receipt-title {
  font-family: var(--font-proof);
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.14;
  margin: 0 0 16px;
  text-wrap: balance;
}

body.landing-proof .receipt-title span {
  color: var(--proof-sage);
}

body.landing-proof .receipt-term {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

body.landing-proof .receipt-cmd {
  color: var(--proof-taupe);
  margin-bottom: 10px;
}

body.landing-proof .receipt-copy {
  margin-left: 0;
}

body.landing-proof .receipt-ok {
  color: var(--proof-sage);
}

body.landing-proof .receipt-hi {
  color: var(--text-primary);
}

body.landing-proof .receipt-rule {
  border-top: 1px solid var(--border-subtle);
  margin: 12px 0;
}

body.landing-proof .access-note {
  margin-top: 26px;
}

body.landing-proof .footer-brand-mark {
  margin-top: 22px;
  border-radius: 50%;
}

/* Access */
body.landing-proof .access-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 28px 100px;
  text-align: left;
  scroll-margin-top: 120px;
}

body.landing-proof .access-wrap .section-kicker {
  margin-bottom: 20px;
}

body.landing-proof .access-wrap .widget-headline {
  margin: 0 0 20px;
  max-width: 18ch;
}

body.landing-proof .access-wrap .truth-body {
  margin: 0 0 28px;
}

body.landing-proof .access-wrap .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 28px;
}

@media (max-width: 840px) {
  body.landing-proof .access-wrap .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- compute ladder ------------------------------------------------------
   Every figure here is a computed memory budget, not a live reading. The
   EXAMPLE badge is load-bearing: do not remove it without a real measurement
   behind the numbers. See src/nervous-system/model-router/local-router.ts.
--------------------------------------------------------------------------- */
body.landing-proof .ladder-block {
  margin: 0 0 32px;
}

body.landing-proof .ladder-block .ladder-lede {
  margin: 0 0 20px;
}

/* "Tell us your machine, we'll tell you what it runs" */
body.landing-proof .machine-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

body.landing-proof .machine-card {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--proof-cream) 16%, transparent);
  background: color-mix(in srgb, var(--text-primary) 4%, transparent);
}

body.landing-proof .machine-card--hero {
  border-color: color-mix(in srgb, var(--proof-sage) 45%, transparent);
  background: color-mix(in srgb, var(--proof-sage) 14%, transparent);
}

body.landing-proof .machine-ram {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
}

body.landing-proof .machine-sub {
  margin-top: 4px;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--text-muted);
}

body.landing-proof .machine-pick {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--success);
  word-break: break-word;
}

body.landing-proof .machine-tier {
  margin-top: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 840px) {
  body.landing-proof .machine-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The matrix scrolls inside its own box so the page never does. */
body.landing-proof .ladder-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid color-mix(in srgb, var(--proof-cream) 16%, transparent);
  border-radius: 16px;
}

body.landing-proof .ladder-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

body.landing-proof .ladder-matrix th,
body.landing-proof .ladder-matrix td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid
    color-mix(in srgb, var(--proof-cream) 10%, transparent);
  white-space: nowrap;
}

body.landing-proof .ladder-matrix tbody tr:last-child th,
body.landing-proof .ladder-matrix tbody tr:last-child td {
  border-bottom: 0;
}

body.landing-proof .ladder-matrix thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--text-primary) 7%, transparent);
}

body.landing-proof .ladder-matrix .mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
  font-weight: 400;
}

body.landing-proof .ladder-matrix .num {
  text-align: right;
}

body.landing-proof .ladder-pick-row {
  background: color-mix(in srgb, var(--proof-sage) 16%, transparent);
}

body.landing-proof .ladder-pick-row th {
  font-weight: 600;
}

body.landing-proof .ladder-matrix .ok {
  color: var(--success);
}

body.landing-proof .ladder-matrix .nope {
  color: var(--text-muted);
}

body.landing-proof .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.landing-proof .ladder-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 68ch;
}

body.landing-proof .ladder-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  padding: 3px 7px;
  margin-right: 8px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--proof-cream) 26%, transparent);
  color: var(--text-muted);
  vertical-align: 1px;
}

body.landing-proof .refuse-grid {
  margin: 0 0 28px;
}

@media (max-width: 560px) {
  body.landing-proof .machine-cards {
    grid-template-columns: 1fr;
  }

  /* Six nowrap columns cannot fit 375px. The matrix keeps its own
     overflow-x box (.ladder-scroll) so it scrolls independently and the
     page body still measures zero horizontal overflow. */
  body.landing-proof .ladder-matrix {
    font-size: 0.82rem;
  }

  body.landing-proof .ladder-matrix th,
  body.landing-proof .ladder-matrix td {
    padding: 9px 11px;
  }
}

body.landing-proof .access-card {
  text-align: center;
  border-radius: 28px;
  padding: 56px 36px;
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--proof-cream) 12%, transparent) 0%,
      color-mix(in srgb, var(--text-primary) 4%, transparent) 45%,
      color-mix(in srgb, var(--text-primary) 2%, transparent) 100%
    ),
    color-mix(in srgb, var(--text-primary) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--proof-cream) 18%, transparent);
  backdrop-filter: saturate(180%) blur(36px);
  -webkit-backdrop-filter: saturate(180%) blur(36px);
}

body.landing-proof .access-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

body.landing-proof .access-card h2 {
  font-family: var(--font-proof);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin: 0 0 14px;
}

body.landing-proof .access-card p {
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 44ch;
  margin: 0 auto 30px;
}

body.landing-proof .access-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

body.landing-proof .access-form input {
  font-family: var(--font-proof-body);
  font-size: 14px;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--text-primary) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-primary) 14%, transparent);
  border-radius: 100px;
  padding: 14px 22px;
  width: min(300px, 70vw);
  outline: none;
}

body.landing-proof .access-form button {
  font-family: var(--font-proof-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--proof-ink);
  background: var(--proof-cream);
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  cursor: pointer;
}

body.landing-proof .pw-form-error {
  display: none;
  margin-top: 14px;
  color: var(--error);
  font-size: 13px;
}

body.landing-proof .pw-form-error.visible {
  display: block;
}

body.landing-proof .pw-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--proof-sage);
}

body.landing-proof .pw-success.visible {
  display: block;
}

/* Footer */
body.landing-proof .proof-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 28px 90px;
  text-align: center;
}

body.landing-proof .footer-wordmark {
  font-family: var(--font-proof);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0.06em;
  line-height: 0.95;
  background: linear-gradient(
    180deg,
    var(--text-primary) 0%,
    color-mix(in srgb, var(--text-primary) 70%, var(--proof-taupe)) 55%,
    var(--proof-taupe) 125%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.landing-proof .proof-footer p {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 52ch;
  margin: 16px auto 0;
}

body.landing-proof .footer-links {
  display: flex;
  gap: 18px 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13px;
}

body.landing-proof .footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

body.landing-proof .footer-links a:hover {
  color: var(--text-primary);
}

body.landing-proof .footer-attest {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 26px;
}

/* Product stills — kept for existing tests, visually secondary */
body.landing-proof .segment-reel.demo-segment {
  display: none;
}

body.landing-proof .segment-reel-stage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

body.landing-proof .segment-reel-stage img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  opacity: 0.85;
}

body.landing-proof .segment-reel-caption,
body.landing-proof .segment-reel-dots {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 10px;
}

@media (max-width: 720px) {
  body.landing-proof .hero.hero--video h1 .h1-display {
    font-size: clamp(38px, 11vw, 56px);
  }
  body.landing-proof .hero.hero--video h1 .h1-alt {
    font-size: clamp(28px, 8vw, 42px);
  }
  body.landing-proof .board-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
  }
  body.landing-proof .segment-reel-stage {
    grid-template-columns: repeat(2, 1fr);
  }
  body.landing-proof .truth-body {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.landing-proof .pulse {
    animation: none;
  }
}

/* ---- MAMA CLI ---- */
body.mama-cli .cli-hero {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 130px 28px 40px;
  text-align: center;
}

body.mama-cli .cli-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid color-mix(in srgb, var(--proof-sage) 18%, transparent);
  color: var(--proof-sage);
}

body.mama-cli .cli-section {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 28px 60px;
}

body.mama-cli .term {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 70px color-mix(in srgb, var(--bg-void) 50%, transparent);
}

body.mama-cli .term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

body.mama-cli .term-dots {
  width: 42px;
  height: 10px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--text-muted) 35%, transparent);
}

body.mama-cli .term-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

body.mama-cli .term-demo {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--proof-taupe);
  border: 1px solid color-mix(in srgb, var(--proof-taupe) 25%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
}

body.mama-cli .term-body {
  margin: 0;
  min-height: 280px;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  white-space: pre-wrap;
}

body.mama-cli .term-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border-subtle);
}

body.mama-cli .term-btn {
  font-family: var(--font-proof-body);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

body.mama-cli .term-btn.is-on {
  color: var(--proof-sage);
  border-color: color-mix(in srgb, var(--proof-sage) 30%, transparent);
  background: color-mix(in srgb, var(--proof-sage) 8%, transparent);
}

body.mama-cli .term-note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  align-self: center;
}

body.mama-cli .arch-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}

body.mama-cli .arch-node {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.mama-cli .arch-node img {
  border-radius: 50%;
}

body.mama-cli .arch-feats {
  margin-top: 22px;
}

/* ---- Packs ---- */
body.packs-page .packs-hero .page-title {
  font-family: var(--font-proof);
  font-size: var(--type-page);
  font-weight: 400;
  color: var(--proof-cream);
  margin: 18px 0 12px;
}

body.packs-page .packs-section {
  border-top: none;
  padding-top: 8px;
}

body.packs-page .packs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.packs-page .pack-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--proof-taupe);
  margin-bottom: 12px;
}

body.packs-page .glass-card h3 {
  font-family: var(--font-proof);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--proof-cream);
}

body.packs-page .pack-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--proof-taupe);
  margin: 0 0 16px;
}

body.packs-page .pack-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

body.packs-page .pack-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-subtle);
}

body.packs-page .pack-list li:last-child {
  border-bottom: none;
}

body.packs-page .pack-install {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  color: var(--proof-ink);
  background: var(--proof-cream);
  border-radius: 100px;
  padding: 10px 18px;
  text-decoration: none;
}

@media (max-width: 720px) {
  body.packs-page .packs-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MAMA CLI — terminal chrome, syntax colours, step rail
   Ported from the docs mock (uploads/04-MAMA-CLI-docs-mock.html) onto the
   site's own tokens, so the CLI page reads as MAMA rather than a second brand.
   ========================================================================== */

body.mama-cli .term-tabs {
  display: flex;
  gap: 2px;
  padding: 6px 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-void) 45%, transparent);
}

body.mama-cli .term-tab {
  appearance: none;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-proof-body);
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 9px 9px 0 0;
  cursor: pointer;
}

body.mama-cli .term-tab:hover {
  color: var(--text-secondary);
}

body.mama-cli .term-tab[aria-selected="true"] {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  position: relative;
  top: 1px;
}

body.mama-cli .term-tab .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
  background: currentColor;
}

body.mama-cli .term-tab[data-cli="mama"] .dot {
  background: var(--gold);
}

body.mama-cli .term-tab[data-cli="grok"] .dot {
  background: var(--blue);
}

/* Traffic lights — replaces the single grey pill */
body.mama-cli .term-traffic {
  display: flex;
  gap: 6px;
  margin-right: 4px;
}

body.mama-cli .term-traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

body.mama-cli .term-traffic .r {
  background: #ff5f57;
}
body.mama-cli .term-traffic .y {
  background: #febc2e;
}
body.mama-cli .term-traffic .g {
  background: #28c840;
}

/* Scene pill — DEMO / DRY-RUN / MCP. Never says LIVE: nothing here is live. */
body.mama-cli .term-demo[data-kind="dryrun"] {
  color: var(--amber);
  border-color: color-mix(in srgb, var(--amber) 30%, transparent);
}

body.mama-cli .term-demo[data-kind="mcp"] {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 30%, transparent);
}

/* --- terminal syntax colours --- */
body.mama-cli .term-body .prompt {
  color: var(--gold);
}
body.mama-cli .term-body .prompt.grok {
  color: var(--blue);
}
body.mama-cli .term-body .cmd {
  color: var(--text-primary);
}
body.mama-cli .term-body .dim {
  color: var(--text-muted);
}
body.mama-cli .term-body .ok {
  color: var(--success);
}
body.mama-cli .term-body .warn {
  color: var(--amber);
}
body.mama-cli .term-body .danger {
  color: var(--error);
}
body.mama-cli .term-body .phi {
  color: var(--accent);
}
body.mama-cli .term-body .hl {
  color: var(--gold);
  font-weight: 600;
}
body.mama-cli .term-body .bar {
  letter-spacing: -0.05em;
  color: color-mix(in srgb, var(--text-muted) 60%, transparent);
}
body.mama-cli .term-body .bar .fill {
  color: var(--success);
}
body.mama-cli .term-body .node-on::before {
  content: "● ";
  color: var(--success);
}

body.mama-cli .term-cursor {
  display: inline-block;
  width: 0.55ch;
  height: 1.05em;
  background: var(--gold);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: mama-cli-blink 1s step-end infinite;
}

body.mama-cli .term-cursor.grok {
  background: var(--blue);
}

@keyframes mama-cli-blink {
  50% {
    opacity: 0;
  }
}

/* --- proof-loop step rail --- */
body.mama-cli .step-rail {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

body.mama-cli .step-rail .chip {
  font-family: var(--font-mono);
  font-size: 11px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--text-muted);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

body.mama-cli .step-rail .chip.is-on {
  color: var(--proof-sage);
  border-color: color-mix(in srgb, var(--proof-sage) 35%, transparent);
  background: color-mix(in srgb, var(--proof-sage) 8%, transparent);
}

/* --- safety callout --- */
body.mama-cli .safety-note {
  max-width: 760px;
  margin: 0 auto;
  border-left: 3px solid var(--amber);
  background: color-mix(in srgb, var(--amber) 7%, transparent);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

body.mama-cli .safety-note strong {
  color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
  body.mama-cli .term-cursor {
    animation: none;
  }
}

@media (max-width: 720px) {
  body.mama-cli .term-body {
    font-size: 11px;
  }
  body.mama-cli .term-tab {
    padding: 7px 10px;
    font-size: 11px;
  }
}

/* ---- Mobile tap targets (proof footer + nav toggle) ----
   Hit areas reach 44px via transparent padding offset by negative margins;
   visual layout is unchanged. Gated to small viewports. */
@media (max-width: 767px) {
  body.landing-proof .footer-links a {
    padding: 12px;
    margin: -12px;
  }
}
@media (max-width: 820px) {
  body.landing-proof .nav-menu-toggle {
    width: 44px;
    height: 44px;
  }
}
