:root {
  --ink: #0c0a1c;
  --cobalt: #0049e6;
  --paper: #f8f5ff;
  --muted: #575881;
  --line: #d8d4f4;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 12% 6%, rgb(218 226 255 / 75%), transparent 30rem),
    radial-gradient(circle at 84% 86%, rgb(233 222 255 / 72%), transparent 34rem), var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}

.page {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  max-width: 88rem;
  margin: 0 auto;
  padding: 2.25rem clamp(1.5rem, 5vw, 5rem) 1.75rem;
}

header,
footer,
footer nav {
  display: flex;
  align-items: center;
}

header,
footer {
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  color: var(--cobalt);
}

.status,
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
}

.status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cobalt);
}

main {
  display: grid;
  place-items: center;
  padding: clamp(5rem, 14vh, 10rem) 0;
}

.hero {
  width: min(100%, 42rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--cobalt);
}

h1 {
  margin: 0;
  font-family: Iowan Old Style, Baskerville, Times New Roman, serif;
  font-size: clamp(3.5rem, 8vw, 6.75rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

h1 em {
  color: var(--cobalt);
  font-weight: inherit;
}

.lead {
  max-width: 37rem;
  margin: 2.35rem auto 0;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.rule {
  width: 3rem;
  height: 1px;
  margin: 2.2rem auto;
  background: var(--line);
}

.note {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.contact {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 2rem;
  color: var(--cobalt);
  font-weight: 700;
  text-decoration-color: rgb(0 73 230 / 35%);
  text-underline-offset: 0.25em;
  transition: text-decoration-color 160ms ease;
}

.contact:hover {
  text-decoration-color: currentcolor;
}

footer {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

footer nav {
  gap: 1.25rem;
}

footer a {
  text-underline-offset: 0.25em;
}

footer p {
  margin: 0;
}

@media (max-width: 38rem) {
  .page {
    padding-top: 1.5rem;
  }

  .status {
    font-size: 0.7rem;
  }

  main {
    padding: 4.75rem 0;
  }

  .lead {
    line-height: 1.55;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

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