/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07090e;
  --surface: #0c0f18;
  --surface-2: #111525;
  --border: #1c2235;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-amber: #ff8c00;
  --text: #e8edf5;
  --text-2: #7a8599;
  --text-3: #3d4560;
  --green: #00e87a;
  --cyan: #00d4ff;
  --amber: #ff8c00;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 9, 14, 0.9);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  border: 1.5px solid var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* === HERO === */
.hero {
  min-height: 100vh;
  padding: 8rem 3rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 46ch;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: 0.01em;
}

.hero-cta-primary:hover { opacity: 0.88; }

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.65rem 0.25rem;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.hero-cta-secondary:hover { color: var(--text); }

/* Changelog velocity badge below hero CTAs */
.hero-last-shipped {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-last-shipped:hover { color: var(--text-2); }
.hero-last-shipped strong { color: var(--text-2); font-weight: 500; }
.hero-last-shipped-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* === HERO GRID VISUALIZATION === */
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-wrap {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.08);
}

.ring-1 { width: 200px; height: 200px; border-color: rgba(0, 212, 255, 0.12); }
.ring-2 { width: 280px; height: 280px; border-color: rgba(0, 212, 255, 0.07); }
.ring-3 { width: 360px; height: 360px; border-color: rgba(0, 212, 255, 0.04); }

.grid-center {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 12px rgba(0, 212, 255, 0); }
}

.grid-dot.pulse { animation: dotPulse 2.4s ease-in-out infinite; }

.grid-lines {
  position: absolute;
  width: 72px;
  height: 72px;
}

.gl {
  position: absolute;
  background: rgba(0, 212, 255, 0.08);
}

.gl-h { height: 1px; width: 100%; }
.gl-h:nth-child(1) { top: 24px; }
.gl-h:nth-child(2) { top: 48px; }
.gl-h:nth-child(3) { top: 72px; }

.gl-v { width: 1px; height: 100%; }
.gl-v:nth-child(4) { left: 24px; }
.gl-v:nth-child(5) { left: 48px; }
.gl-v:nth-child(6) { left: 72px; }

.grid-node {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 3px;
  background: rgba(0, 212, 255, 0.05);
  white-space: nowrap;
  animation: nodeFade 3s ease-in-out infinite alternate;
}

.n1 { top: 18px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.n2 { right: 18px; top: 50%; transform: translateY(-50%); animation-delay: 1s; }
.n3 { bottom: 18px; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.n4 { left: 18px; top: 50%; transform: translateY(-50%); animation-delay: 0.5s; }

@keyframes nodeFade {
  0% { opacity: 0.4; }
  100% { opacity: 1; border-color: rgba(0, 212, 255, 0.6); }
}

/* === PULSE FEED === */
.pulse-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 3rem;
  background: var(--surface);
}

.pulse-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}

.pulse-feed {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 700px;
}

.pulse-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.875rem;
  color: var(--text-2);
}

.p-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.p-dot.green { background: var(--green); }
.p-dot.cyan { background: var(--cyan); }
.p-dot.amber { background: var(--amber); }

.p-time {
  font-size: 0.75rem;
  color: var(--text-3);
  min-width: 70px;
}

.p-fixed { color: var(--text); }
.p-esc { color: var(--amber); }

/* === FEATURES === */
.features {
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feat-header {
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.feat-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feat-card {
  background: var(--surface);
  padding: 2.5rem;
  transition: background 0.3s;
}

.feat-card:hover { background: var(--surface-2); }

.feat-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feat-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* === GUARDIANS === */
.guardians {
  padding: 7rem 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guardians-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.guard-text .section-tag { margin-bottom: 1rem; }

.guard-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.guard-text p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.guard-quote {
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.quote-attribution {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* === MANIFESTO === */
.manifesto {
  padding: 7rem 3rem;
}

.manifesto-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.manifesto-item {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.m-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.manifesto-item h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.manifesto-item p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* === CLOSING === */
.closing {
  padding: 8rem 3rem;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.75rem;
  line-height: 1.1;
}

.closing p {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  border: 1.5px solid var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 0.3rem;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* === DEMO SECTION === */
.demo-section {
  padding: 7rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.demo-inner {
  max-width: 900px;
  margin: 0 auto;
}

.demo-header {
  margin-bottom: 3rem;
}

.demo-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.demo-subtitle {
  font-size: 0.95rem;
  color: var(--text-2);
  max-width: 56ch;
  line-height: 1.65;
}

/* Scenario tabs */
.scenario-tabs {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.scenario-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.scenario-tab:hover {
  color: var(--text-2);
  border-color: var(--text-3);
}

.scenario-tab.active {
  color: var(--text);
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.06);
}

.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tab-dot-amber { background: var(--amber); }
.tab-dot-cyan  { background: var(--cyan); }
.tab-dot-green { background: var(--green); }

/* Terminal window */
.terminal-wrap {
  background: #050810;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.05);
}

.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: #0a0d1a;
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 0.375rem;
  flex-shrink: 0;
}

.tdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.tdot-red    { background: #ff5f57; }
.tdot-yellow { background: #febc2e; }
.tdot-green  { background: #28c840; }

.terminal-title {
  flex: 1;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: center;
  letter-spacing: 0.04em;
}

.replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
  flex-shrink: 0;
}

.replay-btn:hover:not(:disabled) {
  color: var(--text-2);
  border-color: var(--text-3);
}

.replay-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.terminal-body {
  min-height: 260px;
  max-height: 340px;
  overflow-y: auto;
  padding: 1.1rem 1.4rem;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  scroll-behavior: smooth;
}

.terminal-line {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
  animation: lineFadeIn 0.25s ease forwards;
}

@keyframes lineFadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Line type colors */
.tl-alert  { color: var(--amber); font-weight: 600; margin-bottom: 0.25rem; }
.tl-log    { color: var(--text-3); }
.tl-decide { color: var(--cyan); font-weight: 500; margin-top: 0.25rem; }
.tl-cmd    { color: #c8d3f5; margin-top: 0.5rem; }
.tl-output { color: var(--text-2); padding-left: 0.25rem; }
.tl-exit   { color: var(--green); }
.tl-verify { color: var(--green); font-weight: 600; margin-top: 0.5rem; }

.terminal-stamp {
  padding: 0.75rem 1.4rem;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  font-size: 0.78rem;
  color: var(--green);
  background: rgba(0, 232, 122, 0.05);
  border-top: 1px solid rgba(0, 232, 122, 0.12);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.terminal-stamp.stamp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === WAITLIST SECTION === */
.waitlist-section {
  padding: 7rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.waitlist-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.waitlist-copy {
  max-width: 44ch;
}

.waitlist-copy .section-tag {
  margin-bottom: 0.75rem;
}

.waitlist-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.wl-arrow {
  color: var(--accent);
}

.waitlist-copy p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

.waitlist-form {
  flex-shrink: 0;
  width: 100%;
  max-width: 400px;
}

.wl-input-row {
  display: flex;
  gap: 0.5rem;
}

.wl-input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.wl-input::placeholder { color: var(--text-3); }

.wl-input:focus {
  border-color: rgba(0, 212, 255, 0.45);
}

.wl-submit {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #000;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.wl-submit:hover:not(:disabled) {
  background: #33ddff;
}

.wl-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.wl-note {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  min-height: 1.2em;
  color: var(--text-3);
}

.wl-note-ok  { color: var(--green); }
.wl-note-err { color: var(--amber); }

/* === DEMO CAPTURE (inline capture block under terminal demo) === */
.demo-capture-section {
  padding: 3rem 3rem 4rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo-capture-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.demo-capture-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.demo-capture-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.75rem;
  line-height: 1.15;
}

.demo-capture-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.dc-input-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 480px;
}

.dc-input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.dc-input::placeholder { color: var(--text-3); }

.dc-input:focus {
  border-color: rgba(0, 212, 255, 0.5);
}

.dc-submit {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #000;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, opacity 0.2s;
}

.dc-submit:hover:not(:disabled) {
  background: #33ddff;
}

.dc-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.dc-msg {
  margin-top: 0.7rem;
  font-size: 0.83rem;
  min-height: 1.2em;
  color: var(--text-3);
}

.dc-msg-ok  { color: var(--green); }
.dc-msg-err { color: var(--amber); }

.dc-count {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-3);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  header { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 1.5rem 4rem;
    gap: 2rem;
    text-align: left;
  }
  .hero-grid { order: -1; }
  .grid-wrap { width: 220px; height: 220px; }
  .pulse-section { padding: 2rem 1.5rem; }
  .features { padding: 5rem 1.5rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .guardians-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .manifesto { padding: 5rem 1.5rem; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .closing { padding: 5rem 1.5rem; }
  footer { padding: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.75rem; align-items: flex-start; }

  /* demo responsive */
  .demo-section { padding: 4rem 1.5rem; }
  .scenario-tabs { gap: 0.5rem; }
  .scenario-tab { font-size: 0.75rem; padding: 0.45rem 0.85rem; }
  .terminal-chrome { padding: 0.6rem 0.9rem; }
  .terminal-title { display: none; }
  .terminal-body { min-height: 200px; font-size: 0.72rem; }

  /* waitlist responsive */
  .waitlist-section { padding: 4rem 1.5rem; }
  .waitlist-inner { flex-direction: column; gap: 2rem; text-align: left; }
  .waitlist-inner h2 { font-size: 1.75rem; }
  .wl-input-row { flex-direction: column; }
  .wl-submit { width: 100%; justify-content: center; }

  /* demo capture responsive */
  .demo-capture-section { padding: 2.5rem 1.5rem 3rem; }
  .dc-input-row { flex-direction: column; }
  .dc-submit { width: 100%; justify-content: center; }

  /* incidents responsive */
  .inc-hero { padding: 6rem 1.5rem 2.5rem; }
  .inc-counters { flex-direction: column; gap: 1.5rem; }
  .inc-counter-divider { display: none; }
  .inc-layout { flex-direction: column; padding: 0 1.5rem 4rem; }
  .inc-feed-col, .inc-replay-col { max-width: 100%; }
  .inc-replay-panel { position: relative; top: 0; }
  .inc-cta { padding: 4rem 1.5rem; }
  .inc-cta-inner h2 { font-size: 1.75rem; }
  .inc-scenario-chips { gap: 0.5rem; }
  .inc-chip { font-size: 0.75rem; padding: 0.35rem 0.7rem; }
}

/* === INCIDENTS DEMO WALL === */

.nav-active {
  color: var(--accent) !important;
}

.inc-hero {
  padding: 8rem 3rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.inc-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.inc-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  margin-top: 0.75rem;
}

.inc-subtitle {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 2.5rem;
}

.inc-counters {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.inc-counter {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.inc-counter-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inc-counter-label {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.4;
}

.inc-counter-divider {
  width: 1px;
  height: 3rem;
  background: var(--border);
  flex-shrink: 0;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
  margin-right: 0.15rem;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ── Two-column layout ────────────────────────────────────────── */

.inc-layout {
  display: flex;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 3rem 5rem;
  align-items: flex-start;
}

.inc-feed-col {
  flex: 1 1 0;
  min-width: 0;
}

.inc-replay-col {
  flex: 0 0 420px;
  min-width: 0;
}

.inc-feed-header {
  margin-bottom: 1.25rem;
}

.inc-feed-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.inc-feed-sub {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ── Feed cards ──────────────────────────────────────────────── */

.inc-feed {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  transition: border-color 0.2s;
}

.inc-card:hover {
  border-color: var(--accent);
}

.inc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.inc-card-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.inc-host {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

.inc-signal-type {
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 500;
}

.inc-card-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.inc-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}

.status-resolved  { background: rgba(0, 232, 122, 0.12); color: var(--green); }
.status-escalated { background: rgba(255, 140, 0, 0.12); color: var(--amber); }
.status-active    { background: rgba(0, 212, 255, 0.12); color: var(--accent); }

.sev-critical { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.sev-warning  { background: rgba(255, 140, 0, 0.12);  color: var(--amber); }
.sev-info     { background: rgba(0, 212, 255, 0.12);  color: var(--accent); }

.inc-card-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.inc-meta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  flex: 1;
}

.inc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.inc-meta-label {
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.inc-meta-val {
  font-size: 0.8rem;
  color: var(--text-2);
}

.ttr-val { color: var(--green); font-weight: 600; }

.inc-scenario-badge {
  font-size: 0.65rem;
  color: var(--text-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inc-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.inc-replay-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--accent);
}

/* ── Postmortem toggle button ───────────────────────────────── */
.inc-pm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 4px;
  padding: 0.25rem 0.55rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.inc-pm-btn:hover {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.5);
}
.inc-pm-btn[aria-expanded="true"] {
  background: rgba(167, 139, 250, 0.25);
  border-color: #a78bfa;
}

/* ── Collapsible postmortem panel ───────────────────────────── */
.inc-pm-panel {
  border-top: 1px solid var(--border);
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.2);
  animation: slideDown 0.2s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.inc-pm-body {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-2);
  font-family: 'Courier New', Courier, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  overflow-y: auto;
  padding: 0.5rem 0.75rem;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  border: 1px solid rgba(167, 139, 250, 0.15);
}
.inc-pm-body h1, .inc-pm-body h2, .inc-pm-body h3 {
  color: var(--text-1);
  margin: 0.8rem 0 0.4rem;
  font-size: 0.85rem;
}
.inc-pm-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.5rem 0;
  font-size: 0.72rem;
}
.inc-pm-body td, .inc-pm-body th {
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}
.inc-pm-body pre {
  background: rgba(0,0,0,0.4);
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  overflow-x: auto;
}

.inc-empty {
  font-size: 0.875rem;
  color: var(--text-3);
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 8px;
}

/* ── Replay panel ────────────────────────────────────────────── */

.inc-replay-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: sticky;
  top: 5.5rem;
}

.inc-replay-header {
  padding: 1.1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.inc-scenario-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.inc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.inc-chip:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.inc-chip-active {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  background: var(--accent-dim) !important;
}

.chip-status {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.chip-ok  { color: var(--green); }
.chip-esc { color: var(--amber); }

.inc-timeline-wrap {
  height: 400px;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.inc-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inc-timeline-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 340px;
  gap: 0.75rem;
  color: var(--text-3);
  text-align: center;
  line-height: 1.5;
}

.itp-icon { font-size: 1.5rem; opacity: 0.4; }
.itp-text { font-size: 0.82rem; }

/* ── Timeline steps ──────────────────────────────────────────── */

.inc-step {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 5px;
  animation: step-in 0.25s ease-out;
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-ok       { background: rgba(0, 232, 122, 0.05); }
.step-warn     { background: rgba(255, 140, 0, 0.07); }
.step-resolved { background: rgba(0, 232, 122, 0.1); }
.step-escalated { background: rgba(255, 140, 0, 0.1); }

.step-t {
  font-family: 'Courier New', monospace;
  font-size: 0.67rem;
  color: var(--text-3);
  min-width: 32px;
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.step-icon {
  font-size: 0.7rem;
  min-width: 14px;
  text-align: center;
  padding-top: 0.15rem;
  flex-shrink: 0;
}

.step-ok .step-icon       { color: var(--green); }
.step-warn .step-icon     { color: var(--amber); }
.step-resolved .step-icon { color: var(--green); }
.step-escalated .step-icon { color: var(--amber); }

.step-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.step-detail {
  font-size: 0.72rem;
  color: var(--text-2);
  line-height: 1.4;
}

/* ── Incidents CTA ───────────────────────────────────────────── */

.inc-cta {
  border-top: 1px solid var(--border);
  padding: 5rem 3rem;
  background: var(--surface);
}

.inc-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.inc-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.inc-cta-inner p {
  font-size: 0.975rem;
  color: var(--text-2);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.inc-cta-form .wl-input-row {
  justify-content: center;
}

/* ============================================================
   HOMEPAGE REBUILD — NEW SECTIONS (2026-05-29)
   proof-strip, runbooks, install, integrations, incidents-preview
   ============================================================ */

/* === SHARED SECTION HELPERS === */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.65;
}

/* === PROOF STRIP === */
.proof-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 3rem;
}
.proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
}
.proof-counter {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 1.5rem 2rem;
}
.proof-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.proof-label {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.proof-label span {
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}
.proof-live-badge {
  position: absolute;
  top: 1rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 2.4s ease-in-out infinite;
}
.proof-sources {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.proof-sources-label {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}
.proof-source-chip {
  font-weight: 600;
  color: var(--text-2);
  font-size: 0.78rem;
}
.proof-source-sep {
  color: var(--border);
  font-size: 0.9rem;
}

/* === RUNBOOKS === */
.runbooks {
  padding: 6rem 3rem;
  background: var(--bg);
}
.runbooks-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.runbooks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.rb-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  transition: border-color 0.2s;
}
.rb-card.rb-live:hover {
  border-color: rgba(0, 212, 255, 0.3);
}
.rb-status-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(0, 232, 122, 0.3);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  background: rgba(0, 232, 122, 0.06);
}
.rb-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}
.rb-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.rb-signal {
  font-size: 0.75rem;
  color: var(--accent);
  font-family: 'Courier New', monospace;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}
.rb-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.rb-card p code {
  font-family: 'Courier New', monospace;
  font-size: 0.8em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.1em 0.35em;
  color: var(--accent);
}
.rb-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rb-time {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.rb-footer-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.6;
}
.rb-footer-note code {
  font-family: 'Courier New', monospace;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.1em 0.35em;
  color: var(--text-2);
}

/* === INSTALL === */
.install {
  padding: 6rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.install-inner {
  max-width: 860px;
  margin: 0 auto;
}
.install-tabs {
  margin-top: 2.5rem;
}
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.tab-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab-panel {
  display: none;
}
.tab-panel.tab-panel-active {
  display: block;
}
.code-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.code-lang {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.copy-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.copy-btn:hover {
  color: var(--accent);
  border-color: rgba(0, 212, 255, 0.35);
}
.code-block pre {
  padding: 1.5rem 1.25rem;
  overflow-x: auto;
  margin: 0;
}
.code-block code {
  font-family: 'Courier New', 'Menlo', monospace;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text);
  white-space: pre;
}
.install-cta {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.install-gh-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.install-gh-link:hover { color: var(--text); }

/* === INTEGRATIONS === */
.integrations {
  padding: 6rem 3rem;
  background: var(--bg);
}
.integrations-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.int-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: default;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.int-card.int-live:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}
.int-card.int-roadmap {
  opacity: 0.45;
}
.int-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.int-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.int-name-dim { color: var(--text-2); }
.int-point {
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.4;
}
.int-roadmap-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.15rem 0.4rem;
  display: inline-block;
}
/* Tooltip on hover */
.int-card[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-2);
  white-space: normal;
  width: 220px;
  z-index: 10;
  line-height: 1.5;
  pointer-events: none;
}

/* === INCIDENTS PREVIEW === */
.inc-preview {
  padding: 6rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.inc-preview-inner {
  max-width: 860px;
  margin: 0 auto;
}
.inc-preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.inc-preview-header .section-tag { margin-bottom: 0.4rem; }
.inc-preview-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.inc-preview-header .section-sub {
  text-align: left;
  margin: 0;
}
.inc-preview-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  padding-top: 0.5rem;
  transition: opacity 0.2s;
}
.inc-preview-cta:hover { opacity: 0.75; }
.inc-preview-loading,
.inc-preview-empty {
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-3);
}
.inc-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.inc-preview-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.inc-preview-left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}
.inc-sev-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  flex-shrink: 0;
}
.sev-crit { background: rgba(255, 60, 60, 0.15); color: #ff5c5c; border: 1px solid rgba(255,60,60,0.25); }
.sev-warn { background: rgba(255, 140, 0, 0.12); color: var(--amber); border: 1px solid rgba(255,140,0,0.25); }
.sev-info { background: rgba(0, 212, 255, 0.08); color: var(--accent); border: 1px solid rgba(0,212,255,0.2); }
.inc-preview-signal {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: capitalize;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inc-preview-source {
  font-size: 0.75rem;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inc-preview-right {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}
.inc-status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.inc-status-resolved {
  background: rgba(0, 232, 122, 0.1);
  color: var(--green);
  border: 1px solid rgba(0,232,122,0.25);
}
.inc-status-active {
  background: rgba(255, 140, 0, 0.1);
  color: var(--amber);
  border: 1px solid rgba(255,140,0,0.25);
}
.inc-ttr {
  font-size: 0.75rem;
  color: var(--text-2);
}
.inc-ago {
  font-size: 0.72rem;
  color: var(--text-3);
}
.inc-preview-footer {
  text-align: center;
  margin-top: 2rem;
}
.inc-view-all {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.inc-view-all:hover { color: var(--text); }

/* === FOOTER UPDATES === */
.footer-mission {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-top: 0.25rem;
}
.footer-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.footer-link {
  font-size: 0.82rem;
  color: var(--text-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }
.footer-link svg { opacity: 0.7; }
.footer-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-3);
}
.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

/* === RESPONSIVE — NEW SECTIONS === */
@media (max-width: 768px) {
  .proof-inner {
    flex-direction: column;
    gap: 0;
  }
  .proof-divider {
    width: 60px;
    height: 1px;
  }
  .proof-live-badge {
    position: static;
    justify-content: center;
    margin-top: 1rem;
  }
  .runbooks-grid {
    grid-template-columns: 1fr;
  }
  .int-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  .inc-preview-header {
    flex-direction: column;
  }
  .inc-preview-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .inc-preview-right {
    flex-wrap: wrap;
  }
  footer .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
  }
  .proof-strip,
  .runbooks,
  .install,
  .integrations,
  .inc-preview {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .install-inner,
  .runbooks-inner,
  .integrations-inner,
  .inc-preview-inner {
    max-width: 100%;
  }
}

/* ============================================================
   SANDBOX SECTION — Interactive live-agent demo
   ============================================================ */

.sandbox-section {
  padding: 6rem 3rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.sandbox-inner {
  max-width: 920px;
  margin: 0 auto;
}

.sandbox-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.sandbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.sandbox-label::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 2.4s ease-in-out infinite;
}

.sandbox-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.sandbox-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.65;
}

.sandbox-disclaimer {
  display: block;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 0.4rem;
  font-style: italic;
}

/* Trigger buttons */
.sandbox-triggers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sandbox-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  color: var(--text);
  font-family: var(--font-body);
  text-align: center;
}

.sandbox-btn:hover:not(.sbtn-disabled) {
  border-color: rgba(0, 212, 255, 0.45);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.sandbox-btn.sbtn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.sbtn-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.sbtn-label {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.sbtn-sub {
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.4;
}

/* Terminal */
.sandbox-terminal {
  background: #060810;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Courier New', 'Menlo', monospace;
}

.terminal-topbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.tbar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tbar-red    { background: #ff5f57; }
.tbar-yellow { background: #febc2e; }
.tbar-green  { background: #28c840; }

.tbar-title {
  margin-left: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
  flex: 1;
}

.tbar-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}
.badge-running  { background: rgba(0,212,255,0.12); color: var(--accent); border: 1px solid rgba(0,212,255,0.3); }
.badge-ok       { background: rgba(0,232,122,0.12); color: var(--green);  border: 1px solid rgba(0,232,122,0.3); }
.badge-warn     { background: rgba(255,140,0,0.12); color: var(--amber);  border: 1px solid rgba(255,140,0,0.3); }
.badge-error    { background: rgba(239,68,68,0.12); color: #f87171;       border: 1px solid rgba(239,68,68,0.3); }
.badge-cooldown { background: rgba(122,133,153,0.12); color: var(--text-3); border: 1px solid var(--border); }

.terminal-body {
  min-height: 340px;
  max-height: 480px;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  scroll-behavior: smooth;
}

/* Idle state */
.terminal-idle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-3);
  font-size: 0.85rem;
  padding-top: 0.25rem;
}
.ti-prompt { color: var(--green); }
.ti-text   { color: var(--text-3); }

/* Log lines */
.log-line {
  font-size: 0.78rem;
  line-height: 1.55;
  padding: 0.1rem 0;
  animation: fadeSlideIn 0.18s ease-out;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: translateY(0); }
}

.log-ts {
  color: var(--text-3);
  margin-right: 0.75rem;
  font-size: 0.68rem;
  user-select: none;
}

.log-system   { color: var(--text-2); font-style: italic; }

.log-phase {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.73rem;
  padding: 0.15rem 0;
  display: inline-block;
  margin-top: 0.35rem;
}

.log-label {
  color: var(--text);
  font-weight: 600;
}

.log-detail {
  margin-left: 1.2rem;
}

.log-continuation {
  margin-left: 1.2rem;
  color: var(--text-2);
}

/* Step status colors */
.log-ok     { color: var(--green); }
.log-warn   { color: var(--amber); }
.log-action { color: var(--accent); }
.log-info   { color: var(--text-2); }
.log-error  { color: #f87171; }
.log-resolved { color: var(--green); font-weight: 700; }

/* Responsive */
@media (max-width: 768px) {
  .sandbox-section  { padding: 4rem 1.5rem; }
  .sandbox-triggers { grid-template-columns: 1fr; }
  .sandbox-btn      { flex-direction: row; text-align: left; gap: 0.75rem; }
  .sbtn-icon        { font-size: 1.25rem; flex-shrink: 0; }
  .terminal-body    { min-height: 260px; max-height: 360px; font-size: 0.72rem; }
}