/* The static pages made by tools/site.mjs (guides, start pages in other languages, 404), on top of app.css. They run
   no script: the header has links instead of the app's menu, and the languages are plain links. */

.site-langs { display: flex; gap: 2px; margin-right: 4px; }
.site-langs a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.04em; padding: 6px 7px; border-radius: 999px; }
.site-langs a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-langs a[aria-current] { color: #fff; background: rgba(255, 255, 255, 0.14); }
@media (max-width: 760px) { .site-langs a { padding: 6px 5px; } }
@media (max-width: 380px) { .site-langs { display: none; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px 0 18px; font-size: 0.9rem; color: var(--text-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-3); }
.crumbs a { color: var(--text-2); }

.guide { line-height: 1.65; }
.guide-head { margin-bottom: 8px; }
.guide-head .type-icon { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px; }
.guide-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; }
.guide .lead { font-size: 1.15rem; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 8px; }
.guide-cta .btn { min-height: 48px; padding: 0 24px; font-size: 1rem; }
.guide section { margin: 36px 0; }
.guide h2 { font-size: 1.35rem; margin-bottom: 12px; }
.guide p, .guide li, .guide dd { color: var(--text-2); }
.guide p { margin: 0 0 12px; max-width: 46rem; }
.guide strong, .guide dt { color: var(--text); }
.guide ul, .guide ol { padding-left: 1.3em; margin: 0 0 14px; max-width: 46rem; }
.guide li { margin: 6px 0; }
.guide li::marker { color: var(--primary); font-weight: 700; }
.guide dl { margin: 0 0 14px; max-width: 46rem; }
.guide dt { font-weight: 700; margin-top: 14px; }
.guide dd { margin: 4px 0 0; padding-left: 14px; border-left: 3px solid var(--primary-line); }

.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding: 12px 14px 12px 54px; margin: 10px 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-weight: 750; font-size: 0.9rem; }

.cta-band { padding: 28px 24px; border-radius: 20px; color: #fff; text-align: center; background: radial-gradient(600px 240px at 0% 0%, rgba(59, 130, 246, 0.45), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow-lg); }
.guide .cta-band h2 { color: #fff; margin-bottom: 6px; }
.guide .cta-band p { color: rgba(255, 255, 255, 0.8); margin: 0 auto 18px; }
.cta-band .btn-primary { background: #fff; color: var(--navy); min-height: 48px; padding: 0 24px; }
.cta-band .btn-primary:hover { background: #e3ebff; }

.intro p { color: var(--text-2); max-width: 52rem; line-height: 1.65; }
.hero .join-link { min-height: 50px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero .join-link:hover { background: rgba(255, 255, 255, 0.1); }
.guide-links { color: var(--text-3); }

.footer-guides, .footer-langs { font-size: 0.85rem; }
.footer-in > nav { gap: 6px 16px !important; }
.footer-in > div { flex-basis: 100%; }
@media (min-width: 900px) { .footer-in > div { flex-basis: auto; } }

.notfound { text-align: left; }
