:root {
  color-scheme: light;
  --ink: #1e344f;
  --muted: #46617c;
  --link: #245582;
  --line: #c8d9e8;
  --serif: "Iowan Old Style", "Palatino Linotype", "AppleMyungjo", "Batang", Georgia, serif;
  --sans: "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f5f9fd; font: 1rem/1.78 var(--sans); word-break: keep-all; overflow-wrap: break-word; }
a { color: var(--link); text-underline-offset: .21em; }
a:hover { color: #123652; }
a:focus-visible { outline: 3px solid #28649a; outline-offset: 4px; }
.skip { position: absolute; top: -10rem; z-index: 1; padding: .6rem; background: white; }
.skip:focus { top: 0; }
.top { background: #e4f0fb; border-bottom: 1px solid var(--line); }
.top-inner { max-width: 68rem; margin: auto; padding: .95rem clamp(1.15rem, 4vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; flex-wrap: wrap; }
.brand { color: var(--ink); font: 600 1.12rem/1.4 var(--serif); text-decoration: none; }
nav { display: flex; gap: 1.5rem; font-size: .9rem; line-height: 2; }
nav a { text-decoration: none; color: var(--muted); }
nav a[aria-current] { color: var(--ink); border-bottom: 2px solid #477ca9; }
.sheet { max-width: 58rem; margin: auto; padding: 0 clamp(1.15rem, 4vw, 3rem) 4.5rem; }
.hero { padding: clamp(3rem, 7vw, 5rem) 0 2.3rem; }
.eyebrow, .section-label { color: var(--muted); font-size: .8rem; font-weight: 650; letter-spacing: .045em; }
.hero h1 { margin: .36rem 0 .6rem; font: 550 clamp(2.1rem, 5.6vw, 3.9rem)/1.15 var(--serif); letter-spacing: -.035em; }
.hero p { margin: 1rem 0 0; color: var(--muted); max-width: 42rem; }
.entry { background: #fff; border: 1px solid var(--line); border-top: .25rem solid #9dbedb; border-radius: .25rem; padding: clamp(1.15rem, 5vw, 3.8rem); }
.section-label { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; padding-bottom: 1.05rem; border-bottom: 1px solid var(--line); }
.section-label a { text-decoration-thickness: 1px; }
h2 { font: 600 clamp(1.75rem, 3.5vw, 2.4rem)/1.3 var(--serif); letter-spacing: -.02em; margin: 1.6rem 0 1rem; }
h3 { font: 650 1.14rem/1.45 var(--sans); margin: 2rem 0 .4rem; }
p { margin: .5rem 0 1rem; }
.standfirst { font-size: 1.09rem; line-height: 1.8; }
.related { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1rem 1.25rem; background: #edf5fc; border-left: .2rem solid #94b7d3; margin: 1.5rem 0; }
.related p { font: 600 1.13rem/1.4 var(--serif); margin: .25rem 0 0; }
.related a { font-size: .88rem; white-space: nowrap; }
.paper { font-family: var(--serif); font-size: 1.13rem; line-height: 1.7; word-break: normal; }
.paper .section-label { font-family: var(--sans); }
.paper h2 { margin-bottom: .25em; color: #345f85; font-size: 1.4em; }
.paper h2 + h3 { margin: 0 0 .95em; font: 600 clamp(1.65rem, 3.2vw, 2.1rem)/1.2 var(--serif); }
.paper .statement { font-style: italic; padding-bottom: .25rem; border-bottom: 1px solid var(--line); }
.paper h3 { font: 600 1.2rem/1.45 var(--serif); }
.paper math { font-style: normal; }
math[display=block] { display: block math; max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: .4em .12em; }
:target { scroll-margin-top: 1rem; }
@media (max-width: 32rem) {
  .top-inner { flex-direction: column; align-items: flex-start; gap: .3rem; }
  nav { gap: 1rem; }
  .hero { padding: 2.25rem 0 1.6rem; }
  .paper { font-size: 1.04rem; }
  .sheet { padding-inline: .85rem; }
}
