@font-face {
  font-family: "General Sans";
  src: url("/assets/general-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("/assets/general-sans-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "General Sans", sans-serif;
  font-synthesis: none;
  font-size: 18px;
  font-weight: 400;
  --ink: #919191;
  --paper: #fff;
  --gutter: clamp(24px, 2.7vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #000; color: var(--ink); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
[hidden] { display: none !important; }

.waitlist {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  isolation: isolate;
  overflow: hidden;
}

.background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: #000;
}

.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/mark-pattern.svg") repeat;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 20%, transparent 40%, transparent 60%, #000 80%, #000 90%, transparent);
}

.background canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.layout {
  width: min(100%, 1440px);
  min-height: inherit;
  padding-inline: var(--gutter);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42.6%;
  column-gap: clamp(32px, 7.5vw, 108px);
  align-items: center;
}

.hero {
  position: relative;
  z-index: 1;
  padding-block: 34px;
}

.brand {
  width: 258px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: clamp(44px, 9.4svh, 100px);
}

.hero-copy { display: grid; justify-items: start; }

.glow-pill {
  display: grid;
  place-items: center;
  isolation: isolate;
  position: relative;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: #000;
}

.glow-pill > span { position: relative; z-index: 2; }
.glow-pill::before, .glow-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.glow-pill::before {
  z-index: 0;
  background: conic-gradient(from 225deg, #ddff42, #77ff69, #22282e, #ea4eff, #ffbe70, #ddff42);
}
.glow-pill::after {
  z-index: 1;
  inset: 2px;
  background: #000;
  box-shadow: inset 0 0 8px #000;
}
.glow-pill[data-rendered]::before, .glow-pill[data-rendered]::after { display: none; }
.glow-pill canvas { position: absolute; display: block; pointer-events: none; z-index: 1; }

.eyebrow {
  min-width: 204px;
  min-height: 32px;
  padding: 5px 24px;
  margin-bottom: 23px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .15em;
  line-height: 1.25;
}

.eyebrow::before { opacity: .23; }
.eyebrow::after { inset: 1px; }
.eyebrow canvas { opacity: .25; }

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.03em;
  text-wrap: pretty;
}
h1 strong { color: var(--paper); font-weight: 500; }
.wide-break { display: none; }

.offer {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.signup {
  width: min(100%, 400px);
  margin-top: clamp(40px, 9.1svh, 94px);
  position: relative;
}

@property --glass-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 135deg;
}
.glass-border {
  --glass-angle: 135deg;
  border-radius: 45px;
  padding: 1px;
  background: linear-gradient(var(--glass-angle), #333, transparent 50%, #333);
  transition: --glass-angle 3s cubic-bezier(.16, 1, .3, 1);
}
.glass-border:is(:hover, :focus-within) { --glass-angle: 315deg; }
.glass-border:has(input:focus-visible) { outline: 1px solid var(--ink); outline-offset: 3px; }

.signup-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 44px;
  background: #050505;
}

.signup input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 6px 0 23px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 18px;
  outline: none;
}
.signup input::placeholder { color: #838383; opacity: 1; }

.join {
  color: var(--paper);
  min-height: 46px;
  min-width: 149px;
  padding: 0 19px;
  font-size: 18px;
  line-height: 1.25;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.join::after { inset: 2px; box-shadow: inset 0 0 8px #000, 0 0 6px #ed81ff44; }
.join[aria-disabled="true"] { cursor: wait; }
.join:focus-visible, .showcase:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.form-status {
  margin: 9px 0 0;
  font-size: 18px;
  line-height: 1.35;
}
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #ffaaa5; }
.form-status[data-state="success"] { color: #b7f1b8; }

.tool-marquee {
  position: absolute;
  top: calc(100% + 2px);
  width: min(100%, 400px);
  overflow: hidden;
  color: #919191;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tool-track { display: flex; width: max-content; }
.tool-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px 0 0;
  margin: 0;
  list-style: none;
}
.tool-logos li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  white-space: nowrap;
  font-size: 18px;
}
.tool-icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  background: currentColor;
  mask: var(--logo) center / contain no-repeat;
}
.tool-icon--bolt { width: 64px; }

.showcase {
  position: relative;
  align-self: stretch;
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: min(68svh, 520px);
}

.showcase-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  touch-action: pinch-zoom;
}

.clip {
  pointer-events: none;
  width: min(100%, 93cqh);
  aspect-ratio: 5 / 4;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.clip img, .clip video {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clip video { opacity: 0; }
.clip video[data-playing] { opacity: 1; }

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

@media (min-width: 1140px) {
  .wide-break { display: initial; }
}

@media (max-width: 960px) {
  .layout { column-gap: 30px; }
}

@media (max-width: 920px) {
  :root { --gutter: clamp(16px, 4vw, 26px); }
  .layout {
    height: 100svh;
    height: 100dvh;
    min-height: min-content;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(150px, 1fr);
    gap: 0;
    align-items: stretch;
  }
  .hero {
    padding: clamp(32px, 5svh, 56px) 0 14px;
    text-align: center;
  }
  .brand {
    width: 207px;
    margin: 0 auto clamp(22px, 3.5svh, 36px);
  }
  .hero-copy { justify-items: center; }
  .eyebrow { min-width: 148px; min-height: 26px; margin-bottom: 16px; }
  h1 { max-width: 620px; font-size: clamp(32px, 8.6vw, 56px); line-height: 1.1; text-wrap: balance; }
  .offer { max-width: 470px; margin-top: 12px; line-height: 1.35; }
  .signup { margin: 20px auto 0; }
  .tool-marquee { position: relative; top: auto; margin: 36px auto 0; }
  .showcase { min-height: 0; }
  .showcase-window { inset: 0 calc(-1 * var(--gutter)); touch-action: pan-y pinch-zoom; }
  .clip { width: min(82cqw, 512px, 118cqh); }
}

@media (max-width: 360px) {
  :root { --gutter: 12px; }
  .signup input { padding-left: 13px; }
  .join { min-width: 0; padding-inline: 13px; }
}

@media (max-width: 920px) and (max-height: 700px) {
  .hero { padding-top: 32px; }
  .brand { width: 175px; margin-bottom: 20px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { line-height: 1; }
  .signup { margin-top: 16px; }
}

@media (orientation: landscape) and (min-width: 921px) and (max-height: 600px) {
  .layout { grid-template-columns: minmax(0, 1fr) 38%; gap: 18px; }
  .hero { padding-block: 10px; }
  .brand { width: 166px; margin-bottom: 14px; }
  .eyebrow { min-height: 22px; min-width: 132px; margin-bottom: 8px; }
  h1 { line-height: 1; text-wrap: wrap; }
  .offer { margin-top: 8px; line-height: 1.2; }
  .signup { margin-top: 12px; }
  .showcase { min-height: 0; }
  .signup-row { min-height: 50px; padding: 2px; }
  .join { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
