:root {
  color-scheme: light;
  --ink: #151a20;
  --muted: #4c5762;
  --navy: #0b1925;
  --yellow: #ffbd19;
  --line: #d7dfe4;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f5f6f7; font: 400 1.075rem/1.65 Roboto, Arial, sans-serif; }
a { color: #684900; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 2px solid #935f00; outline-offset: 3px; }
.site-header { background: var(--navy); color: white; }
.header-inner, .site-footer { width: min(100% - 2rem, 65rem); margin-inline: auto; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; min-height: 4.5rem; padding-block: .75rem; }
.site-header img { display: block; width: 9rem; height: auto; }
.site-header a { color: white; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
main { width: min(100% - 2rem, 52rem); margin: clamp(1.5rem, 6vw, 4.5rem) auto; min-width: 0; }
article { padding: clamp(1.25rem, 4vw, 3rem); background: white; border: 1px solid var(--line); border-radius: 1rem; }
h1, h2 { line-height: 1.17; text-wrap: balance; }
h1 { margin: 0 0 1.15rem; font-size: clamp(1.8rem, 1.3rem + 2vw, 3.25rem); letter-spacing: -.02em; }
h2 { margin: 2rem 0 .75rem; font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem); }
p { margin: 0 0 1rem; }
.byline { color: var(--muted); }
.archive-label { color: #785300; font-size: .85rem; font-weight: 700; }
.note { padding-inline-start: 1rem; border-inline-start: .2rem solid var(--yellow); color: var(--muted); }
.button { display: inline-block; max-width: 100%; padding: .7rem 1.15rem; background: var(--yellow); color: var(--ink); border-radius: .6rem; font-weight: 700; text-decoration: none; }
.button:hover { background: #ffd04c; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1.5rem; }
details { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .6rem; }
summary { font-weight: 700; cursor: pointer; }
details p:first-of-type { margin-top: .75rem; }
details p:last-child { margin-bottom: 0; }
.site-footer { padding-block: 0 2rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 32rem) {
  .header-inner, .site-footer, main { width: calc(100% - 1.5rem); }
  .site-header nav { font-size: .95rem; }
}
