* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --ink: #142f4d;
  --muted: #384e5e;
  --paper: #fffefa;
  --background: #f8f3e5;
  --border: #cfc6ae;
  --green: #17543b;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.frame { width: min(100% - 2rem, 54rem); margin-inline: auto; }
.site-header, .site-footer { background: var(--paper); }
.site-header { border-bottom: 1px solid var(--border); }
.header-layout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1.5rem; padding-block: .75rem; }
.brand { color: var(--ink); font-size: 1.1rem; font-weight: 790; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .15rem 1rem; }
nav a, .brand { display: inline-flex; align-items: center; min-height: 44px; }
nav a { color: var(--green); text-underline-offset: .2em; }
nav [aria-current] { font-weight: 740; text-decoration-thickness: .14em; }
main { flex: 1; padding-block: clamp(2rem, 6vw, 4rem); }
.intro { margin-bottom: 1.6rem; }
.intro p { max-width: 36rem; color: var(--muted); font-size: 1.1rem; }
h1, h2 { line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 7vw, 3.8rem); margin: 0; }
h2 { font-size: 1.3rem; margin: 0 0 .6rem; }
p { margin: 0; }
p + p { margin-top: .9rem; }
.intro p { margin-top: .8rem; }
.paper, .card-link { border: 1px solid var(--border); border-radius: 1.15rem; background: var(--paper); padding: clamp(1.15rem, 4vw, 2rem); }
.paper section + section { margin-top: 1.7rem; }
.paper p { max-width: 68ch; }
.paper a { color: var(--green); text-underline-offset: .16em; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.card-link { color: var(--ink); text-decoration: none; }
.card-link h2 { color: var(--green); text-decoration: underline; text-underline-offset: .18em; }
.card-link:hover { border-color: var(--green); }
details + details { border-top: 1px solid var(--border); margin-top: .35rem; }
summary { min-height: 44px; padding-block: .55rem; color: var(--green); font-weight: 735; cursor: pointer; }
details p { padding: 0 0 .9rem 1.15rem; }
.feedback { margin-top: 1rem; }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); padding-block: 1rem; }
a:focus-visible, summary:focus-visible { outline: 3px solid #12674a; outline-offset: 3px; border-radius: .15rem; }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 10; background: var(--paper); padding: .5rem 1rem; }
.skip:focus { top: .5rem; }
