.beta-page {
  padding-top: var(--header-height);
  background: var(--mist-50);
}

.beta-hero {
  position: relative;
  display: flex;
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  padding: 88px max(var(--page-gutter), calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(6, 46, 36, 0.14);
}

.beta-hero::before {
  position: absolute;
  top: 14%;
  right: 0;
  width: 48%;
  height: 1px;
  background: rgba(6, 46, 36, 0.14);
  content: "";
}

.beta-hero-copy {
  position: relative;
  z-index: 2;
  width: min(58%, 690px);
  padding: 34px 0;
}

.beta-hero h1 {
  margin: 0;
  color: var(--pine-700);
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 600;
  line-height: 0.98;
}

.beta-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(17, 19, 18, 0.72);
  font-size: 19px;
  line-height: 1.65;
}

.beta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 32px;
}

.beta-compatibility {
  margin: 18px 0 0;
  color: rgba(17, 19, 18, 0.56);
  font-size: 13px;
}

.beta-hero-device {
  position: absolute;
  z-index: 1;
  right: max(var(--page-gutter), calc((100vw - var(--content)) / 2));
  bottom: -260px;
  width: 370px;
  margin: 0;
  padding: 9px;
  border: 2px solid #17201e;
  border-radius: 48px;
  background: #070d0c;
  box-shadow: 0 30px 76px rgba(7, 17, 15, 0.2);
}

.beta-hero-device img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 39px;
}

.beta-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.beta-facts > div {
  display: grid;
  gap: 5px;
  padding: 24px;
  border-right: 1px solid rgba(6, 46, 36, 0.13);
}

.beta-facts > div:first-child {
  border-left: 1px solid rgba(6, 46, 36, 0.13);
}

.beta-facts span,
.beta-integrity-data dt {
  color: var(--moss-500);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.beta-facts strong {
  color: var(--pine-800);
  font-size: 15px;
}

.beta-workflow,
.beta-install,
.beta-notice,
.beta-feedback {
  display: grid;
  max-width: var(--content);
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 90px;
  margin: 0 auto;
  padding: 112px var(--page-gutter);
}

.beta-section-heading h2,
.beta-gallery h2,
.beta-integrity h2,
.beta-notice h2,
.beta-feedback h2 {
  margin: 0;
  color: var(--pine-700);
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.08;
}

.beta-section-heading > p:last-child,
.beta-gallery-heading > p:last-child,
.beta-feedback p,
.beta-notice > p {
  margin: 24px 0 0;
  color: rgba(17, 19, 18, 0.68);
}

.beta-checks,
.beta-install-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beta-checks li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(6, 46, 36, 0.16);
}

.beta-checks li:last-child {
  border-bottom: 1px solid rgba(6, 46, 36, 0.16);
}

.beta-checks li > span {
  color: var(--gold-text);
  font-family: var(--serif);
  font-size: 20px;
}

.beta-checks strong {
  color: var(--pine-800);
  font-size: 18px;
}

.beta-checks p {
  margin: 6px 0 0;
  color: rgba(17, 19, 18, 0.65);
}

.beta-gallery {
  padding: 104px max(var(--page-gutter), calc((100vw - var(--content)) / 2));
  background: var(--ivory-50);
}

.beta-gallery-heading {
  max-width: 760px;
}

.beta-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 58px;
}

.beta-screens figure {
  min-width: 0;
  margin: 0;
}

.beta-screens img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(6, 46, 36, 0.14);
  border-radius: 8px;
  background: var(--mist-50);
}

.beta-screens figcaption {
  margin-top: 14px;
  color: rgba(17, 19, 18, 0.64);
  font-size: 13px;
}

.beta-install-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(6, 46, 36, 0.16);
}

.beta-install-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(6, 46, 36, 0.24);
  border-radius: 50%;
  color: var(--pine-700);
  font-weight: 700;
}

.beta-install-steps p {
  margin: 5px 0 0;
  color: rgba(17, 19, 18, 0.74);
}

.beta-integrity {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 90px;
  padding: 104px max(var(--page-gutter), calc((100vw - var(--content)) / 2));
  background: var(--pine-900);
  color: var(--ivory-50);
}

.beta-integrity .eyebrow,
.beta-integrity-data dt {
  color: var(--gold-300);
}

.beta-integrity h2 {
  color: var(--ivory-50);
}

.beta-integrity-copy > p:last-child {
  margin: 24px 0 0;
  color: rgba(255, 249, 239, 0.65);
}

.beta-integrity-data {
  display: grid;
  gap: 0;
  margin: 0;
}

.beta-integrity-panel {
  min-width: 0;
}

.beta-integrity-data > div {
  padding: 17px 0;
  border-top: 1px solid rgba(255, 249, 239, 0.14);
}

.beta-integrity-data dd {
  margin: 7px 0 0;
  color: rgba(255, 249, 239, 0.78);
  overflow-wrap: anywhere;
}

.beta-integrity-data code {
  font-size: 12px;
}

.beta-integrity-details {
  border-top: 1px solid rgba(255, 249, 239, 0.14);
  border-bottom: 1px solid rgba(255, 249, 239, 0.14);
}

.beta-integrity-details summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  color: var(--ivory-50);
  font-weight: 650;
  cursor: pointer;
}

.beta-integrity-toggle::after {
  content: "+";
  margin-left: 20px;
  color: var(--gold-300);
  font-size: 20px;
  font-weight: 400;
}

.beta-integrity-details[open] .beta-integrity-toggle::after {
  content: "−";
}

.beta-integrity-details summary:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 4px;
}

.beta-integrity-details > p {
  max-width: 58ch;
  margin: 0 0 10px;
  color: rgba(255, 249, 239, 0.65);
}

.beta-integrity-details .beta-integrity-data > div:last-child {
  padding-bottom: 22px;
}

.beta-notice {
  padding-top: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(6, 46, 36, 0.15);
}

.beta-notice > p {
  margin-top: 2px;
}

.beta-feedback {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  padding-top: 86px;
  padding-bottom: 86px;
  background: var(--ivory-50);
}

.beta-feedback > img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

/* Override the homepage beta panel styles when this standalone page is open. */
.beta-page .beta-facts {
  border-top: 0;
  border-bottom: 0;
}

.beta-page .beta-facts span {
  display: inline;
  margin: 0;
}

@media (max-width: 980px) {
  .beta-page {
    padding-top: 0;
  }

  .beta-hero {
    min-height: 700px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .beta-hero-copy {
    width: 62%;
  }

  .beta-hero h1 {
    font-size: 58px;
  }

  .beta-hero-device {
    right: 26px;
    bottom: -180px;
    width: 300px;
  }

  .beta-workflow,
  .beta-install,
  .beta-integrity,
  .beta-notice {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 620px) {
  .beta-hero {
    display: grid;
    min-height: auto;
    gap: 38px;
    padding-top: 42px;
    padding-bottom: 0;
  }

  .beta-hero::before {
    display: none;
  }

  .beta-hero-copy {
    width: 100%;
    padding: 0;
  }

  .beta-hero h1 {
    font-size: 46px;
  }

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

  .beta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .beta-actions .text-link {
    align-self: flex-start;
  }

  .beta-hero-device {
    position: relative;
    right: auto;
    bottom: -70px;
    width: min(286px, calc(100vw - 56px));
    justify-self: center;
  }

  .beta-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 70px;
  }

  .beta-facts > div,
  .beta-facts > div:first-child {
    padding: 18px 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(6, 46, 36, 0.13);
  }

  .beta-facts > div:nth-child(odd) {
    padding-right: 12px;
  }

  .beta-workflow,
  .beta-install,
  .beta-notice,
  .beta-feedback,
  .beta-integrity {
    gap: 34px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .beta-section-heading h2,
  .beta-gallery h2,
  .beta-integrity h2,
  .beta-notice h2,
  .beta-feedback h2 {
    font-size: 34px;
  }

  .beta-gallery {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .beta-screens {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-right: 0;
    overflow: visible;
    padding-right: 0;
    scroll-snap-type: none;
  }

  .beta-screens figure {
    width: min(100%, 310px);
    margin: 0 auto;
  }

  .beta-checks li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .beta-feedback {
    grid-template-columns: 1fr;
  }

  .beta-feedback > img {
    width: 92px;
    height: 92px;
  }
}
