:root {
  color-scheme: light;
  --ink: #14181d;
  --muted: #4c5663;
  --navy: #1a2f4a;
  --line: #dce2e8;
  font-family: Geist, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
a { color: var(--navy); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2671bc; outline-offset: 5px; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 2; padding: .7rem 1rem; background: #fff; }
.skip:focus { top: 1rem; }
.site-header, .site-footer { max-width: 80rem; margin: auto; padding: 1.6rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.site-header nav > a:not(.button) { text-decoration: none; }
.brand { display: block; flex-shrink: 0; width: 9.5rem; line-height: 1; }
.brand-logo { display: block; width: 100%; height: auto; }
.bl-mark { fill: #82bfff; }
.bl-word { fill: #000; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.2rem; color: #fff; background: var(--navy); border: 1px solid var(--navy); text-decoration: none; font-weight: 550; line-height: 1.4; min-height: 2.75rem; }
.button:hover { background: #24405f; }
h1, h2 { font-family: "LT Superior Serif", Georgia, serif; font-weight: 400; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); margin: .65rem 0 1rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); }
p { margin: 0 0 1.1rem; }
.eyebrow { font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.intro { font-size: 1.2rem; line-height: 1.65; color: var(--muted); }
.legal { max-width: 49rem; margin: 4.5rem auto 6rem; padding: 0 1.5rem; overflow-wrap: anywhere; }
.legal h2 { margin: 2.8rem 0 1rem; font-size: 1.85rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { padding-left: .3rem; margin-bottom: .85rem; }
.updated { color: var(--muted); font-size: .9rem; margin: 0 0 2rem; }
.site-footer { border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.site-footer p { margin: 0; }
.theory-hero { max-width: 60rem; margin: 5.5rem auto 5rem; padding: 0 1.5rem; text-align: center; }
.theory-hero h1 { font-size: clamp(3.5rem, 8vw, 7rem); margin-bottom: 1.25rem; }
.hero-line { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); }
.theory-hero .intro { max-width: 40rem; margin: auto; }
.actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.example-section { max-width: 72rem; padding: 0 2rem; margin: 0 auto 5rem; }
.section-intro { max-width: 40rem; margin-bottom: 2rem; }
.section-intro h2 { margin: .7rem 0 1rem; }
.section-intro > p:last-child { color: var(--muted); }
.example { border: 1px solid var(--line); border-radius: .65rem; overflow: hidden; }
.example-top { padding: .8rem 1.35rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .875rem; border-bottom: 1px solid var(--line); }
.example-grid { display: grid; grid-template-columns: .8fr 1.2fr; }
.source-docs { padding: 1.5rem; background: #f6f8fa; border-right: 1px solid var(--line); }
.label { color: var(--muted); font-size: .875rem; }
.source-docs article { padding: 1rem; border: 1px solid var(--line); background: #fff; margin-top: 1rem; }
.source-docs article > span { font-size: .875rem; color: var(--muted); }
.source-docs article p { margin: .6rem 0 0; }
.example-answer { padding: 1.5rem 2rem; }
.question { color: var(--muted); }
.answer { font-size: 1.35rem; margin: .9rem 0 1.7rem; }
.answer strong { color: #245c40; }
details { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: .95rem 0; color: var(--navy); }
.explanation { border-left: 2px solid #82bfff; padding-left: 1rem; margin-bottom: 1rem; }
.explanation p { margin-bottom: .65rem; }
.explanation p:last-child { color: var(--muted); font-size: .95rem; }
.example-note { color: var(--muted); font-size: .875rem; max-width: 55rem; margin-top: 1rem; }
.carry-forward { max-width: 72rem; padding: 3rem 2rem 5rem; margin: auto; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.carry-forward h2 { margin: 0; }
.carry-forward > div > p { color: var(--muted); }
.small { font-size: .875rem; margin-top: 1.5rem; }
@media (max-width: 650px) {
  .site-header, .site-footer { padding: 1.25rem; gap: 1rem; }
  .site-header nav { gap: .8rem; font-size: .875rem; }
  .site-header nav > a:not(.button) { display: none; }
  .brand { width: 8rem; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .site-footer nav { gap: 1rem; }
  .legal { margin-top: 3rem; }
  .theory-hero { margin-top: 3.5rem; }
  .example-section { padding: 0 1.25rem; }
  .example-top { flex-direction: column; gap: .15rem; }
  .example-grid, .carry-forward { grid-template-columns: 1fr; }
  .source-docs { border-right: 0; border-bottom: 1px solid var(--line); }
  .example-answer { padding: 1.5rem; }
  .carry-forward { padding: 2.5rem 1.25rem 4rem; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
