:root {
  --bg: #0b0d12;
  --bg-raised: #12151d;
  --text: #e8eaf0;
  --text-dim: #9aa3b2;
  --accent: #7c5cff;
  --accent-2: #2bb3ff;
  --border: #232836;
  --radius: 14px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent-2); }

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 56px;
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(124, 92, 255, 0.25), transparent 70%),
    radial-gradient(600px 300px at 80% 0%, rgba(43, 179, 255, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border);
}

.thread-link {
  margin: 16px auto 0;
  font-size: 15px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: #fff;
}

.hero h1 .grad {
  background: linear-gradient(100deg, #9d86ff, #7fd0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (forced-colors: active) {
  .hero h1 .grad { background: none; -webkit-text-fill-color: currentColor; }
}

.lede {
  max-width: 660px;
  margin: 0 auto 20px;
  font-size: 19px;
  color: var(--text);
}

.byline {
  max-width: 660px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--text-dim);
}

.byline a { color: var(--accent-2); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.chips a {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.chips a:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Sections ---------- */

section { padding: 40px 24px; }

.capability h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 8px;
}

.capability { scroll-margin-top: 24px; }

.capability > p {
  color: var(--text-dim);
  max-width: 760px;
  margin-top: 0;
}

.emoji { margin-right: 6px; }

.grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }

.grid video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  cursor: pointer;
}

.vwrap { position: relative; }

.mute-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mute-btn:hover { background: rgba(0, 0, 0, 0.85); }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 32px 0 48px;
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
}

.fine { font-size: 13px; }

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
}
