:root {
  color-scheme: dark;
  --bg: #07101f;
  --panel: #101c31;
  --text: #f7f9fc;
  --muted: #aebbd0;
  --accent: #35d6c7;
  --line: #263750;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top right, #153153 0, var(--bg) 42%);
  color: var(--text);
  font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
.wrap { width: min(920px, calc(100% - 36px)); margin: 0 auto; }
header { border-bottom: 1px solid var(--line); background: rgba(7, 16, 31, .86); }
nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--text); font-weight: 800; text-decoration: none; font-size: 1.1rem; }
.links { display: flex; flex-wrap: wrap; gap: 16px; }
.links a { color: var(--muted); text-decoration: none; font-size: .92rem; }
main { padding: 64px 0 80px; }
.hero { padding: 34px 0 48px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 8px 0 18px; font-size: clamp(2.2rem, 7vw, 4.6rem); line-height: 1.06; }
h2 { margin-top: 40px; line-height: 1.25; }
p, li { color: var(--muted); }
.lead { max-width: 740px; font-size: 1.18rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.card, .policy { border: 1px solid var(--line); border-radius: 18px; background: rgba(16, 28, 49, .88); padding: 26px; }
.card h2 { margin-top: 0; }
.button { display: inline-block; margin-top: 18px; padding: 11px 18px; border-radius: 999px; background: var(--accent); color: #041318; text-decoration: none; font-weight: 800; }
.meta { color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.policy { max-width: 820px; }
.policy h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.demo-main { width: min(1120px, calc(100% - 36px)); }
.demo-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 30px; }
.demo-heading h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.status-pill { white-space: nowrap; border: 1px solid #2c806f; border-radius: 999px; padding: 7px 13px; color: #7df0d9; background: #0a2c2b; font-weight: 750; }
.slide-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0 0 26px; }
.slide-strip figure { position: relative; margin: 0; }
.slide-strip img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.slide-strip figcaption { position: absolute; right: 8px; bottom: 8px; min-width: 28px; text-align: center; border-radius: 999px; background: rgba(4, 19, 24, .86); color: white; font-weight: 800; }
.review-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.review-card h2, .approval-panel h2 { margin-top: 0; }
.review-card dl { margin: 0; }
.review-card dl div { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding: 9px 0; }
.review-card dl div:first-child { border-top: 0; }
.review-card dt { color: var(--muted); }
.review-card dd { margin: 0; text-align: right; font-weight: 700; }
.approval-panel { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(16, 28, 49, .88); padding: 26px; }
.approval-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.approval-actions .button { border: 0; font: inherit; cursor: pointer; }
.approval-actions .button:disabled { cursor: not-allowed; opacity: .48; }
.button.secondary { color: var(--text); background: transparent; border: 1px solid var(--line); }
.safety-note { margin-bottom: 0; font-size: .9rem; }
footer { padding: 26px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) {
  nav { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .grid { grid-template-columns: 1fr; }
  .demo-heading { display: block; }
  .status-pill { display: inline-block; margin-top: 8px; }
  .slide-strip { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  main { padding-top: 36px; }
}
