@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #181818;
  --line: #313131;
  --text: #ffffff;
  --muted: #9b9b9b;
  --dim: rgb(255 255 255 / 0.3);
  --accent: #7a6bff;
  --pink: #ff2d92;
  --yellow: #ffcc00;
  --blue: #0a84ff;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
ol {
  margin: 0;
}

h1,
h2 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: 8px;
  transition: top 700ms var(--ease);
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Floating pill, detached from the top. */
.nav {
  position: sticky;
  top: 24px;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.nav__pill {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: rgb(24 24 24 / 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}

.nav__brand img {
  border-radius: 8px;
}

.nav__link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 700ms var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--text);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 80px;
  text-align: center;
}

.hero__title {
  max-width: 680px;
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding-bottom: 4px;
  background: linear-gradient(90deg, #ffffff, #9b9b9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 680px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--muted);
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--yellow);
}

.shots {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 40px;
}

.shots img {
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--line);
  border-radius: 32px;
}

.section {
  padding-top: 96px;
}

.heading {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
  margin-top: 40px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--muted);
  transition: transform 700ms var(--ease);
}

.steps li:hover {
  transform: translateY(-4px);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #000000;
  background: var(--mark, var(--accent));
}

.steps li:nth-child(1) { --mark: var(--blue); }
.steps li:nth-child(2) { --mark: var(--pink); }
.steps li:nth-child(3) { --mark: var(--yellow); }
.steps li:nth-child(4) { --mark: #30c759; }

/* The large statement. Each word lights up as it crosses the trigger line. */
.reveal-line {
  max-width: 680px;
  margin: 0 auto;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

.js .reveal-line .word {
  color: var(--dim);
  transition: color 700ms var(--ease);
}

.js .reveal-line .word.is-lit {
  color: var(--text);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 96px;
  padding-bottom: 48px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  text-align: center;
}

.footer p {
  max-width: 680px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
  padding-top: 80px;
}

.prose h1 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
}

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

.prose .updated {
  font-size: 14px;
  line-height: 20px;
}

/* Elements rise in as they enter the viewport. Without JavaScript they are simply there. */
.js .reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(64px);
  transition: opacity 800ms var(--ease), filter 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

@media (max-width: 640px) {
  .hero__title {
    font-size: 36px;
    line-height: 40px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .shots {
    gap: 12px;
  }

  .reveal-line {
    font-size: 30px;
    line-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-line .word,
  .steps li {
    transition: none;
  }

  .js .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
