:root {
  color-scheme: light;
  --paper: #f6f7f2;
  --white: #fff;
  --ink: #171d16;
  --body: #343c31;
  --muted: #535d4e;
  --line: #d7ddd0;
  --moss: #253828;
  --lime: #d9fa66;
  --wash: #edf1e3;
  --focus: #386237;
  --radius: 20px;
  font-family: 'Pretendard Variable', 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
body, button, input { letter-spacing: -.015em; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; word-break: keep-all; overflow-wrap: anywhere; }
p, li { word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .5rem 1rem; transform: translateY(-200%); color: var(--white); background: var(--moss); }
.skip:focus { transform: none; }
.frame { width: min(100% - 64px, 1200px); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 1.5rem; }
.header-inner { min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: .46rem; width: max-content; white-space: nowrap; text-decoration: none; font-size: 1.28rem; font-weight: 800; letter-spacing: -.06em; }
.wordmark small { color: var(--muted); font-size: .94rem; font-weight: 600; letter-spacing: -.038em; }
.brand-mark { position: relative; display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 10px; background: var(--moss); margin-right: .05rem; }
.brand-mark i { width: 15px; height: 16px; border-left: 4px solid var(--lime); border-bottom: 4px solid var(--lime); transform: skew(-17deg); }
.brand-mark i::after { content: ''; position: absolute; top: 0; left: 4px; width: 5px; height: 5px; background: var(--lime); }
.site-nav { display: flex; gap: clamp(.75rem, 3vw, 2rem); align-items: center; margin-left: auto; }
.site-nav a, .share { font-size: .9rem; font-weight: 660; text-decoration: none; }
.site-nav a { display: grid; place-items: center; min-height: 44px; color: var(--muted); }
.site-nav a:hover, .subtle-link:hover { color: var(--ink); text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .55rem 1.03rem; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 750; text-decoration: none; }
.button:hover { border-color: var(--moss); }
.primary { background: var(--lime); border-color: #c4e753; }
.primary:hover { background: #cbed59; }

.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 510px; overflow: hidden; margin-top: 38px; border-radius: 28px; color: var(--white); background: #1b2b20; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 5.5vw, 76px); }
.eyebrow { display: flex; align-items: center; gap: .6em; font-size: .9rem; font-weight: 750; }
.eyebrow span { flex: 0 0 10px; height: 10px; background: var(--lime); border-radius: 2px; transform: rotate(45deg); }
.hero .eyebrow { color: #e2f5bb; }
.hero h1 { margin-top: 1.05rem; font-size: clamp(2.8rem, 5.1vw, 5rem); font-weight: 810; letter-spacing: -.083em; }
.hero-text { max-width: 29rem; margin-top: 1.45rem; color: #e0e8db; font-size: 1.06rem; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1.6rem; }
.hero .primary:focus-visible, .hero .subtle-link:focus-visible { outline-color: var(--lime); }
.subtle-link { display: inline-flex; align-items: center; min-height: 44px; color: #e0e8db; font-weight: 640; font-size: .92rem; }
.hero .subtle-link:hover { color: var(--white); }
.verification { margin-top: 1.34rem; font-size: .84rem; color: #c5d1c3; }
.verification strong { padding-left: .28rem; color: #e8efe3; }
.hero-image, .article-image { position: relative; min-width: 0; background: #2b3924; }
.hero-image img, .article-image img { height: 100%; width: 100%; object-fit: cover; }

.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 25px; padding: 22px 0; border-block: 1px solid var(--line); }
.overview > div { display: grid; align-content: start; gap: .07rem; padding: .22rem clamp(1rem, 3vw, 2rem); }
.overview > div + div { border-left: 1px solid var(--line); }
.overview-tag, .label { font-size: .8rem; font-weight: 750; color: var(--muted); }
.overview strong { font-size: 1.32rem; letter-spacing: -.045em; }
.overview p { color: var(--muted); font-size: .94rem; }
.library { margin-block: 52px 70px; }
.section-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .45rem 1rem; margin-bottom: 1rem; }
.section-heading h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); letter-spacing: -.065em; }
.section-heading p { color: var(--muted); }
.library-list { border-top: 1px solid var(--line); }
.library-item { border-bottom: 1px solid var(--line); }
.library-item > a { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; align-items: center; gap: 1.3rem; padding-block: 1.1rem; text-decoration: none; }
.library-item h3 { margin: .25rem 0; font-size: 1.3rem; letter-spacing: -.045em; }
.library-item a:hover h3, .library-item a:hover .library-open { text-decoration: underline; }
.library-item p { color: var(--muted); }
.library-item time { margin-left: .55rem; font-weight: 550; }
.library-open { padding-right: .5rem; font-weight: 750; }
.thumb img { width: 128px; height: 82px; object-fit: cover; border-radius: 10px; }

.article-header { display: grid; grid-template-columns: 1.55fr 1fr; gap: 2rem; align-items: center; padding-block: 46px 37px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .9rem; }
.article-header .eyebrow { margin-top: .7rem; color: var(--moss); }
.article-header .eyebrow span { background: #78a13c; }
.article-header h1 { max-width: 15ch; margin-top: .7rem; font-size: clamp(2.45rem, 5.35vw, 4.7rem); font-weight: 810; letter-spacing: -.08em; }
.article-header p:not(.eyebrow) { margin-top: .9rem; max-width: 36rem; color: var(--body); font-size: 1.05rem; }
.article-header time { display: inline-block; margin-top: .72rem; color: var(--muted); font-size: .85rem; }
.article-image { overflow: hidden; aspect-ratio: 1.45; border-radius: var(--radius); }
.article-grid { display: grid; grid-template-columns: minmax(190px, 245px) minmax(0, 760px); gap: clamp(2rem, 6vw, 5.4rem); padding-top: 2rem; }
.article-aside { position: sticky; align-self: start; top: 100px; max-height: calc(100vh - 112px); overflow-y: auto; }
.toc { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.toc summary { padding: .75rem 1rem; font-weight: 750; cursor: pointer; }
.toc ol { list-style: none; margin: 0; padding: 0 .5rem .6rem; }
.toc a { display: flex; align-items: center; gap: .6rem; min-height: 43px; padding: .35rem .53rem; border-radius: 7px; color: var(--body); font-size: .92rem; font-weight: 650; text-decoration: none; }
.toc a span { color: var(--muted); font-size: .79rem; font-variant-numeric: tabular-nums; }
.toc a:hover, .toc a[aria-current] { background: var(--wash); color: var(--moss); }
.progress { margin-top: .75rem; padding: .78rem .97rem; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
.progress > div { display: flex; justify-content: space-between; gap: .5rem; }
.progress span { font-variant-numeric: tabular-nums; }
.progress p { color: var(--muted); font-size: .82rem; line-height: 1.45; }
progress { width: 100%; height: .61rem; appearance: none; color: var(--focus); background: #d5ddca; border: 0; border-radius: 1rem; overflow: hidden; }
progress::-webkit-progress-bar { background: #d5ddca; }
progress::-webkit-progress-value { background: var(--focus); }
progress::-moz-progress-bar { background: var(--focus); }
.step { padding-block: 1.65rem 2.15rem; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: .3rem; }
.step-heading { display: flex; align-items: center; gap: .7rem; margin-bottom: .95rem; }
.step-heading > span { flex-shrink: 0; display: grid; place-items: center; width: 2.38rem; aspect-ratio: 1; color: var(--moss); background: var(--wash); border-radius: 9px; font: 700 .84rem/1 ui-monospace, monospace; }
.step h2 { font-size: clamp(1.55rem, 3.4vw, 2.25rem); letter-spacing: -.055em; }
.step h3 { margin: 1.45rem 0 .7rem; font-size: 1.17rem; }
.step p, .step li { color: var(--body); line-height: 1.78; }
.step p + p { margin-top: .7rem; }
.step ul, .step ol { padding-left: 1.45rem; }
.step li + li { margin-top: .42rem; }
.step .sources { margin-top: .65rem; color: var(--muted); font-size: .88rem; }
.step a { color: #294d2b; }
.step a:hover { color: var(--ink); }
.step code { font-size: .88em; background: var(--wash); border-radius: 4px; padding: .04em .3em; }
.notice { margin-top: 1.05rem; padding: .9rem 1rem; border: 1px solid #cfd9bd; border-left: 4px solid #78a13c; border-radius: 6px 10px 10px 6px; background: var(--wash); }
.notice p { margin-top: .2rem; }
.step-check { display: flex; align-items: center; gap: .68rem; margin-top: 1.15rem; min-height: 48px; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--body); font-size: .94rem; font-weight: 650; cursor: pointer; }
.step-check:has(input:checked) { background: var(--wash); border-color: #adbfa3; }
.step-check input { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; margin: 0; accent-color: var(--focus); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 49px; padding: .65rem .1rem; font-weight: 750; cursor: pointer; }
.faq-list details > div { padding: .1rem .2rem .85rem; }
.comparison { padding-bottom: .3rem; overflow-x: auto; margin-block: .7rem; }
table { width: 100%; border-collapse: collapse; font-size: .91rem; }
th, td { border: 1px solid var(--line); padding: .58rem .65rem; word-break: keep-all; overflow-wrap: anywhere; text-align: left; vertical-align: top; }
th { background: var(--wash); }
td { background: var(--white); color: var(--body); }
.article-end { margin-block: 1.5rem 3.3rem; }
.site-footer { padding-block: 1.45rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner > a:last-child { margin-left: auto; font-size: .9rem; }
.footer-inner > span { font-size: .9rem; }
.missing { display: grid; justify-items: start; gap: 1rem; padding-block: 5rem; }
dialog { width: min(100% - 32px, 30rem); padding: 1.3rem; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
dialog::backdrop { background: #0b170caf; }
dialog form { display: grid; gap: .6rem; }
dialog input { min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 7px; padding: .45rem; }

@media (max-width: 890px) {
  .hero { min-height: 425px; }
  .hero-copy { padding: 30px; }
  .article-grid { gap: 2rem; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .frame { width: min(100% - 32px, 620px); }
  .header-inner { min-height: 60px; gap: .75rem; }
  .site-nav { gap: .75rem; }
  .wordmark { font-size: 1.18rem; }
  .brand-mark { width: 29px; }
  .share { min-height: 44px; padding-inline: .65rem; font-size: .83rem; }
  .hero { grid-template-columns: 1fr; margin-top: 18px; min-height: 0; border-radius: 19px; }
  .hero-copy { padding: 27px 22px; }
  .hero h1 { font-size: clamp(2.55rem, 8.35vw, 3.9rem); }
  .hero-text { font-size: 1rem; margin-top: .85rem; }
  .hero-actions { margin-top: 1rem; }
  .verification { margin-top: .7rem; }
  .hero-image { aspect-ratio: 1.68; }
  .overview { margin-top: 18px; padding: 13px 0; }
  .overview > div { padding: .22rem .54rem; }
  .overview strong { font-size: 1.08rem; }
  .overview p { font-size: .81rem; }
  .library { margin-block: 32px 44px; }
  .library-item > a { grid-template-columns: 72px minmax(0, 1fr); gap: .78rem; }
  .library-item h3 { font-size: 1.06rem; }
  .library-item p { font-size: .84rem; }
  .library-open { display: none; }
  .thumb img { width: 72px; height: 67px; }
  .article-header { grid-template-columns: 1fr; gap: 1.12rem; padding-block: 1rem 1.2rem; }
  .article-header h1 { max-width: 17ch; }
  .article-image { aspect-ratio: 2; }
  .article-grid { display: block; padding-top: 1rem; }
  .article-aside { position: static; max-height: none; overflow: visible; margin-bottom: 1.7rem; }
  .progress p { font-size: .87rem; }
  .footer-inner { flex-wrap: wrap; gap: .6rem 1rem; }
}
@media (max-width: 420px) {
  .site-nav a:last-child { display: none; }
  .site-nav a { font-size: .84rem; }
  .hero-actions { gap: .38rem .85rem; }
  .hero-actions .primary { padding-inline: .72rem; }
  th, td { padding: .45rem .36rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .16s, border-color .16s; }
}
@media print {
  .site-header, .site-footer, .article-aside, .article-image, .step-check, .article-end { display: none !important; }
  .frame, .article-grid { display: block; width: auto; }
  body { background: white; }
}
