:root {
  color-scheme: dark;
  --ink: #050507;
  --surface: #0b0b10;
  --surface-raised: #121219;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #9a9aa6;
  --text: #f7f7fb;
  --accent: #7167ff;
  --accent-soft: #a7a1ff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

body.launch-locked {
  height: 100svh;
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.launch-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 52%, rgba(113, 103, 255, 0.07), transparent 31rem),
    #07070b;
  opacity: 1;
  visibility: visible;
  transition: opacity 520ms ease, visibility 0s linear 0s;
}

.launch-screen::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.launch-screen.is-revealed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 520ms ease, visibility 0s linear 520ms;
}

.launch-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.25rem;
  width: min(82vw, 28rem);
}

.launch-wordmark {
  display: block;
  width: 100%;
  height: auto;
}

.launch-pill {
  min-width: 13rem;
  padding: 0.82rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: linear-gradient(135deg, #4f45c7, #5a52dc);
  box-shadow: 0 1rem 3rem rgba(85, 75, 221, 0.24);
  color: white;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

.preview-key {
  position: absolute;
  right: max(0.5rem, env(safe-area-inset-right));
  bottom: max(0.5rem, env(safe-area-inset-bottom));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.preview-key span {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 0 rgba(113, 103, 255, 0);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.preview-key:hover span,
.preview-key:focus-visible span {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 0.42rem rgba(113, 103, 255, 0.18);
}

.preview-key:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: -0.2rem;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 7%, rgba(113, 103, 255, 0.12), transparent 29rem),
    var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  width: min(100% - 3rem, 90rem);
  min-height: 5.5rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
}

.brand img {
  display: block;
  width: 8.8rem;
  height: auto;
}

.site-header nav {
  display: flex;
  gap: 2rem;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--text);
}

.header-status {
  justify-self: end;
  color: var(--accent-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

main,
footer {
  width: min(100% - 3rem, 90rem);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 9rem);
  min-height: calc(100svh - 5.5rem);
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.eyebrow,
.feature-label {
  margin: 0 0 1.5rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4.4rem, 10vw, 10rem);
  font-weight: 680;
  letter-spacing: -0.075em;
  line-height: 0.83;
}

.hero h1 span {
  color: var(--accent-soft);
}

.hero-intro {
  max-width: 39rem;
  margin: 2.5rem 0 0;
  color: #c9c9d2;
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.65;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.5rem;
}

.category-row span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b7b7c0;
  font-size: 0.78rem;
  font-weight: 650;
}

.hero-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 2.4rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 50%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 3rem 8rem rgba(0, 0, 0, 0.4);
  transform: rotate(3deg);
}

.hero-mark img {
  width: 56%;
  height: auto;
}

.statement {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 3rem;
  padding: clamp(6rem, 10vw, 10rem) 0;
  border-top: 1px solid var(--line);
}

.statement p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.statement h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  font-weight: 620;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature {
  position: relative;
  min-height: 28rem;
  padding: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
  background: var(--surface);
}

.feature-wide {
  grid-column: span 2;
}

.feature-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature h3 {
  max-width: 13ch;
  margin: 5rem 0 1.5rem;
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.feature p:last-child {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.closing {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 4rem;
  min-height: 42rem;
  padding: clamp(6rem, 10vw, 11rem) 0;
}

.closing h2 {
  margin: 0;
  font-size: clamp(3.8rem, 9vw, 9rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.closing img {
  width: clamp(7rem, 16vw, 14rem);
  height: auto;
  opacity: 0.92;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  min-height: 9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer img {
  width: 8rem;
  height: auto;
}

footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: min(100% - 2rem, 90rem);
  }

  .site-header nav {
    display: none;
  }

  main,
  footer {
    width: min(100% - 2rem, 90rem);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-top: 2rem;
  }

  .hero-mark {
    width: min(100%, 30rem);
    margin-inline: auto;
  }

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

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

  .feature,
  .feature-wide {
    grid-column: auto;
    min-height: 25rem;
  }

  .closing {
    align-items: flex-start;
    flex-direction: column;
    min-height: 38rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .launch-center {
    gap: 2.5rem;
    width: min(78vw, 22rem);
  }

  .launch-pill {
    min-width: 11.5rem;
    padding: 0.74rem 1.25rem;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .feature {
    padding: 1.6rem;
  }

  .feature-number {
    top: 1.6rem;
    right: 1.6rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
