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

:root {
  --bg: #111114;
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --line: #2a2a2e;
  --stage: #1a1a1e;
  --buy: linear-gradient(180deg, #58c4ff 0%, #1d9bf0 52%, #0a86d9 100%);
  --buy-ink: #fff;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: Geist, ui-sans-serif, system-ui, sans-serif;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

body {
  position: relative;
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--bg);
}

.glow {
  pointer-events: none;
  position: absolute;
  inset: -10% 10% auto;
  height: 28rem;
  background: radial-gradient(ellipse at 50% 0%, rgb(80 70 90 / 28%), transparent 70%);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ink) 70%, transparent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(64rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.15rem 0;
}

.mark {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  padding: 0.4rem 0.9rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--buy);
  color: var(--buy-ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.buy svg {
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
}

.buy:hover {
  background: linear-gradient(180deg, #73ceff 0%, #33aaf5 52%, #1493e6 100%);
}

.hero {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.25rem 0 2.25rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero p {
  margin: 1rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.hero .buy {
  margin-top: 1.5rem;
}

.hero .meta {
  margin: 0.7rem 0 0;
  max-width: none;
  font-size: 0.75rem;
}

.confetti {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
}

.demo {
  position: relative;
  width: min(56rem, calc(100% - 2.5rem));
  margin: 0 auto 2.5rem;
  aspect-ratio: 16 / 10;
  border-radius: 0.85rem;
  background: var(--stage);
  box-shadow: 0 24px 60px rgb(0 0 0 / 35%);
  outline: 1px solid rgb(255 255 255 / 8%);
}

.demo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.85rem;
  background: #0a0a0c;
}

.demo video::-webkit-media-controls-panel {
  display: flex !important;
  opacity: 1 !important;
}

.demo video::-webkit-media-controls-mute-button,
.demo video::-webkit-media-controls-fullscreen-button,
.demo video::-webkit-media-controls-overflow-button,
.demo video::-webkit-media-controls-current-time-display,
.demo video::-webkit-media-controls-time-remaining-display,
.demo video::-webkit-media-controls-volume-slider {
  display: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  width: min(56rem, calc(100% - 2.5rem));
  margin: 0 auto 4rem;
}

.features h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.features p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 17.5rem) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: start;
  width: min(56rem, calc(100% - 2.5rem));
  margin: 0 auto 4.5rem;
}

.faq h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

.faq-intro p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: -0.015em;
}

.faq-intro a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.faq-intro a:hover {
  color: var(--ink);
}

.faq-list {
  margin: 0;
}

.faq-list div {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.faq-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-list dt {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.faq-list dd {
  margin: 0.4rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(64rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

@media (max-width: 560px) {
  .bar,
  .hero,
  .demo,
  .features,
  .faq,
  .foot {
    width: min(64rem, calc(100% - 1.5rem));
  }

  .hero {
    padding-top: 2rem;
  }

  .demo {
    aspect-ratio: 4 / 3;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.25rem;
  }
}
