.nav {
  display: flex; align-items: center; gap: 1.25rem;
  padding-block: 1.25rem; position: sticky; top: 0; z-index: 20;
  background: var(--bg);
}
.wordmark { font-weight: 600; text-decoration: none; }
.nav nav { display: none; gap: 1.25rem; margin-inline: auto; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
@media (min-width: 800px) { .nav nav { display: flex; } }

.hero {
  min-height: 92svh; display: grid; align-content: start;
  padding-top: 8vh; padding-bottom: 6vh; gap: 1.5rem;
  position: relative;
}
.hero-title { max-width: 14ch; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner {
  display: block;
  transform: translateY(110%);
  animation: rise 900ms var(--ease-out) forwards;
}
.hero-title .line:nth-child(2) .line-inner { animation-delay: 110ms; }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub {
  max-width: 40ch; font-size: 17px; color: var(--muted);
  opacity: 0; animation: fade 700ms var(--ease-out) 400ms forwards;
}
@keyframes fade { to { opacity: 1; } }

.hero-chips {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 0.5rem;
}
.chip {
  background: #1c331d; color: var(--ink); padding: 0.85rem 1rem;
  min-width: 200px; text-align: left; display: grid; gap: 0.2rem;
  transition: background var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.chip span { color: var(--muted); font-size: 14px; }
.chip strong { font-size: 15px; font-weight: 600; }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.chip.is-on span, .chip[aria-pressed="true"] span { color: #3a5238; }
.chip:active { transform: scale(0.98); }
@media (min-width: 900px) {
  .chip:nth-child(1) { transform: rotate(-3deg); }
  .chip:nth-child(2) { transform: rotate(2deg); }
  .chip:nth-child(3) { transform: rotate(-2deg); }
  .chip.is-on, .chip[aria-pressed="true"] { transform: rotate(0deg) scale(1.02); }
}

.hero-stage {
  margin-top: 1.5rem; display: grid; gap: 1rem;
  background: #0a150b; padding: 1rem;
  max-width: 720px;
}
@media (min-width: 700px) {
  .hero-stage { grid-template-columns: 1.2fr 1fr; }
}
.stage-frame {
  min-height: 160px; background: #142416; padding: 1rem;
  display: grid; align-content: space-between;
}
.stage-label { color: var(--muted); font-size: 14px; }
.finding { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; }
.stage-trace { display: grid; gap: 0.45rem; font-size: 14px; color: var(--muted); }
.stage-trace li { background: #142416; padding: 0.55rem 0.7rem; }
.stage-trace li:last-child { color: var(--accent); }

.world-grid {
  margin-top: 2.5rem;
  display: grid; gap: 8px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .world-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 180px;
  }
  .world-fig:nth-child(1) { grid-column: 1 / 8; grid-row: span 2; }
  .world-fig:nth-child(2) { grid-column: 8 / 13; grid-row: span 2; }
  .world-fig.tall { grid-column: 1 / 5; grid-row: span 3; }
  .world-fig.video-fig { grid-column: 5 / 9; grid-row: span 2; }
  .world-fig:nth-child(5) { grid-column: 9 / 13; grid-row: span 2; }
}
.world-fig { overflow: hidden; background: var(--surface); margin: 0; height: 100%; }
.world-fig img, .world-fig video { width: 100%; height: 100%; object-fit: cover; }
.video-fig video { filter: grayscale(0.2) contrast(1.05); }

.how { max-width: 760px; }
.exchange { margin-top: 3.5rem; }
.ex-lead { font-size: 20px; font-weight: 500; margin-bottom: 1rem; }
.call, .response {
  background: #142416; padding: 1.1rem 1.25rem; margin-bottom: 0.75rem;
}
.response { margin-left: 0; display: grid; gap: 0.25rem; }
@media (min-width: 700px) {
  .response { margin-left: 56px; }
}
.tag { color: var(--accent); font-size: 14px; font-weight: 600; }
.exchange-wide .response-wide { max-width: 760px; margin-left: 0; }
.trace-block { display: grid; gap: 0.4rem; font-size: 15px; }
.trace-block .stop { color: var(--accent); font-weight: 600; }

.demo-panel {
  margin-top: 2rem; display: grid; gap: 0;
  background: #0a150b; max-width: 760px;
}
@media (min-width: 800px) {
  .demo-panel { grid-template-columns: 62% 38%; min-height: 420px; }
}
.demo-left, .demo-right { padding: 1.25rem; }
.demo-left { background: #142416; }
.demo-case-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; }
.demo-findings { margin-top: 1.5rem; display: grid; gap: 0.4rem; color: var(--muted); }
.demo-right { display: grid; gap: 0.65rem; align-content: start; }
.demo-right label { display: grid; gap: 0.35rem; font-size: 14px; color: var(--muted); }
.ctrl {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 44px; background: #142416; padding: 0 0.75rem;
}
.toggle {
  min-width: 3rem; padding: 0.25rem 0.5rem; background: #0a150b; color: var(--muted);
}
.toggle.is-on { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.demo-note { margin-top: 1rem; }

.proof { background: #000; padding-block: calc(var(--section) / 2); }
.proof-board {
  display: grid; gap: 8px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .proof-board { grid-template-columns: repeat(4, 1fr); }
}
.proof-tile {
  background: #162a17; min-height: 140px; padding: 1.25rem;
  display: grid; align-content: space-between;
}
.proof-tile strong { font-size: 28px; letter-spacing: -0.02em; }
.proof-tile span { color: var(--muted); font-size: 15px; }
.proof-tile.accent {
  background: var(--accent); color: var(--accent-ink);
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .proof-tile.accent { grid-column: span 2; }
}
.proof-tile.accent .head { color: var(--accent-ink); font-size: clamp(1.6rem, 3vw, 2.4rem); }

.faq { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .faq { grid-template-columns: 1fr 2fr; align-items: start; }
  .faq-head { position: sticky; top: 96px; }
}
.faq-list { display: grid; gap: 8px; }
details {
  background: #162a17; padding: 0;
}
summary {
  list-style: none; cursor: pointer; min-height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.25rem; font-size: 20px; font-weight: 500;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; width: 1.25rem; flex: none; font-size: 1.4rem; line-height: 1;
  font-weight: 500; text-align: center;
}
details[open] { background: var(--accent); color: var(--accent-ink); }
details[open] summary::after { content: "−"; }
details p { padding: 0 1.25rem 1.25rem; max-width: 52ch; font-size: 17px; }

.cta { background: var(--accent); color: var(--accent-ink); min-height: 90svh; display: grid; align-items: end; }
.cta-grid {
  display: grid; gap: 2rem; padding-block: 3rem;
}
@media (min-width: 900px) {
  .cta-grid { grid-template-columns: 1fr 1fr; align-items: end; }
}
.cta-title { color: var(--accent-ink); max-width: 8ch; }
.cta-dialog {
  background: #0f1f10; color: var(--ink); padding: 1.5rem;
  display: grid; gap: 1rem; max-width: 440px; width: 100%;
}
.cta-dialog h3 { font-size: 1.25rem; }
.cta-dialog label { display: grid; gap: 0.4rem; font-size: 14px; color: var(--muted); }
.cta-dialog input {
  background: #162a17; border: 0; padding: 0.85rem 1rem; color: var(--ink);
}
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.seg-btn { min-height: 44px; background: #162a17; color: var(--muted); }
.seg-btn.is-on { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.cta-btn { width: 100%; }

.footer { background: #000; padding-block: 8px; }
.footer-board {
  display: grid; gap: 8px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .footer-board {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(120px, auto);
  }
  .ft.statement { grid-column: 1 / 5; }
  .ft.nav-ft { grid-column: 5 / 8; }
  .ft.time { grid-column: 8 / 10; }
  .ft.mail { grid-column: 10 / 13; }
  .ft.mark { grid-column: 1 / 9; min-height: 220px; }
  .ft.invite { grid-column: 9 / 13; min-height: 220px; }
}
.ft { background: #162a17; padding: 1.25rem; }
.ft.nav-ft { display: grid; gap: 0.5rem; align-content: start; }
.ft.nav-ft a { text-decoration: none; }
.ft.mark {
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-size: clamp(2.5rem, 9vw, 6rem); font-weight: 600; letter-spacing: -0.04em;
}
.ft.invite {
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 28px; font-weight: 600;
}
.ft.invite svg { align-self: end; }
.credits a { color: inherit; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 699px) {
  .hero-title { font-size: 13.5vw; }
}
