/* ============================================================
   PARTS MANAGER POSITION SITE — STYLES
   Typographic technical-doc aesthetic. Inter for body, JetBrains
   Mono for system tags. Restrained color used semantically.
   ============================================================ */

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { padding-left: 1.25em; }
h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; }

/* ----- Tokens ----- */
:root {
  /* Neutrals */
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #475569;
  --muted-light: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --paper: #ffffff;
  --paper-tint: #fafaf9;
  --paper-warm: #f8f7f3;

  /* Accent (slate blue, purposeful) */
  --accent: #1f4e79;
  --accent-strong: #163a5c;
  --accent-soft: #e8eef6;
  --accent-tint: #f5f8fc;

  /* Semantic ramps */
  --pick-bg: #eef4fc;
  --pick-border: #b5d4f4;
  --pick-text: #14467a;
  --pick-bar: #378add;

  --own-bg: #e8f5f0;
  --own-border: #9ed5be;
  --own-text: #0f6e56;
  --own-bar: #1d9e75;

  --grow-bg: #f1eefb;
  --grow-border: #c4b9ee;
  --grow-text: #3c3489;
  --grow-bar: #7f77dd;

  --stop-bg: #fdeeee;
  --stop-border: #efb6b6;
  --stop-text: #8a2424;
  --stop-bar: #c63838;

  --ccc-bg: #fdf3df;
  --ccc-border: #ecc975;
  --ccc-text: #6a3d05;
  --ccc-bar: #b88318;

  --money-bg: #ebf5e2;
  --money-border: #aacc88;
  --money-text: #2f5d12;
  --money-bar: #639922;

  /* Layout */
  --container: 1180px;
  --container-narrow: 1080px;
  --gutter: 32px;
  --gutter-sm: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.04);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ----- Base ----- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper-tint);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga', 'calt';
}

code {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875em;
  padding: 1px 6px;
  background: var(--line-soft);
  border-radius: 3px;
  color: var(--ink-soft);
}

/* ============================================================
   TOPBAR
   ============================================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-eyebrow { font-size: 11px; font-weight: 500; color: var(--muted-light); letter-spacing: 0.06em; text-transform: uppercase; }
.brand-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.topnav { display: flex; gap: 4px; flex-wrap: wrap; }
.topnav a {
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.topnav a:hover { color: var(--ink); background: var(--line-soft); }
.topnav a.is-active { color: var(--accent); background: var(--accent-soft); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter) 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-text h1 {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
  text-wrap: balance;
}
.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-rules {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  gap: 8px;
}
.hero-rules p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.hero-rules strong { color: var(--ink); font-weight: 600; }

.hero-visual {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
}
.journey-svg { width: 100%; height: auto; display: block; }

.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   JOURNEY SVG STYLES (scoped inside .hero-visual)
   ============================================================ */
.journey-svg .j-h { font-family: 'Inter'; font-weight: 600; font-size: 16px; fill: var(--ink); }
.journey-svg .j-s { font-family: 'Inter'; font-weight: 400; font-size: 13px; fill: var(--muted); }
.journey-svg .j-h-sm { font-family: 'Inter'; font-weight: 500; font-size: 13px; fill: var(--ink); dominant-baseline: middle; }
.journey-svg .j-s-sm { font-family: 'Inter'; font-weight: 400; font-size: 11.5px; fill: var(--muted); dominant-baseline: middle; }
.journey-svg .j-verb { font-family: 'Inter'; font-weight: 600; font-size: 13.5px; fill: var(--ink); }
.journey-svg .j-q { font-family: 'Inter'; font-weight: 400; font-size: 11.5px; fill: var(--muted); font-style: italic; }
.journey-svg .j-num { font-family: 'Inter'; font-weight: 700; font-size: 13px; fill: var(--paper); dominant-baseline: middle; }
.journey-svg .j-path { stroke: var(--faint); stroke-width: 1.5; }
.journey-svg .j-arrow { stroke: var(--muted-light); stroke-width: 1.5; fill: none; }
.journey-svg .j-rule { stroke: var(--line); stroke-width: 0.5; }

.journey-svg .j-band rect { stroke-width: 1; }
.journey-svg .j-station circle { stroke-width: 1; }

.journey-svg .j-gray rect { fill: #f1efe8; stroke: #b4b2a9; }
.journey-svg .j-blue rect { fill: var(--pick-bg); stroke: var(--pick-border); }
.journey-svg .j-blue circle { fill: var(--pick-bar); stroke: var(--pick-text); }
.journey-svg .j-blue .j-h-sm { fill: var(--pick-text); }
.journey-svg .j-blue .j-s-sm { fill: var(--pick-text); opacity: 0.8; }

.journey-svg .j-teal rect { fill: var(--own-bg); stroke: var(--own-border); }
.journey-svg .j-teal circle { fill: var(--own-bar); stroke: var(--own-text); }
.journey-svg .j-teal .j-h-sm { fill: var(--own-text); }
.journey-svg .j-teal .j-s-sm { fill: var(--own-text); opacity: 0.85; }

.journey-svg .j-gray circle { fill: #888780; stroke: #444441; }

.journey-svg .j-coral rect { fill: #faece7; stroke: #d85a30; }
.journey-svg .j-coral circle { fill: #d85a30; stroke: #712b13; }
.journey-svg .j-coral .j-h-sm { fill: #712b13; }

.journey-svg .j-amber rect { fill: var(--ccc-bg); stroke: var(--ccc-border); }
.journey-svg .j-amber .j-h-sm { fill: var(--ccc-text); }
.journey-svg .j-amber .j-s-sm { fill: var(--ccc-text); opacity: 0.85; }

.journey-svg .j-red rect { fill: var(--stop-bg); stroke: var(--stop-border); }
.journey-svg .j-red .j-h-sm { fill: var(--stop-text); }
.journey-svg .j-red .j-s-sm { fill: var(--stop-text); opacity: 0.9; }

.journey-svg .j-purple rect { fill: var(--grow-bg); stroke: var(--grow-border); }
.journey-svg .j-purple .j-h-sm { fill: var(--grow-text); }
.journey-svg .j-purple .j-s-sm { fill: var(--grow-text); opacity: 0.85; }

/* ============================================================
   SECTION CHROME
   ============================================================ */
.section {
  padding: 80px var(--gutter);
}
.section-tinted { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  max-width: var(--container-narrow);
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 14px;
  text-wrap: balance;
  max-width: 30ch;
}
.section-lede {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 70ch;
}

/* ============================================================
   THE WORK — task rail and task cards
   ============================================================ */

.task-rail {
  max-width: var(--container-narrow);
  margin: 0 auto 48px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  counter-reset: task;
}
.task-rail li { counter-increment: task; }
.task-rail a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.15s;
}
.task-rail a:hover { color: var(--accent); }
.task-rail a::before {
  content: counter(task, decimal-leading-zero);
  font-family: 'JetBrains Mono';
  font-size: 11px;
  color: var(--faint);
  font-weight: 500;
}

.task {
  max-width: var(--container-narrow);
  margin: 0 auto 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--radius-md);
  padding: 32px 36px 28px;
  scroll-margin-top: 88px;
}
.task-pick { border-left-color: var(--pick-bar); }
.task-own { border-left-color: var(--own-bar); }
.task-grow { border-left-color: var(--grow-bar); }

.task-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.task-num {
  font-family: 'JetBrains Mono';
  font-size: 32px;
  font-weight: 500;
  color: var(--faint);
  line-height: 1;
}
.task-eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.task-pick .task-eyebrow { color: var(--pick-text); }
.task-own .task-eyebrow { color: var(--own-text); }
.task-head h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.task-tagline {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 70ch;
}

.task-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.task-body .col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.steps, .checks, .stops {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.steps li, .checks li, .stops li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
}
.steps {
  counter-reset: step;
}
.steps > li {
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'JetBrains Mono';
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  width: 18px;
  text-align: right;
  line-height: 1.7;
}
.steps > li ul {
  margin-top: 6px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: disc;
  color: var(--muted);
  font-size: 14px;
}
.checks > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--own-bar);
  border-radius: 2px;
  clip-path: polygon(20% 50%, 0 70%, 40% 100%, 100% 30%, 80% 10%, 40% 70%);
}
.stops > li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--stop-bar);
  border-radius: 50%;
}
.stops > li::after {
  content: '';
  position: absolute;
  left: 7.5px;
  top: 9px;
  width: 1.5px;
  height: 6px;
  background: white;
}

.task-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: 'JetBrains Mono';
  font-size: 11.5px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: var(--line-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.chip-system { background: var(--ccc-bg); color: var(--ccc-text); border-color: var(--ccc-border); }
.chip-money { background: var(--money-bg); color: var(--money-text); border-color: var(--money-border); }
.chip-rule { background: var(--accent-soft); color: var(--accent); border-color: var(--pick-border); }
.chip-handoff { background: var(--grow-bg); color: var(--grow-text); border-color: var(--grow-border); }

/* ============================================================
   ROLES
   ============================================================ */

.role-grid {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.role-self {
  background: var(--own-bg);
  border: 2px solid var(--own-bar);
  grid-column: span 1;
}
.role-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.role-self .role-eyebrow { color: var(--own-text); }
.role-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.role-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.role-card p:last-child { margin-bottom: 0; }
.role-link {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 4px;
}
.role-self .role-link { border-top-color: rgba(15, 110, 86, 0.25); }
.role-link strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   SYSTEMS
   ============================================================ */

.systems-stack {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.system-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  align-items: start;
}
.system-primary {
  background: var(--ccc-bg);
  border: 2px solid var(--ccc-border);
}
.system-mark {
  display: grid;
  place-items: center;
  height: 56px;
  background: var(--ink);
  color: white;
  font-family: 'JetBrains Mono';
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
}
.system-primary .system-mark { background: var(--ccc-bar); }
.system-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.system-body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.system-body p:last-child { margin-bottom: 0; }
.system-touchpoints {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.system-touchpoints li {
  position: relative;
  padding-left: 16px;
}
.system-touchpoints li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--ccc-bar);
  border-radius: 50%;
}

/* ============================================================
   MONEY
   ============================================================ */

.money-grid {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.money-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--money-bar);
  border-radius: var(--radius-md);
  padding: 24px 24px 22px;
}
.money-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--money-text);
  margin-bottom: 12px;
}
.money-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}
.money-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.money-card strong { color: var(--ink); font-weight: 600; }
.money-stage1 {
  background: var(--grow-bg);
  border-color: var(--grow-border);
  border-top-color: var(--grow-bar);
}
.money-stage1 .money-eyebrow { color: var(--grow-text); }
.money-stage2 {
  background: var(--grow-bg);
  border-color: var(--grow-border);
  border-top-color: var(--grow-bar);
}
.money-stage2 .money-eyebrow { color: var(--grow-text); }

.money-note {
  max-width: var(--container-narrow);
  margin: 28px auto 0;
  padding: 20px 24px;
  background: var(--accent-tint);
  border: 1px solid var(--pick-border);
  border-radius: var(--radius-md);
}
.money-note p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.money-note strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   STOP SIGNS
   ============================================================ */

.stops-grid {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stop-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--stop-bar);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.stop-where {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stop-text);
  margin-bottom: 8px;
}
.stop-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.stop-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================================
   DECISIONS
   ============================================================ */

.decisions-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.decision {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}
.decision header { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.decision-eyebrow {
  font-family: 'JetBrains Mono';
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-light);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.decision header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.decision-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.decision-body p:last-child { margin-bottom: 0; }
.decision-body strong { color: var(--ink); font-weight: 600; }
.decision-body em { font-style: normal; font-family: 'JetBrains Mono'; font-size: 0.92em; color: var(--muted); }
.decision-body ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.decision-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* ============================================================
   DAY ONE
   ============================================================ */

.day-grid {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.day-half {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}
.day-half h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.day-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.day-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.day-time {
  font-family: 'JetBrains Mono';
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
}
.day-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.day-text strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   SOURCES
   ============================================================ */

.sources-grid {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.source-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.source-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-light);
  margin-bottom: 10px;
}
.source-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.source-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.source-path {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 4px;
}
.source-path code, .source-path a {
  font-family: 'JetBrains Mono';
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  word-break: break-word;
}
.source-path a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   PAGE FOOT
   ============================================================ */

.page-foot {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 40px var(--gutter);
}
.page-foot-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.page-foot-brand { font-weight: 600; color: white; font-size: 14px; }
.page-foot-note { font-size: 13px; max-width: 60ch; line-height: 1.55; }
.page-foot-note code { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.9); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
  .task-body { grid-template-columns: 1fr; gap: 24px; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .money-grid { grid-template-columns: repeat(2, 1fr); }
  .stops-grid { grid-template-columns: repeat(2, 1fr); }
  .sources-grid { grid-template-columns: repeat(2, 1fr); }
  .system-touchpoints { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 20px; }
  .topnav { font-size: 12px; }
  .topnav a { padding: 5px 8px; }
  .hero { padding: 40px 20px 32px; }
  .hero-text h1 { font-size: 30px; }
  .lede { font-size: 15.5px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; padding: 22px 0; }
  .stat-num { font-size: 22px; }
  .section { padding: 56px 20px; }
  .section-head h2 { font-size: 24px; }
  .task { padding: 24px 22px; }
  .task-head { grid-template-columns: 1fr; gap: 6px; }
  .task-num { font-size: 22px; }
  .task-head h3 { font-size: 22px; }
  .role-grid { grid-template-columns: 1fr; }
  .money-grid { grid-template-columns: 1fr; }
  .stops-grid { grid-template-columns: 1fr; }
  .sources-grid { grid-template-columns: 1fr; }
  .day-grid { grid-template-columns: 1fr; }
  .system-row { grid-template-columns: 1fr; gap: 12px; }
  .system-mark { width: 56px; }
  .decision { padding: 22px 22px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .topbar { position: static; box-shadow: none; }
  .hero, .section { padding: 24px 0; max-width: 100%; }
  .task, .role-card, .money-card, .stop-card, .decision, .day-half, .source-card, .system-row {
    box-shadow: none;
    page-break-inside: avoid;
  }
  .topnav, .task-rail { display: none; }
  body { background: white; }
}
