/* =========================================================
   Fit For Our Life — Shared Stylesheet (spec v2.0)
   Hand-coded, no framework, no build step.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --white: #FFFFFF;
  --offwhite: #F5F5F7;
  --black: #111111;
  --charcoal: #2D2D2D;
  --card-border: #E5E5E5;
  --red: #D32F2F;
  --red-dark: #b71c1c;
  --green: #2E7D32;

  /* Fonts */
  --font-head: "Bebas Neue", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale (clamp: mobile min / preferred / desktop max) */
  --fs-hero: clamp(2.5rem, 6vw + 1rem, 4.5rem);        /* 40 -> 72 */
  --fs-hero-sub: clamp(1.125rem, 2vw + 0.5rem, 2.125rem); /* 18 -> 34 */
  --fs-section: clamp(2rem, 4vw + 0.5rem, 3.25rem);     /* 32 -> 52 */
  --fs-card-head: clamp(1.375rem, 2vw + 0.5rem, 2rem);  /* 22 -> 32 */
  --fs-price: clamp(2.375rem, 3vw + 0.5rem, 3rem);      /* 38 -> 48 */
  --fs-body: clamp(1rem, 0.4vw + 0.9rem, 1.1875rem);    /* 16 -> 19 */
  --fs-small: clamp(0.875rem, 0.3vw + 0.8rem, 1rem);    /* 14 -> 16 */

  /* Layout */
  --container: 1280px;
  --container-text: 960px;
  --radius-card: 16px;
  --radius-btn: 8px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);

  /* Section padding responsive */
  --section-pad: clamp(3.5rem, 6vw, 6rem);   /* 56 -> 96 */
  --card-pad: clamp(1.5rem, 3vw, 2rem);      /* 24 -> 32 */
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--black);
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }

/* Focus visibility (accessibility) */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container-text { max-width: var(--container-text); }
.section { padding-block: var(--section-pad); }
.section--gray { background: var(--offwhite); }
.section--black { background: var(--black); color: var(--white); }
.section--black h1, .section--black h2, .section--black h3 { color: var(--white); }
.section-title {
  font-size: var(--fs-section);
  text-align: center;
  margin-bottom: 0.75em;
}
.section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  color: var(--charcoal);
}
.section--black .section-intro { color: #d0d0d0; }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Red gradient accent for numbers / emphasis */
.text-gradient {
  background: linear-gradient(135deg, #ff5252, var(--red) 55%, var(--red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  min-width: 44px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 1px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .1s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-secondary { background: var(--black); color: #fff; }
.btn-secondary:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--red);
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: var(--black);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.4rem 0;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--red); }
.nav-cta { flex-shrink: 0; }
.nav-links .mobile-cta { display: none; }
.nav-cta .btn.btn-primary { font-size: 0.9rem; min-height: 44px; padding: 0.55rem 1.1rem; background: #fff; color: var(--red); border: 2px solid var(--red); }
.nav-cta .btn.btn-primary:hover { background: var(--red); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--black);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  min-width: 44px;
  min-height: 44px;
}

/* Mobile nav */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta.desktop-only { display: none; }
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    transition: transform .25s ease;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    box-shadow: 0 12px 24px rgba(0,0,0,.25);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    color: #fff;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: 1.05rem;
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--red); }
  .nav-links .mobile-cta { display: block; margin-top: 1rem; }
  .nav-links .mobile-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(17,17,17,.9));
  z-index: 1;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  line-height: 1.1;
  margin-bottom: 0.35em;
}
.hero-sub {
  font-size: var(--fs-hero-sub);
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto 2rem;
  color: #ececec;
  font-family: var(--font-body);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* Hero with a real photo behind it (uses the same ::before dark overlay) */
.hero--photo {
  background-size: cover;
  background-position: center;
}
/* Placeholder media band */
.media-band {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  border: 2px dashed rgba(255,255,255,.35);
  border-radius: var(--radius-card);
  background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 12px, #222 12px, #222 24px);
  color: #cfcfcf;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(160px, 30vw, 320px);
  padding: 1.5rem;
  font-style: italic;
}
.media-band--photo {
  border-style: solid;
  border-color: rgba(255,255,255,.15);
  background-size: cover;
  background-position: center;
  min-height: clamp(220px, 40vw, 420px);
}
.media-placeholder {
  border: 2px dashed var(--card-border);
  border-radius: var(--radius-card);
  background: var(--offwhite);
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(220px, 35vw, 360px);
  padding: 1.5rem;
  font-style: italic;
}
.media-placeholder--photo {
  border-style: solid;
  border-color: var(--card-border);
  background-size: cover;
  background-position: center top;
  min-height: clamp(320px, 40vw, 520px);
}
/* Section with a real photo behind it (Uphill Battle band) */
.section--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.section--photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(17,17,17,.85));
}
.section--photo > .container { position: relative; z-index: 1; }
.section--photo .section-title { color: #fff; }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--card-pad);
}
.card h3 { font-size: var(--fs-card-head); }
.card--black { background: var(--black); color: #fff; border-color: #333; }
.card--black h3 { color: var(--red); }
.card--black p { color: #dcdcdc; }
.card-icon {
  font-size: 2.4rem;
  color: var(--red);
  margin-bottom: 0.6rem;
  display: inline-block;
}
.card--black .card-icon { color: var(--red); }

/* ---------- Comparison Matrix ---------- */
.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
@media (max-width: 640px) { .comparison { grid-template-columns: 1fr; } }
.comparison-col {
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.comparison-col h3 {
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-size: var(--fs-card-head);
  color: #fff;
}
.comparison-col.other h3 { background: var(--charcoal); }
.comparison-col.ours h3 { background: var(--red); }
.comparison-col ul { list-style: none; margin: 0; padding: 0.5rem 1.25rem 1.25rem; }
.comparison-col li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--card-border);
  font-size: var(--fs-body);
}
.comparison-col li:last-child { border-bottom: 0; }
.icon-x { color: var(--red); font-size: 1.25rem; flex-shrink: 0; }
.icon-check { color: var(--green); font-size: 1.25rem; flex-shrink: 0; }

/* ---------- How It Works (steps) ---------- */
.steps { counter-reset: step; }
.step-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}

/* ---------- Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card.featured { border-color: var(--red); border-width: 2px; }
.price-name { font-size: var(--fs-card-head); margin-bottom: 0.25rem; }
.price-amount {
  font-family: var(--font-head);
  font-size: var(--fs-price);
  color: var(--red);
  line-height: 1;
  margin: 0.5rem 0 0.15rem;
}
.price-cycle { font-size: var(--fs-small); color: var(--charcoal); margin-bottom: 0.75rem; }
.price-meta { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 0.95rem; }
.price-meta li { padding: 0.3rem 0; border-bottom: 1px dashed var(--card-border); }
.price-meta li:last-child { border-bottom: 0; }
.price-card .btn { margin-top: auto; }

/* Benefit strip */
.benefit-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin: 0;
  padding: 0;
  font-weight: 600;
}
.benefit-strip li { display: flex; align-items: center; gap: 0.5rem; }
.benefit-strip .bi { color: var(--red); font-size: 1.2rem; }

/* Founding banner */
.founding-banner {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-card);
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  font-weight: 600;
}
.founding-banner strong { font-family: var(--font-head); letter-spacing: 1px; font-size: 1.4rem; display: block; margin-bottom: 0.4rem; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 900px; margin-inline: auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group > label,
.form-legend {
  display: block;
  font-weight: 600;
  font-size: var(--fs-small);
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
fieldset { border: 0; padding: 0; margin: 0; }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem 1rem;
}
.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
  font-size: var(--fs-body);
  padding: 0.35rem 0;
}
.choice input { width: auto; min-height: auto; }
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Success screen deliverable box */
.deliverable-box {
  background: var(--offwhite);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: var(--card-pad);
  margin: 1.5rem 0;
}
.deliverable-box ul { list-style: none; padding: 0; margin: 0; }
.deliverable-box li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.5rem 0; }
.deliverable-box .bi-check-circle-fill,
.deliverable-box .icon-check { color: var(--green); font-size: 1.3rem; flex-shrink: 0; }
.is-hidden { display: none !important; }

/* ---------- Modal (Who We Help) ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-card);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  position: relative;
}
.modal h3 { font-size: var(--fs-card-head); color: var(--red); }
.modal-close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: none; border: 0;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--charcoal);
  min-width: 44px; min-height: 44px;
}
/* No-JS expandable fallback */
details.wwh-details { margin-top: 0.75rem; }
details.wwh-details summary { cursor: pointer; font-weight: 600; color: var(--red); }

/* Category card (clickable) */
.category-card { cursor: pointer; text-align: left; }
.category-card:hover { border-color: var(--red); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-card);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.cta-band h2 { color: #fff; }
.cta-band .btn-secondary { background: var(--black); }
.cta-band .btn-white { background: #fff; color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #cfcfcf;
  padding-block: clamp(2.5rem, 5vw, 4rem) 6rem;
}
.site-footer .brand { display: inline-block; margin-bottom: 0.75rem; font-size: 1.8rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.site-footer a { color: #e0e0e0; }
.site-footer a:hover { color: var(--red); }
.footer-contact p { margin: 0.3rem 0; color: #bdbdbd; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-h {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: var(--fs-small);
  color: #9a9a9a;
}

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 90;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
@media (max-width: 1024px) { .floating-cta { display: none; } }

/* ---------- Sticky mobile bottom bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: var(--black);
  padding: 0.6rem 0.75rem;
  border-top: 1px solid #2a2a2a;
}
.mobile-bar .btn { width: 100%; }
.mobile-bar .btn.btn-primary { background: #fff; color: var(--red); border: 2px solid var(--red); }
@media (max-width: 1024px) { .mobile-bar { display: block; } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: var(--fs-hero-sub); font-weight: 500; }
.disclaimer { font-size: var(--fs-small); color: var(--charcoal); }
.stack > * + * { margin-top: 1rem; }
.descriptor-strip {
  font-family: var(--font-head);
  letter-spacing: 2px;
  color: var(--red);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

