:root {
  color-scheme: light;
  --paper: #f8fafc;
  --ink: #142138;
  --muted: #47566b;
  --accent: #1458bd;
  --line: #d8e3f0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  margin: 0;
}

h1, p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid #2368cc;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 2;
  inset: .75rem auto auto .75rem;
  padding: .75rem 1rem;
  background: white;
  transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus { transform: none; }
.container { width: min(100% - clamp(2.5rem, 10vw, 10rem), 75rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  min-height: 5.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
  flex-wrap: wrap;
  padding-block: .8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: clamp(.9rem, 3.5vw, 1.05rem);
  font-weight: 750;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: none;
  width: 2rem;
  height: 2rem;
}

.hero {
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 7.4vw, 7rem);
  line-height: .98;
  font-weight: 730;
  letter-spacing: -.075em;
  text-wrap: balance;
}

.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { max-width: 31rem; margin-top: 1.65rem; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1.5rem;
  padding-block: 1.5rem;
  color: var(--muted);
}

.footer-inner small { font-size: .875rem; }

.contact-link {
  color: var(--accent);
  font-weight: 650;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.contact-link:hover { color: #0d4599; }

@media (max-width: 26rem) {
  .header-inner { min-height: 4.5rem; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .hero p { font-size: 1rem; }
}
