/* BurnLens Fitness — Components */

/* ═══════════════════════════════
   HEADER / NAV
═══════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,6,6,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--mid) var(--ease);
}
.site-header.scrolled { box-shadow: 0 0 40px rgba(161,242,22,0.06), 0 1px 0 var(--border-lime); }
.header-inner {
  max-width: var(--w); margin-inline: auto;
  padding: var(--s3) clamp(var(--s4),4vw,var(--s8));
  display: flex; align-items: center; justify-content: space-between; gap: var(--s6);
}

/* Logo */
.site-logo { display:flex; align-items:center; gap:var(--s3); text-decoration:none; }
.site-logo:hover { text-decoration:none; }
.logo-svg { flex-shrink:0; width:38px; height:38px; object-fit:cover; border-radius:10px; border:1px solid rgba(161,242,22,0.2); filter: drop-shadow(0 0 8px rgba(161,242,22,0.5)); transition: filter var(--mid) var(--ease), border-color var(--mid) var(--ease); }
.site-logo:hover .logo-svg { filter: drop-shadow(0 0 14px rgba(161,242,22,0.9)); border-color:rgba(161,242,22,0.5); }
.logo-wordmark {
  display: flex; flex-direction: column; line-height: 1;
}
.logo-name {
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.logo-name span { color: var(--lime); }
.logo-sub {
  font-family: var(--display); font-weight: 600; font-size: 0.6rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-muted);
}

/* Nav links */
.site-nav { display:flex; align-items:center; gap:var(--s6); }
.nav-link {
  font-size: var(--xs); font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); text-decoration: none;
  transition: color var(--fast) var(--ease);
  position: relative; padding-bottom: 2px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--lime); transition: width var(--fast) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--lime); text-decoration: none; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Mobile hamburger */
.nav-toggle { display:none; flex-direction:column; gap:5px; width:28px; cursor:pointer; }
.nav-toggle span { display:block; height:2px; background:var(--text); border-radius:2px; transition:all 0.2s; }

@media (max-width: 640px) {
  .site-nav { display:none; }
  .site-nav.open {
    display:flex; flex-direction:column; align-items:flex-start;
    position:absolute; top:100%; left:0; right:0;
    background:var(--surface); border-bottom:1px solid var(--border-lime);
    padding:var(--s5) clamp(var(--s4),4vw,var(--s8)); gap:var(--s4);
  }
  .nav-toggle { display:flex; }
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border-lime);
  padding: var(--s12) clamp(var(--s4),4vw,var(--s8)) var(--s8);
}
.footer-grid {
  max-width: var(--w); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto; gap: var(--s8); align-items: start;
}
.footer-brand p { color:var(--text-muted); font-size:var(--sm); margin-top:var(--s3); max-width:38ch; }
.footer-nav { display:flex; flex-direction:column; gap:var(--s2); align-items:flex-end; }
.footer-nav a { font-size:var(--sm); color:var(--text-muted); transition:color var(--fast) var(--ease); }
.footer-nav a:hover { color:var(--lime); }
.footer-bottom {
  max-width:var(--w); margin:var(--s8) auto 0;
  padding-top:var(--s6); border-top:1px solid var(--divider);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:var(--s4);
}
.footer-bottom p { font-size:var(--xs); color:var(--text-faint); }
.footer-bottom a { color:var(--text-faint); font-size:var(--xs); }
.footer-bottom a:hover { color:var(--lime); }
@media(max-width:560px){ .footer-grid{grid-template-columns:1fr;} .footer-nav{align-items:flex-start;} .footer-bottom{flex-direction:column;} }

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s3) var(--s6); border-radius: var(--r);
  font-family: var(--display); font-size: var(--sm); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: all var(--fast) var(--ease); text-decoration: none; border: 2px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-lime {
  background: var(--lime); color: var(--on-lime); border-color: var(--lime);
  box-shadow: 0 0 18px rgba(161,242,22,0.35);
}
.btn-lime:hover {
  background: var(--lime-bright); border-color: var(--lime-bright);
  box-shadow: var(--glow-md); color: var(--on-lime);
}

.btn-ghost {
  background: transparent; color: var(--lime); border-color: var(--lime-border);
}
.btn-ghost:hover {
  background: var(--lime-dim); border-color: var(--lime);
  box-shadow: var(--glow-sm); color: var(--lime-bright);
}

/* ═══════════════════════════════
   INNER PAGE HERO
═══════════════════════════════ */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border-lime);
  padding: clamp(var(--s10),6vw,var(--s20)) clamp(var(--s4),4vw,var(--s8)) var(--s10);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(161,242,22,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width:var(--w-md); margin-inline:auto; position:relative; }
.page-badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 3px var(--s3); border-radius: var(--r-full);
  border: 1px solid var(--lime-border); background: var(--lime-dim);
  color: var(--lime); font-size: var(--xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--s4);
}
.page-hero h1 {
  font-size: var(--2xl); font-weight: 900; text-transform: uppercase;
  color: var(--text); margin-bottom: var(--s4); letter-spacing:-0.01em;
}
.page-hero h1 em { font-style:normal; color:var(--lime); text-shadow:var(--glow-text); }
.page-hero .lead { font-size:var(--lg); color:var(--text-muted); max-width:52ch; line-height:1.65; }

/* ═══════════════════════════════
   PROSE (Privacy / Terms)
═══════════════════════════════ */
.prose h2 {
  font-size: var(--xl); font-weight: 800; text-transform: uppercase;
  color: var(--text); margin-top: var(--s12); margin-bottom: var(--s4);
  padding-bottom: var(--s3); border-bottom: 1px solid var(--border-lime);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--lg); font-weight: 700; color: var(--lime); margin-top: var(--s8); margin-bottom: var(--s3); }
.prose p { margin-bottom: var(--s4); color: var(--text-muted); line-height: 1.78; }
.prose ul,.prose ol { margin-bottom:var(--s4); margin-left:var(--s6); color:var(--text-muted); }
.prose li { margin-bottom:var(--s2); line-height:1.7; }
.prose a { color:var(--lime); } .prose a:hover { color:var(--lime-bright); }
.prose strong { color:var(--text); font-weight:600; }

/* TOC sidebar */
.toc {
  position: sticky; top: calc(4.5rem + var(--s4));
}
.toc-label { font-size:var(--xs); font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:var(--s4); }
.toc-list { list-style:none; display:flex; flex-direction:column; gap:2px; }
.toc-list a {
  font-size:var(--sm); color:var(--text-muted); padding:var(--s2) var(--s3);
  border-radius:var(--r); display:block;
  border-left:2px solid transparent; transition:all var(--fast) var(--ease);
}
.toc-list a:hover { color:var(--lime); background:var(--lime-dim); border-left-color:var(--lime); text-decoration:none; }

/* Callout */
.callout {
  background: var(--lime-dim); border: 1px solid var(--lime-border);
  border-radius: var(--r-lg); padding: var(--s5) var(--s6); margin-block: var(--s8);
}
.callout p { color:var(--text); margin-bottom:0; }
.callout strong { color:var(--lime); }
.meta-tag {
  display:inline-flex; align-items:center; gap:var(--s2); padding:var(--s2) var(--s4);
  border-radius:var(--r-full); background:var(--surface-3); border:1px solid var(--border);
  font-size:var(--xs); color:var(--text-muted); margin-bottom:var(--s5);
}

/* Legal layout */
.legal-layout {
  display:grid; grid-template-columns:220px 1fr; gap:var(--s16);
  align-items:start; max-width:var(--w); margin-inline:auto;
  padding:clamp(var(--s10),6vw,var(--s16)) clamp(var(--s4),4vw,var(--s8));
}
@media(max-width:768px){ .legal-layout{grid-template-columns:1fr;} .toc{display:none;} }

/* ═══════════════════════════════
   SECTION LABELS
═══════════════════════════════ */
.eyebrow {
  font-size: var(--xs); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--lime); margin-bottom: var(--s3);
  display: flex; align-items: center; gap: var(--s2);
}
.eyebrow::before { content:''; width:20px; height:2px; background:var(--lime); border-radius:2px; flex-shrink:0; box-shadow:var(--glow-sm); }

.section-title {
  font-size: var(--2xl); font-weight: 900; text-transform: uppercase;
  line-height: 1; letter-spacing: -0.01em; color: var(--text); margin-bottom: var(--s5);
}
.section-title em { font-style:normal; color:var(--lime); text-shadow:var(--glow-text); }
.section-desc { font-size:var(--base); color:var(--text-muted); max-width:52ch; line-height:1.72; }
