@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #213956;
  --ink-soft: #52657a;
  --paper: #fbf8f1;
  --surface: #fffdf8;
  --line: #e8e1d4;
  --accent: #b57c43;
  --accent-pale: #f3e9d8;
  --blue-pale: #eaf0f3;
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; line-height: 1.75; background: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
.guide-shell { width: min(100% - 40px, 1120px); margin-inline: auto; }
.site-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 134px; height: auto; }
.header-links { display: flex; align-items: center; gap: clamp(13px, 2.3vw, 28px); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.header-links a, .text-link { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.header-links a:hover, .text-link:hover { color: var(--accent); }
.crumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 24px 0 0; color: #77818a; font-size: 12px; }
.crumbs a { text-decoration: none; }
.crumbs span[aria-hidden="true"] { color: #b4aa9a; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); align-items: center; gap: clamp(34px, 7vw, 92px); padding: 58px 0 76px; }
.hero-copy { padding: 14px 0; }
.hero--text { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(34px, 6vw, 60px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .09em; }
.eyebrow::before { width: 24px; height: 1px; content: ""; background: currentColor; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 23px; font-family: "Noto Sans KR", sans-serif; font-size: clamp(35px, 5.2vw, 61px); line-height: 1.27; letter-spacing: -.065em; font-weight: 800; word-break: keep-all; }
.hero-intro { max-width: 570px; margin: 0; color: var(--ink-soft); font-size: clamp(16px, 1.7vw, 18px); line-height: 1.9; word-break: keep-all; }
.hero-photo { position: relative; min-height: 330px; overflow: hidden; border-radius: 4px 78px 4px 4px; background: var(--blue-pale); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-caption { position: absolute; right: 16px; bottom: 16px; padding: 8px 12px; background: rgba(255,253,248,.93); color: var(--ink-soft); font-size: 11px; letter-spacing: .02em; }
.hero-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 25px; padding: 14px 16px; border-left: 2px solid var(--accent); background: rgba(243,233,216,.48); color: #5c5c54; font-size: 13px; line-height: 1.7; word-break: keep-all; }
.hero-note strong { flex: none; color: var(--ink); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(34px, 7vw, 84px); align-items: start; padding: 0 0 86px; }
.article { min-width: 0; }
.article section { padding: 35px 0 34px; border-top: 1px solid var(--line); }
.article h2 { margin-bottom: 15px; font-family: "Noto Sans KR", sans-serif; font-size: clamp(22px, 2.8vw, 29px); line-height: 1.45; letter-spacing: -.045em; word-break: keep-all; }
.article p, .article li { color: var(--ink-soft); font-size: 15px; line-height: 1.95; word-break: keep-all; }
.article p:last-child { margin-bottom: 0; }
.article ul, .article ol { margin: 16px 0 0; padding-left: 1.35em; }
.article li { padding-left: 5px; margin: 7px 0; }
.article strong { color: var(--ink); font-weight: 700; }
.inline-callout { margin: 21px 0; padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); font-size: 14px; line-height: 1.8; word-break: keep-all; }
.inline-callout strong { color: var(--ink); }
.guide-aside { position: sticky; top: 24px; padding: 23px 20px 20px; border-top: 3px solid var(--ink); background: var(--surface); }
.guide-aside h2 { margin-bottom: 12px; font-family: "Noto Sans KR", sans-serif; font-size: 15px; letter-spacing: -.025em; }
.guide-aside ol { margin: 0; padding: 0; list-style: none; counter-reset: guide; }
.guide-aside li { counter-increment: guide; border-top: 1px solid #eee9df; }
.guide-aside a { display: flex; gap: 10px; padding: 9px 0; color: var(--ink-soft); text-decoration: none; font-size: 12px; line-height: 1.55; }
.guide-aside a::before { content: "0" counter(guide); flex: none; color: var(--accent); font-size: 10px; font-weight: 700; }
.guide-aside a:hover { color: var(--ink); }
.related { padding: 28px 0 56px; border-top: 1px solid var(--line); }
.related h2 { margin-bottom: 18px; font-family: "Noto Sans KR", sans-serif; font-size: 19px; letter-spacing: -.04em; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { min-height: 42px; display: inline-flex; align-items: center; gap: 13px; padding: 8px 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: 13px; font-weight: 600; transition: border-color .18s ease, transform .18s ease; }
.related-links a::after { content: "↗"; color: var(--accent); }
.related-links a:hover { transform: translateY(-2px); border-color: #c8b697; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 34px; color: #73808b; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 5; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
@media (max-width: 760px) {
  .guide-shell { width: min(100% - 36px, 620px); }
  .site-header { min-height: 68px; }
  .brand img { width: 119px; }
  .header-links { gap: 12px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 39px 0 52px; }
  .hero-copy { padding: 0; }
  .hero-photo { min-height: min(66vw, 330px); border-top-right-radius: 55px; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; padding-bottom: 56px; }
  .guide-aside { position: static; order: -1; }
  .guide-aside ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .article section { padding: 27px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 410px) {
  .guide-shell { width: min(100% - 28px, 620px); }
  .header-links { gap: 9px; font-size: 11px; }
  .brand img { width: 106px; }
  .guide-aside ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
