:root {
  color-scheme: light;
  --paper: #fbf8f2;
  --ink: #302920;
  --muted: #675c51;
  --line: #ded5c8;
  --accent: #69462b;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
.guide, .masthead, body > footer {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
}
.guide .masthead { width: 100%; }
.masthead { border-bottom: 1px solid var(--line); padding: 18px 0; }
.masthead a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: bold 23px/1.5 Georgia, "Batang", serif; text-decoration: none; }
.masthead a:not(:has(img))::before { content: ""; width: 32px; height: 32px; background: url("/assets/brand-emblem-transparent.png") center / contain no-repeat; }
a { color: var(--accent); text-underline-offset: .2em; }
.crumbs { margin: 22px 0 32px; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.guide { padding-bottom: 30px; word-break: keep-all; overflow-wrap: anywhere; }
.guide article > header { border-bottom: 1px solid var(--line); padding: 0 0 18px; }
.guide h1, .guide h2 { font-family: Georgia, "AppleMyungjo", "Batang", serif; letter-spacing: -.035em; text-wrap: balance; }
.guide h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); line-height: 1.25; margin: 0 0 18px; }
.guide h2 { font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.4; margin: 0 0 .65em; }
.guide h3 { margin: 1.8em 0 .5em; line-height: 1.5; font-size: 1.12rem; }
.guide article > section, .guide .related { margin-top: clamp(34px, 7vw, 52px); }
.guide p, .guide li { line-height: 1.85; }
.guide p { color: #51463c; }
.guide header > p { font-size: 1.07rem; }
.guide strong { color: var(--ink); }
.guide details { border-bottom: 1px solid var(--line); }
.guide summary { padding: 15px 0; cursor: pointer; font-weight: 650; }
.guide details p { margin: 0 0 18px; }
.guide table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.6; font-variant-numeric: tabular-nums; }
.guide caption { padding: .6em 0; text-align: left; color: var(--muted); }
.guide td, .guide th { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; }
.guide thead { background: #eee7da; }
.guide .action { display: inline-block; margin: 8px 0; padding: 13px 20px; background: #45352e; color: #fffaf2; border-radius: 6px; text-decoration: none; font-weight: 650; }
.guide .related { border-top: 1px solid var(--line); padding-top: 22px; }
.related a { display: block; width: fit-content; padding: 8px 0; }
footer { padding-block: 22px 40px; border-top: 1px solid var(--line); font-size: .9rem; }
:focus-visible { outline: 2px solid #70461d; outline-offset: 3px; }
