:root {
  --bg: #0b0b0c;
  --bg-raised: #141416;
  --bg-sunken: #08080a;
  --line: #26262a;
  --line-strong: #3a3a40;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-faint: #71717a;
  --accent: #9db8ff;
  --accent-strong: #c7d6ff;
  --on-accent: #0b0b0c;
  --clip-video: #4f6bd8;
  --clip-video-alt: #3c56b8;
  --clip-audio: #2f8f6f;
  --clip-caption: #b07a2b;
  --clip-graphic: #8a4fd8;
  --playhead: #f4f4f5;
  --radius: 14px;
  --radius-small: 8px;
  --page: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

img { display: block; max-width: 100%; }

.page { width: min(var(--page), 100% - 48px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .page { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }

.brand img { width: 28px; height: 28px; border-radius: 7px; }

.site-nav { display: flex; gap: 28px; font-size: 15px; }

.site-nav a { color: var(--text-muted); text-decoration: none; }

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

.hero { padding: 96px 0 72px; text-align: center; }

.hero h1 {
  margin: 0 auto 20px;
  max-width: 14ch;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero .lede { margin: 0 auto 36px; max-width: 40rem; color: var(--text-muted); font-size: clamp(17px, 2vw, 20px); }

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 120ms ease, border-color 120ms ease;
}

.button:hover { border-color: var(--text-faint); }

.button.primary { background: var(--text); color: var(--on-accent); border-color: var(--text); }

.button.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }

.version-note { margin-top: 18px; color: var(--text-faint); font-size: 14px; }

.mock {
  margin: 64px auto 0;
  max-width: 1000px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-raised);
  overflow: hidden;
  box-shadow: 0 40px 120px -40px color-mix(in srgb, var(--accent) 35%, transparent);
  text-align: left;
}

.mock-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }

.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }

.mock-body { display: grid; grid-template-columns: 1fr 280px; min-height: 300px; }

.mock-viewer {
  margin: 16px;
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, var(--clip-video-alt), var(--bg-sunken) 70%);
  display: grid;
  place-items: center;
  min-height: 240px;
}

.mock-viewer img { width: 72px; opacity: 0.9; }

.mock-chat { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }

.bubble { padding: 10px 12px; border-radius: 10px; background: var(--bg-sunken); border: 1px solid var(--line); color: var(--text-muted); }

.bubble.user { align-self: flex-end; background: var(--line); color: var(--text); max-width: 90%; }

.bubble .tool { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11px; color: var(--accent); }

.mock-timeline { position: relative; border-top: 1px solid var(--line); padding: 14px 16px 18px; display: grid; gap: 6px; background: var(--bg-sunken); }

.track { display: flex; gap: 3px; height: 22px; }

.clip { border-radius: 4px; }

.clip.video { background: var(--clip-video); }

.clip.video.alt { background: var(--clip-video-alt); }

.clip.audio { background: var(--clip-audio); }

.clip.caption { background: var(--clip-caption); height: 14px; align-self: center; }

.clip.graphic { background: var(--clip-graphic); }

.gap { flex: none; }

.w10 { width: 10%; } .w12 { width: 12%; } .w14 { width: 14%; } .w15 { width: 15%; } .w16 { width: 16%; }
.w18 { width: 18%; } .w22 { width: 22%; } .w28 { width: 28%; } .w34 { width: 34%; } .w84 { width: 84%; }

.playhead { position: absolute; top: 6px; bottom: 6px; left: 38%; width: 2px; background: var(--playhead); border-radius: 1px; }

section { padding: 88px 0; scroll-margin-top: 64px; }

.section-head { max-width: 40rem; margin-bottom: 48px; }

.eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 10px; }

h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; }

.section-head p { margin: 0; color: var(--text-muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }

.feature h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }

.feature p { margin: 0; color: var(--text-muted); font-size: 15.5px; }

.downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.download {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  text-decoration: none;
  transition: border-color 120ms ease;
}

.download:hover { border-color: var(--text-faint); }

.download.suggested { border-color: var(--accent); }

.download strong { font-size: 18px; }

.download .detail { color: var(--text-muted); font-size: 14px; }

.download .file { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); word-break: break-all; }

.notes { margin-top: 28px; display: grid; gap: 8px; color: var(--text-faint); font-size: 14px; }

.notes p { margin: 0; }

.notes code, .prose code { font-family: var(--mono); font-size: 0.92em; color: var(--text-muted); }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--text-faint); font-size: 14px; }

.site-footer .page { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.site-footer a { color: var(--text-muted); text-decoration: none; }

.site-footer a:hover { color: var(--text); }

.prose { max-width: 44rem; padding: 72px 0 96px; }

.prose h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }

.prose h2 { font-size: 24px; margin: 40px 0 10px; }

.prose p, .prose li { color: var(--text-muted); }

.prose .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 32px; }

.not-found { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 12px; }

.not-found h1 { margin: 0; font-size: 44px; letter-spacing: -0.03em; }

@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .downloads { grid-template-columns: 1fr 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-chat { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .features, .downloads { grid-template-columns: 1fr; }
  .site-nav { gap: 18px; }
  .site-nav .optional { display: none; }
  .hero { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
