/* The guide pages (boxing-moves, boxing-combos, shadow-boxing-workout),
   generated by scripts/web/build-seo.mjs. Tokens are in /style.css. */
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
body { line-height: 1.6; }

.topbar { position: sticky; top: 0; z-index: 10; background: var(--ink);
  box-shadow: 0 3px 0 var(--red), 0 6px 0 var(--cream), 0 9px 0 var(--shadow); margin-bottom: 9px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.topbar .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 17px; color: var(--cream); }
.topbar .brand img { border-radius: 7px; }
.topbar nav { display: flex; gap: 18px; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.topbar nav a { text-decoration: none; color: var(--cream-muted); }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--cream); }
.topbar nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--red); }

.guide { padding-top: 22px; padding-bottom: 56px; }
.crumbs { font-size: 13px; color: var(--cream-muted); margin-bottom: 26px; }
.crumbs a { color: var(--cream-muted); }
.guide h1 { font-size: clamp(32px, 6vw, 52px); margin: 10px 0 16px; }
.guide h2 { font-size: clamp(22px, 3.4vw, 30px); margin: 44px 0 12px; }
.guide h2 small { font-family: var(--font-label); font-size: 16px; color: var(--red-text); letter-spacing: .1em; vertical-align: middle; }
.guide h3 { font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 16px; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--cream-muted); max-width: 720px; }
.muted { color: var(--cream-muted); }

/* Code discs, as in the app: punch red, defence cream, footwork cream ring, feint charcoal. */
.disc { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--font-display); font-size: 15px; line-height: 1; }
.d-punch { background: var(--red); color: var(--cream); }
.d-def { background: var(--cream); color: var(--ink); }
.d-foot { border: 2px solid var(--cream); color: var(--cream); }
.d-dec { background: var(--shadow); color: var(--cream); }
.calls { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.inline { white-space: nowrap; }
.inline .disc { width: 26px; height: 26px; font-size: 12px; vertical-align: middle; margin-right: 2px; }

/* At a glance table */
.codes { width: 100%; border-collapse: collapse; margin: 30px 0 8px; font-size: 15px; }
.codes caption { text-align: left; font-family: var(--font-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-text); font-size: 13px; padding-bottom: 8px; }
.codes th { text-align: left; font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-muted); padding: 8px 10px; border-bottom: 2px solid var(--line); }
.codes td { padding: 6px 10px; border-bottom: 1px solid var(--shadow); }
.codes td:last-child { color: var(--cream-muted); }
.codes .disc { width: 30px; height: 30px; font-size: 13px; }

/* Moves */
.move { background: var(--surface); border: 1px solid var(--line); padding: 18px 18px 16px; margin-top: 14px; scroll-margin-top: 90px; }
.move h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; text-transform: none; letter-spacing: 0; }
.move h3 span { font-family: var(--font-display); font-weight: 400; font-size: 21px; }
.move h3 small { width: 100%; padding-left: 46px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-muted); }
.move p { margin-top: 10px; }
.move ul { margin: 10px 0 0 20px; color: var(--cream-muted); }
.move li::marker { color: var(--red-text); }

/* Combos */
.numbers { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 14px 0 16px; }
.numbers li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; }
.numbers .disc { grid-row: span 2; width: 44px; height: 44px; font-size: 20px; }
.numbers b { font-family: var(--font-display); font-weight: 400; font-size: 18px; }
.numbers span:not(.disc) { font-size: 14px; color: var(--cream-muted); }
.combo-level h3 { margin: 26px 0 8px; color: var(--red-text); }
.combos { list-style: none; }
.combos li { display: grid; grid-template-columns: minmax(150px, auto) 1fr auto; gap: 6px 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--shadow); }
.combos .what { font-size: 15px; }
.combos .what b { color: var(--cream); }
.combos .lvl { font-family: var(--font-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-muted); }

/* Workout */
.rounds { list-style: none; display: grid; gap: 12px; margin-top: 14px; }
.rounds li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 16px 18px; }
.rounds .r { font-family: var(--font-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--red-text); }
.rounds h3 { font-family: var(--font-display); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 22px; margin: 2px 0 10px; }
.rounds p { margin-top: 10px; color: var(--cream-muted); }
.steps, .mistakes { list-style: none; display: grid; gap: 10px; margin-top: 12px; counter-reset: s; }
.steps li, .mistakes li { display: grid; gap: 2px; padding: 12px 0 12px 48px; position: relative; border-bottom: 1px solid var(--shadow); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-family: var(--font-display); }
.mistakes li::before { content: "!"; position: absolute; left: 0; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); font-family: var(--font-display); }
.steps span, .mistakes span { color: var(--cream-muted); }

/* App call to action */
.cta { display: flex; gap: 20px; align-items: flex-start; margin: 48px 0 8px; padding: 24px; background: var(--surface-raised); border: 1px solid var(--line); box-shadow: inset 0 3px 0 var(--red); }
.cta > img { border-radius: 16px; flex: none; }
.cta h2 { margin: 0 0 8px; font-size: 24px; }
.cta p { color: var(--cream-muted); margin-bottom: 14px; }
.cta .badge { display: inline-block; margin: 0 10px 8px 0; vertical-align: middle; }
.cta .badge img { height: 50px; width: auto; display: block; }
.cta .soon { display: inline-block; vertical-align: middle; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-muted); border: 1px dashed var(--line); padding: 12px 14px; margin-bottom: 8px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; 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(--font-display); color: var(--red-text); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 8px; color: var(--cream-muted); }

.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.foot a { color: var(--cream-muted); }

@media (max-width: 600px) {
  .cta { flex-direction: column; }
  .combos li { grid-template-columns: 1fr auto; }
  .combos .calls { grid-column: 1 / -1; }
  .topbar nav { gap: 14px; font-size: 12px; }
}

/* Move pages (/boxing-moves/<move>) */
.hero-move { display: flex; align-items: center; gap: 22px; margin: 26px 0 8px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); }
.hero-move > .disc { width: 84px; height: 84px; font-size: 36px; }
.hero-move dl { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.hero-move dt { font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red-text); }
.hero-move dd { font-size: 17px; }
.note { font-size: 15px; border-left: 3px solid var(--line); padding-left: 12px; margin-top: 14px; }
.guide > p + p { margin-top: 12px; }
.steps li b { font-weight: 400; }
.move .more { margin-top: 12px; font-size: 15px; }
.move h3 a { text-decoration: none; color: var(--cream); }
.move h3 a:hover { color: var(--red-text); }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0 0; }
.pn a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.pn a:hover { border-color: var(--red-text); color: var(--cream); }
.pn small { width: 100%; font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-muted); }
.pn .nx { justify-content: flex-end; text-align: right; }
.pn .disc { width: 30px; height: 30px; font-size: 13px; }
.mvs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 14px 0 14px; }
.mv { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.mv:hover { border-color: var(--red-text); color: var(--cream); }
.mv .disc { width: 30px; height: 30px; font-size: 13px; }
@media (max-width: 600px) {
  .hero-move { gap: 16px; padding: 14px; }
  .hero-move > .disc { width: 64px; height: 64px; font-size: 28px; }
  .pn { grid-template-columns: 1fr; }
  .pn .nx { justify-content: flex-start; text-align: left; }
}
