@font-face {
  font-family: "QV Serif";
  src: url("/fonts/qv-serif-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "QV Sans";
  src: url("/fonts/qv-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "QV Sans";
  src: url("/fonts/qv-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0c2a4b;
  --navy-hover: #143a64;
  --gold: #e9b759;
  --text: #33414f;
  --muted: #5b6b7b;
  --slate: #3d556f;
  --bg: #ffffff;
  --focus: #0c2a4b;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "QV Sans", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.hero {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

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

.rule {
  width: 3rem;
  height: 0;
  margin: 1.5rem auto 2.25rem;
  border: 0;
  border-top: 2px solid var(--gold);
}

h1 {
  margin: 0;
  color: var(--navy);
  font-family: "QV Serif", "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lede {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  text-wrap: pretty;
}

.vision {
  margin: 1rem auto 2.25rem;
  color: var(--slate);
  font-size: 1rem;
  font-style: normal;
}

@media (min-width: 768px) {
  .vision {
    white-space: nowrap;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.button:hover {
  background: var(--navy-hover);
}

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

.footer {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem 1.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
}

.footer p {
  margin: 0;
}

.footer a {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer a:hover {
  color: var(--navy);
}

.footer a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  body {
    font-size: 1.0625rem;
  }

  .hero {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .logo {
    width: 200px;
  }

  .rule {
    margin: 1.25rem auto 1.75rem;
  }

  .vision {
    margin-bottom: 1.75rem;
  }

  .button {
    display: flex;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
