/* 가이드 글 페이지: 디자인 시스템 v1 토큰만 쓰는 읽기용 한 단 레이아웃 */
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: var(--text-l); line-height: 1.7; }
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }

.guide-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); max-width: 720px; margin: 0 auto; padding: var(--space-4) var(--space-4) 0; font-size: var(--text-s); }
.guide-top a { color: var(--text-2); }
.guide-top nav { display: flex; gap: var(--space-4); }
.guide-top .guide-brand { margin-right: auto; color: var(--text); font-family: var(--font-brand); font-weight: var(--weight-heavy); font-size: var(--text-m); text-decoration: none; letter-spacing: -0.02em; }

.guide { max-width: 720px; margin: 0 auto; padding: var(--space-6) var(--space-4) var(--space-8); }
.guide h1 { font-family: var(--font-brand); font-size: var(--text-3xl); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 var(--space-3); }
html[lang="ko"] .guide h1 { font-family: var(--font-ui); letter-spacing: -0.02em; }
.guide h2 { font-size: var(--text-xl); line-height: 1.3; margin: var(--space-7) 0 var(--space-3); }
.guide .meta { color: var(--text-2); font-size: var(--text-s); margin: 0 0 var(--space-6); }
.guide p, .guide li { margin: 0 0 var(--space-4); }
.guide ul, .guide ol { padding-left: 1.4em; margin: 0 0 var(--space-5); }
.guide li { margin-bottom: var(--space-2); }
.guide a { color: var(--accent); text-underline-offset: 0.18em; }
.guide :focus-visible, .guide-top :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-xs); }

/* 요약: 글 맨 위의 짧은 답. 검색과 AI 답변이 그대로 가져가기 좋게 한 문단으로 */
.guide .summary { margin: 0 0 var(--space-6); padding: var(--space-4) var(--space-5); background: var(--surface); border: 2px solid var(--text); border-radius: var(--radius-l); box-shadow: var(--shadow-button); }
.guide .summary h2 { margin: 0 0 var(--space-2); font-size: var(--text-s); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); }
html[lang="ko"] .guide .summary h2 { text-transform: none; letter-spacing: 0; }
.guide .summary p { margin: 0; }
.guide .faq h3 { font-size: var(--text-l); line-height: 1.4; margin: var(--space-5) 0 var(--space-2); }
.guide .sources { font-size: var(--text-m); }

.guide .cta { margin-top: var(--space-7); }
.guide .button { display: inline-flex; align-items: center; min-height: var(--control-h-l); padding: 0 var(--space-5); border-radius: var(--radius-l); background: var(--accent); color: var(--on-accent); font-weight: var(--weight-bold); text-decoration: none; box-shadow: var(--shadow-button); transition: transform var(--dur-fast), box-shadow var(--dur-fast); }
.guide .button:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-button-hover); }
.guide .button:active { transform: translate(3px, 3px); box-shadow: var(--shadow-button-press); }

.guide-list { list-style: none; padding: 0; }
.guide-list li { margin: 0 0 var(--space-5); }
.guide-list a { font-weight: var(--weight-bold); font-size: var(--text-l); }
.guide-list p { margin: var(--space-1) 0 0; color: var(--text-2); font-size: var(--text-m); }

@media (prefers-reduced-motion: reduce) { .guide .button { transition: none; } }
