:root {
  color-scheme: light;
  --navy: #151f42;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

h1 {
  margin: 0;
  line-height: 1;
}

h1 img {
  display: block;
  width: min(29rem, 78vw);
  height: auto;
}

.contact {
  display: inline-flex;
  min-width: 9.75rem;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .85rem 1.45rem;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 999px;
  box-shadow: 0 .65rem 1.8rem rgba(21, 31, 66, .12);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact span {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}

.contact:hover,
.contact:focus-visible {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 .8rem 2.2rem rgba(21, 31, 66, .09);
  outline: none;
  transform: translateY(-2px);
}

.contact:hover span,
.contact:focus-visible span { transform: translate(.12rem, -.12rem); }

@media (max-width: 32rem) {
  main { gap: 2.5rem; }
  h1 img { width: min(23rem, 84vw); }
}

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