/* 구성은 suriwiki.com을 따르고, 색은 흰 바탕 + 쿨 그레이 + 강조색 하나로 간다. */
:root {
	--ink: #16202c;
	--sub: #566273;
	--line: #e3e7ec;
	--soft: #f4f6f8;
	--accent: #1259c3;
	--accent-deep: #0d459a;
	--on-accent: #fff;
	--r: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
	color: var(--ink);
	background: #fff;
	font-size: 17px;
	line-height: 1.75;
	letter-spacing: -0.01em;
	word-break: keep-all;
	overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; }

.notice { background: var(--soft); color: var(--sub); font-size: 12px; line-height: 1.5; text-align: center; padding: 5px 12px; }

.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 12px; height: 60px; }
.logo { font-weight: 800; font-size: 20px; }
.search { position: relative; margin-left: auto; flex: 0 1 300px; min-width: 0; }
.search input { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 14px; background: var(--soft); }
.search input:focus { outline: 2px solid var(--accent); background: #fff; }
.search-list { position: absolute; top: 44px; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(22, 32, 44, 0.12); overflow: hidden; }
.search-list a { display: block; padding: 9px 12px; font-size: 14px; }
.search-list a:hover { background: var(--soft); }
.head-cta { flex: none; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 8px; }
.menu { position: relative; flex: none; }
.menu summary { list-style: none; cursor: pointer; display: grid; gap: 5px; padding: 8px 4px; width: 32px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; height: 2px; background: var(--ink); }
.menu nav { position: absolute; right: 0; top: 44px; width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(22, 32, 44, 0.12); padding: 6px; max-height: 70vh; overflow: auto; }
.menu nav a { display: block; padding: 8px 10px; font-size: 14px; border-radius: 6px; }
.menu nav a:hover { background: var(--soft); }

.hero { padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-solo { max-width: 860px; }
.hero h1 { font-size: 42px; font-weight: 800; }
.hero-lead { font-size: 21px; font-weight: 600; margin-top: 14px; line-height: 1.5; }
.hero-sub { color: var(--sub); margin-top: 12px; font-size: 16px; }
.hero-note { color: var(--sub); font-size: 13.5px; margin-top: 12px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 13px; color: var(--sub); margin-bottom: 12px; }
.crumbs a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 16px; text-align: center; }
.btn-main { background: var(--accent); color: var(--on-accent); }
.btn-main:hover { background: var(--accent-deep); }
.btn-sub { background: #fff; border: 1px solid var(--line); }
.btn-sub:hover { border-color: var(--accent); color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stats li { border-top: 1px solid var(--line); padding-top: 12px; }
.stats b { display: block; font-size: 30px; font-weight: 800; line-height: 1.2; }
.stats span { color: var(--sub); font-size: 14px; }

.marquee { overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.marquee::-webkit-scrollbar { display: none; }
.marquee ul { display: flex; gap: 22px; padding: 12px 20px; width: max-content; font-size: 14px; color: var(--sub); }
.marquee a:hover { color: var(--accent); }

.section { padding: 56px 0; }
.rule { border-top: 1px solid var(--line); }
.band { background: var(--soft); }
.sec-head { margin-bottom: 26px; max-width: 760px; }
.sec-label { color: var(--accent); font-size: 13px; font-weight: 700; }
.sec-head h2, .picker h2 { font-size: 29px; font-weight: 800; margin-top: 6px; }
.sec-desc { color: var(--sub); margin-top: 8px; font-size: 16px; }
.sub-title { font-size: 18px; margin: 28px 0 10px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: p; }
.principles li { counter-increment: p; font-weight: 600; font-size: 17px; border-top: 1px solid var(--line); padding-top: 12px; }

.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ba-box { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--soft); touch-action: pan-y; user-select: none; cursor: ew-resize; }
.ba-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); pointer-events: none; }
.ba-line::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-style: normal; color: var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.ba-tag { position: absolute; top: 10px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(22, 32, 44, 0.75); padding: 2px 9px; border-radius: 99px; pointer-events: none; }
.ba-tag-b { left: 10px; }
.ba-tag-a { right: 10px; }
.ba-cap { font-size: 14px; color: var(--sub); margin-top: 8px; }
.ba-note { font-size: 13px; color: var(--sub); margin-top: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 15.5px; color: var(--sub); line-height: 1.65; }

.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px 24px; }
.check-list li { padding-left: 26px; position: relative; font-size: 16px; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }

.prose { max-width: 800px; }
.prose p + p { margin-top: 12px; }

.rows { border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 700; }
.rows dd { color: var(--sub); }

.table { overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.table th, .table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: 13px; color: var(--sub); border-bottom: 2px solid var(--ink); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 12px; }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--accent); font-weight: 800; font-size: 14px; }
.steps h3 { font-size: 17px; margin: 2px 0 6px; }
.steps p { font-size: 15.5px; color: var(--sub); line-height: 1.65; }
.steps-small p { color: var(--ink); }

.num-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px 24px; counter-reset: n; }
.num-grid li { counter-increment: n; padding-left: 34px; position: relative; font-size: 16px; }
.num-grid li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; color: var(--accent); font-weight: 800; font-size: 14px; top: 2px; }
.stop { margin-top: 18px; padding: 12px 14px; border-radius: 8px; background: var(--soft); font-size: 15.5px; }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--sub); margin-top: 8px; font-size: 16px; }

.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-links a { display: inline-block; border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px; font-size: 14px; }
.chip-links a:hover { border-color: var(--accent); color: var(--accent); }
.link-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.link-cols h3, .related h3, .map-group h3 { font-size: 16px; margin-bottom: 10px; }
.more { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--accent); }
.related { margin-top: 32px; }
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.link-cards a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 600; font-size: 15px; }
.link-cards a:hover { border-color: var(--accent); color: var(--accent); }
.region-group { border-top: 1px solid var(--line); padding: 14px 0; }
.region-group summary { font-weight: 700; font-size: 18px; cursor: pointer; margin-bottom: 8px; }
.map-group { margin-bottom: 26px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 32px; }
.cat { border-top: 2px solid var(--ink); padding-top: 12px; }
.cat h3 { font-size: 19px; }
.cat p { font-size: 15px; color: var(--sub); margin: 4px 0 8px; line-height: 1.6; }
.cat ul { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14.5px; }
.cat ul a:hover, .cat h3 a:hover { color: var(--accent); }

.ledger { border-top: 1px solid var(--line); }
.ledger > li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr auto; gap: 16px; align-items: baseline; }
.ledger h3 { font-size: 17px; }
.ledger h3 a:hover { color: var(--accent); }
.ledger p { color: var(--sub); font-size: 15px; line-height: 1.6; }
.ledger-regions { display: flex; gap: 10px; font-size: 13.5px; color: var(--sub); }
.ledger-regions a:hover { color: var(--accent); }

.picker { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.picker-why p + p, .picker-why h2 + p { margin-top: 10px; color: var(--sub); font-size: 16px; }
.picker-card { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.pick-group { margin-bottom: 16px; }
.pick-group h3 { font-size: 14px; color: var(--sub); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; cursor: pointer; line-height: 1.5; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:focus-within { outline: 2px solid var(--accent); }
.chip.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.pick-preview { background: var(--soft); border-radius: 8px; padding: 12px; font: inherit; font-size: 14px; white-space: pre-wrap; margin-bottom: 14px; min-height: 90px; }
.picker-card .btn { width: 100%; }
.pick-hint { font-size: 13px; color: var(--sub); margin-top: 10px; }

.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 40px 0; font-size: 14px; color: var(--sub); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer .logo { color: var(--ink); margin-bottom: 6px; }
.site-footer h3 { font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.site-footer li { line-height: 1.9; }
.site-footer a:hover { color: var(--accent); }

.fixbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--accent); }
.fixbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: var(--on-accent); font-weight: 800; font-size: 16px; padding: 8px 14px; text-align: center; }

@media (max-width: 860px) {
	body { padding-bottom: 60px; }
	.fixbar { display: block; }
	.hero { padding: 24px 0 32px; }
	.hero-grid { grid-template-columns: 1fr; gap: 20px; }
	.hero-grid > .hero-img { order: -1; }
	.hero h1 { font-size: 32px; }
	.hero-lead { font-size: 17px; font-weight: 500; line-height: 1.65; }
	.section { padding: 40px 0; }
	.sec-head h2, .picker h2 { font-size: 24px; }
	.principles, .picker, .foot-grid { grid-template-columns: 1fr; }
	.picker { gap: 18px; }
	.ledger > li { grid-template-columns: 1fr; gap: 4px; }
	.rows > div { grid-template-columns: 1fr; gap: 4px; }
	.check-list, .num-grid, .cards, .ba-grid, .cat-grid, .link-cols, .link-cards { grid-template-columns: 1fr; }
	.search { flex: 1 1 0; }
	.search input { font-size: 13px; }
	.head-cta { display: none; }
	.stats b { font-size: 22px; }
}
