:root {
  --paper: #f4f5f7;
  --ink: #16181d;
  --muted: #5c6370;
  --line: #d8dce3;
  --card: #ffffff;
  --blue: #1d4ed8;
  --blue-soft: #e8eefc;
  --brand: #0f766e;
  --brand-bar: #0f5f5a;
  --forest: #157a4b;
  --amber: #b45309;
  --clay: #c2410c;
  --shadow: 0 8px 24px rgba(22, 24, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: 6.5rem;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3,
.wordmark {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--blue);
  color: white;
  padding: 0.55rem 0.85rem;
  z-index: 30;
}

.skip:focus {
  top: 1rem;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 6vw;
  background: var(--brand-bar);
  color: white;
}

.wordmark {
  font-size: 1.55rem;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.brand-tag {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.85;
}

.nav-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6vw;
  background: white;
  border-bottom: 1px solid var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
}

.nav-links a {
  text-decoration: none;
  padding: 0.95rem 0 0.8rem;
  color: var(--ink);
  border-bottom: 4px solid transparent;
}

.nav-links a[aria-current="true"] {
  border-bottom-color: var(--blue);
  font-weight: 700;
}

.nav-cta {
  background: var(--blue);
  color: white !important;
  border-bottom: 0 !important;
  padding: 0.45rem 0.9rem !important;
  margin: 0.5rem 0 0.5rem auto;
}

.nav-toggle {
  display: none;
  font: inherit;
  background: white;
  border: 2px solid var(--ink);
  padding: 0.35rem 0.75rem;
  margin: 0.55rem 0;
}

.hero,
.band,
.contact,
.footer {
  padding: 4rem 6vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2.5rem;
  align-items: start;
  max-width: 80rem;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}

.kicker.light {
  color: #bfdbfe;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  color: var(--blue);
  max-width: 16ch;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  max-width: 24ch;
  margin: 0 0 0.9rem;
}

.lede,
.section-lede {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 40rem;
  margin: 0 0 1.2rem;
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 38rem;
}

.ticks li {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.7rem;
  color: var(--ink);
}

.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  border: 2px solid transparent;
}

.button.primary {
  background: var(--blue);
  color: white;
}

.button.ghost {
  background: white;
  border-color: var(--ink);
}

.button.on-dark {
  background: white;
  color: var(--blue);
}

.mission-card {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.35rem 1.15rem;
}

.card-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mission-card h2 {
  font-size: 1.35rem;
  max-width: none;
  color: var(--ink);
  margin: 0.35rem 0 1rem;
}

.mission-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.mission-card li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.7rem;
  padding: 0.7rem 0.75rem;
  background: var(--blue-soft);
}

.mission-card li span {
  grid-row: 1 / span 2;
  align-self: center;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}

.mission-card li em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}

.card-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.9rem 0 0;
}

.band {
  max-width: 80rem;
  margin: 0 auto;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.audience-grid,
.grid,
.split {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.audience-grid {
  grid-template-columns: 1fr 1fr;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  grid-template-columns: 1fr 1fr;
}

.audience-grid article,
.grid article,
.split article,
.stages li {
  background: white;
  border: 1px solid var(--line);
  padding: 1.2rem 1.2rem 1.1rem;
}

.tile-label {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
}

.grid p,
.split p,
.audience-grid p:last-child {
  margin: 0;
  color: var(--muted);
}

.stages {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  counter-reset: stage;
}

.stages li {
  counter-increment: stage;
}

.stages li::before {
  content: "0" counter(stage);
  display: block;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}

.stages strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 1.08rem;
}

.stages span {
  display: block;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0.2rem 0 0.5rem;
}

.stages p {
  margin: 0;
  color: var(--muted);
}

.subject-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.subject-pills li {
  background: var(--brand-bar);
  color: white;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.bucket {
  border-top: 6px solid var(--blue);
}

.bucket.retained {
  border-top-color: var(--forest);
}

.bucket.fragile {
  border-top-color: var(--amber);
}

.bucket.due {
  border-top-color: var(--blue);
}

.bucket.neglected {
  border-top-color: var(--clay);
}

.bucket.retained h3 {
  color: var(--forest);
}

.bucket.fragile h3 {
  color: var(--amber);
}

.bucket.due h3 {
  color: var(--blue);
}

.bucket.neglected h3 {
  color: var(--clay);
}

.rule {
  margin: 1.3rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 6px solid var(--blue);
  background: var(--blue-soft);
  max-width: 50rem;
}

.contact {
  background: var(--blue);
  color: white;
  margin: 1rem 0 0;
}

.contact .section-lede {
  color: #dbe7ff;
}

.contact h2 {
  color: white;
  max-width: 18ch;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: #10141a;
  color: #c5cbd4;
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .audience-grid,
  .grid.three,
  .grid.four,
  .stages,
  .split,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .brand-tag {
    display: none;
  }

  .nav-bar {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 6vw;
    left: 6vw;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin: 0.7rem 1rem;
    text-align: center;
  }

  .nav-links.open {
    display: flex;
  }
}
