:root {
  color-scheme: dark;
  --white: #ffffff;
  --button: #4f72b3;
  --button-hover: #3d5e9e;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: #126aa5 url("/images/placehold-background.png") center center / cover no-repeat;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
}

.coming-soon {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: start center;
  padding: clamp(1.1rem, 5vh, 4rem) 1.25rem 2rem;
  text-align: center;
}

.content {
  width: min(100%, 42rem);
}

.logo {
  display: block;
  width: min(100%, 38vw, 30rem);
  height: auto;
  margin: 0 auto clamp(1.5rem, 3.8vh, 2.25rem);
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.02;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0, 42, 77, 0.16);
}

p {
  margin: 0.3rem 0 clamp(1.5rem, 3.8vh, 2.25rem);
  font-size: clamp(0.85rem, 1.7vw, 1.12rem);
  font-weight: 500;
  line-height: 1.28;
  text-shadow: 0 1px 6px rgba(0, 42, 77, 0.28);
}

.button {
  display: inline-flex;
  min-width: 7.75rem;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: var(--button);
  box-shadow: 0 0.25rem 0.9rem rgba(23, 54, 110, 0.22);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--button-hover);
  box-shadow: 0 0.35rem 1rem rgba(23, 54, 110, 0.3);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

@media (max-width: 40rem) {
  .coming-soon {
    padding-top: clamp(1.15rem, 5vh, 2rem);
  }

  .content {
    width: min(100%, 28rem);
  }

  .logo {
    width: min(76vw, 14.25rem);
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .desktop-break {
    display: none;
  }

  p {
    max-width: 24rem;
    margin-right: auto;
    margin-left: auto;
  }
}

/* Portrait mobile treatment: a tighter crop preserves both sides of the scene
   while giving the image more height and fading it into the blue content area. */
@media (max-width: 43.75rem) and (orientation: portrait) {
  body.mobile-option {
    background: #0b83cf;
  }

  .mobile-option .coming-soon {
    position: relative;
    z-index: 0;
    overflow: hidden;
    place-items: center;
    padding: clamp(1.5rem, 4vh, 2.25rem) 1.1rem calc(73.1vw + clamp(1rem, 3vh, 2rem));
    background: #0b83cf;
  }

  .mobile-option .coming-soon::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: url("/images/placehold-background.png") center bottom / 130% auto no-repeat;
    content: "";
    pointer-events: none;
  }

  .mobile-option .coming-soon::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(73.1vw + 5rem);
    background: linear-gradient(
      to bottom,
      #0b83cf 0%,
      #0b83cf 24%,
      rgba(11, 131, 207, 0.92) 31%,
      rgba(11, 131, 207, 0.62) 40%,
      rgba(11, 131, 207, 0.24) 49%,
      rgba(11, 131, 207, 0) 58%,
      rgba(11, 131, 207, 0) 100%
    );
    content: "";
    pointer-events: none;
  }

  .mobile-option .content {
    position: relative;
    z-index: 2;
    transform: translateY(clamp(1.5rem, 4vh, 2.25rem));
  }

  .mobile-option .logo {
    width: min(82vw, 20rem);
    margin-bottom: clamp(2.75rem, 7vh, 4rem);
  }

  .mobile-option p {
    margin-top: clamp(0.55rem, 1.4vh, 0.8rem);
    margin-bottom: clamp(4.5rem, 10vh, 5.25rem);
  }
}

@media (max-height: 30rem) and (min-width: 40.01rem) {
  .coming-soon {
    padding-top: 1.15rem;
  }

  .logo {
    width: min(38vw, 14.75rem);
    margin-bottom: 0.35rem;
  }

  h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  p {
    margin-bottom: 1rem;
  }
}

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