/* FWD Coaching: one small stylesheet, system fonts, no third-party requests.
   Rules (see CLAUDE.md): even pixel sizes only; orange is for buttons and
   accents, never for body text on light backgrounds; light sections use the
   dark logo, dark sections use the white logo. */

:root {
  --black: #111111;
  --charcoal: #4c4c4c;
  --paper: #f0f0f0;
  --white: #ffffff;
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --on-dark: #eeeeee;
  --on-dark-soft: #d0d0d0;
  --orange: #f1a143;
  --orange-hover: #f6b868;
  --line: #d6d6d6;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --max: 1040px;
  --prose: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 28px;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--orange); }
:focus-visible { outline: 4px solid var(--orange); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 10;
  background: var(--orange); color: var(--black); padding: 12px 16px; font-weight: 700;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- dark surfaces: header, hero, page heads, footer ---------- */
.dark {
  color: var(--on-dark);
  background: linear-gradient(to top right, var(--black) 0%, var(--charcoal) 100%);
}
.dark a { text-decoration-color: var(--orange); }

.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 16px; padding-bottom: 16px;
}
.brand { display: block; width: 176px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.nav a {
  display: inline-block; padding: 12px 0; font-size: 16px; font-weight: 600;
  text-decoration: none; border-bottom: 4px solid transparent; line-height: 20px;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.nav .btn { border-bottom: 0; padding: 12px 20px; }

/* ---------- buttons: orange with dark text ---------- */
.btn {
  display: inline-block; min-height: 48px; padding: 14px 28px;
  background: var(--orange); color: var(--black);
  font: inherit; font-size: 18px; font-weight: 800; line-height: 20px;
  text-decoration: none; border-radius: 4px;
}
.btn:hover { background: var(--orange-hover); text-decoration: none; }
.btn-lg { min-height: 56px; padding: 18px 36px; font-size: 20px; }
.link-quiet { font-weight: 700; }

/* ---------- hero ---------- */
.hero .wrap { padding-top: 40px; padding-bottom: 64px; }
.hero-logo { width: 100%; max-width: 560px; margin: 0 0 40px; }
.hero h1 { max-width: 780px; }
.hero .lead { max-width: 640px; color: var(--on-dark-soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; line-height: 28px; letter-spacing: 0; }
p { margin: 0 0 16px; }
.lead { font-size: 20px; line-height: 32px; }
.eyebrow {
  margin: 0 0 12px; font-size: 14px; line-height: 20px; font-weight: 800;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.dark .eyebrow { color: var(--orange); }

/* ---------- light sections ---------- */
.section { padding: 56px 0; }
.section + .section { border-top: 2px solid var(--line); }
.section-white { background: var(--white); }
.muted { color: var(--ink-soft); }
.grid { display: grid; gap: 20px; margin-top: 24px; }
.card {
  background: var(--white); border: 2px solid var(--line); border-top: 8px solid var(--orange);
  border-radius: 4px; padding: 24px;
}
.section-white .card { background: var(--paper); }
.card p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; padding-left: 64px; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 4px; background: var(--black); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
}
.steps h3 { margin-bottom: 4px; }
.band { padding: 56px 0; }
.band h2 { max-width: 640px; }

/* ---------- inner pages ---------- */
.page-head .wrap { padding-top: 48px; padding-bottom: 48px; }
.page-head h1 { margin-bottom: 8px; }
.page-head p { max-width: 640px; color: var(--on-dark-soft); margin-bottom: 0; }
.prose { max-width: var(--prose); }
.prose h2 { margin-top: 40px; font-size: 24px; line-height: 32px; }
.prose h3 { margin-top: 24px; }
.prose ul { padding-left: 24px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.panel {
  background: var(--white); border: 2px solid var(--line); border-left: 8px solid var(--orange);
  border-radius: 4px; padding: 20px 24px; margin: 24px 0;
}
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.updated { font-size: 16px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: grid; gap: 24px; }
.site-footer .brand { width: 160px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 0; margin: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 8px 0; font-size: 16px; }
.fine { font-size: 14px; line-height: 20px; color: var(--on-dark-soft); max-width: 720px; margin: 0; }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 96px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { padding-left: 0; padding-top: 64px; }
  .page-head h1 { font-size: 48px; }
  .section, .band { padding: 80px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.15s; }
}
.muted-dark { color: var(--on-dark-soft); }

/* About: portrait beside the story */
.portrait-row { display: grid; gap: 24px; margin-bottom: 8px; }
.portrait { width: 160px; height: 160px; border-radius: 16px; object-fit: cover; }
@media (min-width: 720px) {
  .portrait-row { grid-template-columns: 200px 1fr; align-items: start; gap: 32px; }
  .portrait { width: 200px; height: 200px; }
}
