/* Inter, self-hosted (SIL OFL 1.1, see assets/fonts/OFL.txt). One variable
   file serves weights 300-600. Served from this site so no visitor request
   reaches a third party. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #76c5e8;
  --blue-dark: #4aa9d3;
  --ink: #27333b;
  --muted: #5f6d76;
  --rule: #dce8ed;
  --ground: #f8fbfc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Single shared measure: header logo and all text share this left edge */
.wrap { width: min(100% - 3rem, 940px); margin: 0 auto; }

/* Header — cropped wordmark sits flush to the text margin */
.site-header { border-bottom: 1px solid var(--rule); background: #fff; }
.header-inner { padding: 3rem 0 2.75rem; }
.wordmark {
  display: block;
  width: 460px;
  max-width: 82%;
  height: auto;
  margin-left: 0;
}

/* Intro — headline reduced so the logo leads, lede raised to close the gap */
.intro { padding: 5rem 0 4.5rem; }
.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--blue-dark);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1 {
  max-width: 24ch;
  margin: 0 0 1.6rem;
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -.022em;
}
.lede {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.72;
}

/* Contact — quiet label, email is the action */
.contact { padding: 0 0 5rem; }
h2 {
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contact p { max-width: 58ch; margin: 0; color: var(--muted); font-size: 1.06rem; }
.email { margin-top: .7rem !important; }
.email a {
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 3px;
  transition: border-color .15s ease, color .15s ease;
}
.email a:hover { color: var(--blue-dark); border-bottom-color: var(--blue-dark); }

/* Footer — legal detail, deliberately recessive */
footer {
  padding: 2.4rem 0 2.6rem;
  color: #79858c;
  background: var(--ground);
  border-top: 1px solid var(--rule);
  font-size: .8rem;
  line-height: 1.7;
}
footer p { margin: 0; }
footer strong { color: #58656d; font-weight: 500; }
.copyright { margin-top: .9rem !important; }
.footer-links { margin-top: .9rem !important; }
footer a { color: #58656d; text-decoration: none; border-bottom: 1px solid var(--rule); }
footer a:hover { color: var(--blue-dark); border-bottom-color: var(--blue-dark); }
.header-inner a { display: inline-block; }

/* Legal pages (privacy notice) — same measure and voice as the home page */
.legal { padding: 4rem 0 4.5rem; }
.legal h1 { font-size: 2.2rem; margin-bottom: .6rem; }
.legal .updated { margin: 0 0 2.6rem; color: #79858c; font-size: .9rem; }
.legal h2 { margin: 2.4rem 0 .7rem; }
.legal p { max-width: 64ch; margin: 0 0 1rem; color: var(--muted); }
.legal .eyebrow { margin: 0 0 1.2rem; color: var(--blue-dark); }
.legal a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--blue); }
.legal .email { margin: 1.2rem 0 2rem !important; }
.legal .email a { font-size: 1.24rem; font-weight: 400; color: var(--ink); }
.legal code { font-size: .92em; color: var(--ink); }
.legal a:hover { color: var(--blue-dark); border-bottom-color: var(--blue-dark); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 2.25rem, 940px); }
  .header-inner { padding: 1.9rem 0 1.7rem; }
  .wordmark { width: 300px; max-width: 80%; }
  .intro { padding: 3.4rem 0 3rem; }
  h1 { font-size: 2.05rem; max-width: 20ch; margin-bottom: 1.3rem; }
  .lede { font-size: 1.05rem; }
  .contact { padding: 0 0 3.4rem; }
  .contact p { font-size: 1rem; }
  .legal { padding: 2.8rem 0 3.2rem; }
  .legal h1 { font-size: 1.8rem; }
  .email a { font-size: 1.1rem; }
}

@media (max-width: 420px) {
  .wordmark { width: 240px; }
  h1 { font-size: 1.8rem; }
  .lede { font-size: 1rem; }
}
