:root {
  color-scheme: light;
  --orange: #ff6a00;
  --orange-light: #ff9b3f;
  --ink: #0f1218;
  --paper: #fffaf4;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--orange) url("/assets/background.png") center / cover fixed;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(15, 18, 24, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 18, 24, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.beta-header,
.beta-main,
.beta-footer {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.beta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(24px, 4vw, 42px);
}

.beta-header__logo {
  display: inline-flex;
}

.beta-header__logo img {
  width: clamp(142px, 16vw, 181px);
  height: auto;
}

.beta-header__tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  color: var(--white);
  background: rgba(15, 18, 24, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.beta-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(24px, 5vw, 64px);
}

.platform-picker {
  width: min(100%, 540px);
  margin: 0 auto clamp(32px, 5vw, 58px);
  text-align: center;
}

.platform-picker__control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(15, 18, 24, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 28px rgba(15, 18, 24, 0.08);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.platform-picker__button {
  min-height: 50px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  color: rgba(15, 18, 24, 0.68);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.platform-picker__button[aria-selected="true"] {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 5px 12px rgba(15, 18, 24, 0.2);
}

.platform-picker__button:active {
  transform: translateY(1px);
}

.platform-picker__button:focus-visible,
.install-card__button:focus-visible,
.beta-header__logo:focus-visible,
.beta-footer a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.platform-picker__status {
  min-height: 18px;
  margin: 9px 0 0;
  color: rgba(15, 18, 24, 0.68);
  font-size: 12px;
  font-weight: 600;
}

.beta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.beta-intro {
  padding-left: clamp(0px, 2vw, 24px);
}

.beta-intro__title {
  max-width: 620px;
  margin: 0;
  color: var(--white);
  font-family: "Lexend", "Inter", sans-serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.beta-intro__copy {
  max-width: 540px;
  margin: 24px 0 0;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.52;
}

.install-card {
  position: relative;
  padding: clamp(24px, 3.3vw, 40px);
  border: 1px solid rgba(15, 18, 24, 0.14);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 18px 18px 0 rgba(15, 18, 24, 0.12), 0 28px 70px rgba(15, 18, 24, 0.18);
}

.install-card::before,
.install-card::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid var(--ink);
  content: "";
  pointer-events: none;
}

.install-card::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.install-card::after {
  right: -2px;
  bottom: -2px;
  border-top: 0;
  border-left: 0;
}

.install-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.install-card__device {
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 14px;
  object-fit: cover;
}

.install-card__eyebrow {
  margin: 0 0 5px;
  color: rgba(15, 18, 24, 0.58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.install-card__title {
  margin: 0;
  font-family: "Lexend", "Inter", sans-serif;
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.install-card__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 64px;
  padding: 0 20px 0 22px;
  border-radius: 3px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(15, 18, 24, 0.18);
  font-family: "Lexend", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.install-card__button:hover {
  background: #252b34;
  box-shadow: 0 11px 22px rgba(15, 18, 24, 0.23);
  transform: translateY(-1px);
}

.install-card__button:active {
  transform: translateY(1px);
}

.install-card__arrow {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.install-card__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-card__steps {
  margin-top: 30px;
}

.install-card__steps-title {
  margin: 0 0 17px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.install-card__steps ol {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-card__steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}

.step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: "Lexend", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.install-card__steps strong,
.install-card__steps li div > span {
  display: block;
}

.install-card__steps strong {
  padding-top: 1px;
  font-size: 14px;
  line-height: 1.35;
}

.install-card__steps li div > span {
  margin-top: 3px;
  color: rgba(15, 18, 24, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.install-card__help {
  margin: 28px 0 0;
  padding-top: 17px;
  border-top: 1px solid rgba(15, 18, 24, 0.12);
  color: rgba(15, 18, 24, 0.62);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.beta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 34px;
  color: rgba(15, 18, 24, 0.65);
  font-size: 12px;
  font-weight: 600;
}

.beta-footer p {
  margin: 0;
}

.beta-footer a {
  color: inherit;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  body {
    background-attachment: scroll;
  }

  .beta-main {
    justify-content: flex-start;
    padding-top: 20px;
  }

  .platform-picker {
    margin-bottom: 34px;
  }

  .beta-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .beta-intro {
    padding-left: 0;
    text-align: center;
  }

  .beta-intro__title,
  .beta-intro__copy {
    margin-inline: auto;
  }

  .beta-intro__title {
    font-size: clamp(42px, 11vw, 64px);
  }

  .install-card {
    box-shadow: 10px 10px 0 rgba(15, 18, 24, 0.12), 0 24px 60px rgba(15, 18, 24, 0.17);
  }
}

@media (max-width: 480px) {
  .beta-header,
  .beta-main,
  .beta-footer {
    width: min(100% - 30px, 1180px);
  }

  .beta-header {
    padding-block: 20px 16px;
  }

  .beta-header__tag {
    min-height: 28px;
    padding-inline: 8px;
    font-size: 9px;
  }

  .beta-main {
    padding-top: 16px;
  }

  .platform-picker__button {
    min-height: 48px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .beta-intro__title {
    font-size: clamp(40px, 13vw, 55px);
  }

  .beta-intro__copy {
    font-size: 16px;
  }

  .install-card {
    padding: 23px 20px 24px;
  }

  .install-card__device {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .install-card__title {
    font-size: 20px;
  }

  .install-card__button {
    min-height: 60px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .beta-footer {
    padding-block: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
