:root {
  color-scheme: dark;
  --black: #020203;
  --surface: #090a0d;
  --panel: rgba(14, 15, 18, 0.72);
  --silver: #f2f3f5;
  --silver-muted: #c5cad2;
  --muted: #9da2ad;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.52);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--silver);
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.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;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 22px;
  left: 50%;
  width: min(1020px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 9, 12, 0.62);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-cta {
  justify-self: end;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--silver);
  color: var(--black);
  font-size: 14px;
  font-weight: 950;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: start center;
  padding: 136px 20px 0;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background-image: url("./assets/hero-readlock.png");
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.52) 62%, var(--black) 92%);
}

.hero-content {
  width: min(760px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--silver-muted);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 112px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy {
  width: min(520px, 100%);
  margin: 22px auto 0;
  color: rgba(242, 243, 245, 0.82);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.32;
  font-weight: 750;
}

.waitlist-form {
  width: min(510px, 100%);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(2, 2, 3, 0.58);
  backdrop-filter: blur(18px);
}

.waitlist-form input,
.waitlist-form button {
  min-height: 50px;
  border: 0;
  font: inherit;
}

.waitlist-form input {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  color: var(--silver);
  background: transparent;
  outline: 0;
  font-weight: 750;
}

.waitlist-form input::placeholder {
  color: rgba(242, 243, 245, 0.52);
}

.waitlist-form button {
  cursor: pointer;
  padding: 0 23px;
  border-radius: 999px;
  background: var(--silver);
  color: var(--black);
  font-weight: 950;
  white-space: nowrap;
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  min-height: 20px;
  margin: 12px 0 0;
  color: rgba(242, 243, 245, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.form-note:empty {
  min-height: 0;
  margin-top: 0;
}

.form-note.is-success {
  color: white;
}

.form-note.is-error {
  color: #f2c8c8;
}

.phone-row {
  width: min(1040px, 100%);
  margin: clamp(54px, 8vh, 82px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.8vw, 32px);
  align-items: end;
}

.phone-frame {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: clamp(24px, 3vw, 34px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: clamp(18px, 2.4vw, 26px);
  object-fit: cover;
}

.phone-left,
.phone-right {
  transform: translateY(36px) scale(0.94);
  opacity: 0.9;
}

.phone-center {
  transform: translateY(10px);
}

.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(242, 243, 245, 0.48);
  font-size: 14px;
  font-weight: 800;
}

.site-footer a {
  color: rgba(242, 243, 245, 0.68);
  text-decoration: none;
}

.legal-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 72px;
  color: #f5f6f8;
}

.legal-page .brand {
  position: static;
  display: inline-flex;
  margin-bottom: 42px;
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0;
}

.legal-page h2 {
  margin: 30px 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.legal-page p {
  margin: 0;
  color: rgba(245, 246, 248, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .site-header {
    top: 14px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr auto;
  }

  .hero {
    padding-top: 112px;
  }

  .phone-row {
    width: min(620px, 100%);
    grid-template-columns: 1fr 1fr;
  }

  .phone-frame {
    transform: none;
    opacity: 1;
  }

  .phone-right {
    grid-column: 1 / -1;
    width: min(300px, 70%);
    justify-self: center;
  }

}

@media (max-width: 560px) {
  .brand span {
    font-size: 15px;
  }

  .nav-cta {
    padding: 11px 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 100svh;
    padding: 98px 14px 0;
  }

  h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .waitlist-form button {
    width: 100%;
  }

  .phone-row {
    margin-top: 44px;
    grid-template-columns: 1fr;
  }

  .phone-frame,
  .phone-right {
    width: min(310px, 82%);
    justify-self: center;
  }

  .phone-left,
  .phone-right {
    display: none;
  }

  .site-footer {
    width: calc(100% - 28px);
    flex-direction: column;
  }
}
