/* Vergali design system -- tokens from the Figma brand guide (vergali-website theme, Apex Brain).
   One stylesheet, two accent systems: Home (green) and Fitness (purple), switched per section by
   data-theme on <body>. Background is always white; tints live only inside cards. */

@import url("../fonts/fonts.css");

:root {
  /* Home (charcoal bags) -- green system */
  --green: #499343;
  --green-hover: #3C7D37;
  --charcoal: #313131;
  --grey-card: #ECECEC;
  --sage: #D7DEC7;
  --orange: #F49C24;
  /* Fitness (booty bands) -- purple system */
  --purple: #6F5AA8;
  --purple-deep: #574591;
  --ink: #23222A;
  --lilac: #A59AD4;
  --band-grey: #9A9AA3;
  /* active accent (default: Home) */
  --accent: var(--green);
  --accent-hover: var(--green-hover);
  --accent-ring: rgba(73, 147, 67, .45);
  --accent-shadow: rgba(73, 147, 67, .25);
  --accent-shadow-hover: rgba(73, 147, 67, .38);
  --accent-shadow-active: rgba(73, 147, 67, .30);
  --accent-tint: #EEF5ED;
  --text: var(--charcoal);
  --text-muted: #5E5E5E;
  --bg: #FFFFFF;
  --radius-card: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(49, 49, 49, .08);
  --shadow-card-hover: 0 12px 32px rgba(49, 49, 49, .14);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --measure: 68ch;
  --container: 1200px;
  --gutter: 20px;
  --font-title: "PT Sans", "Trebuchet MS", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
}
[data-theme="fitness"] {
  --accent: var(--purple);
  --accent-hover: var(--purple-deep);
  --accent-ring: rgba(111, 90, 168, .45);
  --accent-shadow: rgba(111, 90, 168, .25);
  --accent-shadow-hover: rgba(111, 90, 168, .38);
  --accent-shadow-active: rgba(111, 90, 168, .30);
  --accent-tint: #F1EEF8;
  --text: var(--ink);
}

/* ---- reset-lite --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- type scale (brand guide, ~1.4x) ------------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-title); margin: 0 0 .4em; color: var(--text); }
h1, .h1 { font-weight: 400; font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -.5px; }
h2, .h2 { font-weight: 700; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; letter-spacing: -.25px; }
h3, .h3 { font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; }
h4, .h4 { font-weight: 700; font-size: 19px; line-height: 1.4; letter-spacing: .25px; }
h1 b, h2 b, .two-tone b { font-weight: 700; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.small { font-size: 14px; font-weight: 500; line-height: 1.5; }
.micro { font-size: 12px; line-height: 1.4; letter-spacing: .25px; color: var(--text-muted); }
p { margin: 0 0 1em; max-width: var(--measure); }
.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* ---- layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 16px; }
.mt-lg { margin-top: 40px; }

/* ---- buttons (pill) -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 40px; border-radius: var(--radius-pill); border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: .3px; line-height: 1;
  color: #FFFFFF; background: var(--accent); text-decoration: none;
  box-shadow: 0 4px 14px var(--accent-shadow);
  transition: all .25s var(--ease);
}
.btn:hover { background: var(--accent-hover); box-shadow: 0 8px 22px var(--accent-shadow-hover); transform: translateY(-2px); text-decoration: none; color: #fff; }
.btn:active { box-shadow: 0 3px 10px var(--accent-shadow-active); transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.4; fill: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-secondary { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); color: var(--accent-hover); box-shadow: inset 0 0 0 2px var(--accent-hover); }
.btn-sm { padding: 12px 24px; font-size: 14px; }
[data-theme="fitness"] .btn { padding-left: 36px; padding-right: 36px; }

/* ---- header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid #F0F0F0; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); text-decoration: none; }
.nav .btn { padding: 12px 24px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 20px; border-bottom: 1px solid #EEE; box-shadow: var(--shadow-card); }
  .nav a { padding: 12px 4px; border-bottom: 1px solid #F3F3F3; }
  .nav .btn { margin-top: 12px; align-self: flex-start; }
  .nav.open { display: flex; }
}

/* ---- hero -------------------------------------------------------------------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 64px); }
.hero .lead { max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-media { border-radius: var(--radius-card); overflow: hidden; background: var(--grey-card); box-shadow: var(--shadow-card); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }

/* ---- cards ("like the BugBane brandstore": rounded, soft shadow, badge) ---- */
.card {
  background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  color: var(--text); text-decoration: none; position: relative;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); text-decoration: none; }
.card-media { background: var(--grey-card); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 22px; }
.card-body p { margin: 0; color: var(--text-muted); font-size: 15px; }
.card-cta { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.card.tint .card-body { background: var(--accent-tint); }
.card.grey { background: var(--grey-card); box-shadow: none; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .04em; padding: 6px 12px; border-radius: var(--radius-pill); }
.badge.alt { background: var(--orange); }
[data-theme="fitness"] .badge.alt { background: var(--lilac); color: var(--ink); }

/* ---- feature rows + pills ---------------------------------------------------- */
.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { background: var(--grey-card); border-radius: var(--radius-card); padding: 22px; }
.feature h4 { margin-bottom: 6px; }
.feature p { margin: 0; font-size: 15px; color: var(--text-muted); }
.chip { display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--accent-hover); font-weight: 600; font-size: 13px; }
.tiers { display: flex; flex-wrap: wrap; gap: 10px; }
.tier { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--grey-card); font-weight: 500; font-size: 14px; }
.tier i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* ---- product page ---------------------------------------------------------------- */
.gallery { display: grid; gap: 12px; }
.gallery .main { border-radius: var(--radius-card); overflow: hidden; background: var(--grey-card); }
.gallery .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery .thumbs img { border-radius: 12px; background: var(--grey-card); cursor: pointer; border: 2px solid transparent; }
.gallery .thumbs img[aria-selected="true"] { border-color: var(--accent); }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: 15px; }
.spec dt { font-weight: 600; } .spec dd { margin: 0; color: var(--text-muted); }
.price-note { font-size: 14px; color: var(--text-muted); }
.amazon-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.rating { font-size: 14px; color: var(--text-muted); }

/* ---- FAQ ---------------------------------------------------------------------------- */
.faq details { border-top: 1px solid #E6E6E6; padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid #E6E6E6; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 10px 0 0; color: var(--text-muted); }

/* ---- newsletter (generic, never gating) ------------------------------------------- */
.newsletter { background: var(--grey-card); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; grid-template-columns: 1.2fr 1fr; align-items: center; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input[type="email"] { flex: 1 1 220px; padding: 14px 18px; border-radius: var(--radius-pill); border: 1px solid #D9D9D9; font: inherit; font-size: 15px; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } }

/* ---- footer ---------------------------------------------------------------------------- */
.site-footer { margin-top: clamp(48px, 8vw, 96px); background: var(--charcoal); color: #D9D9D9; padding: 56px 0 28px; font-size: 14px; }
[data-theme="fitness"] .site-footer { background: var(--ink); }
.site-footer a { color: #FFFFFF; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand img { height: 28px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #B5B5B5; font-size: 13px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- menu dropdown (Products > Charcoal Bags, Booty Bands > Workouts & Guides) ------------ */
.nav-group { position: relative; }
.nav-parent { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 500; font-size: 15px; color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.nav-parent:hover, .nav-group:focus-within .nav-parent { color: var(--accent); }
.nav-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 230px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-card-hover); padding: 10px 0; z-index: 60; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-menu a { display: block; padding: 10px 18px; }
.nav-menu a.sub { padding-left: 34px; font-size: 14px; color: var(--text-muted); }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-group.open .nav-menu { display: block; }
@media (max-width: 1100px) {
  .nav-parent { padding: 12px 4px 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); cursor: default; }
  .nav-parent svg { display: none; }
  .nav-menu { display: block; position: static; box-shadow: none; padding: 0; min-width: 0; border-radius: 0; }
  .nav-menu a { padding: 12px 4px 12px 14px; }
  .nav-menu a.sub { padding-left: 30px; }
}

/* ---- home: the two pathways and the support block ------------------------------------------ */
.pathways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pathway { position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; min-height: clamp(300px, 42vw, 520px); color: #fff; box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pathway:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); text-decoration: none; color: #fff; }
.pathway img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pathway::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.72) 100%); }
.pathway .label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 3vw, 32px); }
.pathway .kicker { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.pathway h2 { color: #fff; margin: 0 0 6px; }
.pathway p { color: rgba(255,255,255,.9); margin: 0 0 14px; max-width: 40ch; }
.pathway .go { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .pathways { grid-template-columns: 1fr; } }
.support-band { background: var(--grey-card); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 44px); }

/* ---- product support pages (the BugBane pattern: sections + downloads) --------------------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.jump a { padding: 9px 16px; border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--accent-hover); font-weight: 600; font-size: 14px; }
.jump a:hover { background: var(--accent); color: #fff; text-decoration: none; }
.prose section, section[id] { scroll-margin-top: 92px; }
.downloads { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; max-width: 720px; }
.downloads a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: var(--grey-card); color: var(--text); font-weight: 600; }
.downloads a:hover { background: var(--accent-tint); text-decoration: none; }
.downloads span { font-weight: 400; font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.prose .spec { margin-bottom: 1em; }
.footer-brand img { width: auto; }

/* ---- content pages (Phase 3) -------------------------------------------------------------- */
.page-head { padding: clamp(32px, 6vw, 72px) 0 clamp(16px, 3vw, 32px); }
.page-head .lead { max-width: 60ch; }
.page-head .center .lead { margin-left: auto; margin-right: auto; }
.hero-media.wide img { aspect-ratio: 16 / 9; }
.prose h2 { margin-top: 0; }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose .faq { max-width: 820px; }
.prose .features { margin: 8px 0 16px; }
.form-card { max-width: 720px; background: var(--accent-tint); border-radius: var(--radius-card); padding: clamp(16px, 3vw, 28px); margin: 8px 0 20px; min-height: 120px; }
.form-error { background: #FDECEC; border-left: 4px solid #C0392B; color: #7A1F16; padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: 15px; margin: 14px 0 0; max-width: none; }
.form-error a { color: #7A1F16; text-decoration: underline; }
.form-fallback { margin: 12px 0 0; }
/* The warranty form's own helper text (set inside Klaviyo, white-on-dark for the old page) repeats the
   order-ID format and says the ID "authenticates your purchase", which it does not. The page states
   the format itself, so that block is hidden here; the Klaviyo form is not edited. */
[data-klaviyo-form="R93ccc"] .klaviyo-form-richtext { display: none !important; }

/* ---- workouts hub -------------------------------------------------------------------------- */
.routine .day { background: var(--grey-card); border-radius: var(--radius-card); padding: 22px; }
.routine table { width: 100%; border-collapse: collapse; font-size: 15px; }
.routine th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding: 0 8px 8px 0; }
.routine td { padding: 9px 8px 9px 0; border-top: 1px solid #DADADA; vertical-align: top; }
.routine td:first-child { font-weight: 600; width: 46%; }
.exercises { display: grid; gap: 28px; }
.exercise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 36px); align-items: start; padding: 24px; border-radius: var(--radius-card); box-shadow: var(--shadow-card); scroll-margin-top: 92px; }
.exercise ol { padding-left: 20px; margin: 0 0 12px; }
.exercise li { margin-bottom: 6px; }
.exercise .note { margin-bottom: 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.soon { display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-hover); text-align: center; font-weight: 600; font-size: 15px; padding: 16px; }
.video-card h3 { font-size: 19px; margin: 12px 0 0; }
.video-card h3 a { color: var(--text); }
@media (max-width: 800px) { .exercise { grid-template-columns: 1fr; padding: 18px; } }

/* ---- full-width support and learn pages (review round 2) ------------------------------------
   Text keeps a readable line length; the width is used by putting a picture beside the text,
   by two-column lists and FAQs, and by a full-width specification table. One column on a phone. */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius-card); background: var(--grey-card); box-shadow: var(--shadow-card); }
.figure figcaption { font-size: 14px; color: var(--text-muted); margin-top: 10px; }
.figure.solo { max-width: 760px; margin: 8px 0 20px; }
.with-media { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: 8px; }
.with-media.flip .media-text { order: 2; }
.with-media .figure { position: sticky; top: 96px; }
.figures { display: grid; gap: 22px; margin: 20px 0 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figures.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0 8px; }
.column { background: var(--grey-card); border-radius: var(--radius-card); padding: 24px 26px; }
.column h3 { font-size: 20px; margin-bottom: 10px; }
.column ul { margin-bottom: 0; }
.steps-band { background: var(--accent); color: #fff; border-radius: var(--radius-card); padding: clamp(22px, 3.5vw, 40px); margin: 20px 0 24px; }
.steps-band h3 { color: #fff; margin: 0 0 4px; }
.steps-band .steps-note { color: rgba(255,255,255,.92); max-width: none; margin: 0 0 20px; }
.steps-band ol { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-band li { display: flex; gap: 14px; align-items: flex-start; margin: 0; font-size: 16px; line-height: 1.5; }
.steps-band .num { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-family: var(--font-title); font-weight: 700; font-size: 20px; }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--accent-tint); border: 2px solid var(--accent); border-radius: var(--radius-card); padding: clamp(22px, 3.5vw, 40px); color: var(--text); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.banner:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.banner-text { display: grid; gap: 6px; flex: 1 1 420px; }
.banner-kicker { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.banner-h { font-family: var(--font-title); font-weight: 700; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
.banner-p { color: var(--text-muted); font-size: 17px; max-width: 62ch; }
.wide .spec { grid-template-columns: minmax(180px, 280px) 1fr; gap: 0; border-radius: var(--radius-card); overflow: hidden; border: 1px solid #E6E6E6; font-size: 16px; }
.wide .spec dt, .wide .spec dd { padding: 14px 20px; border-top: 1px solid #E6E6E6; }
.wide .spec dt { background: var(--grey-card); }
.wide .spec dt:first-of-type, .wide .spec dd:first-of-type { border-top: 0; }
.faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); align-items: start; }
.prose .faq-cols .faq, .faq-cols .faq { max-width: none; }
.wide .downloads { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .with-media, .figures, .figures.n2, .columns, .faq-cols, .steps-band ol, .wide .downloads { grid-template-columns: 1fr; }
  .with-media.flip .media-text { order: 0; }
  .with-media .figure { position: static; }
  .faq-cols .faq + .faq details:first-child { border-top: 0; }
}
@media (max-width: 600px) {
  .wide .spec { grid-template-columns: 1fr; }
  .wide .spec dd { border-top: 0; padding-top: 0; }
  .wide .spec dt { background: none; padding-bottom: 4px; }
  .wide .spec dt:first-of-type + dd { border-top: 0; }
}

/* ---- full width on every page (round 3): heading-left sections and the two-part page head ---- */
.head-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.head-split h1 { margin-bottom: 0; }
.head-split .head-side .lead { max-width: none; margin-bottom: 0; }
.head-split .head-side .jump, .head-split .head-side .hero-actions { margin-top: 18px; }
.split-head { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.split-head > h2 { position: sticky; top: 96px; }
.split-head .sec-body { font-size: 17px; line-height: 1.7; }
.split-head .sec-body p, .split-head .sec-body ul, .split-head .sec-body ol { max-width: 84ch; }
.split-head .sec-body .faq, .split-head .sec-body .form-card, .split-head .sec-body .downloads { max-width: none; }
.split-head .sec-body > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .head-split, .split-head { display: block; }
  .head-split h1 { margin-bottom: .4em; }
  .split-head > h2 { position: static; }
  .split-head .sec-body { font-size: 16px; line-height: 1.6; }
}

/* ---- workouts: download / print row, written-only exercises, and the printed page ------------- */
.print-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; background: var(--accent-tint); border-radius: var(--radius-card); padding: 22px 26px; }
.print-row h3 { margin: 0; flex: 1 1 260px; font-size: 22px; }
.print-row p { margin: 4px 0 0; font-size: 15px; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }
.exercise.text-only { grid-template-columns: 1fr; }
.exercises-sub { margin: 44px 0 6px; }
.exercises-sub + p { color: var(--text-muted); margin-bottom: 20px; }
@media print {
  .site-header, .site-footer, .video, .hero-actions, .hero-media, .print-row, .breadcrumbs, .no-print, #beacon-container, .BeaconFabButtonFrame, iframe { display: none !important; }
  body { font-size: 11pt; }
  .section-tight, .page-head { padding: 10px 0; }
  .split, .exercise, .grid-2, .split-head, .head-split { display: block; }
  .exercise, .routine .day { box-shadow: none; padding: 8px 0; break-inside: avoid; background: none; }
  .routine .day { margin-bottom: 12px; }
  a { color: inherit; text-decoration: none; }
  h1 { font-size: 24pt; } h2 { font-size: 16pt; } h3 { font-size: 13pt; }
}

/* ---- utility banners ---------------------------------------------------------------------- */
.note { background: var(--accent-tint); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: 15px; }
.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--text-muted); }
