/* =================================================================
   corporatetrainer.com — shared design system
   v1.0 — used by all pages
   ================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #0F172A;
  --navy-soft: #1E293B;
  --off-white: #F5F4EE;
  --warm-paper: #FAFAF7;
  --burnt-orange: #B45309;
  --burnt-orange-hover: #9A4408;
  --terracotta: #92400E;
  --sage: #5A7A60;
  --sage-deep: #46624C;
  --sage-soft: #EAEFE9;
  --text-primary: #1C1917;
  --text-muted: #57534E;
  --rule: #D6D3D1;
  --rule-soft: #E7E5E4;

  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --content-max: 1200px;
  --content-narrow: 760px;
  --content-prose: 680px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--off-white);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--burnt-orange); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 1rem; }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1.5rem; max-width: var(--content-prose); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1.5rem; padding: 0; list-style: none; }
li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; text-wrap: pretty; }
li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 8px; height: 8px;
  background: var(--terracotta);
}

/* ---------- 3. Layout ---------- */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
section.tight { padding: 4rem 0; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--off-white);
  border-bottom: 1px solid var(--rule-soft);
  padding: 1.25rem 0;
}
.site-header .container {
  display: flex; justify-content: space-between; align-items: center;
}
.brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.site-nav { display: flex; gap: 2rem; }
.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}
.site-nav a:hover { color: var(--navy); }

/* ---------- 5. Eyebrows / labels ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: block;
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 1rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--burnt-orange);
  color: var(--off-white);
}
.btn-primary:hover {
  background: var(--burnt-orange-hover);
  color: var(--off-white);
}

/* ---------- 7. Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--off-white);
  padding: 4rem 0 2rem;
}
.site-footer h4 {
  color: var(--off-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.site-footer a { color: rgba(245, 244, 238, 0.75); }
.site-footer a:hover { color: var(--off-white); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-grid ul li { padding-left: 0; margin-bottom: 0.6rem; font-size: 0.95rem; }
.footer-grid ul li::before { display: none; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 244, 238, 0.15);
  font-size: 0.85rem;
  color: rgba(245, 244, 238, 0.55);
}
