:root {
  --navy: #1B2A41;
  --burnt: #9C4221;
  --gold: #C9A14A;
  --stone: #555555;
  --cream: #F8F4ED;
  --light: #EFE9DD;
  --black: #101010;
  --white: #ffffff;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  color: var(--black);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 237, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(85, 85, 85, 0.12);
}
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; line-height: 1.1; }
.brand-eyebrow { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--burnt); }
.brand-title { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--navy); }
.nav { display: flex; gap: 24px; }
.nav a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--stone);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .2s;
}
.nav a:hover { color: var(--burnt); }
.menu-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 22px; cursor: pointer; }
.progress-bar { height: 2px; background: rgba(201,161,74,.18); }
#progress { height: 100%; background: var(--gold); width: 0; transition: width .15s; }

/* COVER */
.cover {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
}
.cover .eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .25em; color: var(--burnt); margin: 0; }
.cover-rule { color: var(--gold); font-size: 24px; margin: 16px 0 28px; }
.cover-title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(56px, 10vw, 120px);
  line-height: 1;
  letter-spacing: -.01em;
  margin: 0;
}
.cover-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--navy);
  max-width: 640px;
  margin: 28px auto 0;
  line-height: 1.4;
}
.cover-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--stone);
  margin: 48px auto 0;
  max-width: 540px;
}
.cover-author {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(85,85,85,.18);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.author-name { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .18em; color: var(--navy); margin: 0 0 6px; }
.author-role { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--stone); margin: 2px 0; }
.cover-cta {
  display: inline-block;
  margin-top: 56px;
  padding: 12px 28px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: all .2s;
}
.cover-cta:hover { background: var(--navy); color: var(--cream); }

/* CHAPTERS */
.chapter {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px;
}
.chapter.alt { background: var(--white); }
.chapter.alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
section.alt { width: 100%; max-width: none; padding-left: 0; padding-right: 0; }
section.alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--burnt);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.part-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--burnt);
  text-transform: uppercase;
  margin: 0 0 12px;
}

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 28px;
  letter-spacing: -.005em;
}
h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 28px);
  color: var(--navy);
  margin: 36px 0 12px;
  line-height: 1.25;
}
h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--burnt);
  margin: 28px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.lead {
  font-style: italic;
  color: var(--burnt);
  font-size: 19px;
  margin: -16px 0 22px;
}
p { margin: 0 0 18px; }
.signoff { font-size: 15px; margin-top: 36px; color: var(--stone); }

/* PULL QUOTES */
.pull {
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  margin: 32px 0;
  padding: 22px 16px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.4;
}

/* DIVIDER */
.divider {
  border: 0;
  text-align: center;
  margin: 48px 0;
}
.divider::after {
  content: "◆     ◆     ◆";
  color: var(--gold);
  letter-spacing: 0.4em;
}

/* CALLOUTS */
.sam-says, .scenario, .war-story {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--burnt);
  background: rgba(156, 66, 33, 0.04);
}
.scenario { background: rgba(85,85,85,.05); }
.war-story {
  border-left: 4px solid var(--gold);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  background: rgba(201,161,74,.06);
}
.callout-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--burnt);
  margin: 0 0 8px;
}
.war-story .callout-label { color: var(--gold); }
.sam-says p:last-child, .scenario p:last-child, .war-story p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: var(--navy);
}
.war-story p:last-child { font-style: normal; color: var(--black); }
.scenario p:last-child { color: var(--stone); }

/* INFOGRAPHICS */
.infographic {
  margin: 36px 0;
  text-align: center;
}
.infographic img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 28px rgba(27,42,65,.08);
}
.infographic.small img { max-width: 280px; }
.infographic figcaption {
  font-style: italic;
  color: var(--stone);
  font-size: 14px;
  margin-top: 12px;
}

/* CHECKLIST */
.checklist {
  background: var(--white);
  border-radius: 8px;
  padding: 18px 22px;
  border: 1px solid rgba(85,85,85,.12);
}
.checklist label {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(85,85,85,.08);
  cursor: pointer;
  font-size: 16px;
}
.checklist label:last-child { border-bottom: 0; }
.checklist input[type=checkbox] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: var(--burnt);
}
.checklist .hint {
  display: block;
  margin-left: 30px;
  font-size: 13px;
  font-style: italic;
  color: var(--stone);
}
.checklist label:has(input:checked) { color: var(--stone); text-decoration: line-through; }
.streak { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--stone); text-transform: uppercase; }
.streak strong { color: var(--burnt); font-size: 15px; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: all .2s;
  margin-top: 14px;
}
.btn:hover { background: var(--navy); color: var(--cream); }
.btn.ghost { border-color: var(--stone); color: var(--stone); }
.btn.ghost:hover { background: var(--stone); color: var(--cream); }
.btn.primary { background: var(--burnt); color: var(--cream); border-color: var(--burnt); }
.btn.primary:hover { background: var(--navy); border-color: var(--navy); }

/* SCORECARD */
.scorecard {
  background: var(--white);
  padding: 24px 28px;
  border-radius: 8px;
  border: 1px solid rgba(85,85,85,.12);
  margin: 28px 0;
}
.scorecard .q {
  padding: 14px 0;
  border-bottom: 1px solid rgba(85,85,85,.08);
  display: grid;
  grid-template-columns: 1fr 200px 50px;
  gap: 16px;
  align-items: center;
}
.scorecard .q p { margin: 0; font-size: 15px; }
.scorecard input[type=range] { width: 100%; accent-color: var(--burnt); }
.scorecard .score {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--burnt);
  font-size: 22px;
  text-align: right;
}
.scorecard .total {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 6px;
  text-align: center;
}
.total-label { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .2em; margin-right: 10px; }
.total-value { font-family: var(--serif); font-weight: 700; font-size: 32px; vertical-align: middle; }
.verdict { font-style: italic; font-size: 14px; margin: 8px 0 0; }

/* CHECK LIST (frameworks 2-4) */
.check-list {
  background: var(--white);
  border-radius: 8px;
  padding: 16px 22px 16px 44px;
  border: 1px solid rgba(85,85,85,.12);
  margin: 22px 0;
}
.check-list li { padding: 8px 0; font-size: 16px; }

/* 90-DAY PLAN GRID */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 32px 0;
}
.plan-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 8px;
  border: 1px solid rgba(85,85,85,.12);
  border-top: 4px solid var(--gold);
}
.plan-card:nth-child(2) { border-top-color: var(--burnt); }
.plan-card:nth-child(3) { border-top-color: var(--navy); }
.plan-block { font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: .2em; color: var(--burnt); margin: 0 0 8px; text-transform: uppercase; }
.plan-card h3 { margin: 0 0 12px; font-size: 24px; }
.plan-card ul { margin: 14px 0 0; padding-left: 20px; }
.plan-card li { margin-bottom: 8px; font-size: 14px; line-height: 1.5; }

/* BINGO */
.bingo {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 32px 0 12px;
}
.bingo-cell {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 6px;
  padding: 12px 8px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--serif);
}
.bingo-cell:nth-child(2n) { border-color: var(--burnt); }
.bingo-cell.center { background: var(--navy); color: var(--white); border-color: var(--navy); font-weight: 700; }
.bingo-cell.center span { display: block; font-size: 10px; color: var(--gold); font-style: italic; margin-top: 4px; }
.bingo-cell.crossed { background: var(--burnt); color: var(--cream); border-color: var(--burnt); text-decoration: line-through; }
.bingo-cell.center.crossed { background: var(--navy); text-decoration: none; }
.bingo-status { text-align: center; font-style: italic; color: var(--stone); }
.bingo-status.bingo { color: var(--burnt); font-weight: 700; font-style: normal; }

/* RESOURCES */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.res-card {
  background: var(--white);
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(85,85,85,.12);
  text-align: center;
}
.res-card h3 { margin: 0 0 14px; font-size: 18px; }
.res-card .infographic { margin: 0; }
.res-card .btn { margin-top: 14px; }

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 22px 0 32px;
}
.links-label { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--burnt); margin: 0 0 8px; }
.links-grid a { color: var(--navy); text-decoration: underline; }
.links-grid a:hover { color: var(--burnt); }

/* CLOSING */
.closing .crush {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  margin: 32px 0;
  text-align: center;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 60px 24px 80px;
  border-top: 1px solid rgba(85,85,85,.12);
  font-family: var(--serif);
  font-style: italic;
  color: var(--stone);
  font-size: 13px;
}
.site-footer .rule { color: var(--gold); font-size: 24px; font-style: normal; margin-bottom: 12px; }
.site-footer .tag { font-weight: 700; color: var(--navy); margin-top: 4px; }
.site-footer .copy { font-size: 11px; margin-top: 18px; color: rgba(85,85,85,.7); }

/* MOBILE */
@media (max-width: 800px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: var(--cream);
    border: 1px solid rgba(85,85,85,.18);
    padding: 14px 20px;
    border-radius: 6px;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .menu-toggle { display: block; }
  .scorecard .q { grid-template-columns: 1fr; gap: 8px; }
  .scorecard .score { text-align: left; }
  .plan-grid, .resources-grid, .links-grid { grid-template-columns: 1fr; }
  .bingo { grid-template-columns: repeat(3, 1fr); }
  .bingo-cell { min-height: 80px; font-size: 11px; }
  .cover { padding: 60px 20px; }
}
