@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
  color-scheme: dark;
}

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

html,
body {
  margin: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.nav-link:focus-visible,
.mobile-link:focus-visible,
.logo:focus-visible,
.burger[aria-expanded="true"]:focus-visible {
  outline-color: #777;
}

[hidden] {
  display: none !important;
}

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

.bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px);
  overflow: hidden;
}

.header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: clamp(18px, 2.8vw, 28px);
  width: 100%;
  max-width: 720px;
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--nav-shadow);
  transition: transform 0.25s ease;
}

.logo img {
  display: block;
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.logo:hover {
  transform: scale(1.04);
}

.nav-pill {
  display: flex;
  align-items: stretch;
  flex: 1;
  height: clamp(44px, 5.2vw, 48px);
  max-width: 430px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nav-shadow);
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0 10px 3px;
  border-radius: 999px;
  background: transparent;
  color: var(--nav-text);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.75;
}

.nav-link.active,
.mobile-link.active {
  opacity: 1;
}

.nav-link.active::after,
.mobile-link.active::after {
  position: absolute;
  bottom: 5px;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #000;
  box-shadow: -5px 0 #000, 5px 0 #000;
  content: "";
}

.join-pill {
  flex-shrink: 0;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 22px;
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  box-shadow: var(--nav-shadow);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.join-pill:hover {
  transform: translateY(-1px);
  background: #323234;
  color: #fff;
}

.burger {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
  max-width: 900px;
  padding: 18px 0;
  text-align: center;
}

.trust-row {
  --trust-size: clamp(36px, 4.5vw, 42px);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 100%;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

.trust-avatar {
  position: relative;
  display: grid;
  flex-shrink: 0;
  width: var(--trust-size);
  height: var(--trust-size);
  padding: 5px;
  border: 1px solid var(--trust-border);
  border-radius: 50%;
  background: var(--trust-bg);
  transition: transform 0.35s ease;
}

.trust-avatar + .trust-avatar {
  margin-left: calc(var(--trust-size) * -0.42);
}

.trust-inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  color: #111;
}

.trust-inner i {
  font-size: calc(var(--trust-size) * 0.34);
}

.a1 {
  z-index: 1;
}

.a2 {
  z-index: 2;
}

.a3 {
  z-index: 4;
}

.a1:hover,
.a3:hover {
  transform: translateY(-2px);
}

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

.trust-pill {
  display: flex;
  align-items: center;
  height: var(--trust-size);
  margin-left: calc(var(--trust-size) * -0.42);
  padding: 0 18px 0 calc(var(--trust-size) * 0.58);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  background: var(--trust-bg);
  color: var(--trust-text);
  font-size: clamp(12px, 1.4vw, 13.5px);
  font-weight: 500;
  white-space: nowrap;
}

.headline {
  flex-shrink: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(28px, 6.2vw, 80px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.headline.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

.headline-line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline-line:first-child {
  animation-delay: 0.12s;
}

.headline-line:nth-child(2) {
  animation-delay: 0.3s;
}

.subhead {
  --reveal-opacity: 0.8;
  flex-shrink: 0;
  max-width: min(500px, 92%);
  margin: clamp(17px, 2.6vh, 25px) 0 0;
  color: #d0d0d0;
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.8;
}

.cta,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 22px rgba(255, 255, 255, 0.32), 0 0 44px rgba(255, 255, 255, 0.12);
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  font-weight: 600;
  line-height: 1.4;
  transition: translate 0.25s ease, scale 0.25s ease, box-shadow 0.25s ease;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 12px;
  max-width: 100%;
  margin-top: clamp(22px, 3.2vh, 30px);
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-shrink: 0;
  padding: clamp(11px, 1.6vh, 13px) clamp(18px, 2.5vw, 24px);
  border-radius: 999px;
  background: rgba(40, 40, 42, 0.78);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  font-size: clamp(13px, 1.4vw, 14px);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: translate 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.social-button:hover {
  translate: 0 -2px;
  background: #323234;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.cta.anim {
  animation-name: revealPulse;
}

.cta:hover,
.submit-button:hover:not(:disabled) {
  translate: 0 -2px;
  scale: 1.02;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24), 0 0 28px rgba(255, 255, 255, 0.42), 0 0 55px rgba(255, 255, 255, 0.18);
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  flex-shrink: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 920px;
  padding-top: 12px;
  padding-bottom: 3px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.stat-symbol {
  height: 1.1em;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1;
}

.stat-value {
  margin-top: 7px;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 12.5px);
  line-height: 1.4;
}

.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: overlayIn 0.28s ease both;
}

.menu-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: min(400px, calc(100% - 28px));
  max-height: calc(100dvh - 100px);
  margin-top: calc(clamp(16px, 2.4vh, 28px) + 64px);
  padding: 22px 18px 20px;
  overflow-y: auto;
  border-radius: 28px;
  background: #fff;
  color: var(--nav-text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mobile-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px 14px;
  border-radius: 12px;
  background: transparent;
  color: var(--nav-text);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.5;
  animation: linkIn 0.35s ease both;
}

.mobile-link:hover {
  background: #f4f4f4;
  opacity: 0.75;
}

.mobile-link.active::after {
  bottom: 8px;
}

.mobile-link:nth-child(1) {
  animation-delay: 0.06s;
}

.mobile-link:nth-child(2) {
  animation-delay: 0.1s;
}

.mobile-link:nth-child(3) {
  animation-delay: 0.14s;
}

.mobile-link:nth-child(4) {
  animation-delay: 0.18s;
}

.mobile-social {
  gap: 8px;
  opacity: 0.75;
  animation-delay: 0.22s;
}

.mobile-join {
  min-height: 46px;
  width: 100%;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--pill-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  animation: linkIn 0.35s 0.26s ease both;
}

.dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: var(--pill-dark);
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.dialog[open] {
  animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: overlayIn 0.28s ease both;
}

.dialog-panel {
  position: relative;
  padding: 38px 30px 30px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #c8c8c8;
  font-size: 24px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.dialog-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dialog-title {
  margin: 0;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.dialog-description {
  margin: 15px 0 0;
  color: #c4c2c3;
  font-size: 14px;
  line-height: 1.65;
}

.dialog-panel > .cta {
  margin-top: 26px;
}

.external-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  margin-top: 20px;
  color: #c4c2c3;
  font-size: 12px;
  transition: color 0.2s ease;
}

.external-link:hover {
  color: #fff;
}

.waitlist-form {
  margin-top: 26px;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: #d0d0d0;
  font-size: 12px;
  font-weight: 500;
}

.email-input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: #202022;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.email-input::placeholder {
  color: #818183;
}

.email-input:focus-visible {
  border-color: #fff;
  outline-offset: 3px;
}

.submit-button {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  margin: 16px 0 0;
  color: #d0d0d0;
  font-size: 13px;
  line-height: 1.55;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  color: #ffb6b6;
}

.form-status[data-state="success"] {
  color: #c3ead3;
}

.form-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: var(--reveal-opacity, 1);
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes headlineFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealPulse {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  72% {
    opacity: 1;
    transform: translateY(0) scale(1.025);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes linkIn {
  from { transform: translateY(8px); }
  to { transform: translateY(0); }
}

@media (max-width: 720px) {
  .header {
    justify-content: space-between;
    max-width: none;
  }

  .nav-pill,
  .join-pill {
    display: none;
  }

  .logo,
  .burger {
    width: 48px;
    height: 48px;
  }

  .burger {
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border-radius: 50%;
    background: var(--pill-dark);
    box-shadow: var(--nav-shadow);
    transition: background 0.25s ease;
  }

  .burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: #fff;
    transition: transform 0.28s ease, opacity 0.2s ease, background 0.25s ease;
  }

  .burger[aria-expanded="true"] {
    background: #fff;
  }

  .burger[aria-expanded="true"] span {
    background: #000;
  }

  .burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  body.menu-open .header {
    z-index: 30;
  }

  .headline {
    line-height: 1.05;
    letter-spacing: -0.08em;
  }

  .trust-pill {
    font-size: 12px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
    max-width: 420px;
  }

  .stat-symbol {
    font-size: 25px;
  }

  .stat-value {
    margin-top: 4px;
  }

  .stat-label {
    margin-top: 4px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    gap: 10px;
  }

  .trust-row {
    --trust-size: 34px;
  }

  .trust-pill {
    padding-right: 14px;
  }

  .headline {
    line-height: 1.04;
    letter-spacing: -0.09em;
  }

  .dialog-panel {
    padding: 38px 23px 25px;
  }

  .dialog-title {
    font-size: 25px;
  }
}

@media (max-height: 700px) {
  .hero {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .trust-row {
    margin-bottom: 14px;
  }

  .subhead {
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .stats {
    gap: 14px 18px;
    padding-top: 5px;
  }
}

@media (max-height: 540px) and (min-width: 721px) {
  .headline {
    font-size: clamp(28px, 5.3vh, 48px);
  }

  .hero {
    padding: 8px 0;
  }

  .trust-row {
    --trust-size: 34px;
    margin-bottom: 9px;
  }

  .subhead {
    max-width: 540px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .hero-actions > .cta,
  .hero-actions > .social-button {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .stat-symbol {
    font-size: 22px;
  }

  .stat-value {
    margin-top: 2px;
    font-size: 18px;
  }

  .stat-label {
    margin-top: 3px;
  }
}

@media (max-height: 540px) and (max-width: 720px) and (orientation: landscape) {
  .page {
    padding: 12px 20px;
  }

  .logo,
  .burger {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 4px 0;
  }

  .trust-row {
    --trust-size: 30px;
    margin-bottom: 5px;
  }

  .headline {
    font-size: 28px;
  }

  .subhead {
    max-width: 520px;
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.3;
  }

  .hero-actions {
    margin-top: 7px;
  }

  .hero-actions > .cta,
  .hero-actions > .social-button {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .stats {
    max-width: 420px;
    gap: 6px 18px;
  }

  .stat-symbol {
    font-size: 16px;
  }

  .stat-value {
    font-size: 15px;
    margin-top: 2px;
  }

  .stat-label {
    margin-top: 2px;
    font-size: 10px;
  }

  .menu-sheet {
    max-height: calc(100dvh - 78px);
    margin-top: 64px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .mobile-link {
    min-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .anim,
  .headline-line,
  .header {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .subhead.anim {
    opacity: 0.8;
  }

  .logo:hover,
  .join-pill:hover,
  .trust-avatar:hover {
    transform: none;
  }

  .cta:hover,
  .social-button:hover,
  .submit-button:hover:not(:disabled) {
    translate: none;
    scale: none;
  }
}
