:root {
  color-scheme: light;
  --desk: #ede2cf;
  --paper: #fff9ec;
  --ink: #293c32;
  --muted: #626354;
  --clay: #914027;
  --rule: #cbbba0;
  --serif: "Iowan Old Style", "Palatino Linotype", "AppleMyungjo", "Batang", Georgia, serif;
  --body: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--desk); font-family: var(--body); font-size: 17px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: url("assets/hanji.png") center / 700px; opacity: .25; pointer-events: none; }
a { color: var(--clay); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; border-radius: 3px; }
img { max-width: 100%; height: auto; display: block; }
p { margin: .6rem 0; }
h1, h2, h3 { line-height: 1.35; text-wrap: balance; }
h1 { font-family: var(--serif); font-size: clamp(2.3rem, 5.5vw, 4.4rem); font-weight: 600; margin: .5rem 0 1.3rem; letter-spacing: -.035em; }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 0 0 1.2rem; }
h3 { font-size: 1.12rem; margin: 1.7rem 0 .5rem; }
li + li { margin-top: .65rem; }
ul { padding-left: 1.3rem; }
.en { color: var(--muted); font-size: .94em; word-break: normal; }
.pair + .pair { margin-top: 1.5rem; }
.pair > .en { margin-top: .25rem; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 1rem; padding: .8rem 1.2rem; background: var(--paper); z-index: 10; }
.skip:focus { top: 1rem; }
.site-header { padding-block: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: .9rem; }
nav a[aria-current="page"] { color: var(--clay); text-decoration: underline; text-decoration-thickness: 2px; }
.eyebrow { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; padding-block: 72px 88px; }
.hero h1 { font-size: clamp(3.7rem, 8vw, 6.8rem); line-height: 1.08; margin-bottom: 1.6rem; }
.subtitle { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.55; font-weight: 600; margin: 0; }
.intro { max-width: 34rem; margin-top: 1.7rem; }
.art { position: relative; padding: 14px; background: var(--paper); border: 1px solid #d8c7a9; border-radius: 36px 36px 100px 36px; box-shadow: 6px 10px 0 #dfcfb3, 12px 20px 0 #d5c2a1, 18px 28px 30px #69513924; transform: rotate(2deg); }
.art img { width: 100%; border-radius: 25px 25px 88px 25px; }
.art figcaption { text-align: center; font-size: .74rem; letter-spacing: .08em; margin: 12px 0 1px; color: var(--muted); }
figure { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; min-height: 48px; border: 1px solid var(--ink); border-radius: 7px 10px 8px 6px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; box-shadow: 2px 3px 0 #293c3222; }
.button.secondary { background: var(--paper); color: var(--ink); border-color: var(--rule); }
.button:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 3px 5px 0 #293c3222; }
.section-rule { padding-top: 25px; border-top: 1px solid var(--rule); margin-bottom: 24px; display: flex; align-items: baseline; gap: 22px; }
.section-rule h2 { margin: 0; }
.section-rule span { font: italic 1rem var(--serif); color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin: 35px 0 76px; }
.features .number { display: block; font: italic 1.6rem var(--serif); color: var(--clay); margin-bottom: 18px; }
.features h3 { margin: 0 0 12px; }
.paper { background: var(--paper); border: 1px solid #d8c7a9; box-shadow: 3px 5px 0 #deceb0, 7px 10px 18px #6951390c; border-radius: 10px 17px 12px 8px; }
.help-strip { padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 72px; }
.help-strip h2 { margin-bottom: 8px; }
.page-title { padding: 58px 0 42px; max-width: 820px; }
.page-title h1 .en { display: block; font-size: .46em; letter-spacing: 0; margin-top: .45rem; }
.meta { font-size: .84rem; color: var(--muted); }
.document-grid { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 42px; align-items: start; margin-bottom: 72px; }
.toc { position: sticky; top: 28px; border-top: 2px solid var(--ink); padding-top: 20px; }
.toc p { font-size: .8rem; margin-bottom: 14px; }
.toc a { display: block; padding: 9px 0; min-height: 44px; font-size: .9rem; text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--clay); text-decoration: underline; }
.document { padding: 38px 44px; min-width: 0; }
.document section + section { border-top: 1px solid var(--rule); padding-top: 30px; margin-top: 34px; }
.document h2 .en { display: block; font-family: var(--serif); font-weight: 400; font-size: .82em; margin-top: 6px; }
.note { padding: 20px 24px; background: #eee6d2; border-left: 3px solid #737947; margin: 24px 0; }
.contact { font-size: clamp(1.15rem, 3vw, 1.8rem); font-family: var(--serif); font-weight: 600; }
.support-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 36px; margin-bottom: 72px; align-items: start; }
.support-grid > article { padding: 32px; }
.support-grid details { border-top: 1px solid var(--rule); }
summary { cursor: pointer; padding: 20px 4px; font-weight: 600; min-height: 44px; }
summary .en { display: block; padding-left: 19px; font-weight: 400; font-size: .88em; }
details .answer { padding: 0 4px 20px; }
.plain-link { display: inline-block; min-height: 44px; padding-block: 7px; }
.site-footer { border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: start; gap: 30px; padding-block: 30px 46px; font-size: .8rem; }
.site-footer .wordmark { font: 600 1.5rem var(--serif); margin-bottom: 4px; }
.site-footer nav { gap: 5px 22px; }
.site-footer nav a { font-size: .8rem; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 36px; padding-block: 52px 66px; }
  .document-grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 0 20px; }
  .toc p { width: 100%; margin: 0 0 8px; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 36px); }
  .site-header { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 20px 12px; }
  nav { gap: 4px 24px; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 36px; }
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5rem); }
  .art { width: min(340px, 90%); margin: 0 auto 10px; }
  .features { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .features article { border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
  .features .number { float: left; width: 45px; margin-bottom: 0; }
  .features h3 { padding-top: 4px; }
  .help-strip { display: block; padding: 24px; margin-bottom: 48px; }
  .help-strip .button { margin-top: 18px; }
  .page-title { padding-block: 36px 28px; }
  .document, .support-grid > article { padding: 24px 20px; }
  .document-grid, .support-grid { margin-bottom: 48px; }
  .site-footer { flex-direction: column; gap: 12px; }
  .section-rule { display: block; }
  .section-rule span { display: block; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button:hover { transform: none; } }
@media print {
  body { background: white; color: black; font-size: 11pt; }
  body::before, .site-header, .toc, .skip, .site-footer { display: none; }
  .shell { width: 100%; }
  .document-grid, .support-grid { display: block; }
  .paper { box-shadow: none; border: 0; background: white; }
  .document { padding: 0; }
  details::details-content { content-visibility: visible; }
  a { color: black; }
}
