:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ink: #26372f;
  --muted: #59645c;
  --green: #24533c;
  --line: #d9ddd2;
  --wash: #edf1e6;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
}
a { color: var(--green); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; border-radius: 2px; }
.wrap { width: min(100% - 3rem, 64rem); margin-inline: auto; }
.skip-link { position: absolute; top: -6rem; left: 1.5rem; z-index: 1; padding: .75rem 1rem; background: var(--paper); }
.skip-link:focus { top: .75rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.2rem; font-weight: 650; letter-spacing: -.04em; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .9rem; }
.site-nav a { padding-block: .55rem; }
.site-nav [aria-current="page"] { font-weight: 700; }
main { padding-block: 4.5rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.1rem; line-height: 1.4; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.intro { max-width: 40rem; margin-bottom: 3.5rem; }
.intro > p:last-child { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.app-entry { border-block: 1px solid var(--line); display: grid; grid-template-columns: 8rem 1fr; gap: 2rem; padding-block: 2.5rem; }
.app-symbol { display: grid; place-items: center; width: 8rem; height: 8rem; border-radius: 50%; background: var(--wash); color: var(--green); font: 4rem/1 var(--serif); }
.app-entry h2 { margin-bottom: .75rem; }
.app-entry p { max-width: 36rem; }
.meta { font-size: .875rem; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 1.5rem; }
.links a { padding-block: .35rem; font-weight: 600; }
.site-note { max-width: 37rem; padding-top: 2rem; font-size: .9rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.5rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .85rem; color: var(--muted); }
.site-footer p { margin-bottom: 0; }
.document { max-width: 44rem; }
.document h1 { font-size: clamp(2.6rem, 6vw, 3.75rem); }
.document h2 { font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: .9rem; }
.document li + li { margin-top: .65rem; }
.document ul { padding-left: 1.4rem; }
.summary { padding: 1.5rem; background: var(--wash); border-left: 3px solid var(--green); margin-block: 2rem; }
.summary p:last-child { margin-bottom: 0; }
.summary h2 { margin-top: 0; }
.contact { overflow-wrap: anywhere; }

@media (max-width: 38rem) {
  .wrap { width: min(100% - 2rem, 64rem); }
  .site-header { align-items: flex-start; flex-direction: column; gap: .4rem; padding-block: 1rem; }
  main { padding-block: 2.5rem; }
  .intro { margin-bottom: 2.5rem; }
  .app-entry { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2rem; }
  .app-symbol { width: 4.5rem; height: 4.5rem; font-size: 2.75rem; }
}

@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .skip-link { display: none; }
  main { padding: 0; }
  .wrap, .document { width: 100%; max-width: none; }
  a { color: inherit; }
  h2 { break-after: avoid; }
}
