@font-face {
  font-family: Pretendard;
  src: url("fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f9f9f6;
  --ink: #080808;
  --red: #ce0b14;
  --muted: #605f5b;
  --line: #c8c8c1;
  --gutter: 22px;
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: #161616;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { width: 100%; max-width: 430px; margin: 0 auto; background: var(--paper); padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
main, section, article, figure, nav, header, footer { min-width: 0; }
a { color: inherit; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: rgb(206 11 20 / 18%); }
summary { touch-action: manipulation; -webkit-tap-highlight-color: rgb(206 11 20 / 18%); }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
a, summary, button { scroll-margin-bottom: 100px; }
figure, p, h1, h2, h3 { margin: 0; }
p { word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; word-break: keep-all; overflow-wrap: break-word; }
section, [id] { scroll-margin-top: 24px; scroll-margin-bottom: 100px; }
img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
.skip-link { position: fixed; top: -100px; left: 50%; transform: translateX(-50%); z-index: 100; padding: 16px; background: var(--paper); white-space: nowrap; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: env(safe-area-inset-top) var(--gutter) 0; border-bottom: 1px solid var(--ink); }
.wordmark { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 25px; font-weight: 900; letter-spacing: -2px; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.mobile-nav summary { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 10px 0 10px 24px; list-style: none; cursor: pointer; font-size: 13px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { font-size: 20px; }
.mobile-nav[open] summary span { transform: rotate(45deg); }
.mobile-nav nav { position: absolute; top: 100%; left: 0; width: 100%; padding: 10px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--ink); max-height: 70dvh; overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav nav a { display: flex; align-items: center; gap: 20px; min-height: 50px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mobile-nav nav a span { color: var(--red); }
.campaign { background: var(--ink); color: var(--paper); }
.campaign-copy { padding: 28px var(--gutter) 32px; }
.campaign h1 { font-size: 25px; line-height: 1.4; font-weight: 800; letter-spacing: -.055em; }
.solid-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; padding: 16px 0; margin-top: 18px; border-bottom: 1px solid #666; font-size: 13px; font-weight: 700; }
.introduction { padding: 42px var(--gutter) 48px; }
.source-intro { font-size: 16px; line-height: 1.95; letter-spacing: -.022em; }
.contents { padding: 28px var(--gutter) 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.contents-heading { margin-bottom: 22px; font-size: 21px; line-height: 1.4; font-weight: 800; letter-spacing: -.04em; }
.contents-links { display: flex; flex-direction: column; }
.contents-links a { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.contents-links a span { color: var(--red); font-size: 11px; font-variant-numeric: tabular-nums; }
.chapter { border-bottom: 1px solid var(--line); }
.section-image { width: 100%; background: var(--ink); }
.chapter-title { padding: 36px var(--gutter) 30px; }
.chapter-index { display: block; margin-bottom: 15px; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--red); }
.chapter h2 { font-size: 31px; line-height: 1.3; font-weight: 800; letter-spacing: -.06em; }
.back-contents { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.chapter-copy { padding: 0 var(--gutter) 60px; overflow-anchor: none; }
.chapter-inner { display: flow-root; }
.chapter-copy[data-collapsed="true"] .chapter-clip { overflow: clip; }
.chapter-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 50px; margin-top: 24px; padding: 14px 18px; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--paper); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: rgb(206 11 20 / 18%); }
.chapter-toggle[hidden] { display: none; }
.chapter-toggle:hover { color: var(--paper); background: var(--ink); }
.chapter-copy[data-collapsed="true"] .chapter-toggle { position: relative; z-index: 1; margin-top: -40px; color: var(--ink); background: rgba(249, 249, 246, .76); border-color: rgba(8, 8, 8, .18); border-radius: 12px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chapter-copy[data-collapsed="true"] .chapter-toggle:hover, .chapter-copy[data-collapsed="true"] .chapter-toggle:focus-visible { color: var(--ink); background: rgba(249, 249, 246, .82); }
.toggle-symbol { font-size: 20px; line-height: 1; }
.prose-block + .prose-block { margin-top: 39px; }
.prose-block h3 { margin-bottom: 14px; font-size: 19px; line-height: 1.55; font-weight: 800; letter-spacing: -.035em; }
.prose-block p { font-size: 16px; line-height: 1.95; letter-spacing: -.022em; color: #30302e; }
footer { padding: 38px var(--gutter) 24px; background: var(--red); }
.footer-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 72px; line-height: 1; font-weight: 900; letter-spacing: -.09em; }
.footer-brand:hover { text-decoration: none; }
.footer-brand > span { font-size: 40px; font-weight: 400; }
.footer-line { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 12px; border-top: 1px solid var(--ink); font-size: 10px; }
.footer-line > span { margin-right: auto; }
.footer-line a { display: flex; align-items: center; min-height: 44px; }
.footer-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 24px; font-size: 13px; font-style: normal; color: var(--paper); }
.footer-contacts a { display: flex; align-items: center; min-height: 44px; }
.footer-contacts a:focus-visible { outline-color: var(--paper); }
.mobile-actions { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 430px); z-index: 20; display: flex; background: var(--paper); border-top: 1px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
.mobile-actions a { display: flex; flex: 1; align-items: center; justify-content: center; gap: 14px; min-height: 60px; padding: 16px 10px; font-size: 12px; font-weight: 700; }
.mobile-actions a:last-child { flex: 1.2; color: #fff; background: var(--red); }
.mobile-actions a:focus-visible { outline-offset: -5px; }
.mobile-actions a:last-child:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* r15: outline wordmark, independent of installed fonts. */
.wordmark .brand-logo { width: 82px; height: 28px; object-fit: contain; }
