:root {
  --bg: #0b0b14;
  --bg-2: #11111d;
  --panel: #16162a;
  --line: #262643;
  --text: #e8e8f4;
  --dim: #a2a2c0;
  --faint: #6e6e92;
  --violet: #7c3aed;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --green: #34d399;
  --amber: #fbbf24;
  --radius: 14px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

code,
pre {
  font-family:
    ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

code {
  font-size: 0.88em;
  background: #ffffff10;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

a {
  color: inherit;
}

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

/* ------------------------------------------------------------------ nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  background: #0b0b14e0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    var(--violet),
    var(--blue) 55%,
    var(--cyan)
  );
  box-shadow: inset 0 0 0 1px #ffffff2e;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

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

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

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #ffffff0a;
  color: var(--text);
  text-decoration: none;
  font-weight: 550;
  font-size: 14px;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    transform 140ms ease;
}

.btn:hover {
  background: #ffffff14;
  border-color: #3a3a63;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  border-color: transparent;
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #8b4bf5, #3272f0);
}

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

/* ----------------------------------------------------------------- hero */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 76px 24px 40px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 640;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 680;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff, #b9b9dd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0 52px;
}

.video-frame {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px #7c3aed40,
    0 0 0 1px #ffffff08;
}

/*
 * The video carries a voiceover, so it is a click-to-play player rather than an
 * autoplaying loop. object-fit is deliberately omitted: the recording is 16/9
 * and cropping it would cut off the UI it is meant to show.
 */
.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

.video-fallback {
  padding: 24px;
  color: var(--dim);
  font-size: 14px;
}

.video-caption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

/* -------------------------------------------------------------- shots */

.shots {
  padding: 0 0 64px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}

/* The screenshots are 1080p; width/height are declared so nothing reflows. */
.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

/* -------------------------------------------------------------- problem */

.problem {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.problem h2,
.features h2,
.how h2,
.privacy h2,
.install h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 660;
  margin-bottom: 32px;
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.problem-grid h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.problem-grid p {
  margin: 0;
  color: var(--dim);
  font-size: 15px;
}

/* ------------------------------------------------------------- features */

.features {
  padding: 72px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: 0.5;
}

.feature-wide {
  grid-column: span 2;
  background: linear-gradient(160deg, #1d1838, var(--panel) 60%);
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 9px;
}

.feature p {
  margin: 0 0 10px;
  color: var(--dim);
  font-size: 14.5px;
}

.feature p:last-child {
  margin-bottom: 0;
}

.feature strong {
  color: var(--text);
}

/* ------------------------------------------------------------------ how */

.how {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.steps li {
  position: relative;
  padding-top: 8px;
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  margin-bottom: 12px;
  font-weight: 680;
  font-size: 14px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
}

.steps h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--dim);
  font-size: 15px;
}

/* -------------------------------------------------------------- privacy */

.privacy {
  padding: 72px 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.privacy-good,
.privacy-warn {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px 24px;
}

.privacy-good {
  border-left: 3px solid var(--green);
}

.privacy-warn {
  border-left: 3px solid var(--amber);
}

.privacy h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.privacy ul {
  margin: 0;
  padding-left: 20px;
  color: var(--dim);
  font-size: 14.5px;
}

.privacy li {
  margin-bottom: 7px;
}

.privacy li:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------------- install */

.install {
  padding: 72px 0 86px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  text-align: center;
}

.install-lede {
  color: var(--dim);
  margin: -18px 0 26px;
  font-size: 15px;
}

.code {
  display: inline-block;
  margin: 0 auto;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  text-align: left;
  overflow-x: auto;
  max-width: 100%;
}

.code code {
  background: none;
  border: none;
  padding: 0;
}

.install-note,
.install-after {
  color: var(--dim);
  font-size: 14.5px;
  margin: 16px 0 0;
}

.install-after strong {
  color: var(--text);
}

/* ----------------------------------------------------------------- foot */

.foot {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  text-align: center;
}

.foot p {
  margin: 0;
}

@media (max-width: 720px) {
  .feature-wide {
    grid-column: span 1;
  }
  .nav nav a:not(.btn) {
    display: none;
  }
}

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