:root {
  color-scheme: light;
  --ink: #183236;
  --muted: #536567;
  --paper: #fffef9;
  --line: #dce4df;
  --accent: #075e58;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: #f1f4ee;
  color: var(--ink);
  font:
    17px/1.75 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

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

a:focus-visible {
  outline: 3px solid #dbb44f;
  outline-offset: 5px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 5;
}

.skip:focus {
  top: 12px;
}

header {
  background: #0d2025;
  color: #f5f9ee;
  padding: 36px max(24px, calc((100% - 1080px) / 2)) 50px;
  border-bottom: 5px solid #b4d783;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  font-size: 15px;
}

.brand svg {
  width: 42px;
  height: 32px;
  color: #b4d783;
}

.eyebrow {
  color: #bad1c9;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.16em;
  margin: 35px 0 8px;
}

h1 {
  font-size: clamp(36px, 6vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 0 0 17px;
  font-weight: 750;
}

.intro {
  max-width: 690px;
  color: #d4e2db;
  margin: 0;
  font-size: 18px;
}

.date {
  font-size: 13px;
  color: #b5c9c3;
  margin: 24px 0 0;
}

.layout {
  max-width: 1128px;
  margin: auto;
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 48px;
  padding: 42px 24px 60px;
}

nav {
  align-self: start;
  position: sticky;
  top: 24px;
  font-size: 14px;
  line-height: 1.5;
}

nav strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

nav a {
  display: block;
  text-decoration: none;
  padding: 7px 0;
  color: var(--muted);
}

nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 38px;
  min-width: 0;
  box-shadow: 0 6px 30px #18323605;
}

h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h3 {
  font-size: 17px;
  margin: 20px 0 6px;
}

section + section {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 30px;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 22px;
  margin: 12px 0 16px;
}

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

.note {
  background: #edf4e7;
  border-left: 3px solid #87a86b;
  padding: 15px 18px;
  border-radius: 0 7px 7px 0;
  font-size: 15px;
  margin: 22px 0;
}

.contact {
  display: grid;
  gap: 4px;
  font-size: 15px;
  padding: 0 0 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.contact b {
  font-weight: 650;
}

.label {
  color: var(--muted);
  margin-right: 6px;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

footer {
  max-width: 1128px;
  margin: auto;
  padding: 0 24px 35px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

code {
  font-size: 13px;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  header {
    padding: 26px 22px 35px;
  }

  .layout {
    display: block;
    padding: 25px 16px 35px;
  }

  nav {
    position: static;
    margin: 0 6px 25px;
  }

  nav div {
    display: flex;
    gap: 0 16px;
    flex-wrap: wrap;
  }

  nav strong {
    margin-bottom: 7px;
  }

  article {
    padding: 25px 22px;
    border-radius: 10px;
  }

  body {
    font-size: 16px;
  }

  .intro {
    font-size: 17px;
  }

  .eyebrow {
    margin-top: 25px;
  }

  h2 {
    font-size: 22px;
  }
}

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

@media print {
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }

  header {
    background: none;
    color: black;
    padding: 0 0 20px;
    border-bottom: 1px solid #aaa;
  }

  .intro,
  .date,
  .eyebrow {
    color: #333;
  }

  .layout {
    display: block;
    padding: 20px 0;
  }

  nav,
  .skip {
    display: none;
  }

  article {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  section {
    break-inside: avoid;
  }

  footer {
    padding: 0;
  }

  a {
    color: inherit;
  }

  .note {
    background: none;
    border: 1px solid #aaa;
  }
}
