@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;
  --surface-2: #1f1f1f;
  --surface-3: #272727;
  --line: #313131;
  --text: #ffffff;
  --muted: #9b9b9b;
  --dim: rgb(255 255 255 / 0.3);
  --accent: #5c8fff;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

html.menu-open {
  overflow: hidden;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
dd,
li {
  text-wrap: pretty;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

.skip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 60;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-96px);
  transition: transform 700ms var(--ease);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 16px;
}

.section {
  padding-block: 64px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Navigation */

.nav {
  position: sticky;
  top: 24px;
  z-index: 50;
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-inline: 16px;
  pointer-events: none;
}

.nav__pill {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  max-width: 100%;
  padding: 8px 8px 8px 16px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 9999px;
  background: rgb(24 24 24 / 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  pointer-events: auto;
}

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

.nav__brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.nav__links {
  display: none;
  gap: 24px;
}

.nav__links a,
.nav__back {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 700ms var(--ease);
}

.nav__links a:hover,
.nav__links a[aria-current],
.nav__back:hover {
  color: var(--text);
}

.nav__links a:active,
.nav__back:active {
  transform: translateY(1px);
}

.nav__back {
  padding: 8px 12px;
}

.nav__soon {
  display: none;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--surface-3);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.nav__toggle {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: var(--surface-3);
  cursor: pointer;
  transition: background-color 700ms var(--ease), transform 700ms var(--ease);
}

.nav__toggle:hover {
  background: var(--line);
}

.nav__toggle:active {
  transform: scale(0.98);
}

.nav__toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 700ms var(--ease);
}

.nav__toggle span:first-child {
  transform: translateY(-4px);
}

.nav__toggle span:last-child {
  transform: translateY(4px);
}

.nav__toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 24px 48px;
  background: rgb(0 0 0 / 0.8);
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease), visibility 0s;
}

.menu a {
  display: block;
  padding-block: 12px;
  overflow: hidden;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.menu a span {
  display: block;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.menu.is-open a span {
  opacity: 1;
  transform: none;
}

.menu.is-open li:nth-child(1) span { transition-delay: 100ms; }
.menu.is-open li:nth-child(2) span { transition-delay: 150ms; }
.menu.is-open li:nth-child(3) span { transition-delay: 200ms; }
.menu.is-open li:nth-child(4) span { transition-delay: 250ms; }

.menu a[aria-current] span {
  color: var(--accent);
}

/* Hero */

.hero {
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}

.eyebrow {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--accent);
}

.hero__title {
  max-width: 680px;
  margin: 16px auto 0;
  padding-bottom: 8px;
  background: linear-gradient(90deg, #ffffff, #9b9b9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hero__sub {
  max-width: 680px;
  margin: 16px auto 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

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

.hero .badge {
  margin-top: 32px;
}

.hero__price {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.hero__proof {
  max-width: 680px;
  margin: 8px auto 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.stage {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin: 64px auto 0;
  aspect-ratio: 343 / 372;
}

.stage__land {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.stage__port {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 40%;
}

.stage__port .device {
  filter: drop-shadow(0 24px 48px rgb(0 0 0 / 0.64));
}

/* Devices */

.device {
  width: 100%;
  height: auto;
}

/* Tagline */

.tagline {
  max-width: 680px;
  margin-inline: auto;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.js .tagline span {
  color: var(--dim);
  transition: color 700ms var(--ease);
}

.js .tagline span.on {
  color: var(--text);
}

/* Feature tiles */

.grid {
  display: grid;
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
}

.tile__text {
  padding: 24px;
}

.tile__title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.tile__body {
  max-width: 512px;
  margin-top: 12px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

.tile__visual {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.tile__visual .device {
  flex: none;
  width: 240px;
}

.tile__visual--top {
  height: 384px;
  align-items: flex-end;
}

.tile__visual--bottom {
  height: 384px;
  align-items: flex-start;
  padding-top: 40px;
}

.tile__extra {
  display: flex;
  gap: 12px;
  max-width: 512px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.tile__extra .icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.tile__extra strong {
  color: var(--text);
  font-weight: 600;
}

.tile--small .tile__text {
  padding: 24px;
}

.tile--small .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  color: var(--accent);
}

.tile--small .tile__title {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
}

.tile--small .tile__body {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
}

/* Gestures */

.gestures {
  margin: 0 16px 16px;
  padding: 8px;
  border-radius: 16px;
  background: var(--surface-2);
}

.tabs {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: var(--bg);
}

.js .tabs {
  display: grid;
}

.tabs button {
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 700ms var(--ease), color 700ms var(--ease), transform 700ms var(--ease);
}

.tabs button:hover {
  color: var(--text);
}

.tabs button:active {
  transform: scale(0.98);
}

.tabs button[aria-selected="true"] {
  background: var(--line);
  color: var(--text);
}

.gestures__label {
  padding: 12px 16px 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--muted);
}

.js .gestures__label {
  display: none;
}

.gestures__list {
  padding-block: 8px;
}

.js .gestures__panel {
  animation: panel-in 700ms var(--ease);
}

.gestures__list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
}

.gestures__list dt {
  font-weight: 500;
}

.gestures__list dd {
  color: var(--muted);
  text-align: right;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* Section headings */

.heading {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-align: center;
}

/* How it works */

.steps {
  display: grid;
  gap: 16px;
}

.step {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
}

.step__num {
  font-size: 60px;
  line-height: 1;
  font-weight: 600;
  color: var(--accent);
}

.step__title {
  margin-top: 24px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.step__body {
  margin-top: 8px;
  color: var(--muted);
}

/* Specs */

.specs {
  display: grid;
  gap: 8px;
  max-width: 768px;
  margin-inline: auto;
}

.specs div {
  display: grid;
  gap: 4px;
  padding: 16px 24px;
  border-radius: 16px;
  background: var(--surface);
}

.specs dt {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.specs dd {
  font-size: 18px;
  line-height: 28px;
}

/* FAQ */

.faq {
  display: grid;
  gap: 8px;
  max-width: 768px;
  margin-inline: auto;
}

.faq__item {
  border-radius: 16px;
  background: var(--surface);
}

.faq__question {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.faq__question button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 700ms var(--ease);
}

.faq__question button:hover {
  background: var(--surface-2);
}

.faq__question button:active {
  background: var(--surface-3);
}

.faq__question .icon {
  color: var(--muted);
  transition: transform 700ms var(--ease);
}

.faq__question button[aria-expanded="true"] .icon {
  transform: rotate(45deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 1fr;
}

.faq__panel > div {
  overflow: hidden;
}

.faq__panel p {
  padding: 0 24px 24px;
  color: var(--muted);
}

.js .faq__panel {
  grid-template-rows: 0fr;
  transition: grid-template-rows 700ms var(--ease);
}

.js .faq__panel > div {
  visibility: hidden;
  transition: visibility 0s linear 700ms;
}

.js .faq__question:has([aria-expanded="true"]) + .faq__panel {
  grid-template-rows: 1fr;
}

.js .faq__question:has([aria-expanded="true"]) + .faq__panel > div {
  visibility: visible;
  transition: visibility 0s;
}

/* Closing call */

.closing {
  text-align: center;
}

.closing__title {
  max-width: 680px;
  margin-inline: auto;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.closing__sub {
  max-width: 680px;
  margin: 16px auto 32px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

/* Footer */

.footer {
  padding-block: 48px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.footer__support {
  margin-top: 16px;
}

.footer a,
.page__body a {
  color: var(--text);
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.footer a {
  text-decoration: none;
  transition: color 700ms var(--ease);
}

.footer a:hover,
.footer a[aria-current] {
  color: var(--text);
}

/* Privacy and 404 */

.page {
  max-width: 680px;
  margin-inline: auto;
  padding-block: 64px;
}

.page__title {
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.page__lead {
  margin-top: 24px;
  font-size: 24px;
  line-height: 32px;
}

.page__body {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

.page__updated {
  margin-top: 40px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.page--center {
  display: grid;
  min-height: 80vh;
  place-content: center;
  justify-items: center;
  gap: 32px;
  text-align: center;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--text);
  color: var(--bg);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 700ms var(--ease), transform 700ms var(--ease);
}

.link:hover {
  background: var(--muted);
}

.link:active {
  transform: scale(0.98);
}

/* Scroll reveal */

.js .reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(64px);
  transition: opacity 900ms var(--ease), filter 900ms var(--ease), transform 900ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

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

@media (min-width: 480px) {
  .hero__title {
    font-size: 48px;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: 24px;
  }

  .section {
    padding-block: 96px;
  }

  .nav__links,
  .nav__soon {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }

  .nav__pill {
    padding: 8px 8px 8px 24px;
  }

  .hero__title {
    font-size: 72px;
  }

  .hero__sub {
    font-size: 20px;
  }

  .stage {
    aspect-ratio: 1000 / 540;
  }

  .stage__land {
    width: 86%;
  }

  .stage__port {
    right: 2%;
    width: 23%;
  }

  .tagline {
    font-size: 48px;
    line-height: 1;
  }

  .grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }

  .tile--half,
  .tile--small {
    grid-column: span 3;
  }

  .tile--full {
    grid-column: span 6;
  }

  .tile--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .tile__text {
    padding: 40px;
  }

  .tile__title {
    font-size: 36px;
    line-height: 40px;
  }

  .tile__visual .device {
    width: 288px;
  }

  .tile__visual--top {
    height: 448px;
  }

  .tile__visual--bottom {
    height: 448px;
  }

  .tile--small .tile__text {
    padding: 32px;
  }

  .gestures {
    margin: 0 40px 40px;
  }

  .heading {
    margin-bottom: 64px;
    font-size: 48px;
    line-height: 1;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .step {
    padding: 32px;
  }

  .specs div {
    grid-template-columns: 200px 1fr;
    align-items: baseline;
    gap: 24px;
  }

  .closing__title {
    font-size: 60px;
    line-height: 1;
  }

  .closing__sub {
    font-size: 20px;
  }

  .page {
    padding-block: 96px;
  }

  .page__title {
    font-size: 60px;
  }
}

@media (min-width: 1024px) {
  .tile--small {
    grid-column: span 2;
  }

  .tile--gestures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .tile--gestures .gestures {
    margin: 40px 40px 40px 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

  .js .tagline span {
    color: var(--text);
  }
}
