:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --body: #333;
  --sub: #707070;
  --mark: #b23a1e;
  --hair: #e2e0da;
  --paper: #fff;
  --tint: #f7f6f3;
  --serif: "Noto Serif KR", "Noto Serif CJK KR", "Apple SD Gothic Neo", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.8 var(--sans); word-break: keep-all; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--mark); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 20px; }

.masthead { border-bottom: 1px solid var(--ink); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; color: var(--ink); text-decoration: none; }
.brand-name { font: 700 21px/1.3 var(--serif); letter-spacing: .06em; }
.brand-sub { font-size: 12px; line-height: 1.5; color: var(--sub); }
.masthead-link { flex: none; font-size: 14px; font-weight: 700; padding: 8px 0; }

.button { display: inline-block; padding: 11px 20px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.button:hover { background: var(--mark); border-color: var(--mark); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--tint); border-color: var(--ink); }

.kicker { margin: 56px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--mark); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h2 { margin: 0 0 14px; font-size: 25px; line-height: 1.4; }

/* 첫 화면 */
.hero { padding: 56px 0 16px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(23px, 7vw, 42px); line-height: 1.32; }
.hero h1 .nowrap { white-space: nowrap; }
.hero p { margin: 0 0 24px; color: var(--body); }
.hero-text { word-break: keep-all; text-wrap: pretty; }
.hero .hero-note { margin: 10px 0 0; font-size: 13px; color: var(--sub); }
.section-note { margin: 0 0 20px; font-size: 15px; color: var(--sub); }

.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.filters button { min-height: 36px; padding: 4px 12px; border: 1px solid var(--hair); background: var(--paper); color: var(--body); font: inherit; font-size: 14px; cursor: pointer; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }

.issue-list, .material-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.issue-row { border-bottom: 1px solid var(--hair); }
.issue-row a { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 20px 0; color: inherit; text-decoration: none; }
.issue-row img { border: 1px solid var(--hair); }
.issue-row h3 { margin: 2px 0 6px; font: 600 20px/1.45 var(--serif); }
.issue-row a:hover h3 { color: var(--mark); }
.issue-row p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--body); }
.issue-row .issue-meta { font-size: 13px; color: var(--sub); }
.issue-row .topics { margin-top: 6px; font-size: 13px; color: var(--sub); }
@media (min-width: 620px) {
  .issue-row a { grid-template-columns: 216px 1fr; gap: 22px; align-items: start; }
}

.material-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.material-list b { display: block; font-size: 16px; line-height: 1.5; }
.material-list span { display: block; font-size: 13px; line-height: 1.6; color: var(--sub); }
.material-list span a { color: inherit; }
.material-list .actions { display: flex; gap: 16px; margin: 0; }
.text-link { font-size: 14px; font-weight: 700; padding: 6px 0; }

.home > section:last-of-type { margin-bottom: 56px; }

/* 호 본문 */
.article { padding-top: 40px; padding-bottom: 56px; }
.preview-note { margin: 0 0 24px; padding: 8px 12px; background: #fdf1ed; color: var(--mark); font-size: 14px; }
.issue-meta { margin: 0; font-size: 13px; color: var(--sub); }
.views { white-space: nowrap; }
.article h1 { margin: 10px 0 12px; font-size: clamp(27px, 6vw, 34px); line-height: 1.36; }
.subtitle { margin: 0 0 12px; font-size: 18px; line-height: 1.65; color: #444; }
.byline { margin: 0 0 28px; font-size: 13px; color: var(--sub); }
.cover { width: 100%; margin-bottom: 32px; border: 1px solid var(--hair); }
.article p { margin: 0 0 20px; }
.article h3 { margin: 28px 0 10px; font-size: 18px; line-height: 1.5; font-weight: 700; }
.article .kicker { margin: 56px 0 6px; }
.article .issue-meta, .article .byline { margin-top: 0; }
.callout { padding: 12px 16px; border-left: 2px solid var(--ink); background: var(--tint); font-size: 15px; line-height: 1.7; }
blockquote { margin: 8px 0 28px; padding: 2px 0 2px 18px; border-left: 2px solid var(--mark); font: 600 19px/1.7 var(--serif); }
.label { margin-right: 4px; font-size: 13px; font-weight: 700; }
.more { font-size: 15px; }
.muted { font-size: 13px; color: var(--sub); }
.ps { margin-top: 28px !important; font-size: 15px; line-height: 1.7; color: #555; }
.steps { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 14px 30px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; font: 600 20px/1.5 var(--serif); color: var(--mark); }
figure { margin: 8px 0 28px; }
figure img { width: 100%; }
figcaption { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--sub); }
.onepager img { max-width: 440px; border: 1px solid var(--hair); }
.materials { margin: 40px 0; padding: 20px; border: 1px solid var(--ink); }
.materials h2 { font-size: 20px; margin-bottom: 8px; }
.materials p { font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.materials .eyebrow { margin-bottom: 4px; font-size: 13px; color: var(--sub); }
.materials .actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sources { margin: 28px 0; font-size: 14px; color: var(--sub); }
.sources summary { padding: 6px 0; cursor: pointer; font-weight: 700; }
.sources ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.7; }
.sources li { margin-bottom: 4px; }
.sources a { color: inherit; }
.subscribe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 40px 0 28px; padding: 18px 20px; background: var(--tint); }
.subscribe p { flex: 1 1 280px; margin: 0; font-size: 15px; line-height: 1.7; }
.issue-nav { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--ink); }
.issue-nav a { color: var(--ink); font: 600 16px/1.5 var(--serif); text-decoration: none; }
.issue-nav a:hover { color: var(--mark); }
.issue-nav span { display: block; font: 400 12px/1.8 var(--sans); color: var(--sub); }
.issue-nav > span { display: none; }
@media (min-width: 620px) {
  .issue-nav { grid-template-columns: 1fr 1fr; gap: 24px; }
  .issue-nav > span { display: block; }
  .issue-nav .next { text-align: right; }
}
.back { margin: 0; font-size: 14px; }

.copy-dialog { width: min(400px, calc(100% - 32px)); padding: 24px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.copy-dialog::backdrop { background: rgba(26, 26, 26, .35); }
.copy-dialog p { margin: 0 0 8px; }
.copy-dialog-title { font: 600 19px/1.5 var(--serif); }
.copy-dialog-address { font-size: 16px; font-weight: 700; word-break: break-all; }
.copy-dialog-text { font-size: 14px; line-height: 1.7; color: var(--body); }
.copy-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.copy-dialog-actions .button { font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }

.site-footer { border-top: 1px solid var(--hair); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; padding-top: 18px; padding-bottom: 28px; }
.site-footer p { flex: 1 1 320px; margin: 0; font-size: 12px; line-height: 1.7; color: var(--sub); }
.site-footer a { color: inherit; }
.site-footer .footer-brand { flex: none; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
