:root {
  color-scheme: light dark;
  --canvas: #faf6f0;
  --surface: #fffdf9;
  --ink: #241e1a;
  --muted: #655b54;
  --line: #ddcec0;
  --accent: #9d4616;
  --focus: #165d85;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--canvas);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
p, ul, ol { margin: 0 0 1.2rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: .65rem 1rem;
  background: var(--ink);
  color: var(--surface);
}
.skip-link:focus { top: .5rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header__inner, .site-footer__inner { max-width: 1160px; margin: auto; padding: 1rem clamp(1.25rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-size: .84rem; font-weight: 800; letter-spacing: .15em; text-decoration: none; }
.brand__mark { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 2px solid var(--accent); border-radius: 50%; transform: rotate(-18deg); }
.brand__mark span { width: .58rem; height: .28rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translate(1px, -1px); }
.site-header__label { color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

.page-shell { max-width: 1160px; margin: auto; padding: 0 clamp(1.25rem, 4vw, 3rem) 5rem; }
.hero { max-width: 820px; padding: clamp(3rem, 8vw, 6rem) 0 2rem; }
.eyebrow, .contents__title { font-size: .74rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: .3rem 0 1rem; font-size: clamp(2.8rem, 7vw, 5.1rem); line-height: 1.08; letter-spacing: -.045em; }
.hero__intro { max-width: 700px; font-size: clamp(1.13rem, 2vw, 1.35rem); line-height: 1.55; }
.date-line { color: var(--muted); font-size: .88rem; }
.date-line span { padding: 0 .4em; }

.content-grid { display: grid; grid-template-columns: minmax(170px, 220px) minmax(0, 720px); align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.contents { position: sticky; top: 2rem; padding-top: .3rem; }
.contents__title { margin-bottom: 1rem; color: var(--muted); }
.contents ol { padding-left: 1.2rem; font-size: .86rem; }
.contents li { padding-left: .2rem; margin-bottom: .55rem; }
.contents li::marker { color: var(--muted); }
.contents a { color: var(--ink); text-decoration: none; }
.contents a:hover, .contents a:focus-visible { color: var(--accent); text-decoration: underline; }

.policy section { padding: 0 0 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.policy section:last-child { border-bottom: 0; margin-bottom: 0; }
h2 { font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 1.2rem; }
.policy p, .policy li { max-width: 68ch; }
.policy p:last-child { margin-bottom: 0; }
.policy ul { padding-left: 1.35rem; }
.policy li { padding-left: .25rem; margin-bottom: .55rem; }
.policy li::marker { color: var(--accent); }
.summary-card { margin: 0 0 1.4rem; padding: 1.15rem 1.35rem .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 8px 30px rgba(50, 28, 14, .035); }
.summary-card ul { margin-bottom: .6rem; }
.detail-list strong { color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.site-footer a { color: var(--ink); }

@media (max-width: 760px) {
  .hero { padding: 2.25rem 0 1.5rem; }
  .content-grid { display: block; }
  .contents { display: none; }
}
@media (max-width: 420px) {
  .date-line span { display: none; }
  .date-line { display: grid; gap: .1rem; }
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #171310; --surface: #211b17; --ink: #f7ede2; --muted: #c8b9ad; --line: #4a3c32; --accent: #eea475; --focus: #8dc8ee; }
  .summary-card { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
