@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  font-family: "Inter", sans-serif;
  color: #dfe2ee;
  background: #0b0d14;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
p, h1, h2 { margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #a7e7c9; outline-offset: 4px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-tile { width: 36px; height: 36px; border-radius: 12px; background: #ffffff0a; border: 1px solid #ffffff1a; display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 1px 2px #ffffff08; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.atmosphere { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 15% 25%, #7f54b373, transparent 55%), radial-gradient(ellipse at 85% 30%, #00806061, transparent 55%), radial-gradient(ellipse at 50% 80%, #96588a38, transparent 50%), radial-gradient(ellipse at 75% 75%, #96bf482e, transparent 45%), #0b0d14; }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); animation: drift 24s ease-in-out infinite alternate; }
.glow-purple { width: 600px; height: 600px; top: -160px; left: 25%; background: #7f54b340; }
.glow-green { width: 550px; height: 550px; bottom: -160px; right: 25%; background: #00806033; animation-delay: -12s; animation-duration: 30s; }
.glow-rose { width: 800px; height: 450px; top: 35%; left: 20%; background: #96588a1a; animation-delay: -6s; animation-duration: 36s; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 20%, #0b0d1450 75%, #0b0d1499); }
@keyframes drift { from { transform: translate3d(-5%, -4%, 0) scale(1); } to { transform: translate3d(12%, 12%, 0) scale(1.12); } }

.page-shell { flex: 1; display: flex; flex-direction: column; }
.container { width: min(100%, 1280px); margin-inline: auto; padding-inline: 24px; }
.site-header { padding-block: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font: 700 18px "Space Grotesk", sans-serif; letter-spacing: -.5px; }
.hero { position: relative; flex: 1; width: min(100%, 768px); margin-inline: auto; padding: 64px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
h1 { color: #fff; font: 700 72px/1.08 "Space Grotesk", sans-serif; letter-spacing: -.045em; margin-bottom: 24px; }
.subtitle { max-width: 490px; color: #ffffffb3; font-size: 18px; line-height: 1.65; margin-bottom: 40px; }
.waitlist-form { width: min(100%, 448px); padding: 6px; border: 1px solid #ffffff14; border-radius: 16px; display: flex; gap: 6px; background: #131722a6; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 20px 40px -15px #000000b3, inset 0 1px #ffffff1a; transition: border-color .2s; }
.waitlist-form:focus-within { border-color: #ffffff59; }
.email-field { display: flex; align-items: center; gap: 10px; padding-left: 14px; flex: 1; min-width: 0; color: #ffffff66; }
.email-field .icon { width: 18px; height: 18px; }
.email-field input { width: 100%; min-width: 0; padding: 12px 0; border: 0; border-radius: 4px; background: transparent; color: #fff; font-size: 14px; line-height: 20px; }
.email-field input::placeholder { color: #ffffff70; }
.email-field input:focus-visible { outline-offset: 1px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 10px 16px; font-size: 12px; line-height: 18px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s, transform .15s; }
.button:active { transform: scale(.98); }
.button-white { border-radius: 12px; padding: 12px 20px; background: #fff; color: #0b0d14; font-family: "Space Grotesk", sans-serif; font-size: 14px; }
.button-white:hover { background: #e9e9ed; }
.button-white:disabled { background: #ffffffb3; color: #0b0d14b3; transform: none; }
.button-white .icon { width: 16px; height: 16px; }
.button-green { background: #008060; color: #fff; }
.button-green:hover { background: #009b73; }
.button-quiet { background: transparent; color: #ffffffb3; }
.button-quiet:hover, .icon-button:hover { background: #ffffff0f; color: #fff; }
.button-outline { border-color: #ffffff1a; background: transparent; color: #ffffffb3; }
.button-outline:hover { background: #ffffff0a; color: #fff; }
.button-muted { background: #ffffff14; border-color: #ffffff26; color: #fff; }
.button-muted:hover { background: #ffffff21; }
.signup-permission { width: min(100%, 448px); margin-top: 16px; color: #ffffff99; font-size: 11px; line-height: 1.7; }
.signup-permission a { text-decoration: underline; text-underline-offset: 3px; }
.turnstile-widget { width: min(100%, 448px); margin-top: 16px; }
.signup-status { width: min(100%, 448px); min-height: 40px; margin-top: 12px; color: #ffffffb3; font-size: 12px; line-height: 1.6; }
.verification-status { min-height: 0; margin-top: 8px; }
.noscript-note { margin-top: 20px; font-size: 12px; color: #ffffffb3; }
.site-footer { padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 1.6; color: #ffffff80; }
.site-footer nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; }
.site-footer nav > span { color: #ffffff33; }
.text-button { border: 0; background: none; color: inherit; font-size: inherit; padding: 0; }
.text-button:not(:disabled):hover { color: #fff; }
.text-button:disabled { color: #ffffff66; }

.privacy-page { width: min(100%, 800px); margin: 0 auto; padding: 48px 24px 80px; }
.privacy-page h1 { font-size: clamp(36px, 8vw, 52px); margin-bottom: 16px; }
.privacy-page h2 { margin: 32px 0 12px; color: #fff; font: 600 22px/1.4 "Space Grotesk", sans-serif; }
.privacy-page p, .privacy-page li { color: #ffffffb3; font-size: 14px; line-height: 1.8; }
.privacy-page p + p { margin-top: 12px; }
.privacy-page ul { padding-left: 22px; }
.privacy-page a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-page strong { color: #fff; }

.cookie-banner { width: min(calc(100% - 32px), 672px); margin: 0 auto 20px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #ffffff1a; border-radius: 16px; background: #121620e6; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 20px 40px -15px #0009; }
.cookie-message { display: flex; align-items: center; gap: 12px; }
.cookie-message p { font-size: 12px; line-height: 1.65; color: #ffffffc2; }
.inline-button { padding: 0; border: 0; background: none; color: #fff; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.inline-button:hover { color: #a7e7c9; }
.cookie-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.cookie-actions .button { padding: 6px 10px; border-radius: 8px; }
.icon-button { display: grid; place-items: center; width: 32px; height: 32px; padding: 6px; border: 0; border-radius: 8px; color: #ffffff73; background: transparent; flex-shrink: 0; transition: background .15s, color .15s; }

body:has(dialog[open]) { overflow: hidden; }
dialog { width: min(calc(100% - 32px), 576px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 1px solid #ffffff1a; border-radius: 16px; background: #121620; color: #dfe2ee; box-shadow: 0 24px 80px #0006; overflow-y: auto; overscroll-behavior: contain; }
dialog[open] { animation: dialog-enter .2s ease-out; }
dialog::backdrop { background: #0b0d14bf; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dialog-header { display: flex; align-items: center; gap: 12px; padding: 24px; border-bottom: 1px solid #ffffff1a; flex-shrink: 0; }
.dialog-header > div { flex: 1; min-width: 0; }
.dialog-header h2 { color: #fff; font: 700 18px/1.35 "Space Grotesk", sans-serif; letter-spacing: -.3px; }
.dialog-header p { margin-top: 3px; color: #ffffff99; font-size: 12px; line-height: 1.5; }
.dialog-body { padding: 24px; }
.dialog-body > p { color: #ffffffb3; font-size: 12px; line-height: 1.65; margin-bottom: 20px; }
.preference-card { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border: 1px solid #ffffff1a; border-radius: 12px; background: #ffffff08; }
.preference-card + .preference-card { margin-top: 12px; }
.preference-copy { flex: 1; min-width: 0; }
.preference-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.preference-copy label { font: 600 14px/1.5 "Space Grotesk", sans-serif; color: #fff; cursor: pointer; }
.preference-copy p { margin-top: 4px; font-size: 12px; line-height: 1.65; color: #ffffff99; }
.badge { padding: 2px 8px; border: 1px solid #ffffff1a; border-radius: 20px; background: #ffffff1a; color: #ffffffc2; font-size: 10px; line-height: 15px; white-space: nowrap; }
.switch { appearance: none; -webkit-appearance: none; width: 44px; height: 24px; margin: 2px 0 0; border: 1px solid transparent; border-radius: 20px; background: #ffffff33; cursor: pointer; flex-shrink: 0; transition: background .15s; }
.switch::before { content: ""; display: block; width: 16px; height: 16px; margin: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0003; transition: transform .15s; }
.switch:checked { background: #008060; }
.switch:checked::before { transform: translateX(20px); }
.switch:disabled { opacity: .6; cursor: not-allowed; }
.dialog-footer { display: flex; align-items: center; gap: 8px; padding: 24px; border-top: 1px solid #ffffff1a; background: #ffffff03; flex-shrink: 0; }
.dialog-footer > :first-child { margin-right: auto; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  h1 { font-size: 60px; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 639px) {
  .site-header { padding-block: 24px; }
  h1 { font-size: 48px; }
  .subtitle { font-size: 16px; }
  .hero { padding-block: 56px 80px; }
  .waitlist-form { flex-direction: column; }
  .email-field { flex: auto; }
  .button-white { width: 100%; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-message { align-items: flex-start; }
  .cookie-actions { justify-content: flex-end; }
  .dialog-header, .dialog-body, .dialog-footer { padding: 20px; }
  .dialog-header { gap: 10px; }
  .dialog-header h2 { font-size: 16px; }
  .dialog-header > .icon-tile { display: none; }
  .dialog-footer { flex-wrap: wrap; }
  .dialog-footer > :first-child { margin-right: 0; }
  .dialog-footer .button { flex: 1; padding-inline: 10px; }
  .dialog-footer #save-preferences { flex-basis: 100%; order: 1; }
}

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