:root {
  color-scheme: light;
  --ink: #15201b;
  --muted: #617069;
  --soft: #eef3ef;
  --paper: #fbfcfa;
  --line: #dbe4dd;
  --field: #f5f7f4;
  --green: #1f6f4a;
  --green-dark: #154f37;
  --blue: #245f73;
  --gold: #b17a2f;
  --clay: #8b5348;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(21, 32, 27, 0.09);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(31, 111, 74, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 111, 74, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(219, 228, 221, 0.78);
  background: rgba(251, 252, 250, 0.92);
  backdrop-filter: blur(18px);
}

.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.mark-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  font-weight: 800;
  line-height: 1;
}

.mark strong,
.mark small {
  display: block;
}

.mark strong {
  font-size: 14px;
}

.mark small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
}

nav a:hover {
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 98px) 0;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.kicker,
.label {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 900px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.lead {
  max-width: 760px;
  color: #44534c;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 17px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: white;
}

.pilot-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.pilot-panel div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
}

.pilot-panel strong {
  display: block;
  margin-top: 7px;
  font-size: 24px;
  line-height: 1.05;
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.intro-grid,
.split {
  display: grid;
  grid-template-columns: minmax(250px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow),
.prose p,
.card p,
.row-card p,
.timeline p,
.presentation-list p {
  color: var(--muted);
  line-height: 1.62;
}

.sticky {
  position: sticky;
  top: 98px;
  align-self: start;
}

.cards {
  display: grid;
  gap: 14px;
}

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

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

.card,
.row-card,
.timeline article,
.form-preview article,
.presentation-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
}

.card {
  min-height: 230px;
  padding: 24px;
}

.card h3 {
  margin-top: 18px;
}

.stack {
  display: grid;
  gap: 14px;
}

.row-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}

.row-card > span,
.presentation-list article > span {
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
}

.row-card ul,
.matrix ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #46564e;
  line-height: 1.7;
}

.row-card.muted {
  background: var(--soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  padding: 24px;
  min-height: 220px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.highlight {
  margin-inline: calc(50% - 50vw);
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #17231d;
  color: white;
}

.highlight .eyebrow,
.highlight .section-heading p:not(.eyebrow) {
  color: #b7d5c4;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.matrix > div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.matrix ul {
  color: #d4e1d9;
}

blockquote {
  margin: 28px 0 0;
  padding: 26px;
  border-left: 4px solid #9dc8ab;
  background: rgba(255, 255, 255, 0.07);
  color: #edf5ef;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.form-preview {
  display: grid;
  gap: 14px;
}

.form-preview article {
  padding: 26px;
}

.form-preview ol {
  margin: 18px 0 0;
  padding-left: 22px;
  color: #46564e;
  line-height: 1.75;
}

.question-bank-section {
  margin-inline: calc(50% - 50vw);
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #f7f2e8;
}

.question-bank {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.question-bank article {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid #e2d7c4;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.question-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid #e2d7c4;
  background: #fffaf0;
}

.question-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question-head strong {
  font-size: 18px;
  line-height: 1.1;
  text-align: right;
}

.question-list {
  padding: 20px;
}

.question-list p {
  margin-bottom: 8px;
  color: var(--green-dark);
}

.question-list ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #425149;
  line-height: 1.62;
}

.question-list ol:last-child {
  margin-bottom: 0;
}

.data-dictionary-section {
  background: var(--paper);
}

.data-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.data-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr 1.4fr;
  border-top: 1px solid var(--line);
}

.data-row:first-child {
  border-top: 0;
}

.data-row span {
  min-width: 0;
  padding: 15px 16px;
  border-left: 1px solid var(--line);
  color: #3e4d45;
  line-height: 1.35;
}

.data-row span:first-child {
  border-left: 0;
  font-weight: 800;
}

.data-row.header {
  background: #17231d;
}

.data-row.header span {
  color: white;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-section {
  margin-inline: calc(50% - 50vw);
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

.dashboard {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.dash-sidebar {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #18231e;
  color: #dfe9e3;
}

.dash-sidebar span,
.dash-sidebar strong {
  padding: 10px;
  border-radius: var(--radius);
  font-size: 13px;
}

.dash-sidebar strong {
  background: rgba(255, 255, 255, 0.12);
}

.dash-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.metric,
.chart-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.metric {
  padding: 18px;
}

.metric small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(22px, 4vw, 36px);
}

.chart-card {
  min-height: 220px;
  padding: 18px;
}

.chart-card.wide {
  grid-column: span 3;
}

.chart-title {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 16px;
  height: 160px;
  padding: 12px 8px 0;
  border-bottom: 1px solid var(--line);
}

.bars span {
  border-radius: 6px 6px 0 0;
  background: var(--green);
}

.bars span:nth-child(2),
.bars span:nth-child(4) {
  background: var(--blue);
}

.line-chart {
  height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent 47%, var(--gold) 48%, var(--gold) 52%, transparent 53%),
    linear-gradient(25deg, transparent 52%, var(--green) 53%, var(--green) 57%, transparent 58%),
    linear-gradient(var(--field), var(--field));
}

.donut {
  width: 148px;
  height: 148px;
  margin: 2px auto 0;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 45%, var(--blue) 45% 74%, var(--gold) 74% 91%, var(--clay) 91% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background: var(--paper);
}

.presentation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.presentation-list article {
  padding: 22px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid div {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.metric-grid strong {
  display: block;
  margin-bottom: 26px;
  color: var(--green-dark);
  font-size: 28px;
}

.metric-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.open-questions {
  padding-bottom: 64px;
}

.questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.questions label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: #3f4e46;
}

.questions input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: white;
}

footer span {
  color: #c9d5cf;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .intro-grid,
  .split,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards.three,
  .cards.four,
  .timeline,
  .matrix,
  .question-bank,
  .presentation-list,
  .metric-grid,
  .questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky {
    position: static;
  }

  .dash-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  .mark {
    min-width: 0;
  }

  nav a {
    padding-inline: 8px;
  }

  h1 {
    font-size: 44px;
  }

  .cards.three,
  .cards.four,
  .timeline,
  .matrix,
  .question-bank,
  .presentation-list,
  .metric-grid,
  .questions,
  .dash-main {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .chart-card.wide {
    grid-column: auto;
  }

  .row-card {
    grid-template-columns: 1fr;
  }

  .question-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .question-head strong {
    text-align: left;
  }

  .data-row,
  .data-row.header {
    grid-template-columns: 1fr;
  }

  .data-row.header {
    display: none;
  }

  .data-row {
    padding: 12px 0;
  }

  .data-row span {
    border-left: 0;
    padding: 6px 16px;
  }

  footer {
    flex-direction: column;
  }
}
