/* Body Reps visual polish v1. Loaded on every page after the page's own styles.
   Rules: gold text, links, buttons and highlights are NOT changed. Only boxes, section colours, footer and button feel. */
:root{--sec:#E9A21F;--sec-ink:#F2B134}
body[data-sec="boot"]{--sec:#E9A21F;--sec-ink:#F2B134;--sec-ico:url("/assets/sec/boot.webp")}
body[data-sec="gym"]{--sec:#E46A5B;--sec-ink:#FF9E90;--sec-ico:url("/assets/sec/gym.webp")}
body[data-sec="rev"]{--sec:#5FA8D8;--sec-ink:#8EC3E6;--sec-ico:url("/assets/sec/rev.webp")}
body[data-sec="art"]{--sec:#C9D6DC;--sec-ink:#E4EDF0;--sec-ico:url("/assets/sec/art.webp")}
body[data-sec="cardio"]{--sec:#F2B134;--sec-ink:#FDE68A;--sec-ico:url("/assets/sec/cardio-gold.webp")}

/* 1. Section colour: a line on the page header, the small label above the title, and the section picture. */
body[data-sec] .page-hero{border-top:4px solid var(--sec)}
body[data-sec] .page-hero .kicker,body[data-sec] .page-hero .brand-mark{color:var(--sec-ink)}
body[data-sec] .page-hero>.wrap-narrow,body[data-sec] .page-hero>.wrap{position:relative}
body[data-sec] .page-hero .kicker,body[data-sec] .page-hero .brand-mark,body[data-sec] .page-hero h1{padding-right:60px}
body[data-sec] .page-hero>.wrap-narrow::after,body[data-sec] .page-hero>.wrap::after{content:"";position:absolute;right:0;top:2px;width:52px;height:52px;background:var(--sec-ico) center/contain no-repeat;pointer-events:none}
@media(min-width:760px){body[data-sec] .page-hero .kicker,body[data-sec] .page-hero .brand-mark,body[data-sec] .page-hero h1{padding-right:100px}body[data-sec] .page-hero>.wrap-narrow::after,body[data-sec] .page-hero>.wrap::after{width:84px;height:84px;top:0}}

/* 2. Fewer boxes: a box inside a box loses its outline (its background stays). */
.term-card .hook,.lessons-list li,.gym-check li,.card .table-scroll,.bt-fold .bt-fig,.home-more .home-badger,.brr-fb{border-color:transparent!important}
.brr-fb{background:rgba(255,255,255,.025)}

/* 3. Footer: two short columns of links on a phone instead of one long list. */
@media(max-width:759px){
 .site-footer .foot-links.one{grid-template-columns:1fr 1fr!important;column-gap:16px;margin-bottom:10px}
 .site-footer .foot-links a{font-size:15px;line-height:1.25}
 .site-footer .foot-split{gap:2px}
}

/* 4. Buttons visibly press when tapped. */
.btn,.hh-go,.rb-big,.rb-ghost,.route,.home-rb,.rb-tile,.rb-hubtile,.br-save,.brr-up{transition:transform .08s ease}
.btn:active,.hh-go:active,.rb-big:active,.rb-ghost:active,.br-save:active,.brr-up:active{transform:translateY(1px) scale(.985)}
.route:active,.home-rb:active,.rb-tile:active,.rb-hubtile:active{transform:scale(.99)}
@media (prefers-reduced-motion:reduce){.btn,.hh-go,.rb-big,.rb-ghost,.route,.home-rb,.rb-tile,.rb-hubtile,.br-save,.brr-up{transition:none}.btn:active,.hh-go:active,.rb-big:active,.rb-ghost:active,.br-save:active,.brr-up:active,.route:active,.home-rb:active,.rb-tile:active,.rb-hubtile:active{transform:none}}

/* 5. Footer section headings match the section colours (In the gym was white). */
footer.site-footer h2.foot-h-art{color:#E46A5B}

/* 6. Tap targets at least 44px tall: logo, Menu button and footer row links. Negative margins keep the layout where it was. */
.br-bar a.logo{padding-top:5.5px;padding-bottom:5.5px;margin-top:-5.5px;margin-bottom:-5.5px}
.br-bar .br-menu>summary{min-height:44px;box-sizing:border-box}
.site-footer .foot-links-row a{min-height:44px;line-height:44px;margin-top:-7px;margin-bottom:-7px;vertical-align:middle}
/* v55: control edges at least 3:1 against the navy background (WCAG 1.4.11). */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea{border-color:#6F8794!important}
.st-btn.ghost,.chipbtn,.chip,.brc-close,.bdg-chip,.rb-ghost,.bt-check label.opt{border-color:#6F8794}
.table-wrap td{box-sizing:border-box}
