:root {
  --navy: #0b2745;
  --blue: #052c78;
  --teal: #08aab6;
  --mist: #f3f7fa;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--navy);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 34%, rgb(255 255 255 / 98%) 0 17%, transparent 56%),
    linear-gradient(145deg, #ffffff, var(--mist));
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

main {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(2rem, 7vw, 6rem);
  text-align: center;
}

.logo {
  width: min(78vw, 720px);
  height: auto;
  filter: drop-shadow(0 22px 48px rgb(19 47 77 / 10%));
}

h1 {
  margin: clamp(3.2rem, 9vh, 7rem) 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 10vw, 9.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-wrap: balance;
}

h1::after {
  display: block;
  width: clamp(64px, 8vw, 112px);
  height: 4px;
  margin: clamp(1.6rem, 4vh, 3rem) auto 0;
  border-radius: 999px;
  content: "";
  background: var(--teal);
}

a {
  margin-top: clamp(1.7rem, 4vh, 3rem);
  color: var(--navy);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration-color: rgb(8 170 182 / 55%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--teal);
  text-decoration-color: var(--teal);
}

a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 8px;
}

@media (max-width: 560px) {
  .logo {
    width: min(88vw, 520px);
  }

  h1 {
    margin-top: 4rem;
    font-size: clamp(4rem, 19vw, 6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }
}
