/* 당당하게 가이드 — o2one 토큰(/style.css :root)을 그대로 쓰고, 읽기용 본문만 더한다. */
.g-top { border-bottom: 1px solid var(--rule); }
.g-top .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--s-16); gap: var(--s-4); }
.g-top nav a { margin-left: var(--s-4); font-size: var(--t-sm); color: var(--muted); text-decoration: none; }
.g-top nav a:hover { color: var(--ink); }

.g-crumbs { font-size: var(--t-xs); color: var(--subtle); margin: var(--s-8) 0 var(--s-4); }
.g-crumbs a { color: var(--subtle); }
.g-crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.g-crumbs li + li::before { content: "›"; margin-right: var(--s-2); }

.g-article { max-width: 720px; margin: 0 auto; padding: 0 var(--s-6) var(--s-24); }
.g-article h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.25; letter-spacing: -.03em; margin: 0 0 var(--s-4); }
.g-article h2 { font-size: var(--t-2xl); letter-spacing: -.02em; margin: var(--s-16) 0 var(--s-4); line-height: 1.35; }
.g-article h3 { font-size: var(--t-lg); margin: var(--s-8) 0 var(--s-2); }
.g-article p, .g-article li { color: var(--ink); }
.g-article ol, .g-article ul { padding-left: 1.25em; }
.g-article li { margin: var(--s-2) 0; }
.g-meta { font-size: var(--t-sm); color: var(--subtle); margin-bottom: var(--s-8); }

/* 답 먼저 — AI 답변·추천 스니펫이 그대로 인용할 수 있는 한 단락 */
.g-answer { background: var(--panel); border: 1px solid var(--rule); border-left: 4px solid var(--rec); border-radius: var(--r-xl); padding: var(--s-6); margin: var(--s-6) 0 var(--s-8); }
.g-answer .label { font-family: var(--mono); font-size: var(--t-xs); color: var(--rec); letter-spacing: .04em; display: block; margin-bottom: var(--s-2); }
.g-answer p { margin: 0; font-size: var(--t-lg); line-height: 1.7; }

.g-voices { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--s-4) 0; margin: var(--s-8) 0; }
.g-voices p { font-size: var(--t-sm); color: var(--muted); margin: 0 0 var(--s-2); }
.g-voices ul { list-style: none; padding: 0; margin: 0; }
.g-voices li { font-size: var(--t-sm); color: var(--muted); padding-left: var(--s-4); position: relative; }
.g-voices li::before { content: "“"; position: absolute; left: 0; color: var(--rec); }

.g-steps { counter-reset: step; list-style: none; padding: 0 !important; }
.g-steps > li { counter-increment: step; position: relative; padding-left: 3rem; margin: var(--s-6) 0; }
.g-steps > li::before { content: counter(step); position: absolute; left: 0; top: .1em; width: 2rem; height: 2rem; border-radius: 999px; background: var(--ink); color: var(--glass); font-family: var(--mono); font-size: var(--t-sm); display: grid; place-items: center; }
.g-steps > li b { display: block; margin-bottom: var(--s-2); }

.g-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin: var(--s-4) 0; }
.g-table th, .g-table td { border-bottom: 1px solid var(--rule); padding: var(--s-3) var(--s-2); text-align: left; vertical-align: top; }
.g-table th { color: var(--subtle); font-weight: 600; }

.g-script { background: var(--panel); border-radius: var(--r-xl); padding: var(--s-4) var(--s-6); border: 1px dashed var(--rule); }
.g-script p { margin: var(--s-2) 0; }

.g-faq details { border-bottom: 1px solid var(--rule); padding: var(--s-4) 0; }
.g-faq summary { font-weight: 700; cursor: pointer; list-style: none; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::before { content: "Q. "; color: var(--rec); font-family: var(--mono); }
.g-faq details p { margin: var(--s-3) 0 0; color: var(--muted); }

.g-note { font-size: var(--t-sm); color: var(--muted); background: var(--rec-soft); border-radius: var(--r-xl); padding: var(--s-4) var(--s-6); margin: var(--s-8) 0; }

.g-cta { background: var(--ink); color: var(--glass); border-radius: var(--r-2xl); padding: var(--s-8); margin: var(--s-16) 0 var(--s-8); }
.g-cta h2 { margin: 0 0 var(--s-2); font-size: var(--t-xl); color: var(--glass); }
.g-cta p { color: color-mix(in srgb, var(--glass) 80%, transparent); margin: 0 0 var(--s-6); }
.g-cta a { display: inline-block; background: var(--rec); color: #fff; text-decoration: none; font-weight: 700; padding: var(--s-3) var(--s-6); border-radius: 999px; }

.g-related h2 { font-size: var(--t-lg); }
.g-related ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.g-related a { display: block; padding: var(--s-3) var(--s-4); background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-xl); text-decoration: none; }
.g-related a:hover { border-color: var(--ink); }

.g-hub { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); list-style: none; padding: 0 !important; }
.g-hub a { display: block; height: 100%; padding: var(--s-6); background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-2xl); text-decoration: none; }
.g-hub a:hover { border-color: var(--ink); }
.g-hub b { display: block; font-size: var(--t-lg); margin-bottom: var(--s-2); letter-spacing: -.01em; }
.g-hub span { color: var(--muted); font-size: var(--t-sm); }

.g-foot { border-top: 1px solid var(--rule); padding: var(--s-8) 0; font-size: var(--t-xs); color: var(--subtle); }
.g-foot a { color: var(--subtle); }
