@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Host Grotesk";
  src: url("assets/host-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --text: #f6f6f2;
  --muted: rgba(246, 246, 242, .62);
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #050505; }
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #050505;
  font: 400 1rem/1.45 "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: 100;
  pointer-events: none;
  opacity: .12;
  background: url("assets/film-grain.svg") repeat;
  mix-blend-mode: soft-light;
  animation: film-grain .28s steps(2, end) infinite;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 200; padding: .8rem 1rem; color: #000; background: #fff; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5.25rem;
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  text-transform: uppercase;
}
.brand { display: block; justify-self: start; }
.brand-logo-frame {
  display: block;
  width: 7.1rem;
  height: 2rem;
  overflow: hidden;
}
.brand-logo-frame img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-36.8%);
  filter: drop-shadow(-1px 0 rgba(0, 220, 255, .4)) drop-shadow(1px 0 rgba(255, 30, 65, .4));
}
.site-header p, .site-header span { margin: 0; color: rgba(255,255,255,.7); font-size: .7rem; font-weight: 650; letter-spacing: .12em; }
.header-status { justify-self: end; display: flex; align-items: center; gap: .8rem; }
.header-platform-icons { display: flex; align-items: center; gap: .55rem; }
.header-platform-icons img { display: block; width: 1.05rem; height: 1.05rem; object-fit: contain; opacity: .78; }
.site-header p, .header-status, .hero-copy, .hero-footer, .platforms {
  text-shadow: -1px 0 rgba(0, 210, 255, .28), 1px 0 rgba(255, 28, 64, .26);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 8rem var(--pad) 7rem;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  transform: scale(1.075);
  transform-origin: 50% 52%;
  filter: saturate(.72) contrast(1.08) brightness(.76);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.04) 0%, rgba(0,0,0,.32) 66%, rgba(0,0,0,.62) 100%),
    linear-gradient(180deg, rgba(0,0,0,.26), transparent 30%, transparent 68%, rgba(0,0,0,.46));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .065;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #fff 3px 4px);
}

.hero-content { width: min(900px, 100%); text-align: center; }
.hero h1 {
  margin: 0;
  font-family: "Host Grotesk", "DM Sans", Arial, sans-serif;
  font-size: clamp(3.7rem, 6.8vw, 7rem);
  font-weight: 520;
  line-height: .88;
  letter-spacing: -.055em;
  text-shadow: -2px 0 rgba(0, 215, 255, .34), 2px 0 rgba(255, 24, 60, .32), 0 1.1rem 2.2rem rgba(0,0,0,.38);
}
.glitch-line { position: relative; display: block; isolation: isolate; }
.glitch-line::before,
.glitch-line::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}
.glitch-line::before {
  clip-path: inset(10% 0 58% 0);
  color: rgba(232, 251, 255, .9);
  text-shadow: -.035em 0 rgba(0, 220, 255, .72);
  animation: glitch-cyan 9s steps(1, end) infinite;
}
.glitch-line::after {
  clip-path: inset(62% 0 8% 0);
  color: rgba(255, 243, 245, .86);
  text-shadow: .035em 0 rgba(255, 28, 64, .72);
  animation: glitch-red 9s steps(1, end) infinite;
}
.hero-release-note {
  display: block;
  margin-top: .75rem;
  color: rgba(255,255,255,.72);
  font-size: clamp(1.05rem, 1.55vw, 1.45rem);
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-shadow: -1px 0 rgba(0, 215, 255, .22), 1px 0 rgba(255, 24, 60, .2);
}
.hero-copy { margin: 1rem auto 0; color: rgba(255,255,255,.68); font-size: .95rem; }

.signup-form { width: min(620px, 100%); margin: 2rem auto 0; }
.form-row { display: grid; grid-template-columns: 1fr auto; min-height: 3.8rem; border: 1px solid rgba(255,255,255,.55); background: rgba(4,4,4,.56); backdrop-filter: blur(14px); }
.email-field { display: flex; min-width: 0; }
.email-field input { width: 100%; min-width: 0; padding: 0 1.15rem; border: 0; outline: 0; color: #fff; background: transparent; font-size: .9rem; }
.email-field input::placeholder { color: rgba(255,255,255,.48); }
.email-field:focus-within { box-shadow: inset 0 0 0 1px #fff; }
.signup-form button[type="submit"] { min-width: 160px; margin: .35rem; padding: 0 1.25rem; border: 0; color: #080808; background: #fff; font-size: .73rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.signup-form button[disabled] { cursor: wait; opacity: .65; }
.consent-row { display: flex; gap: .55rem; align-items: flex-start; width: min(540px, 100%); margin: .75rem auto 0; color: rgba(255,255,255,.48); font-size: .68rem; line-height: 1.45; text-align: left; }
.consent-row input { width: .9rem; height: .9rem; flex: 0 0 auto; margin: .1rem 0 0; accent-color: #fff; }
.consent-row button { padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.form-message { min-height: 1.2rem; margin: .6rem 0 0; color: rgba(255,255,255,.75); font-size: .75rem; }
.form-message.success { color: #d8ffd0; }
.form-message.error { color: #ffb2ad; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.platforms { margin-top: 1.15rem; }
.platforms > p { margin: 0 0 .55rem; color: rgba(255,255,255,.48); font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.platform-list { display: flex; justify-content: center; gap: .55rem; }
.platform-item { display: flex; align-items: center; gap: .6rem; min-height: 2.7rem; padding: 0 1rem; border: 1px solid rgba(255,255,255,.25); background: rgba(4,4,4,.42); backdrop-filter: blur(10px); }
.platform-item img { width: 1.25rem; height: 1.25rem; object-fit: contain; opacity: .92; }
.platform-item span { font-size: .65rem; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; }

.hero-footer {
  position: absolute;
  inset: auto var(--pad) 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  font-family: "Host Grotesk", "DM Sans", Arial, sans-serif;
  font-size: clamp(.82rem, .8vw, 1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.hero-footer p { display: flex; align-items: center; gap: .8rem; margin: 0; }
.hero-footer i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.hero-footer button { justify-self: end; padding: 0; border: 0; background: transparent; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }

.privacy-dialog { width: min(680px, calc(100% - 2rem)); max-width: none; padding: 0; border: 1px solid rgba(255,255,255,.18); color: #e9e8e3; background: #101010; box-shadow: 0 2rem 8rem rgba(0,0,0,.75); }
.privacy-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.dialog-head h2 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.dialog-head button { padding: .5rem .7rem; border: 1px solid rgba(255,255,255,.16); background: transparent; font-size: .75rem; cursor: pointer; }
.dialog-copy { padding: 1.4rem; color: #aaa9a4; }
.dialog-copy p:first-child { margin-top: 0; }

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 4.5rem; }
  .site-header p { display: none; }
  .header-status > span:first-child { font-size: .62rem; }
  .header-status { gap: .65rem; }
  .header-platform-icons { gap: .45rem; }
  .header-platform-icons img { width: .95rem; height: .95rem; }
  .hero { align-items: center; min-height: 100svh; padding-top: 7rem; padding-bottom: 7rem; }
  .hero-video { object-position: 52% center; }
  .brand-logo-frame { width: 6.35rem; height: 1.8rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5.3rem); }
  .hero-copy { max-width: 340px; }
  .form-row { grid-template-columns: 1fr; padding: .35rem; }
  .email-field input { min-height: 3.3rem; text-align: center; }
  .signup-form button[type="submit"] { min-height: 3.2rem; margin: 0; }
  .platform-list { align-items: stretch; flex-direction: column; width: min(300px, 100%); margin: 0 auto; }
  .platform-item { justify-content: center; }
  .hero-footer { grid-template-columns: 1fr auto; min-height: 4.5rem; }
  .hero-footer p { display: none; }
}

@media (max-height: 720px) and (min-width: 761px) {
  .site-header { min-height: 4.25rem; }
  .hero { padding-top: 6rem; padding-bottom: 5.5rem; }
  .hero h1 { font-size: clamp(3.5rem, 6.4vw, 5.4rem); }
  .signup-form { margin-top: 1.3rem; }
  .hero-footer { min-height: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@keyframes film-grain {
  0% { transform: translate3d(-2%, -1%, 0); }
  25% { transform: translate3d(2%, 1%, 0); }
  50% { transform: translate3d(-1%, 2%, 0); }
  75% { transform: translate3d(1%, -2%, 0); }
  100% { transform: translate3d(-2%, -1%, 0); }
}

@keyframes glitch-cyan {
  0%, 88%, 88.7%, 89.4%, 100% { opacity: 0; transform: translate3d(0, 0, 0); }
  88.15% { opacity: .58; transform: translate3d(-.025em, 0, 0); }
  88.45% { opacity: .34; transform: translate3d(.012em, 0, 0); }
  89.05% { opacity: .42; transform: translate3d(-.014em, 0, 0); }
}

@keyframes glitch-red {
  0%, 88.1%, 88.8%, 89.5%, 100% { opacity: 0; transform: translate3d(0, 0, 0); }
  88.3% { opacity: .5; transform: translate3d(.027em, 0, 0); }
  88.58% { opacity: .28; transform: translate3d(-.01em, 0, 0); }
  89.18% { opacity: .38; transform: translate3d(.015em, 0, 0); }
}
