/*
  Private holding page. Measurements are from the approved review comps.
  Desktop numbers are the 1920×1080 comp. Mobile numbers are the 1080×1920 comp.
  The stage is that canvas, so percentages match those pixels.
  Header fill is the Forest Quiet still. The hairline is 3 px panel.
  Checked. is sage only: no fill, lining, or glow. Letter-spacing is 0.
*/

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --forest: #0C1210;
  --panel: #152420;
  --steel: #A4B0BC;
  --ice: #E8F0EB;
  --muted: #8A9E93;
  --emerald: #3D8B6A;
  --coral: #C47458;
  --display: "Oswald", sans-serif;
  --body: "IBM Plex Sans", sans-serif;
}

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

html,
body {
  margin: 0;
  background: var(--forest);
  color: var(--ice);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  font-family: var(--body);
  font-weight: 400;
  letter-spacing: 0;
}

.stage {
  position: relative;
  container-type: size;
  aspect-ratio: 1920 / 1080;
  width: min(100vw, calc(100vh * 1920 / 1080));
  width: min(100vw, calc(100dvh * 1920 / 1080));
}

.hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.hero-mobile {
  display: none;
}

.top {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: none;
}

.lockup {
  position: absolute;
  left: 6.25%;
  top: 1.944444%;
  width: 10.364583%;
  height: 4.62963%;
  object-fit: contain;
  object-position: left center;
}

.header-rule {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 8.518519%;
  height: 0.277778%;
  background: var(--panel);
  pointer-events: none;
}

h1,
.status,
.btn,
.foot {
  position: absolute;
  z-index: 2;
  letter-spacing: 0;
}

h1 {
  left: 6.25%;
  top: 26.481481%;
  margin: 0;
  color: var(--ice);
  font-family: var(--display);
  font-size: 3.4375cqw;
  font-weight: 700;
  line-height: 1.272727;
  text-transform: none;
}

h1 .line {
  display: block;
  white-space: nowrap;
}

.checked {
  color: var(--muted);
  background: none;
  border: 0;
}

.status {
  left: 6.354167%;
  top: 51.481481%;
  margin: 0;
  color: var(--muted);
  font-family: var(--body);
  font-size: 1.458333cqw;
  font-weight: 400;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.416667cqw;
  background: var(--steel);
  color: var(--forest);
  font-family: var(--body);
  font-size: 1.354167cqw;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  pointer-events: auto;
}

.copy .btn {
  left: 6.354167%;
  top: 57.407407%;
  width: 7.760417%;
  height: 5.185185%;
}

.top .btn {
  top: 2.222222%;
  right: 5.364583%;
  width: 6.09375%;
  height: 4.074074%;
  font-size: 1.145833cqw;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ice);
  color: var(--forest);
}

.btn:focus-visible,
.screen:focus-visible,
.foot a:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

.screen {
  position: absolute;
  z-index: 1;
  left: 51.666667%;
  top: 14.518519%;
  width: 39.166667%;
  height: 39.185185%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  background: transparent;
  pointer-events: none;
}

.screen.is-playing video {
  opacity: 1;
}

.foot {
  left: 0;
  right: 0;
  top: 95.37037%;
  margin: 0;
  color: var(--muted);
  font-family: var(--body);
  font-size: 1.041667cqw;
  font-weight: 400;
  line-height: 1;
}

.foot a {
  position: absolute;
  top: 0;
  color: var(--muted);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.foot a[href$="/privacy/"] {
  left: 6.25%;
}

.foot a[href$="/terms/"] {
  left: 11.5625%;
}

.foot a:hover {
  color: var(--ice);
}

.foot p {
  position: absolute;
  top: 0;
  right: 5.625%;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

@media (orientation: portrait) {
  .stage {
    aspect-ratio: 1080 / 1920;
    width: min(100vw, calc(100vh * 1080 / 1920));
    width: min(100vw, calc(100dvh * 1080 / 1920));
  }

  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }

  .lockup {
    left: 5.555556%;
    top: 1.614583%;
    width: 21.388889%;
    height: 3.020833%;
  }

  .header-rule {
    top: 6.25%;
    height: 0.15625%;
  }

  .top .btn {
    top: 1.770833%;
    right: 8.055556%;
    width: 12.314815%;
    height: 2.708333%;
    border-radius: 0.740741cqw;
    font-size: 2.407407cqw;
  }

  h1 {
    left: 6.481481%;
    top: 13.020833%;
    font-size: 7.222222cqw;
    line-height: 1.282051;
  }

  .status {
    left: 6.666667%;
    top: 29.895833%;
    font-size: 3.148148cqw;
  }

  .copy .btn {
    left: 6.666667%;
    top: 33.645833%;
    width: 16.666667%;
    height: 3.645833%;
    border-radius: 0.740741cqw;
    font-size: 2.962963cqw;
  }

  .screen {
    left: 6.481481%;
    top: 42.708333%;
    width: 87.037037%;
    height: 27.552083%;
  }

  .foot {
    top: 95.833333%;
    font-size: 2.407407cqw;
  }

  .foot a[href$="/privacy/"] {
    left: 6.481481%;
  }

  .foot a[href$="/terms/"] {
    left: 18.518519%;
  }

  .foot p {
    right: 6.481481%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen {
    display: none;
  }
}
