:root {
  --ink:#211b1d; --muted:#5f5558; --red:#a01938; --paper:#fffcf8; --line:#d8ceca;
  font:100%/1.65 system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  color:var(--ink); background:var(--paper); word-break:keep-all; overflow-wrap:anywhere;
}
* { box-sizing:border-box; }
body,h1,h2,h3,p,figure { margin:0; }
img { display:block; max-width:100%; }
a { color:inherit; text-underline-offset:.22em; }
a:focus-visible, [tabindex="0"]:focus-visible { outline:3px solid #b9284b; outline-offset:3px; }
.rail { width:min(1200px,calc(100% - clamp(36px,8vw,120px))); margin-inline:auto; }
.skip { position:absolute; top:-80px; left:14px; z-index:4; background:white; padding:8px 14px; }
.skip:focus { top:8px; }
.mast { background:#080708; color:#fff; border-bottom:3px solid #9e1431; }
.bar { min-height:70px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.brand { display:inline-flex; align-items:center; min-height:44px; }
.brand img { width:clamp(146px,18vw,212px); height:auto; }
.bar nav { display:flex; gap:clamp(14px,2vw,30px); align-items:center; }
.bar nav a { font-size:.91rem; font-weight:650; text-decoration:none; padding-block:10px; }
.bar nav a:hover,.bar nav [aria-current] { text-decoration:underline; text-underline-offset:.46em; }
.site-footer { border-top:1px solid var(--line); text-align:center; padding:25px 18px; color:var(--muted); font-size:.86rem; }
@media(max-width:720px) {
  .bar { min-height:58px; gap:10px; }
  .bar nav { gap:clamp(9px,2.5vw,16px); }
  .brand img { width:clamp(110px,28vw,154px); }
  .bar nav a { font-size:.83rem; white-space:nowrap; }
}
.error main { padding-block:clamp(60px,12vw,160px); }
.error main h1 { font-size:clamp(2rem,5vw,3.5rem); line-height:1.22; }
.error main p { margin-top:18px; }
