/* chrome-v2.css -- Stage 4: header (Shop · Free · Handbook · Learn · About + Join the List), footer sitemap,
   type/spacing/button consistency. Loaded LAST on every page that has the site header. Existing tokens only
   (site.css :root). Specificity is deliberately above the older header patches (site.css, revamp.css). */

/* Token defaults: byte-identical to site.css :root, so pages that load site.css are unchanged; the 404 (which does not
   load site.css) gets the same values instead of unset variables. */
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;
  --radius-pill:999px;--tap-min:44px;--hairline-strong:1px solid rgba(201,164,92,.30);--frame-strong:1px solid rgba(201,164,92,.45);
  --navy-700:#122239;--navy-950:#060D18;--ink-light:#F5F5F7;--muted-light:#A8B3C7;--accent-bright:#DCC084;--accent:#C9A45C;
  --glass-bar:rgba(6,13,24,.72);--cta-bg:#E8C476;--cta-ink:#241B06;--champagne:#E9DCC0;--font-label:'Oswald',sans-serif}

html{scroll-padding-top:116px}
html,body{overflow-x:clip}
/* 404 is a standalone page with 24px body padding: let the header run edge to edge */
body.nf404>header.site-head{margin-left:-24px;margin-right:-24px}
body.nf404>header.site-head a{box-sizing:border-box}

/* ---------- Overflow safety (pre-existing defects the 360/390/430 sweep found) ---------- */
.partner-grid>*{min-width:0}
.partner-card .proof-date,.proof-strip .proof-date{white-space:normal}
.lede strong,.num-verdict strong,.num-verdict em,.num-verdict a{white-space:normal;overflow-wrap:anywhere}
.num-verdict{min-width:0;overflow-wrap:anywhere}
.op-contact{flex-wrap:wrap}
.op-contact>*{min-width:0;max-width:100%}
.sq2-tempo{flex-wrap:wrap;max-width:100%}
.sq2-bpmval{min-width:0}

/* ---------- Header base (self-contained so it also holds on pages that do not load site.css) ---------- */
header.site-head .bar{position:sticky;top:0;z-index:50;background:rgba(6,13,24,.86);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}
header.site-head .bar .bar-cta.join-list{display:inline-flex;align-items:center;justify-content:center;color:var(--cta-ink);background:var(--cta-bg);text-decoration:none;box-shadow:0 4px 18px rgba(201,164,92,.30),inset 0 1px 0 rgba(255,255,255,.16)}
header.site-head .bar .mtm-cart-button{background:var(--navy-700);color:var(--ink-light);border:1px solid rgba(201,164,92,.30);cursor:pointer}

/* ---------- Header ---------- */
header.site-head .bar{border-bottom:var(--frame-strong)}
header.site-head .bar .bar-in{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;
  grid-template-areas:"brand join cart" "nav nav nav";
  align-items:center;column-gap:var(--space-2);row-gap:0;
  width:100%;max-width:1180px;margin:0 auto;box-sizing:border-box;height:auto;min-height:0;
  padding:var(--space-2) max(var(--space-3),env(safe-area-inset-right)) 0 max(var(--space-3),env(safe-area-inset-left));
  overflow:visible;
}
header.site-head .bar .brand{
  grid-area:brand;justify-self:start;align-self:center;min-width:0;max-width:100%;
  display:inline-flex;align-items:center;gap:var(--space-2);min-height:var(--tap-min);
  padding:2px 0;font-family:var(--font-label,'Oswald',sans-serif);font-weight:800;
  font-size:.86rem;letter-spacing:.09em;line-height:1.05;text-transform:uppercase;white-space:normal;
  color:var(--ink-light);text-decoration:none;overflow:visible;
}
header.site-head .bar .brand img.brand-mark{
  display:block;flex:none;width:38px;height:38px;max-width:none;object-fit:contain;
  border-radius:50%;background:var(--navy-700);
  box-shadow:0 0 0 2px var(--navy-700),0 0 0 3.5px rgba(201,164,92,.95),0 2px 10px rgba(0,0,0,.5);
  margin:0 3px 0 4px;
}
header.site-head .bar .brand .brand-name{display:flex;flex-direction:column;min-width:0}
header.site-head .bar .brand .brand-name>span{display:block;white-space:nowrap}

header.site-head .bar .bar-cta.join-list{
  grid-area:join;justify-self:end;align-self:center;
  min-height:40px;padding:0 var(--space-3);box-sizing:border-box;
  font-family:var(--font-label,'Oswald',sans-serif);font-size:.74rem;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;border-radius:var(--radius-pill);
}
header.site-head .bar .mtm-cart-button{
  grid-area:cart;justify-self:end;align-self:center;position:relative;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  min-width:40px;min-height:40px;padding:0 var(--space-2);box-sizing:border-box;
  font-size:0;line-height:1;border-radius:var(--radius-pill);
}
header.site-head .bar .mtm-cart-button .mtm-cart-icon{width:18px;height:18px;flex:none}
header.site-head .bar .mtm-cart-button .mtm-cart-count{font-size:.68rem;line-height:1;font-weight:700}

header.site-head .bar .site-nav{
  grid-area:nav;order:0;width:auto;margin:var(--space-1) 0 0;padding:0;box-sizing:border-box;
  display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:0;
  overflow:visible;-webkit-mask-image:none;mask-image:none;
  border-top:1px solid rgba(201,164,92,.45);
}
header.site-head .bar .site-nav a{
  flex:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  min-height:var(--tap-min);padding:0 var(--space-2);border-radius:var(--radius-pill);
  font-family:var(--font-label,'Oswald',sans-serif);font-size:.8rem;font-weight:500;
  letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;
  color:var(--muted-light);text-decoration:none;
}
header.site-head .bar .site-nav a:hover,header.site-head .bar .site-nav a:focus-visible{color:var(--ink-light);background:var(--navy-700)}
header.site-head .bar .site-nav a[aria-current="page"]{color:var(--ink-light);background:transparent;border-radius:0;box-shadow:inset 0 -2px 0 var(--accent-bright)}
header.site-head .bar .bar-cta.join-list::after{content:none;display:none}

@media (min-width:400px){
  header.site-head .bar .brand{font-size:.96rem}
  header.site-head .bar .brand img.brand-mark{width:40px;height:40px}
  header.site-head .bar .bar-cta.join-list{padding:0 var(--space-4);font-size:.8rem}
  header.site-head .bar .site-nav a{padding:0 var(--space-3);font-size:.86rem}
}
@media (min-width:560px){
  header.site-head .bar .brand{font-size:1.15rem}
  header.site-head .bar .brand .brand-name{flex-direction:row;gap:.32em}
  header.site-head .bar .site-nav{justify-content:center;gap:var(--space-2)}
}
@media (min-width:860px){
  header.site-head .bar .bar-in{
    grid-template-columns:auto minmax(0,1fr) auto auto;
    grid-template-areas:"brand nav join cart";
    column-gap:var(--space-4);padding:var(--space-3) var(--space-6);
  }
  header.site-head .bar .brand{font-size:1.3rem;gap:var(--space-3)}
  header.site-head .bar .brand img.brand-mark{width:44px;height:44px}
  header.site-head .bar .site-nav{margin:0;border-top:0;justify-content:flex-end;gap:var(--space-1)}
  header.site-head .bar .site-nav a{font-size:.9rem;letter-spacing:.12em;padding:0 var(--space-4)}
  header.site-head .bar .bar-cta.join-list{min-height:44px;padding:0 var(--space-5);font-size:.86rem}
  header.site-head .bar .mtm-cart-button{min-width:44px;min-height:44px}
}

/* ---------- Footer sitemap ---------- */
footer .footer-in.mtm-foot{max-width:1180px;margin:0 auto;text-align:left}
footer .mtm-foot-top{text-align:center;margin:0 0 var(--space-8)}
footer .mtm-foot-top .company{margin:0 0 var(--space-1);font-size:1rem}
footer .mtm-foot-top p{max-width:none;margin-left:auto;margin-right:auto;text-align:center}
footer .mtm-foot-top .tagline{margin-top:0;margin-bottom:0;font-size:.88rem;color:var(--muted-light)}
footer .mtm-foot-cols{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6) var(--space-4);
  padding:var(--space-6) 0;border-top:var(--hairline-strong);border-bottom:var(--hairline-strong);
}
footer .mtm-foot-cols h2{
  margin:0 0 var(--space-2);font-family:var(--font-label,'Oswald',sans-serif);font-size:.78rem;font-weight:600;
  letter-spacing:.18em;text-transform:uppercase;color:var(--accent-bright);
}
footer .mtm-foot-cols ul{list-style:none;margin:0;padding:0;display:grid;gap:0}
footer .mtm-foot-cols li{margin:0}
footer .mtm-foot-cols a{display:flex;align-items:center;min-height:40px;padding:6px 0;margin:0;box-sizing:border-box;font-size:.9rem;line-height:1.3}
footer .mtm-foot-base{display:grid;gap:var(--space-4);justify-items:center;text-align:center;padding-top:var(--space-6)}
footer .mtm-foot-base p{margin:0;font-size:.88rem}
footer .mtm-foot-base p a{display:inline-block;padding:12px 0;margin:-12px 0}
footer .mtm-foot-base .mtm-social-icons{display:flex;justify-content:center;gap:var(--space-3);flex-wrap:wrap}
footer .mtm-foot-base .privacy-line{max-width:60ch;color:var(--muted-light)}
@media (min-width:760px){
  footer .mtm-foot-cols{grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-6)}
}

/* ---------- One button style, one tap floor (existing tokens) ---------- */
.btn,.btn-buy-now,.bar .bar-cta{border-radius:var(--radius-pill)}
.btn,.btn-buy-now{min-height:48px;box-sizing:border-box}
