:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #292622; background: #f7f5f1; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #880f00; color: white; padding: 30px max(24px, calc((100vw - 820px) / 2)); }
header a { color: white; text-decoration: none; font-size: 26px; font-weight: 700; letter-spacing: -.04em; }
header p { margin: 8px 0 0; opacity: .8; font-size: 14px; }
main { max-width: 868px; margin: auto; padding: 36px 24px 64px; }
nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; margin-bottom: 32px; }
a { color: #880f00; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid #be7513; outline-offset: 4px; }
h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; letter-spacing: -.04em; margin: 0 0 16px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 12px; }
p, li { font-size: 16px; line-height: 1.7; }
li { margin: 8px 0; }
ul, ol { padding-left: 24px; }
.updated { font-size: 14px; color: #68615a; }
.summary, .reference { background: white; border: 1px solid #e2dcd3; padding: 20px 24px; border-radius: 12px; margin: 24px 0; }
.summary p:first-child, .reference p:first-child { margin-top: 0; }
.summary p:last-child, .reference p:last-child { margin-bottom: 0; }
.translation { border-top: 1px solid #d9d0c5; margin-top: 48px; padding-top: 40px; scroll-margin-top: 24px; }
button { background: #880f00; color: white; border: none; border-radius: 6px; padding: 12px 16px; font: inherit; cursor: pointer; }
output { display: block; margin-top: 16px; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; }
footer { border-top: 1px solid #d9d0c5; padding: 24px; text-align: center; font-size: 14px; line-height: 1.8; }
footer a { margin: 0 8px; }
@media (max-width: 480px) { main { padding-top: 24px; } .summary, .reference { padding: 16px; } }
