:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --paper: #ffffff;
  --muted: #555555;
  --accent: #1e3a5f;
  --accent-ink: #ffffff;
  --border: #e2e2e2;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  border-bottom: 1px solid var(--border);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  gap: 1rem;
}

.wordmark {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  display: inline-block;
}

header nav a:hover,
header nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}

main {
  padding: 3rem 0 2.5rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.0625rem;
  color: var(--ink);
  margin: 0 0 1rem;
}

.services {
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 0.375rem;
  min-height: 44px;
  line-height: 1.5;
}

.cta:hover,
.cta:focus {
  opacity: 0.9;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
}

footer .contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

footer a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

footer a:hover,
footer a:focus {
  color: var(--accent);
  text-decoration: underline;
}

@media (min-width: 30rem) {
  footer .contact {
    flex-direction: row;
    gap: 1.5rem;
  }
}
