/* FitOS The Model — public /themodel page documenting the community-gym
   approach. Reuses theme tokens (--bg, --bg-card, --silver, --silver-mid,
   --silver-dim, --white, --accent, --amber, --font-display, --font-body,
   --max-w, --gutter) so the page is visually native to /brand, /partners
   and /wellbeing. No new design tokens introduced. */

.themodel-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--gutter) 0;
}

/* ── Hero ────────────────────────────────────────── */
.themodel-hero {
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.themodel-hero .brand-section {
  text-align: center;
  margin: 0 auto;
}

/* ── Generic section block ───────────────────────── */
.themodel-section-block {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.themodel-section-block:last-of-type { border-bottom: none; }

.themodel-section-block .brand-section { margin-bottom: 48px; }

/* ── Philosophy card ─────────────────────────────── */
.themodel-philosophy-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 64px 56px;
  max-width: 880px;
  margin: 0 auto;
}

.themodel-philosophy-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.themodel-philosophy-body {
  font-size: 17px;
  color: var(--silver-mid);
  line-height: 1.65;
}

/* ── Difference grid ─────────────────────────────── */
.themodel-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.themodel-diff-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, transform 0.3s;
}

.themodel-diff-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.themodel-diff-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.themodel-diff-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 4px;
}

.themodel-diff-body {
  font-size: 15px;
  color: var(--silver-mid);
  line-height: 1.6;
}

/* ── Audience list ───────────────────────────────── */
.themodel-audience-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 880px;
  margin: 56px auto 0;
}

.themodel-audience-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.themodel-audience-row:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.themodel-audience-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  padding: 8px 14px;
  border: 1px solid rgba(166,69,43,0.3);
  background: rgba(166,69,43,0.06);
  text-align: center;
  align-self: start;
}

.themodel-audience-blurb {
  font-size: 15px;
  color: var(--silver-mid);
  line-height: 1.6;
}

/* ── Partner plug-in grid ───────────────────────── */
.themodel-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.themodel-partner-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, transform 0.3s;
}

.themodel-partner-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.themodel-partner-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.themodel-partner-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 4px;
}

.themodel-partner-body {
  font-size: 15px;
  color: var(--silver-mid);
  line-height: 1.6;
}

.themodel-partner-footer {
  margin-top: 28px;
  font-size: 13px;
  font-style: italic;
  color: var(--silver-dim);
  line-height: 1.5;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CTA ─────────────────────────────────────────── */
.themodel-cta {
  padding: 120px 0;
  background: var(--bg-alt);
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.themodel-cta .container { max-width: 720px; }

.themodel-cta .cta-sub {
  color: var(--silver-mid);
  font-size: 16px;
  line-height: 1.6;
  margin: 16px auto 0;
  max-width: 560px;
}

.themodel-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 12px;
}

.themodel-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ── Active nav state for The Model link ─────────── */
header nav a.active { color: var(--white); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .themodel-wrap { padding: 96px var(--gutter) 0; }

  .themodel-hero { padding-bottom: 56px; }

  .themodel-section-block { padding: 72px 0; }
  .themodel-section-block .brand-section { margin-bottom: 32px; }

  .themodel-philosophy-card,
  .themodel-diff-card-body,
  .themodel-partner-card-body { padding: 36px 24px; }

  .themodel-diff-grid,
  .themodel-partner-grid { grid-template-columns: 1fr; }

  .themodel-audience-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 24px;
  }

  .themodel-audience-name {
    align-self: start;
    text-align: left;
  }

  .themodel-cta { padding: 80px 0; }
}
