:root {
  --android-paper: #f8f2f7;
  --android-paper-strong: #fffafc;
  --android-ink: #170719;
  --android-ink-soft: #594b5b;
  --android-pink: #ee4d97;
  --android-violet: #8650bc;
  --android-lime: #c6f5aa;
  --android-line: rgba(40, 12, 43, 0.14);
  --android-shadow: 0 34px 80px -38px rgba(42, 8, 44, 0.38);
}

html {
  background: var(--android-paper);
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

.android-waitlist-page {
  min-height: 100vh;
  margin: 0;
  color: var(--android-ink);
  background:
    radial-gradient(circle at 8% 9%, rgba(238, 77, 151, 0.13), transparent 23rem),
    radial-gradient(circle at 96% 3%, rgba(134, 80, 188, 0.14), transparent 29rem),
    linear-gradient(135deg, #fbf7fa 0%, #f7f0f7 52%, #f5eff7 100%);
  overflow-x: hidden;
}

.android-waitlist-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.android-nav,
.android-main,
.android-footer {
  position: relative;
  z-index: 1;
}

.android-nav {
  width: min(1320px, calc(100% - 3rem));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--android-line);
}

.android-nav .wordmark {
  font-size: 1.7rem;
  color: var(--android-ink);
}

.android-nav-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--android-line);
  border-radius: 999px;
  color: var(--android-ink-soft);
  background: rgba(255, 255, 255, 0.54);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.android-nav-status > span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--android-lime);
  box-shadow: 0 0 0 5px rgba(198, 245, 170, 0.32);
}

.android-main {
  width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
}

.android-hero {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.82fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(2.8rem, 6vh, 5.2rem) 0 clamp(3rem, 7vh, 5.5rem);
}

.android-story {
  position: relative;
  min-width: 0;
  padding-left: clamp(0rem, 2vw, 1.7rem);
}

.android-story::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: -2.1rem;
  width: 1px;
  height: 68%;
  background: linear-gradient(var(--android-pink), rgba(134, 80, 188, 0));
}

.android-eyebrow,
.android-card-kicker {
  color: var(--android-violet);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.android-story h1 {
  max-width: 13ch;
  margin: 0.72rem 0 1.35rem;
  color: var(--android-ink);
  font-size: clamp(3.15rem, 6vw, 6.4rem);
  font-weight: 480;
  line-height: 0.91;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.android-story h1 em {
  color: var(--android-violet);
  font-weight: 430;
}

.android-copy {
  display: grid;
  gap: 0.75rem;
  max-width: 68ch;
  color: var(--android-ink-soft);
  font-size: clamp(0.97rem, 1.2vw, 1.08rem);
  line-height: 1.64;
}

.android-copy p {
  margin: 0;
}

.android-copy strong {
  color: var(--android-ink);
  font-weight: 600;
}

.android-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-top: 1.55rem;
  padding: 0.8rem 1.05rem 0.82rem 0.9rem;
  border: 1px solid rgba(238, 77, 151, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 20px 45px -38px rgba(35, 5, 37, 0.7);
  backdrop-filter: blur(16px);
}

.android-proof strong {
  color: var(--android-pink);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 580;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.android-proof span {
  color: var(--android-ink-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.android-scroll-cta {
  position: relative;
  z-index: 6;
  width: fit-content;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(23, 7, 25, 0.12);
  border-radius: 999px;
  padding: 0.46rem 0.48rem 0.46rem 1.2rem;
  color: #fff;
  background: var(--android-ink);
  box-shadow: 0 18px 34px -22px rgba(23, 7, 25, 0.82);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.android-scroll-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 38px -22px rgba(23, 7, 25, 0.88);
}

.android-scroll-cta:focus-visible {
  outline: 3px solid rgba(134, 80, 188, 0.34);
  outline-offset: 3px;
}

.android-scroll-cta-intro {
  margin-top: 1.15rem;
}

.android-scroll-cta-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--android-ink);
  background: var(--android-lime);
  font-size: 1.05rem;
  line-height: 1;
}

.android-visual-bridge {
  position: relative;
  width: min(640px, 100%);
  height: clamp(500px, 46vw, 590px);
  margin: 1.75rem 0 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.android-visual-bridge .android-preview-stage.hero-stage-dual {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  margin: 0;
}

.android-visual-bridge .hero-scene {
  width: min(540px, 100%);
  height: 100%;
}

.android-visual-bridge .hero-device-capture {
  width: min(42%, 226px);
  left: 15%;
  top: 17%;
}

.android-visual-bridge .hero-device-result {
  width: min(48%, 260px);
  right: 6%;
  top: 5%;
}

.android-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid rgba(45, 12, 48, 0.12);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 252, 0.82)),
    var(--android-paper-strong);
  box-shadow: var(--android-shadow);
  isolation: isolate;
  scroll-margin-top: 1.5rem;
}

.android-form-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 77, 151, 0.16), transparent 70%);
}

.android-form-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -130px;
  left: -100px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 245, 170, 0.3), transparent 69%);
}

.android-form-intro {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.android-card-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--android-ink);
  background: var(--android-lime);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.android-form-card h2 {
  max-width: 13ch;
  margin: 0.35rem 0 0;
  color: var(--android-ink);
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  font-weight: 480;
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.android-form-lede {
  max-width: 58ch;
  margin: 1.05rem 0 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--android-line);
  color: var(--android-ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.android-waitlist-form {
  display: grid;
  gap: 1rem;
}

.android-waitlist-form[hidden] {
  display: none !important;
}

.android-field-row {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 0.8rem;
}

.android-field {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.android-field > span {
  color: var(--android-ink);
  font-size: 0.73rem;
  font-weight: 600;
}

.android-field input,
.android-field select {
  width: 100%;
  min-height: 52px;
  margin: 0;
  border: 1px solid var(--android-line);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  color: var(--android-ink);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.25;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.android-field select {
  appearance: auto;
}

.android-field input::placeholder {
  color: rgba(89, 75, 91, 0.64);
}

.android-field input:focus,
.android-field select:focus {
  outline: none;
  border-color: rgba(134, 80, 188, 0.66);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(134, 80, 188, 0.1);
}

.android-test-opt-in {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px dashed rgba(134, 80, 188, 0.26);
  border-radius: 14px;
  background: rgba(247, 240, 247, 0.56);
  cursor: pointer;
}

.android-test-opt-in input {
  width: 19px;
  height: 19px;
  margin: 0.1rem 0 0;
  accent-color: var(--android-violet);
}

.android-test-opt-in > span {
  display: grid;
  gap: 0.2rem;
}

.android-test-opt-in strong {
  color: var(--android-ink);
  font-size: 0.79rem;
  line-height: 1.35;
}

.android-test-opt-in small {
  color: var(--android-ink-soft);
  font-size: 0.7rem;
  line-height: 1.42;
}

.android-submit {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 0.72rem 0.62rem 1.35rem;
  color: #fff;
  background: var(--android-ink);
  box-shadow: 0 18px 34px -22px rgba(23, 7, 25, 0.8);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.android-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 38px -22px rgba(23, 7, 25, 0.86);
}

.android-submit:active {
  transform: translateY(0) scale(0.995);
}

.android-submit:focus-visible {
  outline: 3px solid rgba(134, 80, 188, 0.34);
  outline-offset: 3px;
}

.android-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.android-submit-pill {
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  color: var(--android-ink);
  background: var(--android-lime);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.android-form-status {
  min-height: 1.1rem;
  margin: -0.45rem 0 -0.45rem;
  color: #a32b53;
  font-size: 0.75rem;
  font-weight: 600;
}

.android-waitlist-form.has-error .android-field input:invalid,
.android-waitlist-form.has-error .android-field select:invalid {
  border-color: rgba(185, 52, 91, 0.64);
  box-shadow: 0 0 0 3px rgba(185, 52, 91, 0.08);
}

.android-privacy-note {
  margin: 0;
  color: var(--android-ink-soft);
  font-size: 0.66rem;
  line-height: 1.45;
}

.android-privacy-note a {
  color: var(--android-violet);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.android-success {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.3rem);
}

.android-success[hidden] {
  display: none !important;
}

.android-success:focus {
  outline: none;
}

.android-success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  color: var(--android-ink);
  background: var(--android-lime);
  font-size: 1.5rem;
  box-shadow: 0 0 0 9px rgba(198, 245, 170, 0.24);
}

.android-success h2 {
  margin: 0.5rem 0 1rem;
}

.android-success p {
  max-width: 46ch;
  margin: 0;
  color: var(--android-ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.android-footer {
  width: min(1320px, calc(100% - 3rem));
  min-height: 70px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  border-top: 1px solid var(--android-line);
  color: var(--android-ink-soft);
  font-size: 0.72rem;
}

.android-footer nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.android-footer a {
  color: inherit;
  text-decoration: none;
}

.android-footer a:hover,
.android-footer a[aria-current="page"] {
  color: var(--android-violet);
}

@media (max-width: 1100px) {
  .android-hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
    gap: 2.2rem;
  }

  .android-story h1 {
    font-size: clamp(3.15rem, 6.6vw, 5.4rem);
  }

}

@media (max-width: 860px) {
  .android-nav,
  .android-main,
  .android-footer {
    width: min(100% - 2rem, 680px);
  }

  .android-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.4rem;
  }

  .android-story {
    padding-left: 0;
  }

  .android-story::before {
    display: none;
  }

  .android-story h1 {
    max-width: 12ch;
    font-size: clamp(3.2rem, 12vw, 5.8rem);
  }

  .android-visual-bridge {
    height: 560px;
  }

  .android-form-card {
    border-radius: 26px;
  }

  .android-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.75rem;
    padding: 1.3rem 0;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .android-nav,
  .android-main,
  .android-footer {
    width: calc(100% - 1.5rem);
  }

  .android-nav {
    min-height: 68px;
  }

  .android-nav .wordmark {
    font-size: 1.45rem;
  }

  .android-nav-status {
    min-height: 31px;
    max-width: 165px;
    padding: 0.35rem 0.62rem;
    font-size: 0.61rem;
    letter-spacing: 0.025em;
    text-align: right;
  }

  .android-hero {
    gap: 1.65rem;
    padding: 2rem 0 2.5rem;
  }

  .android-story h1 {
    margin-top: 0.6rem;
    font-size: clamp(3rem, 15vw, 4.6rem);
    line-height: 0.92;
  }

  .android-copy {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .android-copy p:nth-child(3) {
    display: none;
  }

  .android-proof {
    width: 100%;
    justify-content: flex-start;
  }

  .android-scroll-cta-intro {
    width: 100%;
  }

  .android-visual-bridge {
    height: 465px;
    margin-top: 1.35rem;
  }

  .android-visual-bridge .android-preview-stage.hero-stage-dual,
  .android-visual-bridge .hero-scene {
    min-height: 465px;
    height: 465px;
  }

  .android-visual-bridge .hero-device-capture {
    width: 46%;
    left: 11%;
    top: 18%;
  }

  .android-visual-bridge .hero-device-result {
    width: 54%;
    right: 0;
    top: 5%;
  }

  .android-form-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .android-form-intro {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .android-card-number {
    width: 38px;
    height: 38px;
    font-size: 0.92rem;
  }

  .android-form-card h2 {
    font-size: 2.15rem;
  }

  .android-form-lede {
    margin-top: 0.85rem;
    font-size: 0.8rem;
  }

  .android-field-row {
    grid-template-columns: 1fr;
  }

  .android-field input,
  .android-field select {
    min-height: 50px;
    font-size: 0.84rem;
  }

  .android-submit {
    font-size: 0.83rem;
  }

  .android-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .android-submit {
    transition: none;
  }
}
