@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/montserrat-800.woff2") format("woff2");
}

:root {
  --navy: #24497e;
  --yellow: #f8c828;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--white);
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.banner {
  display: block;
  width: 100%;
  height: auto;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.logo {
  display: block;
  width: min(18rem, 70vw);
  height: auto;
}

.copy {
  text-align: left;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.site {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--yellow);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site:hover,
.site:focus-visible {
  border-bottom-color: currentColor;
}

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

@media (max-width: 760px) {
  main {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .copy {
    text-align: center;
  }
}
