:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182d29;
  background: #fff;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p { margin: 0; }
a { color: #066044; text-underline-offset: .18em; }
a:hover { color: #063e31; }
a:focus-visible, summary:focus-visible { outline: 3px solid #147c65; outline-offset: 4px; border-radius: 2px; }
.frame { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 2; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: .5rem; }
.masthead { background: #10251f; color: white; }
.masthead-inner, .masthead nav, .brand { display: flex; align-items: center; }
.masthead-inner { justify-content: space-between; min-height: 4.5rem; gap: .75rem; }
.masthead nav { gap: clamp(.8rem, 4vw, 2.4rem); }
.masthead a { color: white; text-decoration: none; }
.masthead a:hover { text-decoration: underline; }
.masthead a:focus-visible { outline-color: #a2f3c9; }
.brand { gap: .55rem; font-size: 1.35rem; font-weight: 740; letter-spacing: -.045em; }
.brand img { background: #fff; padding: 4px; width: 32px; height: 36px; border-radius: 7px; }
.masthead nav a { padding-block: .65rem; font-size: .94rem; font-weight: 600; }
.masthead nav .panel-link { background: #c3f1ce; color: #143527; padding: .5rem .95rem; border-radius: .45rem; }
.hero { background: #edf6ee; border-bottom: 1px solid #d6e6da; }
.hero .frame { padding-block: clamp(2rem, 5vw, 4rem); }
h1 { max-width: 22ch; font-size: clamp(2.15rem, 5vw, 4.15rem); line-height: 1.06; font-weight: 680; letter-spacing: -.055em; overflow-wrap: break-word; }
.lead { max-width: 60ch; color: #3b564c; font-size: clamp(1.04rem, 2vw, 1.22rem); margin-top: 1rem; }
.back { display: inline-block; margin-bottom: 1.4rem; font-weight: 600; text-decoration: none; }
.back:hover, .desktop-index a:hover, .mobile-index a:hover { text-decoration: underline; }
.date { margin-top: 1.15rem; color: #455f52; font-size: .87rem; }
.actions, .related div { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; }
.actions { margin-top: 1.5rem; }
.actions a { font-weight: 650; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: 2.5rem 4rem; }
.card { position: relative; display: block; padding: 1.5rem 3.1rem 1.5rem 1.5rem; color: inherit; border: 1px solid #cddbd2; border-radius: .7rem; text-decoration: none; }
.card:hover { border-color: #458265; background: #f7faf7; }
.card h2 { font-size: 1.25rem; line-height: 1.25; }
.card p { margin-top: .55rem; color: #41584e; }
.card span { position: absolute; right: 1.25rem; top: 1.25rem; color: #19704d; }
.reading-grid { display: grid; grid-template-columns: minmax(13rem, .8fr) minmax(0, 2.15fr); align-items: start; gap: clamp(2rem, 6vw, 6rem); padding-block: 3rem 4rem; }
.reading-grid aside { position: sticky; top: 1rem; }
.desktop-index { border-left: 2px solid #c7decc; padding-left: 1.2rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.desktop-index h2, summary { font-size: 1rem; font-weight: 700; }
aside ul { list-style: none; padding: 0; margin: .5rem 0 0; }
aside a { display: block; padding: .38rem 0; font-size: .95rem; line-height: 1.4; text-decoration: none; }
.mobile-index { display: none; }
article { max-width: 74ch; min-width: 0; overflow-wrap: anywhere; font-size: 1.035rem; line-height: 1.72; }
article h2 { margin: 2.2rem 0 .75rem; font-size: clamp(1.35rem, 2.5vw, 1.68rem); line-height: 1.23; letter-spacing: -.028em; scroll-margin-top: 1.25rem; }
article h2:first-child { margin-top: 0; }
article h2:target { text-decoration: underline; text-decoration-color: #7dbf98; text-underline-offset: .2em; }
article p + p, article li + li { margin-top: .7rem; }
article ul, article ol { padding-left: 1.4rem; }
code { padding: .08rem .22rem; background: #edf3ee; font-size: .88em; }
.related { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid #d3ded7; }
.related div { font-size: .96rem; }
.site-footer { background: #f4f6f2; border-top: 1px solid #dbe4dd; }
.site-footer .frame { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; }
.site-footer p { margin-top: .3rem; font-size: .9rem; color: #42554b; }
@media (max-width: 48rem) {
  .frame { width: calc(100% - 2.25rem); }
  .reading-grid, .card-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding-block: 1.5rem 2.5rem; }
  .reading-grid aside { position: static; }
  .desktop-index { display: none; }
  .mobile-index { display: block; padding: .8rem 1rem; border: 1px solid #cddbd2; border-radius: .5rem; }
  summary { cursor: pointer; }
  .site-footer .frame { flex-direction: column; }
}
@media (max-width: 26rem) {
  .masthead-inner { min-height: 3.8rem; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 25px; height: 30px; }
  .masthead nav a { font-size: .82rem; }
  .masthead nav .panel-link { padding-inline: .55rem; }
}
@media print {
  .masthead, .skip-link, .back, aside, .related, .actions { display: none; }
  .hero, .site-footer { background: white; }
  .frame { width: 100%; }
  .hero .frame, .reading-grid { padding-block: 1rem; }
  .reading-grid { display: block; }
  article { max-width: none; color: black; font-size: 11pt; }
  article h2 { break-after: avoid; }
}
