/* ==========================================================================
   PRPath V2 — Shared Stylesheet
   Concept C design system. Imported by every page.
   ========================================================================== */

:root {
  /* Color tokens */
  --bg: #FFF8F1;
  --bg-2: #FFEFDD;
  --card: #FFFFFF;
  --ink: #1A0F07;
  --ink-2: #3A2A1A;
  --ink-dim: #6B5A4A;
  --ink-faint: #9A8A7A;
  --border: #EBDFD0;
  --orange: #FF5A1F;
  --orange-dark: #C73E0B;
  --green: #0E7C4F;
  --gold: #E0A800;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Spacing */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 100px;
}

/* ==========================================================================
   Reset + base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* Prevent Chrome/Edge "auto dark mode" from inverting a site designed for light. */
  color-scheme: light;
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

/* ==========================================================================
   Layout
   ========================================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.bg-alt { background: var(--bg-2); }
.bg-ink { background: var(--ink); color: var(--bg); }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.bar {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
}
.bar strong { color: #FFB84D; font-weight: 700; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.nav .logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--bg);
}
.nav .logo span { color: var(--orange); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: rgba(255, 248, 241, 0.72);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: white !important;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(255, 90, 31, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.4);
  color: white !important;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bg);
  border-radius: 2px;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  color: var(--orange-dark);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow.eyebrow-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
.eyebrow.eyebrow-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--orange);
  background: transparent;
  padding: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.h1 {
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 900;
  margin-bottom: 24px;
}
.h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 16px;
}
.h3 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 16px;
}
.h4 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }

.h1 em, .h2 em, .h3 em {
  font-style: normal;
  color: var(--orange);
}
.h1 em {
  position: relative;
  display: inline-block;
}
.h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 6px;
  background: var(--orange);
  opacity: 0.2;
  border-radius: 3px;
}

.lead {
  font-size: 21px;
  color: var(--ink-2);
  line-height: 1.5;
}
.sub {
  font-size: 18px;
  color: var(--ink-dim);
}

.text-center { text-align: center; }
.text-dim { color: var(--ink-dim); }
.text-faint { color: var(--ink-faint); }

/* ==========================================================================
   Buttons
   ========================================================================== */
/* Official Apple App Store badge. Uses app-store-badge.svg (black version).
   Per Apple brand guidelines: don't recreate, don't alter proportions,
   keep minimum 40px height. https://developer.apple.com/app-store/marketing/guidelines/ */
.btn-store {
  display: inline-block;
  transition: transform 0.15s, opacity 0.15s;
}
.btn-store img {
  height: 56px;
  width: auto;
  display: block;
}
.btn-store:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-primary {
  background: var(--orange);
  color: white !important;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.25);
  transition: transform 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); color: white !important; }

.btn-line {
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
}
.btn-line:hover { background: var(--ink); color: var(--bg); }

.store-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

.free-note {
  color: var(--ink-dim);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.free-note::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  width: 20px;
  height: 20px;
  background: rgba(14, 124, 79, 0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.12), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-sub {
  font-size: 21px;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-compact {
  padding: 64px 0 32px;
  text-align: center;
}
.hero-compact .h1 { font-size: clamp(40px, 6vw, 72px); max-width: 900px; margin-left: auto; margin-right: auto; }
.hero-compact .lead { max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.hero-compact .store-row { justify-content: center; }

/* ==========================================================================
   Phone mockup
   ========================================================================== */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  aspect-ratio: 9 / 19;
  max-width: 340px;
  width: 100%;
  background: linear-gradient(160deg, var(--card) 0%, var(--bg-2) 100%);
  border-radius: 44px;
  border: 1px solid var(--border);
  box-shadow:
    0 40px 80px rgba(255, 90, 31, 0.15),
    0 10px 30px rgba(26, 15, 7, 0.08);
  padding: 16px;
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--ink);
  border-radius: 32px;
  padding: 24px;
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
}

/* Variant: phone screen holding a real app screenshot (no padding, no synthetic notch). */
.phone-screen.has-img {
  padding: 0;
  background: transparent;
}
.phone-screen.has-img::before { display: none; }
.phone-screen.has-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px;
}
.ph-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: var(--font-mono);
  opacity: 0.6;
  margin-bottom: 28px;
}
.ph-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.ph-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}
.ph-card strong {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ph-card .val {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--orange);
}
.ph-card .sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
.ph-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  background: var(--orange);
  color: white;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  margin-left: 6px;
}

/* ==========================================================================
   Atlas chat (HTML-rendered, not a screenshot — stays readable at any size)
   ========================================================================== */
.phone-screen.atlas-chat {
  padding: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
}
.phone-screen.atlas-chat::before { display: none; }
.atlas-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 2px;
  font-size: 9px;
  font-weight: 700;
  font-feature-settings: "tnum";
}
.atlas-statusbar-right {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  opacity: 0.95;
}
.atlas-statusbar-right .atlas-battery {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 3px;
  padding: 1px 2px 1px 2px;
  gap: 1px;
  font-size: 7px;
  line-height: 1;
}
.atlas-statusbar-right .atlas-battery::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 5px;
  background: #fff;
  border-radius: 1px;
}
.atlas-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px 8px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.atlas-header-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.atlas-header-trash {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}
.atlas-header-trash svg { width: 11px; height: 11px; }
.atlas-convo {
  flex: 1;
  overflow: hidden;
  padding: 10px 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.atlas-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.atlas-row.bot { justify-content: flex-start; }
.atlas-row.user { justify-content: flex-end; }
.atlas-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 90, 31, 0.18);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.atlas-avatar svg { width: 11px; height: 11px; }
.atlas-bubble {
  max-width: 78%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 10.5px;
  line-height: 1.42;
}
.atlas-bubble.bot {
  background: #2a2a2c;
  color: #ececec;
  border-bottom-left-radius: 4px;
}
.atlas-bubble.user {
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.atlas-bubble p { margin: 0; }
.atlas-bubble p + p { margin-top: 6px; }
.atlas-bubble .atlas-heading {
  font-weight: 700;
  color: #fff;
}
.atlas-bubble .atlas-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.atlas-bubble .atlas-list li {
  padding-left: 10px;
  position: relative;
}
.atlas-bubble .atlas-list li + li { margin-top: 3px; }
.atlas-bubble .atlas-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.55);
}
.atlas-bubble .atlas-list b {
  color: #fff;
  font-weight: 600;
}
.atlas-convo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%);
  pointer-events: none;
}
.atlas-input {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.atlas-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}
.atlas-send {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.atlas-send svg { width: 12px; height: 12px; }
.atlas-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px 4px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.atlas-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}
.atlas-tab svg { width: 14px; height: 14px; }
.atlas-tab.active { color: var(--orange); }
.atlas-tab.active .atlas-tab-icon {
  background: rgba(255, 90, 31, 0.18);
  border-radius: 999px;
  padding: 2px 10px;
}

/* --- Atlas feature-row visual: small phone + floating callout card --- */
.atlas-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.atlas-visual .phone {
  max-width: 260px;
  position: relative;
  z-index: 1;
}
.atlas-callout {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  max-width: 340px;
  background: #2a2a2c;
  color: #fff;
  padding: 18px 20px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  box-shadow:
    0 24px 60px rgba(26, 15, 7, 0.25),
    0 8px 20px rgba(26, 15, 7, 0.15);
  font-size: 13px;
  line-height: 1.5;
  z-index: 2;
}
.atlas-callout .atlas-callout-heading {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 6px;
}
.atlas-callout p { margin: 0 0 8px; }
.atlas-callout p:last-child { margin-bottom: 0; }
.atlas-callout ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.atlas-callout ul li {
  padding-left: 12px;
  position: relative;
  margin-bottom: 4px;
}
.atlas-callout ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--orange);
}
.atlas-callout ul li b { color: #fff; font-weight: 600; }
.atlas-callout-avatar {
  position: absolute;
  left: -14px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 4px 10px rgba(26, 15, 7, 0.18);
  background: #2a2a2c;
  overflow: hidden;
}
.atlas-callout-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 860px) {
  .atlas-visual { flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; }
  .atlas-callout {
    position: static;
    transform: none;
    max-width: 100%;
    margin-top: -40px;
  }
}

/* ==========================================================================
   Trust band (icon strip)
   ========================================================================== */
.trust {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 239, 221, 0.5);
}
.trust-band {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.trust-item:hover {
  color: var(--orange);
}
.trust-item .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--orange);
  transition: background 0.15s, border-color 0.15s;
}
.trust-item:hover .ico {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.trust-item .ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* ==========================================================================
   Numbers / stats section
   ========================================================================== */
.numbers { padding: 100px 0; text-align: center; }
.numbers .h2 { margin-left: auto; margin-right: auto; max-width: 800px; }
.numbers-sub {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 600px;
  margin: 0 auto 56px;
}
.nums-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.num-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
}
.num-val {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 10px;
}
.num-lab {
  font-size: 13px;
  color: var(--ink-dim);
  font-weight: 600;
}

/* ==========================================================================
   Anti-pattern (dark inverted block)
   ========================================================================== */
.anti {
  padding: 100px 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.anti::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255, 90, 31, 0.12), transparent 60%);
}
.anti-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.anti .h2 { color: var(--bg); }

.anti-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
  position: relative;
}
.anti-head p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin-top: 12px;
}

.anti-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.anti-col {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
}
.anti-col.bad { opacity: 0.75; }
.anti-col.good { border-color: rgba(255, 90, 31, 0.35); }
.anti-col-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.anti-col.bad .anti-col-label { color: rgba(255, 255, 255, 0.4); }
.anti-col.good .anti-col-label { color: var(--orange); }
.anti-col ul { list-style: none; }
.anti-col li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.anti-col li:last-child { border-bottom: none; }
.anti-col.bad li {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 90, 31, 0.6);
  text-decoration-thickness: 2px;
}
.anti-col.good li {
  color: var(--bg);
  font-weight: 600;
}
.anti-col.good li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(255, 90, 31, 0.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.anti-col.bad li::before {
  content: "✕";
  color: rgba(255, 90, 31, 0.6);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(255, 90, 31, 0.05);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.anti-divider {
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--orange);
  font-weight: 900;
}

/* ==========================================================================
   Features (alternating rows)
   ========================================================================== */
.features { padding: 100px 0; }
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.feat-row:nth-child(even) .feat-content { order: 2; }
.feat-row:last-child { margin-bottom: 0; }

.feat-content .eyebrow { margin-bottom: 20px; }
.feat-content p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feat-list li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.feat-list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
  font-size: 14px;
  width: 22px;
  height: 22px;
  background: var(--bg-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feat-visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  font-size: 14px;
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
}
.feat-visual::before {
  content: "App screenshot";
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.feat-visual-train { background: linear-gradient(135deg, #FFE4CC 0%, var(--card) 100%); }
.feat-visual-eat { background: linear-gradient(135deg, #E8F5E9 0%, var(--card) 100%); }
.feat-visual-atlas { background: linear-gradient(135deg, #1A0F07 0%, #3A2A1A 100%); color: rgba(255, 255, 255, 0.5); }

/* Phone inside a feature row: let it size itself (no fixed aspect-ratio container). */
.feat-row .phone-wrap {
  display: flex;
  justify-content: center;
}
.feat-row .phone { max-width: 300px; }

/* ==========================================================================
   Pillar grid (used on comparison / features pages)
   ========================================================================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.pillar {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.pillar h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.pillar p {
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 20px;
  line-height: 1.55;
}
.pillar ul {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.pillar li {
  font-size: 13px;
  color: var(--ink-dim);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pillar li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================================
   Wall of love (testimonial cards)
   ========================================================================== */
.love {
  padding: 100px 0;
  background: var(--bg-2);
}
.love-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.love-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.love-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.love-card .stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.love-card blockquote {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 20px;
}
.love-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.love-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.love-card .meta { flex: 1; min-width: 0; }
.love-card .meta strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.love-card .meta span {
  font-size: 12px;
  color: var(--ink-dim);
}
.love-card .result {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--orange);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { padding: 100px 0; }
.pricing-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.plan {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.plan.featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.04) 0%, var(--card) 60%);
  box-shadow: 0 20px 40px rgba(255, 90, 31, 0.12);
}
.plan-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-bottom: 16px;
  font-weight: 800;
}
.plan-price {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 2px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plan-price span {
  font-size: 18px;
  color: var(--ink-dim);
  font-weight: 500;
}
.plan-sub {
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 28px;
  font-weight: 500;
}
.plan ul { margin-bottom: 32px; }
.plan li {
  font-size: 15px;
  padding: 10px 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  font-size: 14px;
  width: 22px;
  height: 22px;
  background: rgba(14, 124, 79, 0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.plan-cta {
  display: block;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  border: 2px solid var(--ink);
  color: var(--ink);
  transition: transform 0.15s, background 0.15s;
}
.plan.featured .plan-cta {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.3);
}
.plan-cta:hover { transform: translateY(-2px); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.15), transparent 60%);
}
.final-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.final h2 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 900;
  margin-bottom: 20px;
}
.final h2 em {
  font-style: normal;
  color: var(--orange);
}
.final p {
  font-size: 19px;
  color: var(--ink-2);
  margin-bottom: 36px;
  font-weight: 500;
}
.final .store-row { justify-content: center; }

/* Shared pill-shaped CTA button. Safe to use inside hero, .final, or any section. */
.final-cta {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(255, 90, 31, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: -0.005em;
  border: 2px solid var(--orange);
  cursor: pointer;
}
.final-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 90, 31, 0.4);
  color: #fff !important;
}

/* Secondary / outline variant — orange border, transparent fill, ink text */
.final-cta.secondary {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
  box-shadow: none;
}
.final-cta.secondary:hover {
  background: var(--ink);
  color: var(--bg) !important;
  box-shadow: 0 12px 28px rgba(26, 15, 7, 0.22);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 48px 0 32px;
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--border);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer .logo { color: var(--bg); }
.footer .logo span { color: var(--orange); }
.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  max-width: 280px;
  margin-top: 10px;
}
.footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  font-weight: 800;
}
.footer-col a {
  display: block;
  color: var(--bg);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--orange); }
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 24px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* ==========================================================================
   Utility: section variants
   ========================================================================== */
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-xl { padding: 120px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head p { color: var(--ink-dim); font-size: 17px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .feat-row { grid-template-columns: 1fr; }
  .feat-row:nth-child(even) .feat-content { order: unset; }
  .anti-split { grid-template-columns: 1fr; }
  .anti-divider { transform: rotate(90deg); padding: 8px 0; }
  .nums-grid,
  .love-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .mobile-menu-toggle { display: flex; }
  .trust-band { gap: 24px; }
}
@media (max-width: 600px) {
  .nums-grid,
  .love-grid,
  .pillar-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}

/* ==========================================================================
   Comparison pages (hevy-vs-prpath, strong-vs-prpath, fitbod-vs-prpath,
   best-strong-alternatives)
   ========================================================================== */
.compare-hero {
  background: var(--bg);
  padding: 120px 0 72px;
  text-align: center;
}
.compare-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
.compare-hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.compare-hero .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.verdict-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 32px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(26, 15, 7, 0.04);
}
.verdict-card h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}
.verdict-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.compare-section {
  padding: 88px 0;
}
.compare-section.alt { background: var(--bg-2); }
/* Tighten gap when a section directly follows the hero on the same bg */
.compare-hero + .compare-section { padding-top: 40px; }
.compare-hero { padding-bottom: 48px; }
.compare-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 0 10px;
}
.compare-section .section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 48px;
  font-size: 17px;
}

/* -- Feature comparison table -- */
.compare-table-wrap {
  max-width: 960px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 15, 7, 0.04);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table thead th {
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  padding: 18px 20px;
  text-align: left;
  letter-spacing: 0.02em;
}
.compare-table thead th:last-child {
  background: var(--orange);
}
.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
}
.compare-table tbody tr:last-child { border-bottom: 0; }
.compare-table tbody tr.highlight {
  background: rgba(255, 90, 31, 0.04);
}
.compare-table td {
  padding: 14px 20px;
  vertical-align: top;
  color: var(--ink);
}
.compare-table td:first-child {
  font-weight: 700;
  width: 30%;
}
.compare-table td:last-child {
  background: rgba(255, 90, 31, 0.03);
  font-weight: 500;
}
.compare-table .yes::before,
.compare-table .no::before {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-size: 10px;
  font-weight: 800;
  color: white;
}
.compare-table .yes::before { content: "\2713"; background: var(--orange); }
.compare-table .no::before { content: "\2715"; background: #C8B6A6; }

/* -- Pros & Cons -- */
.proscons-block { margin-bottom: 56px; }
.proscons-block:last-child { margin-bottom: 0; }
.proscons-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}
.proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.proscons-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.proscons-card.pros { border-top: 4px solid var(--orange); }
.proscons-card.cons { border-top: 4px solid #C8B6A6; }
.proscons-card h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.proscons-card.pros h3 { color: var(--orange); }
.proscons-card.cons h3 { color: var(--muted); }
.proscons-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.proscons-card li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.proscons-card.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--orange);
  font-weight: 800;
  font-size: 16px;
}
.proscons-card.cons li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 16px;
}

/* -- Detailed analysis blocks -- */
.detail-block {
  max-width: 820px;
  margin: 0 auto 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
}
.detail-block:last-child { margin-bottom: 0; }
.detail-block h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.detail-block p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 12px;
}
.detail-block p:last-of-type { margin-bottom: 0; }
.detail-block p strong { color: var(--ink); font-weight: 700; }
.detail-block .winner {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  background: rgba(255, 90, 31, 0.1);
  color: var(--orange);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.detail-block .winner strong { color: var(--orange); }

/* -- "Choose X if" final recommendation grid -- */
.choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.choose-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.choose-card.primary { border-top: 4px solid var(--orange); }
.choose-card.secondary { border-top: 4px solid var(--ink); }
.choose-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.choose-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.choose-card li {
  padding: 12px 0 12px 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.choose-card li:last-child { border-bottom: 0; }
.choose-card li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 12px;
  font-weight: 800;
}
.choose-card.primary li::before { color: var(--orange); }
.choose-card.secondary li::before { color: var(--ink); }

@media (max-width: 768px) {
  .compare-hero { padding: 88px 0 48px; }
  .compare-section { padding: 64px 0; }
  .compare-table { font-size: 13px; }
  .compare-table td { padding: 11px 12px; }
  .compare-table td:first-child { width: 38%; }
  .proscons-grid,
  .choose-grid { grid-template-columns: 1fr; }
  .verdict-card,
  .detail-block { padding: 22px 20px; }
}

/* -- Ranked alternatives (best-strong-alternatives.html) -- */
.alt-card {
  max-width: 920px;
  margin: 0 auto 32px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  transition: border-color 0.15s, transform 0.15s;
}
.alt-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.alt-card:last-child { margin-bottom: 0; }
.alt-card.featured {
  border-color: var(--orange);
  background: linear-gradient(160deg, var(--card) 0%, rgba(255, 90, 31, 0.04) 100%);
}
.alt-badge {
  position: absolute;
  top: -12px;
  left: 36px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.3);
}
.alt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.alt-header h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.alt-price {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}
.alt-card.featured .alt-price {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.alt-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 24px;
}
.alt-section-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.alt-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 24px;
}
.alt-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.alt-feature::before {
  content: "\2713";
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.alt-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
.alt-proscons h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.alt-proscons .pros h4 { color: var(--orange); }
.alt-proscons .cons h4 { color: var(--muted); }
.alt-proscons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.alt-proscons li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}
.alt-proscons .pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--orange);
  font-weight: 800;
}
.alt-proscons .cons li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--muted);
  font-weight: 800;
}
.alt-bestfor {
  background: var(--bg-2);
  border-left: 4px solid var(--orange);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
}
.alt-bestfor strong { color: var(--orange); }
.alt-cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.25);
  transition: transform 0.15s;
}
.alt-cta:hover { transform: translateY(-1px); }

@media (max-width: 768px) {
  .alt-card { padding: 28px 22px; }
  .alt-features-grid,
  .alt-proscons { grid-template-columns: 1fr; }
  .alt-header h3 { font-size: 22px; }
}

/* ==========================================================================
   Utility pages: prose (privacy, terms), support, FAQ
   ========================================================================== */

/* -- Generic page body shell -- */
.page-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.page-body .last-updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
  letter-spacing: 0.02em;
}

/* -- Prose: long-form article body (legal, terms, etc.) -- */
.prose h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.05;
}
.prose h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 44px 0 16px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 28px 0 12px;
}
.prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
}
.prose ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.prose li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.prose li::before {
  content: "\2022";
  position: absolute;
  left: 4px;
  top: 6px;
  color: var(--orange);
  font-weight: 800;
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}
.prose a:hover { opacity: 0.75; }
.prose .contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 40px 0 0;
}
.prose .contact-box p { margin-bottom: 8px; }
.prose .contact-box p:last-child { margin-bottom: 0; }
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 56px 0 28px;
}
.prose .footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* -- Support info cards (3-up) -- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 90, 31, 0.1);
}
.info-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(255, 90, 31, 0.12);
  color: var(--orange);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-card-icon svg { width: 26px; height: 26px; }
.info-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.info-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px;
}
.info-card a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}
.info-card a:hover { text-decoration: underline; }

.topics-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 32px;
}
.topics-card h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 24px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.topics-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.topics-card li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
.topics-card li:last-child { border-bottom: 0; }
.topics-card strong { color: var(--ink); font-weight: 700; }
.support-footer-note {
  text-align: center;
  margin-top: 32px;
  color: var(--muted);
  font-size: 16px;
}
.support-footer-note a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
}
.support-footer-note a:hover { text-decoration: underline; }

/* -- FAQ: TOC + categories + accordion -- */
.faq-toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 56px;
}
.faq-toc h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.faq-toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.faq-toc-item .faq-toc-category {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.faq-toc-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-toc-item li {
  padding: 6px 0;
  font-size: 14.5px;
  line-height: 1.45;
}
.faq-toc-item a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}
.faq-toc-item a:hover { color: var(--orange); }

.faq-category {
  margin-bottom: 56px;
}
.faq-category:last-child { margin-bottom: 0; }
.faq-category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.faq-category-title h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.015em;
}
.faq-category-icon {
  font-size: 24px;
  line-height: 1;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: rgba(255, 90, 31, 0.4); }
.faq-item:last-child { margin-bottom: 0; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.faq-question:hover { background: rgba(255, 90, 31, 0.04); }
.faq-question-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 90, 31, 0.12);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  transition: transform 0.2s, background 0.15s;
}
.faq-question.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--orange);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer.open { max-height: 2000px; }
.faq-answer-content {
  padding: 0 24px 22px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
.faq-answer-content p { margin: 0 0 12px; }
.faq-answer-content p:last-child { margin-bottom: 0; }
.faq-answer-content strong { color: var(--ink); font-weight: 700; }
.faq-answer-content ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.faq-answer-content li { padding: 3px 0; }

/* -- Back to top button -- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.35);
  z-index: 50;
}
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 860px) {
  .info-cards,
  .faq-toc-grid { grid-template-columns: 1fr; }
  .page-body { padding: 44px 20px 72px; }
}

/* ==========================================================================
   Calculator pages (calculators hub + 1rm, bmr, tdee, calorie, macro)
   ========================================================================== */

/* -- Hub: grid of calculator cards -- */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.calc-index-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.calc-index-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 18px 40px rgba(255, 90, 31, 0.12);
}
.calc-index-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 90, 31, 0.12);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}
.calc-index-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.calc-index-card p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: var(--muted);
  flex-grow: 1;
}
.calc-index-card-stats {
  display: flex;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -- Interactive calculator tool card -- */
.calculator-card {
  max-width: 760px;
  margin: 0 auto 56px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 14px 36px rgba(26, 15, 7, 0.06);
}
.calculator-card h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-align: left;
}
.calculator-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 24px 0 12px;
  color: var(--orange);
  text-align: left;
}
.input-group {
  margin-bottom: 18px;
}
.input-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.input-group input,
.input-group select,
.calc-input,
.calc-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.input-group input:focus,
.input-group select:focus,
.calc-input:focus,
.calc-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.12);
}
.input-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.calculate-btn,
.calc-button {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.28);
  font-family: inherit;
}
.calculate-btn:hover,
.calc-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 90, 31, 0.34);
}
.calculate-btn:active,
.calc-button:active { transform: translateY(0); }

/* -- Results display -- */
.results-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.result-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
}
.result-card.highlight {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.result-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.result-card.highlight .result-label { color: rgba(255, 255, 255, 0.82); }
.result-value {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.result-card.highlight .result-value { color: #fff; }
.result-subtext {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* -- SEO content sections on calculator pages -- */
.calc-section {
  max-width: 820px;
  margin: 0 auto 56px;
}
.calc-section h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.15;
}
.calc-section h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 28px 0 12px;
}
.calc-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
}
.calc-section p:last-child { margin-bottom: 0; }
.calc-section ul,
.calc-section ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.calc-section ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}
.calc-section ul li::before {
  content: "\2022";
  position: absolute;
  left: 6px;
  top: 6px;
  color: var(--orange);
  font-weight: 800;
}
.calc-section ol {
  counter-reset: calc-step;
}
.calc-section ol li {
  counter-increment: calc-step;
  padding: 6px 0 6px 34px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}
.calc-section ol li::before {
  content: counter(calc-step);
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.calc-section strong { color: var(--ink); font-weight: 700; }
.calc-section a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* Standards/reference tables on calculator pages */
.calc-table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
}
.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.calc-table thead th {
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  letter-spacing: 0.02em;
}
.calc-table tbody tr { border-bottom: 1px solid var(--border); }
.calc-table tbody tr:last-child { border-bottom: 0; }
.calc-table td {
  padding: 12px 18px;
  color: var(--ink);
}
.calc-table td:first-child { font-weight: 700; }

@media (max-width: 680px) {
  .calculator-card { padding: 28px 22px; }
  .input-group-row { grid-template-columns: 1fr; }
  .result-value { font-size: 26px; }
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 680px) {
  .standards-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Blog (index hub + post layout)
   ========================================================================== */

/* -- Blog hub grid -- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 18px 40px rgba(255, 90, 31, 0.12);
}
.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8a3d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  line-height: 1;
  color: #fff;
  position: relative;
}
.blog-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.blog-card-category {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}
.blog-card-body h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.blog-card-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}
.blog-card-link {
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blog-card-link::after {
  content: "\2192";
  transition: transform 0.15s;
}
.blog-card:hover .blog-card-link::after { transform: translateX(4px); }

/* -- Blog post article layout -- */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.blog-post-hero {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.blog-post-category {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}
.blog-post-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--ink);
}
.blog-post-hero .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 20px;
}
.blog-post-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.blog-post-meta strong { color: var(--ink); font-weight: 600; }
.blog-post-body {
  /* Inherit from .prose for typography of h2/h3/p/ul */
}
.blog-post-body h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
  line-height: 1.2;
}
.blog-post-body h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 30px 0 10px;
  color: var(--ink);
}
.blog-post-body p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 18px;
}
.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.blog-post-body ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
}
.blog-post-body ul li::before {
  content: "\2022";
  position: absolute;
  left: 6px;
  top: 6px;
  color: var(--orange);
  font-weight: 800;
}
.blog-post-body ol {
  counter-reset: blog-step;
}
.blog-post-body ol li {
  counter-increment: blog-step;
  padding: 8px 0 8px 38px;
  position: relative;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
}
.blog-post-body ol li::before {
  content: counter(blog-step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.blog-post-body strong { color: var(--ink); font-weight: 700; }
.blog-post-body a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.blog-post-body a:hover { opacity: 0.75; }
.blog-post-body blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: var(--bg-2);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.blog-post-body blockquote p { margin: 0; }
.blog-post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
}
.blog-post-body thead th {
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  letter-spacing: 0.02em;
}
.blog-post-body tbody tr { border-bottom: 1px solid var(--border); }
.blog-post-body tbody tr:last-child { border-bottom: 0; }
.blog-post-body td { padding: 12px 16px; color: var(--ink); }
.blog-post-body td:first-child { font-weight: 700; }

.blog-post-body .callout {
  background: var(--bg-2);
  border-left: 4px solid var(--orange);
  padding: 20px 26px;
  border-radius: 10px;
  margin: 28px 0;
}
.blog-post-body .callout p:last-child { margin-bottom: 0; }
.blog-post-body .callout strong { color: var(--orange); }

/* Related posts strip */
.related-posts {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px 72px;
  background: var(--bg-2);
}
.related-posts h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

/* ==========================================================================
   Exercise Library (hub + single-exercise pages)
   ========================================================================== */

/* -- Hub: muscle group sections -- */
.muscle-group-section {
  padding: 48px 0 16px;
}
.muscle-group-section + .muscle-group-section { padding-top: 16px; }
.muscle-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.muscle-group-header h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
}
.muscle-group-icon {
  font-size: 26px;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 90, 31, 0.12);
}

/* Exercise card grid (hub) */
.exercise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.exercise-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.exercise-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 14px 32px rgba(255, 90, 31, 0.12);
}
.exercise-card h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.exercise-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.exercise-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--border);
}
.exercise-card-tag.difficulty-beginner { background: rgba(34, 197, 94, 0.1); color: #0e8a3a; border-color: rgba(34, 197, 94, 0.2); }
.exercise-card-tag.difficulty-intermediate { background: rgba(250, 160, 40, 0.12); color: #b35c00; border-color: rgba(250, 160, 40, 0.2); }
.exercise-card-tag.difficulty-advanced { background: rgba(255, 90, 31, 0.12); color: var(--orange); border-color: rgba(255, 90, 31, 0.22); }
.exercise-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}
.exercise-card-cta {
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
}

/* Library stats (hero) */
.exercise-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 40px auto 0;
}
.exercise-stat {
  text-align: center;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.exercise-stat-number {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--orange);
  line-height: 1;
}
.exercise-stat-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -- Single-exercise page: hero with Quick Facts panel -- */
.exercise-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.exercise-page-header {
  margin-bottom: 40px;
}
.exercise-page-header h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--ink);
}
.exercise-page-header .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 28px;
}
.quick-facts {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 28px;
  margin-top: 24px;
}
.quick-facts h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 16px;
}
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px 24px;
}
.quick-fact-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.quick-fact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* Content sections on single-exercise pages - reuse body prose styles.
   Also matches legacy .content-section class on exercise pages that weren't
   rewritten top-to-bottom by the bulk transform. */
.exercise-section,
.exercise-page .content-section {
  margin-bottom: 48px;
}
/* Neutralize the old inner .container on content-section so the outer
   .exercise-page wrapper controls the width. */
.exercise-page .content-section > .container {
  max-width: none;
  padding: 0;
  margin: 0;
}
.exercise-page .content-section {
  padding: 0;
  background: transparent;
}
.exercise-section h2,
.exercise-page .content-section h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-icon {
  font-size: 24px;
  line-height: 1;
}
.exercise-section h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 24px 0 10px;
}
.exercise-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
}
.exercise-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.exercise-section ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.exercise-section ul li::before {
  content: "\2022";
  position: absolute;
  left: 6px;
  top: 6px;
  color: var(--orange);
  font-weight: 800;
}
.exercise-section strong { color: var(--ink); font-weight: 700; }
.exercise-section a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* How-to numbered steps */
.how-to-steps {
  counter-reset: exercise-step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.how-to-steps > li {
  counter-increment: exercise-step;
  padding: 18px 20px 18px 72px;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
}
.how-to-steps > li::before {
  content: counter(exercise-step);
  position: absolute;
  left: 22px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.how-to-steps > li::marker { content: none; }
.how-to-steps h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}
.how-to-steps p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }

/* Muscle activation bars */
.muscles-worked {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.muscle-bar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
}
.muscle-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.muscle-bar-pct { color: var(--orange); font-weight: 800; }
.muscle-bar-track {
  height: 8px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
}
.muscle-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, #ff8a3d 100%);
  border-radius: 999px;
}
.muscle-primary .muscle-bar-fill { background: linear-gradient(90deg, var(--orange) 0%, #ff8a3d 100%); }
.muscle-secondary .muscle-bar-fill { background: linear-gradient(90deg, #c8b6a6 0%, #e5d5c0 100%); }

/* Variations grid */
.variations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.variation-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}
.variation-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}
.variation-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Common-mistake / tip cards */
.tip-card,
.mistake-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
  border-left: 4px solid var(--orange);
}
.mistake-card { border-left-color: #C8B6A6; }
.tip-card h3,
.mistake-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}
.tip-card p,
.mistake-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 6px;
}
.tip-card p:last-child,
.mistake-card p:last-child { margin-bottom: 0; }
.mistake-card strong { color: var(--ink); }
.tip-card .fix,
.mistake-card .fix {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
}

/* Related exercises grid (footer of single-exercise page) */
.related-exercises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.related-exercise-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.related-exercise-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}
.related-exercise-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}
.related-exercise-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Alias: .related-card (used on some roundup pages) → same as .related-exercise-card */
.related-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}
.related-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}
.related-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* CTA box used on roundup pages (inline mid-article) */
.cta-box {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8a3d 100%);
  color: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  margin: 40px 0;
  box-shadow: 0 18px 40px rgba(255, 90, 31, 0.25);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.cta-box h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: #fff;
}
.cta-box p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 20px;
}
.cta-box .cta-button,
.cta-box a {
  display: inline-block;
  background: #fff;
  color: var(--orange);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: -0.005em;
}
.cta-box .cta-button:hover,
.cta-box a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  color: var(--orange);
}

/* -- Exercise page: breadcrumb, roundup-specific boxes -- */
.exercise-page .breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.exercise-page .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.exercise-page .breadcrumb a:hover { color: var(--orange); }

/* Hero meta row: "15 Exercises · All Equipment · Updated Jan 2026" */
.exercise-page-header .exercise-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.exercise-page-header .exercise-meta .meta-item {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  position: relative;
}
.exercise-page-header .exercise-meta .meta-item + .meta-item::before {
  content: "\00B7";
  color: var(--muted);
  margin-right: 20px;
  margin-left: -20px;
  opacity: 0.5;
  position: absolute;
  left: -10px;
}
.exercise-page-header .intro-text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 16px;
}
.exercise-page-header .tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  margin-bottom: 16px;
}
.exercise-page-header .exercise-tag,
.exercise-page-header .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--border);
}
.exercise-page-header .exercise-tag.difficulty,
.exercise-page-header .tag.difficulty {
  background: rgba(34, 197, 94, 0.1);
  color: #0e8a3a;
  border-color: rgba(34, 197, 94, 0.2);
}

/* Intro paragraph duplicated as first body paragraph on roundup pages */
.exercise-page .content-section .intro-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 20px;
}

/* Anatomy section on roundup pages */
.anatomy-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 30px;
  margin-top: 12px;
}
.anatomy-box h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}
.anatomy-box > p {
  color: var(--muted) !important;
  margin: 0 0 20px;
  font-size: 15px;
}
.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.anatomy-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
}
.anatomy-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.anatomy-card .percentage {
  display: inline-block;
  font-size: 20px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}
.anatomy-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

/* Exercise category sub-groups in roundups */
.exercise-category {
  margin-top: 24px;
  margin-bottom: 32px;
}
.exercise-category > h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--orange);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}
/* Inside a roundup, exercise-grid shows exercise-cards which are divs (not links) */
.exercise-category .exercise-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.exercise-category .exercise-card {
  cursor: default;
}
.exercise-category .exercise-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}
.exercise-category .exercise-card .targets {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.exercise-category .exercise-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.exercise-category .exercise-card .tip {
  background: var(--bg-2);
  border-left: 3px solid var(--orange);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: auto;
}

/* ==========================================================================
   Exercise page: legacy class-name aliases
   These classes exist in the bulk-transformed exercise pages but never had
   V2 styles. Add proper V2 treatment here so the original markup works.
   ========================================================================== */

/* PRPath Tip / Atlas Recommendations / Muscle Focus callouts */
.exercise-page .prpath-callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 20px 26px;
  margin: 24px 0;
}
.exercise-page .prpath-callout h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.exercise-page .prpath-callout p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Muscles worked table (Muscle / Role / Activation) */
.exercise-page .muscles-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 16px 0 24px;
  font-size: 14.5px;
}
.exercise-page .muscles-table thead th {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}
.exercise-page .muscles-table tbody tr { border-bottom: 1px solid var(--border); }
.exercise-page .muscles-table tbody tr:last-child { border-bottom: 0; }
.exercise-page .muscles-table td {
  padding: 14px 16px;
  color: var(--ink);
  vertical-align: middle;
}
.exercise-page .muscles-table td:first-child { font-weight: 700; min-width: 200px; }
.exercise-page .muscles-table td strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}
.activation-bar {
  height: 8px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
  width: 100%;
  max-width: 220px;
}
.activation-fill {
  height: 100%;
  border-radius: 999px;
}
.activation-fill.primary { background: linear-gradient(90deg, var(--orange) 0%, #ff8a3d 100%); }
.activation-fill.secondary { background: linear-gradient(90deg, #c8b6a6 0%, #e5d5c0 100%); }

/* Progressive Overload cards (Strength / Hypertrophy / Endurance) */
.exercise-page .progression-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0 24px;
}
.exercise-page .progression-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
}
.exercise-page .progression-card h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}
.exercise-page .progression-card .rep-range {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1;
}
.exercise-page .progression-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

/* Common mistakes list */
.exercise-page .mistakes-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.exercise-page .mistakes-list > li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
  position: relative;
  border-left: 4px solid #C8B6A6;
}
.exercise-page .mistakes-list > li::before { content: none; }
.exercise-page .mistake-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.exercise-page .mistake-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #C8B6A6;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.exercise-page .mistake-fix {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.exercise-page .fix-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

/* Tools section grid (related calculators / guides) */
.exercise-page .tools-section .variations-grid,
.exercise-page .tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.exercise-page .tools-section a {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.exercise-page .tools-section a:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.exercise-page .tools-section a h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}
.exercise-page .tools-section a p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* -- Deadlift-style (alternative exercise page classes) -- */

/* Muscle activation table (alternate markup) */
.exercise-page .muscle-table-container {
  margin: 16px 0 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
}
.exercise-page .muscle-activation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.exercise-page .muscle-activation-table thead th {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}
.exercise-page .muscle-activation-table tbody tr { border-bottom: 1px solid var(--border); }
.exercise-page .muscle-activation-table tbody tr:last-child { border-bottom: 0; }
.exercise-page .muscle-activation-table td {
  padding: 14px 16px;
  color: var(--ink);
  vertical-align: middle;
}
.exercise-page .muscle-activation-table td:first-child { font-weight: 700; }

/* Activation level pills */
.exercise-page .activation {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--border);
}
.exercise-page .activation.high { background: rgba(255, 90, 31, 0.12); color: var(--orange); border-color: rgba(255, 90, 31, 0.22); }
.exercise-page .activation.medium { background: rgba(250, 160, 40, 0.12); color: #b35c00; border-color: rgba(250, 160, 40, 0.22); }
.exercise-page .activation.large { background: rgba(34, 197, 94, 0.1); color: #0e8a3a; border-color: rgba(34, 197, 94, 0.2); }

/* Step-by-step with .steps-container > .step > .step-number + .step-content */
.exercise-page .steps-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.exercise-page .step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px 20px 20px;
}
.exercise-page .step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.exercise-page .step-content h3,
.exercise-page .step-content h4 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
  color: var(--ink);
}
.exercise-page .step-content p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 6px;
}
.exercise-page .step-content p:last-child { margin-bottom: 0; }
.exercise-page .step-content strong { color: var(--ink); font-weight: 700; }
.exercise-page .step-content ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.exercise-page .step-content ul li {
  padding: 4px 0 4px 18px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.exercise-page .step-content ul li::before {
  content: "\2022";
  position: absolute;
  left: 4px;
  top: 4px;
  color: var(--orange);
  font-weight: 800;
}

/* Progressive overload grid (alternate markup) */
.exercise-page .overload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0 24px;
}
.exercise-page .overload-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
}
.exercise-page .overload-card h3,
.exercise-page .overload-card h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}
.exercise-page .overload-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 6px;
}
.exercise-page .overload-card p strong { color: var(--ink); }

/* Mistakes grid (container for .mistake-card children) */
.exercise-page .mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

/* Form cues / info / tempo callout boxes */
.exercise-page .form-cues-box,
.exercise-page .info-callout,
.exercise-page .tempo-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 20px 26px;
  margin: 24px 0;
}
.exercise-page .form-cues-box h3,
.exercise-page .form-cues-box h4,
.exercise-page .info-callout h3,
.exercise-page .info-callout h4,
.exercise-page .tempo-box h3,
.exercise-page .tempo-box h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.exercise-page .form-cues-box p,
.exercise-page .info-callout p,
.exercise-page .tempo-box p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 8px;
}
.exercise-page .form-cues-box p:last-child,
.exercise-page .info-callout p:last-child,
.exercise-page .tempo-box p:last-child { margin-bottom: 0; }
.exercise-page .form-cues-box ul,
.exercise-page .info-callout ul,
.exercise-page .tempo-box ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.exercise-page .form-cues-box ul li,
.exercise-page .info-callout ul li,
.exercise-page .tempo-box ul li {
  padding: 4px 0 4px 18px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.exercise-page .form-cues-box ul li::before,
.exercise-page .info-callout ul li::before,
.exercise-page .tempo-box ul li::before {
  content: "\2022";
  position: absolute;
  left: 4px;
  top: 4px;
  color: var(--orange);
  font-weight: 800;
}

/* Variation link + tag (inside .variation-card) */
.exercise-page .variation-card .variation-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  margin-top: auto;
}
.exercise-page .variation-card .variation-link:hover { text-decoration: underline; }
.exercise-page .variation-card .variation-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 90, 31, 0.1);
  color: var(--orange);
  margin-bottom: 8px;
}

/* FAQ container alias */
.exercise-page .faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.exercise-page .faq-container .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 28px;
  margin: 0;
  transition: border-color 0.15s;
}
.exercise-page .faq-container .faq-item:hover { border-color: rgba(255, 90, 31, 0.4); }
.exercise-page .faq-container .faq-item h3,
.exercise-page .faq-container .faq-item h4 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
  color: var(--ink);
}
.exercise-page .faq-container .faq-item p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 10px;
}
.exercise-page .faq-container .faq-item p:last-child { margin-bottom: 0; }

/* Related exercises grid (alternate markup) */
.exercise-page .related-exercises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.exercise-page .related-muscle {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--border);
  margin-top: 6px;
}

/* Exercise CTA section alias */
.exercise-page .exercise-cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8a3d 100%);
  color: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  margin: 40px 0;
  box-shadow: 0 18px 40px rgba(255, 90, 31, 0.25);
}
.exercise-page .exercise-cta-section h2,
.exercise-page .exercise-cta-section h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: #fff;
  display: block;
}
.exercise-page .exercise-cta-section p,
.exercise-page .exercise-cta-section .cta-content,
.exercise-page .exercise-cta-section .cta-subtext {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 20px;
}
.exercise-page .exercise-cta-section .cta-button,
.exercise-page .exercise-cta-section > a {
  display: inline-block;
  background: #fff;
  color: var(--orange);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.exercise-page .exercise-cta-section .cta-button:hover,
.exercise-page .exercise-cta-section > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* Exercise page FAQ: bare <h3>/<p> pattern inside .faq-section */
.exercise-page .faq-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.exercise-page .faq-section .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 28px;
  margin: 0;
  transition: border-color 0.15s;
}
.exercise-page .faq-section .faq-item:hover { border-color: rgba(255, 90, 31, 0.4); }
.exercise-page .faq-section .faq-item h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
  color: var(--ink);
  display: block;
}
.exercise-page .faq-section .faq-item p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}
.exercise-page .faq-section .faq-item p + p { margin-top: 10px; }

/* Tips grid (roundup pages) - container for .tip-card children */
.exercise-page .tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

/* Tools section - wraps links to calculators/guides */
.exercise-page .tools-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 32px 0;
}
.exercise-page .tools-section h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.exercise-page .tools-section > a,
.exercise-page .tools-section .tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin: 4px 6px 4px 0;
  transition: border-color 0.15s, transform 0.15s;
}
.exercise-page .tools-section > a:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

/* Sample workouts (workout-box + workout-table) */
.workout-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.workout-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
}
.workout-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.workout-table thead th {
  text-align: left;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.workout-table tbody tr { border-bottom: 1px solid var(--border); }
.workout-table tbody tr:last-child { border-bottom: 0; }
.workout-table td {
  padding: 10px 12px;
  color: var(--ink);
}
.workout-table td.exercise-name { font-weight: 700; }

/* Inline FAQ style used inside calculator pages + SEO landing pages
   (short always-open Q&A pairs, not the collapsible accordion from faq.html) */
.calc-section .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 26px;
  margin-bottom: 12px;
}
.calc-section .faq-item:hover { border-color: rgba(255, 90, 31, 0.3); }
.calc-section .faq-item .faq-question {
  cursor: default;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  margin-bottom: 10px;
  display: block;
  letter-spacing: -0.005em;
}
.calc-section .faq-item .faq-question:hover { background: transparent; }
.calc-section .faq-item .faq-answer {
  max-height: none;
  overflow: visible;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  padding: 0;
}
.calc-section .calc-callout {
  background: var(--bg-2);
  border-left: 4px solid var(--orange);
  padding: 18px 24px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 20px 0;
}
.calc-section .calc-callout strong { color: var(--orange); }
.calc-section .calc-callout a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* Radio group used in 1RM calc */
.calculator-card .radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.calculator-card .radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 0;
  font-size: 15px;
}
.calculator-card .radio-group input[type="radio"] {
  width: auto;
  accent-color: var(--orange);
}
