:root {
  --ink: #1c2128;
  --ink-soft: #4b535e;
  --line: #e2e5e9;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --accent: #2c4a6e;
  --max-width: 760px;
}

* {
  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(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

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

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wordmark {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.wordmark:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

h1 {
  font-size: 1.9rem;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.lede {
  font-size: 1.1rem;
  color: var(--ink);
}

.contact-block {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.contact-block a {
  font-size: 1.1rem;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.footer-legal {
  font-weight: 500;
}

.footer-links a {
  color: var(--ink-soft);
  margin-right: 1rem;
}

.footer-links a:last-child {
  margin-right: 0;
}

@media (max-width: 480px) {
  .footer-inner {
    flex-direction: column;
  }
}
