:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #676760;
  --paper: #f4f3ee;
  --surface: #ffffff;
  --line: #deddd6;
  --accent: #173f35;
  --accent-soft: #e3ece8;
  --max: 760px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid #7ca797;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgb(244 243 238 / 94%);
}

.site-header__inner,
main,
.site-footer__inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  padding-block: clamp(54px, 9vw, 96px) 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 740;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 790;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 740;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 720;
}

.lead {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(19px, 3vw, 23px);
  line-height: 1.48;
}

.meta {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.document {
  margin-top: clamp(54px, 9vw, 86px);
}

.document section {
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.document p:first-of-type {
  margin-top: 0;
}

.document p:last-child,
.document ul:last-child,
.document ol:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.3em;
}

li + li {
  margin-top: 8px;
}

.note,
.contact-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.note {
  margin-top: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.contact-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.contact-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.contact-card:hover {
  border-color: #a8aaa2;
}

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

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px 40px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 620px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 18px;
  }

  nav ul {
    justify-content: flex-start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    background: #fff;
    font-size: 12pt;
  }

  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  main {
    width: 100%;
    padding: 0;
  }

  a {
    color: inherit;
  }
}
