/* Serve guide pages (/serve/). Builds on app.css. */
.guide { gap: 32px; }
.crumbs { font-size: 0.85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: inherit; }
.kicker-tag { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 0.8rem; color: var(--clay-ink); }
.kicker-tag .pill { border: 1px solid color-mix(in srgb, var(--clay) 40%, transparent); border-radius: 999px; padding: 2px 10px; }
.g-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 640px) { .g-hero { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } }
.g-hero figure { margin: 0; }
.g-hero img { width: 100%; height: auto; border-radius: 14px; display: block; background: var(--soft); }
.g-hero figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.answer { font-size: 1.15rem; line-height: 1.5; }
.answer strong { font-weight: 600; }
.g-sec { display: flex; flex-direction: column; gap: 12px; }
.g-sec h2 { font-size: 1.45rem; }
.g-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .g-cols { grid-template-columns: 1fr 1fr; } }
.g-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.g-list.good li::marker { color: var(--good); }
.g-list.bad li::marker { color: var(--bad); }
.drills { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.drills li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.drills li:first-child { border-top: 0; padding-top: 0; }
.drills .n { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--clay); line-height: 1; }
.drills h3 { font-size: 1.1rem; margin-bottom: 4px; }
.drills .dose { font-family: var(--mono); font-size: 0.82rem; color: var(--clay-ink); margin-top: 4px; }
.works-g { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--soft); border-radius: 14px; padding: 14px 18px; }
.works-g .fig { width: 100%; height: auto; }
.works-g .fig line { stroke-width: var(--w, 6); stroke-linecap: round; }
.works-g .fig line.on { stroke-width: calc(var(--w, 6) * 1.25); }
.works-g .fig .off { stroke: var(--muted); opacity: 0.45; }
.works-g .fig .on { stroke: var(--clay); }
.works-g .fig .t { stroke-width: 2; stroke-linejoin: round; }
.works-g .fig .t.off { fill: var(--muted); stroke: var(--muted); opacity: 0.3; }
.works-g .fig .t.on { fill: var(--clay); stroke: var(--clay); opacity: 0.9; }
.works-g .fig .h { fill: var(--muted); stroke: none; opacity: 0.45; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #111; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.88; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--clay); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.yt .play::after { content: ''; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-cap { font-size: 0.85rem; color: var(--muted); }
.cta-box { background: var(--ink); color: var(--bg); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cta-box h2 { color: var(--bg); font-size: 1.4rem; }
.cta-box p { color: color-mix(in srgb, var(--bg) 85%, transparent); }
.cta-box .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-box .btn.ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--clay); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 8px; }
.author { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 0.92rem; }
.author b { font-family: var(--display); font-size: 1.05rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pager a { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.pager a span { font-size: 0.8rem; color: var(--muted); }
.pager a.next { text-align: right; grid-column: 2; }
.hub-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hub-list li a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 10px; background: var(--surface); }
.hub-list li a:hover { border-color: var(--clay); }
.hub-list img { width: 88px; height: 110px; object-fit: cover; border-radius: 10px; display: block; }
.hub-list h2 { font-size: 1.2rem; display: flex; gap: 10px; align-items: baseline; }
.hub-list h2 .n { color: var(--clay); }
.hub-list p { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.steps-g { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps-g li::marker { color: var(--clay); font-family: var(--display); font-weight: 700; }
.updated { font-size: 0.82rem; color: var(--muted); }
