:root {
  --bg: #0d0d10;
  --surface: #17171c;
  --text: #f4f4f6;
  --muted: #9a9aa6;
  --line: #2a2a32;
  --accent: #beff46;
  --track: #c23aff;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }

nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.lead { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 28px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* A still frame of the overlay, drawn in CSS: video, track, pill metrics. */
.frame {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55)),
    linear-gradient(160deg, #6f7f8f 0%, #8a8471 45%, #5d6b5a 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.frame svg.route { position: absolute; left: 10%; top: 9%; width: 52%; }
.panel {
  position: absolute;
  left: 7%;
  bottom: 6%;
  padding: 18px 20px 16px;
  border-radius: 18px;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(6px);
  color: #fff;
}
.pill {
  display: inline-block;
  border: 1.5px solid #fff;
  border-radius: 999px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 500;
  margin-left: -8px;
}
.value { font-size: 34px; font-weight: 700; line-height: 1.05; margin: 2px 0 10px; }
.value small { font-size: 15px; margin-left: 3px; }
.checker {
  position: absolute;
  right: 7%;
  top: 7%;
  width: 46px;
  height: 120px;
  background: repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0 / 23px 30px;
  transform: skewY(-12deg);
  opacity: .95;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 80px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
footer nav a { margin: 0 20px 0 0; }

/* Text pages: privacy, 404. */
.doc { max-width: 720px; padding: 32px 0 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 21px; margin: 36px 0 10px; }
.doc p, .doc li { color: #cfcfd6; }
.doc .updated { color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 40px; }
  .frame { max-width: 360px; width: 100%; justify-self: center; }
  .features { grid-template-columns: 1fr; }
  nav a { margin-left: 14px; }
}
