/* exercise-page.css — slim standalone styling for SEO exercise pages.
   No app shell, no SPA JS; just fast, crawlable content. */

:root {
    --bg: #07090A; --card: #0F1419; --line: rgba(255,255,255,0.08);
    --accent: #CCFF00; --ink: #0A0C0A;
    --text: #F0F4F1; --muted: #C0C0C0; --dim: #8A8F98;
    --r: 12px; --rs: 8px;
    --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.xp-nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 60px; padding: 0 20px; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; background: rgba(7,9,10,0.92); backdrop-filter: blur(12px); z-index: 10;
}
.xp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.04em; }
.xp-brand-chip { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.xp-nav-cta { background: var(--accent); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.85rem; padding: 9px 18px; border-radius: var(--rs); }

.xp-wrap { max-width: 760px; margin: 0 auto; padding: 24px 20px 80px; }

.xp-crumbs { font-size: 0.78rem; color: var(--dim); margin-bottom: 16px; }
.xp-crumbs a { text-decoration: none; color: var(--muted); }
.xp-crumbs a:hover { color: var(--accent); }

.xp-head { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.xp-head img { width: 88px; height: 88px; object-fit: contain; flex-shrink: 0; }
.xp-h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 800; line-height: 1.1; }
.xp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.xp-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 20px; background: var(--card); color: var(--muted); border: 1px solid var(--line); }
.xp-tag.accent { background: var(--accent); color: var(--ink); border: none; }

.xp-summary { font-size: 1.1rem; color: var(--text); margin-bottom: 26px; }

.xp-video { width: 100%; border-radius: var(--r); border: 1px solid var(--line); background: #000; margin-bottom: 28px; max-height: 70vh; }

.xp-cta {
    display: block; text-align: center; background: var(--accent); color: var(--ink);
    text-decoration: none; font-weight: 800; font-size: 1.05rem; padding: 16px;
    border-radius: var(--r); margin: 8px 0 32px;
}
.xp-cta span { display: block; font-size: 0.78rem; font-weight: 600; opacity: 0.8; margin-top: 2px; }

.xp-section { margin-bottom: 30px; }
.xp-section h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; }
.xp-steps { list-style: none; counter-reset: s; }
.xp-steps li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line); }
.xp-steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; background: var(--accent); color: var(--ink); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; }
.xp-list { list-style: none; }
.xp-list li { padding: 8px 0 8px 26px; position: relative; }
.xp-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.xp-list.x li::before { content: '✕'; color: #E74C3C; }

.xp-muscles { display: flex; flex-wrap: wrap; gap: 8px; }
.xp-muscles span { padding: 6px 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--rs); font-size: 0.85rem; }

.xp-faq details { border: 1px solid var(--line); border-radius: var(--rs); padding: 14px 16px; margin-bottom: 10px; background: var(--card); }
.xp-faq summary { font-weight: 700; cursor: pointer; }
.xp-faq p { color: var(--muted); margin-top: 10px; }

.xp-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.xp-rel-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 10px; text-align: center; text-decoration: none; transition: border-color 0.15s; }
.xp-rel-card:hover { border-color: var(--accent); }
.xp-rel-card img { width: 56px; height: 56px; object-fit: contain; }
.xp-rel-card span { display: block; font-size: 0.85rem; font-weight: 600; margin-top: 6px; }

.xp-foot { border-top: 1px solid var(--line); padding: 28px 20px; text-align: center; color: var(--dim); font-size: 0.8rem; }
.xp-foot a { color: var(--muted); text-decoration: none; margin: 0 10px; }
.xp-foot a:hover { color: var(--accent); }

/* Library index */
.xp-cat { font-size: 1.4rem; font-weight: 800; margin: 32px 0 14px; }
.xp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.xp-lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 8px; max-width: 620px; }
