.android-download-main {
  min-height: 70vh;
}

.android-download-hero {
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.android-download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.android-download-copy h1 {
  max-width: 13ch;
  margin: .75rem 0 1.25rem;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: .98;
}

.android-download-copy [hidden] {
  display: none;
}

.android-download-lead {
  max-width: 42rem;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.android-release-status {
  min-height: 1.5rem;
  margin: 1.25rem 0;
  color: rgba(255, 255, 255, .7);
}

.android-release-status[data-tone="error"] {
  color: #ffd5ce;
}

.android-download-feedback {
  max-width: 39rem;
  margin: 1rem 0 0;
  padding-left: .85rem;
  border-left: 2px solid #73e4d1;
  color: #d8f7f1;
  font-size: .9rem;
  line-height: 1.55;
}

.android-download-legal {
  max-width: 39rem;
  margin: .9rem 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  line-height: 1.6;
}

.android-download-legal a {
  color: rgba(255, 255, 255, .88);
  text-decoration-color: rgba(115, 228, 209, .55);
  text-underline-offset: .2em;
}

.android-download-legal a:hover,
.android-download-legal a:focus-visible {
  color: #fff;
  text-decoration-color: #73e4d1;
}

.android-update-signup {
  max-width: 39rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.android-update-signup summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.android-update-signup summary::-webkit-details-marker {
  display: none;
}

.android-update-signup summary::after {
  content: "+";
  color: #73e4d1;
  font-size: 1.25rem;
}

.android-update-signup[open] summary::after {
  content: "−";
}

.android-update-signup-body {
  padding: .25rem 0 1.25rem;
}

.android-update-signup-body > p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, .68);
  font-size: .88rem;
  line-height: 1.6;
}

.android-update-signup form {
  display: grid;
  gap: .8rem;
}

.android-update-signup label:not(.waitlist-consent) {
  display: grid;
  gap: .45rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.android-update-signup input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  padding: .75rem .8rem;
  border: 1px solid #3a5064;
  border-radius: .75rem;
  color: #fff;
  background: #071426;
}

.android-update-signup .form-legal a {
  color: rgba(255, 255, 255, .82);
}

.android-update-signup button[type="submit"] {
  justify-self: start;
}

.android-store-options {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.android-store-option {
  min-width: 10.5rem;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .9rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: .9rem;
  color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .035);
  cursor: not-allowed;
}

.android-store-option > span:first-child {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: .55rem;
  background: rgba(255, 255, 255, .06);
  font-size: .75rem;
}

.android-store-option strong,
.android-store-option small {
  display: block;
}

.android-store-option strong {
  font-size: .82rem;
}

.android-store-option small {
  color: rgba(255, 255, 255, .36);
  font-size: .68rem;
  font-weight: 700;
}

.android-screen-showcase {
  position: relative;
  width: min(100%, 31rem);
  min-height: 36rem;
  justify-self: end;
  isolation: isolate;
}

.android-screen-showcase::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 12% 4% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 199, 173, .24), transparent 68%);
  filter: blur(10px);
  animation: android-showcase-glow 7s ease-in-out infinite;
}

.android-showcase-screen {
  position: absolute;
  width: min(58%, 17rem);
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2rem;
  background: #071426;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .42);
}

.android-showcase-screen img {
  width: 100%;
  height: auto;
}

.android-showcase-screen-1 {
  z-index: 3;
  top: 0;
  left: 21%;
}

.android-showcase-screen-2 {
  z-index: 2;
  top: 11%;
  left: 0;
  transform: rotate(-7deg) scale(.84);
  opacity: .64;
}

.android-showcase-screen-3 {
  z-index: 1;
  top: 13%;
  right: 0;
  transform: rotate(7deg) scale(.82);
  opacity: .58;
}

.android-showcase-orbit {
  position: absolute;
  z-index: -1;
  right: 2%;
  bottom: 8%;
  width: 5.5rem;
  aspect-ratio: 1;
  border: 1px solid rgba(115, 228, 209, .35);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.1rem rgba(34, 199, 173, .06);
  animation: android-orbit 7s ease-in-out infinite;
}

@keyframes android-showcase-glow {
  0%, 100% { opacity: .68; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes android-orbit {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1rem, -.8rem); }
}

.android-release-section {
  padding: 0 0 clamp(4rem, 7vw, 6rem);
}

.android-release-card {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, .06);
}

.android-release-card h2 {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.45;
}

.android-release-card dl {
  margin: 0;
}

.android-release-card dl > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding: .9rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.android-release-card dt,
.android-release-card p {
  color: rgba(255, 255, 255, .68);
}

.android-release-card dd {
  margin: 0;
  color: #fff;
  overflow-wrap: anywhere;
}

.android-checksum {
  grid-template-columns: 1fr !important;
}

.android-checksum code {
  font-size: .75rem;
  word-break: break-all;
}

.android-price-availability-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 5rem);
}

.android-price-availability-layout > div {
  max-width: 48rem;
}

.android-price-availability-layout h2 {
  margin-top: .75rem;
}

.android-price-availability-layout p:last-child {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.android-price-availability-layout .feature-detail-link {
  flex: 0 0 auto;
}

.android-install-grid article,
.android-install-grid aside {
  max-width: 44rem;
}

.android-install-heading {
  max-width: 48rem;
}

.android-install-heading > p:last-child {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.android-install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-top: 2.5rem;
}

.android-install-media {
  aspect-ratio: 16 / 9;
  min-height: 18rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .65rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  color: var(--text);
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(34, 199, 173, .18), transparent 42%), #0a1728;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .2);
}

.android-install-play {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  margin-bottom: .35rem;
  padding-left: .2rem;
  border: 1px solid rgba(115, 228, 209, .4);
  border-radius: 50%;
  color: #73e4d1;
  background: rgba(34, 199, 173, .1);
}

.android-install-media small {
  color: var(--muted);
}

.android-install-grid article h3 {
  font-size: 1.35rem;
}

.android-install-grid ol {
  display: grid;
  gap: 1rem;
  padding-left: 1.25rem;
  line-height: 1.7;
}

.android-install-notes {
  display: grid;
  gap: .75rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-left: 3px solid #73e4d1;
  border-radius: 1rem;
  background: var(--surface-muted);
  color: #c4d0d9;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .android-download-layout,
  .android-install-grid,
  .android-price-availability-layout {
    grid-template-columns: 1fr;
  }

  .android-price-availability-layout {
    display: grid;
    align-items: start;
  }

  .android-screen-showcase {
    min-height: 31rem;
    justify-self: center;
  }

  .android-release-card dl > div {
    grid-template-columns: 1fr;
    gap: .3rem;
  }
}

@media (max-width: 430px) {
  .android-store-options {
    display: grid;
  }

  .android-store-option {
    width: 100%;
  }

  .android-screen-showcase {
    min-height: 27rem;
  }

  .android-showcase-screen {
    width: 61%;
    border-radius: 1.5rem;
  }

  .android-install-media {
    min-height: 13rem;
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .android-screen-showcase::before,
  .android-showcase-orbit {
    animation: none;
  }
}
