:root {
  --bg: #0a0a0b;
  --surface: #131315;
  --line: #242428;
  --text: #f3f2ee;
  --muted: #9b9a95;
  --accent: #ff5a1f;
  --accent-ink: #0a0a0b;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }

.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ff7442; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn:active { transform: translateY(1px); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10 10 11 / 0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.top-row { display: flex; align-items: center; gap: 32px; height: 72px; }
.mark { font-size: 18px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; white-space: nowrap; }
.top nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.top nav a:hover { color: var(--text); }

/* Hero */
.hero { padding-top: 112px; padding-bottom: 64px; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(48px, 8.6vw, 112px); line-height: 0.94; letter-spacing: -0.035em;
  font-weight: 800; font-stretch: 108%;
}
.hero h1 span { color: var(--muted); }
.lede { margin-top: 28px; max-width: 30em; font-size: 21px; line-height: 1.5; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Video */
.watch { padding-bottom: 120px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; color: var(--text); font: inherit; text-align: left; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.8); transition: filter 0.2s; }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0 0 0 / 0.85)); }
.video-facade:hover img { filter: saturate(1) brightness(0.9); }
.play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 96px; height: 96px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--accent); transition: transform 0.2s;
}
.play::after {
  content: ""; position: absolute; left: 38px; top: 30px;
  border-style: solid; border-width: 18px 0 18px 28px; border-color: transparent transparent transparent var(--accent-ink);
}
.video-facade:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.video-meta { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1; display: flex; align-items: baseline; gap: 16px; }
.ep { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); }
.video-title { font-size: 26px; font-weight: 700; font-stretch: 105%; letter-spacing: -0.01em; line-height: 1.2; }
.video-len { margin-left: auto; font-size: 15px; color: var(--muted); white-space: nowrap; }
.watch-note { margin-top: 18px; max-width: 46em; font-size: 16px; color: var(--muted); }
.watch-note a { color: var(--text); white-space: nowrap; }
.watch-note a:hover { color: var(--accent); }

/* Points */
.points { padding-bottom: 120px; }
.points h2, .build h2, .about h2 {
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; font-stretch: 106%;
}
.points ol { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.points li { padding: 32px 32px 0 0; }
.points li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.n { display: block; font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; }
.points h3 { margin-top: 18px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.points p { margin-top: 10px; font-size: 17px; color: var(--muted); }

/* Free build */
.build { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.build-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; padding-top: 96px; padding-bottom: 96px; }
.build h2 { margin-top: 18px; }
.build p:not(.kicker) { font-size: 19px; color: var(--muted); }
.build .actions { margin-top: 28px; }

/* About */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; padding-top: 120px; padding-bottom: 120px; }
.about img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); }
.about h2 { margin-bottom: 28px; }
.about p { font-size: 19px; color: var(--muted); max-width: 30em; }
.about p + p { margin-top: 16px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 72px 0 40px; }
.foot-cta {
  display: inline-block; font-size: clamp(34px, 6vw, 72px); line-height: 1; letter-spacing: -0.035em;
  font-weight: 800; font-stretch: 108%; transition: color 0.15s;
}
.foot-cta span { color: var(--accent); }
.foot-cta:hover { color: var(--accent); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; font-size: 15px; color: var(--muted); }
.social { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.social a:hover { color: var(--text); }

/* 404 */
.lost { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }

/* Tablet */
@media (max-width: 900px) {
  .points ol { grid-template-columns: 1fr; border-top: 0; margin-top: 32px; }
  .points li, .points li + li { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .build-row { grid-template-columns: 1fr; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
  .about { grid-template-columns: 1fr; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
  .about img { max-width: 420px; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-row { height: 64px; gap: 12px; }
  .top nav { display: none; }
  .top .btn-sm { margin-left: auto; }
  .hero { padding-top: 64px; padding-bottom: 40px; }
  .lede { font-size: 18px; }
  .actions .btn { flex: 1 1 100%; }
  .watch, .points { padding-bottom: 88px; }
  .video { border-radius: 12px; }
  .play { width: 64px; height: 64px; }
  .play::after { left: 25px; top: 20px; border-width: 12px 0 12px 19px; }
  .video-meta { left: 14px; right: 14px; bottom: 12px; gap: 10px; }
  .video-title { font-size: 15px; }
  .video-len { display: none; }
  .ep { font-size: 11px; }
  .build p:not(.kicker), .about p { font-size: 17px; }
}
