:root {
  color-scheme: light;
  --ink: #152432;
  --muted: #536271;
  --paper: #f7f9fa;
  --white: #ffffff;
  --line: #dbe3e7;
  --accent: #146c70;
  --accent-dark: #0e5053;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.container { width: min(100% - 3rem, 1120px); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 10;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-inner { min-height: 76px; }
.brand {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand-mark, .accent { color: var(--accent); }
.site-header nav a, .site-footer a { font-weight: 600; text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; }
.hero { padding-block: clamp(5rem, 11vw, 9rem); }
.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; }
h1 { max-width: 950px; margin: 0; font-size: clamp(3.2rem, 8vw, 6.5rem); }
h2 { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { margin: 0 0 .7rem; font-size: 1.35rem; }
.lead { max-width: 720px; margin: 2rem 0; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.button {
  display: inline-block;
  margin-top: .5rem;
  padding: .9rem 1.2rem;
  border-radius: .3rem;
  background: var(--accent-dark);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--accent); color: var(--white); }
.section-divider { border-top: 1px solid var(--line); padding-block: clamp(4rem, 8vw, 6rem); }
.section-heading { max-width: 760px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.7rem; }
.card { min-height: 220px; padding: 1.6rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--white); }
.card-number { display: block; margin-bottom: 2rem; color: var(--accent-dark); font-size: .8rem; font-weight: 750; }
.card p, .focus-section p, .contact-section p { color: var(--muted); }
.focus-section { padding-block: clamp(4rem, 8vw, 6rem); }
.focus-section h2 { max-width: 820px; }
.focus-section > p:last-child { max-width: 720px; font-size: 1.1rem; }
.page-intro { padding-block: clamp(4rem, 8vw, 6rem); }
.page-intro h1 { font-size: clamp(3.2rem, 8vw, 5.5rem); }
.principles { margin: 2rem 0 0; padding-left: 1.4rem; }
.principles li { padding: .45rem 0 .45rem .3rem; }
code { font-family: Consolas, "Courier New", monospace; }
.code-block { overflow-wrap: anywhere; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: .3rem; background: var(--white); color: var(--ink) !important; }
.contact-link { font-size: 1.3rem; font-weight: 700; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { min-height: 100px; color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) {
  .container { width: min(100% - 2rem, 1120px); }
  .header-inner { min-height: 68px; }
  .site-header nav { font-size: .9rem; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card-number { margin-bottom: 1rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
