:root {
  color-scheme: light;
  --ink: #172b48;
  --deep: #101d32;
  --ivory: #f7f4ee;
  --surface: #fffcf7;
  --muted: #536477;
  --line: #d8dbdd;
  --blue: #176594;
  --gold: #dec28e;
  --green: #70af46;
  font:
    16px/1.6 Inter,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--ivory);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
a,
summary,
input,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}
h3 {
  font-size: 1rem;
  line-height: 1.4;
}
p + p {
  margin-top: 14px;
}
.wrap {
  max-width: 1256px;
  margin: auto;
  padding-inline: 32px;
}
.masthead,
.hero {
  background: var(--deep);
  color: #fff;
}
.top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 21px;
  border-bottom: 1px solid #ffffff26;
  font-size: 13px;
}
.top a {
  text-decoration: none;
}
.top a:first-child {
  font-weight: 700;
}
.hero {
  padding-block: 55px 42px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
.eyebrow.light {
  color: var(--blue);
}
h1 {
  font-size: clamp(45px, 5.6vw, 76px);
  letter-spacing: -0.035em;
  margin-top: 17px;
}
.lede {
  max-width: 620px;
  font-size: 19px;
  color: #ffffffc9;
  margin-top: 22px;
}
.role {
  display: grid;
  grid-template-columns: 1fr 1.7fr 1.3fr;
  gap: 24px;
  border-top: 1px solid #ffffff30;
  margin-top: 35px;
  padding-top: 23px;
}
.role .caption {
  display: block;
  font-size: 11px;
  color: #ffffffaf;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.role strong {
  font-size: 14px;
  font-weight: 500;
}
.ask {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.ask h2 {
  font-size: 28px;
  margin-top: 12px;
}
.ask > p {
  font-size: 14px;
  color: var(--muted);
}
.strategy-section {
  padding-block: 36px 26px;
  scroll-margin-top: 20px;
}
.strategy-section h2 {
  font-size: 34px;
  margin-top: 10px;
}
.strategies {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.strategies button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  padding: 16px 18px;
  min-height: 117px;
  position: relative;
}
.strategies button:hover {
  border-color: var(--ink);
}
.strategies button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.strategies span {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 11px;
  opacity: 0.7;
}
.strategies strong {
  display: block;
  font-size: 20px;
  margin: 8px 0 3px;
}
.strategies small {
  font-size: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: 294px minmax(0, 1fr);
  gap: 25px;
  align-items: start;
}
.controls,
.results {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 24px;
}
.controls h2 {
  font-size: 25px;
  margin-top: 11px;
}
.required {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.required p,
fieldset p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.required ul {
  padding-left: 19px;
  font-size: 12px;
  margin: 12px 0 0;
}
.required li + li {
  margin-top: 7px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 24px 0;
}
legend {
  padding: 0;
  font-weight: 700;
  font-size: 14px;
}
.weight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  column-gap: 10px;
  row-gap: 4px;
  margin-top: 15px;
  align-items: center;
  font-size: 13px;
}
.weight label {
  font-weight: 600;
}
.weight input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 7px;
  background: #fff;
  color: var(--ink);
}
.weight output {
  grid-column: 1/-1;
  font-size: 11px;
  color: var(--muted);
}
.threshold {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
}
.threshold select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font-size: 13px;
  padding: 6px;
}
.hide {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
}
.hide input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}
.small {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.reset {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 7px;
  color: var(--ink);
  font-size: 13px;
  padding: 10px 16px;
  min-height: 44px;
  margin-top: 18px;
}
.reset:hover {
  background: var(--ivory);
}
.results {
  padding: 30px;
  min-width: 0;
}
.result-intro h2 {
  font-size: 32px;
  margin-top: 13px;
  max-width: 550px;
}
.result-intro > p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.outcome {
  padding: 17px 19px;
  background: #ecf0f4;
  border-left: 3px solid var(--blue);
  border-radius: 3px;
  margin: 24px 0 16px;
  font-size: 14px;
  font-weight: 600;
}
.list-note {
  margin-bottom: 15px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
  vertical-align: top;
}
th {
  font-weight: 600;
}
thead th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
th:first-child,
td:first-child {
  padding-left: 0;
}
th:last-child,
td:last-child {
  padding-right: 0;
}
tbody th {
  min-width: 140px;
}
tbody th strong {
  display: block;
  font-size: 14px;
}
tbody th small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 5px;
}
.fit {
  display: block;
  font-size: 22px;
  font-family: Georgia, serif;
  line-height: 1.25;
  white-space: nowrap;
}
.coverage {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
  white-space: nowrap;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.badge.met {
  color: #174b70;
  background: #e8f1f7;
  border-color: #b7cad8;
}
.badge.not-met {
  color: #775221;
  background: #f6eddc;
  border-color: #ded0b3;
}
.badge.unconfirmed {
  color: #535c6a;
  background: #f0f1f3;
}
.result-status {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}
.scorecard-button {
  color: var(--blue);
  background: none;
  border: 0;
  border-radius: 4px;
  padding: 8px 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  font-size: 12px;
  text-align: left;
}
.next {
  margin: 24px 0 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.next p:last-child {
  font-size: 14px;
  margin-top: 10px;
}
.method {
  border-block: 1px solid var(--line);
  padding: 23px 0;
  margin: 35px 0;
}
.method summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  align-content: center;
}
.method > div {
  max-width: 850px;
  padding-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-block: 17px 48px;
}
.closing h2 {
  font-size: 32px;
  margin-top: 12px;
}
.closing p:last-child {
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
  margin-top: 15px;
}
.cta {
  background: var(--green);
  color: #101d32;
  border-radius: 8px;
  padding: 14px 20px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  min-height: 48px;
}
.cta:hover {
  filter: brightness(0.96);
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 24px 35px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  width: min(900px, calc(100% - 32px));
  max-height: 88vh;
  padding: 30px;
  box-shadow: 0 24px 100px #0004;
}
dialog::backdrop {
  background: #101d32bf;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
}
dialog h2 {
  font-size: 33px;
  margin-top: 8px;
}
.close {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: var(--ivory);
  color: var(--ink);
}
#scorecard-context {
  font-size: 14px;
  color: var(--muted);
  margin-top: 18px;
}
.scorecard-section {
  margin-top: 25px;
}
.scorecard-section h3 {
  font-size: 16px;
}
.scorecard-section .table-scroll {
  margin-top: 10px;
}
.scorecard-section table {
  min-width: 530px;
}
.scorecard-section td {
  line-height: 1.55;
}
.scorecard-section tbody th {
  min-width: 145px;
  width: 25%;
}
.scorecard-section .evidence {
  min-width: 180px;
}
.totals {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  background: #ecf0f4;
  border-radius: 7px;
  padding: 13px 16px;
  margin-top: 20px;
  font-size: 13px;
}
.skip {
  position: absolute;
  left: 16px;
  top: 10px;
  transform: translateY(-200%);
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip:focus {
  transform: translateY(0);
}
.noscript {
  padding: 20px;
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
  }
  .results {
    padding: 22px;
  }
  .results table {
    min-width: 490px;
  }
  .wrap {
    padding-inline: 24px;
  }
}
@media (max-width: 760px) {
  .hero {
    padding-block: 35px;
  }
  .role {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .ask {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 28px;
  }
  .strategies {
    grid-template-columns: repeat(2, 1fr);
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .controls {
    padding: 22px;
  }
  #weight-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .results {
    padding: 22px;
  }
  .result-intro h2 {
    font-size: 29px;
  }
  .closing {
    display: block;
  }
  .cta {
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
  }
  .footer {
    flex-direction: column;
    gap: 10px;
  }
  dialog {
    padding: 20px;
  }
  .top {
    font-size: 11px;
  }
  .wrap {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
