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

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

:root {
  color-scheme: light;
  --ink: #2c2c2c;
  --brand-green: #b1fc74;
  --brand-green-hover: #c3ff91;
  --brand-green-ring: #46c154;
  --masthead-height: 80px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.masthead {
  position: relative;
  z-index: 2;
  height: var(--masthead-height);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(34, 34, 34, 0.33);
}

.masthead-inner {
  width: min(80%, 1080px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.logo {
  display: block;
  width: 182px;
  height: auto;
}

.shell {
  position: relative;
  min-height: calc(100vh - var(--masthead-height));
  min-height: calc(100svh - var(--masthead-height));
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 64px 24px 72px;
  background:
    linear-gradient(180deg, rgba(11, 35, 54, 0.46) 0%, rgba(8, 28, 45, 0.7) 100%),
    url("/assets/minneapolis-skyline.webp") center center / cover no-repeat;
}

.shell::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(10, 1, 1, 0) 0%,
    rgba(10, 10, 10, 0.18) 22%,
    rgba(10, 10, 10, 0.32) 85%,
    rgba(10, 2, 2, 0) 100%
  );
  pointer-events: none;
}

.panel {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  max-width: 900px;
  margin: 0;
  padding: 20px 0;
  color: #ffffff;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(44px, 5vw, 66px);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 0.23em #000000;
}

p {
  margin: 0;
  color: inherit;
}

.brand p {
  max-width: 660px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 0.08em 0.64em #000000;
}

.status-row {
  min-height: 28px;
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.status-indicator {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 3px solid var(--brand-green-ring);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 5px rgba(177, 252, 116, 0.14);
}

.status {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.75);
}

.launch-link {
  min-width: 270px;
  min-height: 52px;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 26px;
  border-radius: 40px;
  background: var(--brand-green);
  box-shadow: 0 10px 28px rgba(4, 20, 31, 0.22);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.launch-link[hidden] {
  display: none;
}

.launch-link:hover,
.launch-link:focus-visible {
  background: var(--brand-green-hover);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.88), 0 10px 28px rgba(4, 20, 31, 0.3);
  transform: translateY(-2px);
  outline: none;
}

.launch-link:active {
  transform: translateY(0);
}

.hint {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.55;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.75);
}

.invalid .hint {
  display: none;
}

.invalid .status-indicator {
  border-color: #ffd18b;
  box-shadow: 0 0 0 5px rgba(255, 209, 139, 0.14);
}

@media (max-width: 767px) {
  .masthead-inner {
    width: 80%;
  }

  .logo {
    width: 156px;
  }

  .shell {
    min-height: calc(100vh - var(--masthead-height));
    min-height: calc(100svh - var(--masthead-height));
    padding: 48px 24px 56px;
    background-position: 52% center;
  }

  h1 {
    max-width: 360px;
    padding: 16px 0;
    font-size: 44px;
    line-height: 1.02;
  }

  .brand p {
    max-width: 330px;
    font-size: 18px;
    line-height: 1.5;
  }

  .status-row {
    max-width: 330px;
    margin-top: 32px;
  }

  .launch-link {
    width: min(100%, 310px);
  }

  .hint {
    max-width: 330px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 40px;
  }

  .status-row {
    gap: 10px;
  }

  .status {
    font-size: 15px;
  }
}

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