:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --paper-2: #fffdf8;
  --ink: #15130f;
  --muted: #69645c;
  --faint: #ddd6ca;
  --rule: #bdb5a8;
  --red: #8d2a21;
  --gold: #a56b08;
  --green: #1f604b;
  --blue: #244f66;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  font: 18px/1.45 var(--serif);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(21, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 19, 15, 0.025) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 68%);
}

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

.page-shell {
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 72px;
  align-items: end;
  min-height: 68vh;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 46px;
}

.eyebrow,
.small-label,
.score-max,
.score-note,
.field-value,
.scoreboard p,
.method-grid p,
.hero-proof,
.bar-row,
table,
.step {
  font-family: var(--sans);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin-bottom: 30px;
  font-size: clamp(68px, 10vw, 132px);
  line-height: 0.91;
  font-weight: 500;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h1 span {
  display: block;
}

.lede {
  max-width: 770px;
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
  color: #28251f;
}

.hero-proof {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.proof-rule {
  width: 100%;
  height: 1px;
  margin-bottom: 14px;
  background: var(--rule);
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 0 84px;
  border-bottom: 1px solid var(--rule);
}

.scoreboard article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 20px 28px 20px 0;
  border-right: 1px solid var(--faint);
}

.scoreboard article:last-child {
  border-right: 0;
}

.stat {
  color: var(--gold);
  font-size: 58px;
  line-height: 0.92;
}

.scoreboard p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.report-section,
.example-section,
.method-section {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  gap: 58px;
  margin-bottom: 84px;
}

.example-section {
  grid-template-columns: 325px minmax(0, 1fr);
  align-items: start;
}

.example-copy {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.example-copy h2 {
  max-width: 330px;
  margin-bottom: 22px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.94;
  font-weight: 500;
}

.example-copy p:not(.eyebrow) {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.43;
}

.example-report-link {
  justify-self: start;
  margin-top: 20px;
}

.example-report {
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(189, 181, 168, 0.35);
}

.example-report-header {
  display: grid;
  grid-template-columns: 210px minmax(190px, 1fr) minmax(220px, 1fr);
  gap: 38px;
  padding: 30px 32px;
  border-bottom: 1px solid var(--rule);
}

.example-report-header h3 {
  margin: 0;
  font-size: 48px;
  line-height: 0.95;
  font-weight: 500;
}

.example-score-row {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 86px;
  padding: 34px 32px 38px;
  border-bottom: 1px solid var(--rule);
}

.example-trend-row {
  display: grid;
  grid-template-columns: 285px minmax(360px, 1fr);
  gap: 58px;
  align-items: center;
  padding: 32px;
  border-bottom: 1px solid var(--rule);
}

.trend-svg {
  display: block;
  width: 100%;
  height: auto;
}

.trend-svg line {
  stroke: var(--faint);
  stroke-width: 2;
}

.trend-svg polyline {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-up {
  stroke: var(--green);
}

.trend-down {
  stroke: var(--red);
}

.example-lower-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: 54px;
  padding: 30px 32px 38px;
}

.example-lower-row h4 {
  font-size: 27px;
}

.example-lower-row .action-list {
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.28;
}

.example-lower-row .action-list li {
  padding-bottom: 22px;
}

.section-heading {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.98;
  font-weight: 500;
  overflow-wrap: break-word;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
}

.report-card {
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(189, 181, 168, 0.35);
}

.report-header {
  display: grid;
  grid-template-columns: 170px 1fr 1.2fr;
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--rule);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 0;
  border-bottom: 1px solid var(--rule);
}

.metric-strip article {
  min-height: 118px;
  padding: 19px 14px 15px;
  border-right: 1px solid var(--faint);
}

.metric-strip article:last-child {
  border-right: 0;
}

.metric-strip span {
  display: block;
  color: var(--gold);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 0.95;
}

.metric-strip p {
  max-width: 132px;
  margin: 11px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.34;
}

.small-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.report-header h3 {
  margin: 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 500;
}

.field-value {
  margin: 0;
  color: #302d27;
  font-size: 14px;
  line-height: 1.35;
}

.report-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--rule);
}

.score-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.score {
  color: var(--gold);
  font-size: 104px;
  line-height: 0.85;
}

.score-max {
  color: #37332c;
  font-size: 22px;
}

.score-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bar-panel {
  display: grid;
  gap: 18px;
  align-content: center;
}

.bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 38px;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.bar-row i {
  height: 7px;
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(to right, transparent 24%, rgba(21, 19, 15, 0.045) 24%, rgba(21, 19, 15, 0.045) 25%, transparent 25%),
    linear-gradient(to right, transparent 49%, rgba(21, 19, 15, 0.045) 49%, rgba(21, 19, 15, 0.045) 50%, transparent 50%),
    linear-gradient(to right, transparent 74%, rgba(21, 19, 15, 0.045) 74%, rgba(21, 19, 15, 0.045) 75%, transparent 75%);
}

.bar-row b {
  display: block;
  width: calc(var(--score, 0) * 1%);
  height: 7px;
  background: var(--green);
}

.bar-row.warm b {
  background: var(--red);
}

.bar-row em {
  font-style: normal;
  font-family: var(--mono);
  text-align: right;
}

.sparkline-row {
  display: grid;
  grid-template-columns: 260px minmax(280px, 1fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--rule);
}

canvas {
  width: 100%;
  height: auto;
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--rule);
}

.report-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--rule);
}

.prompt-panel {
  padding: 24px;
}

h4 {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
}

.action-list {
  margin: 0;
  padding-left: 22px;
}

.action-list li {
  padding: 0 0 14px;
}

.action-list strong {
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.35;
}

th {
  color: var(--muted);
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding: 8px 8px 8px 0;
}

td {
  vertical-align: top;
  border-bottom: 1px solid var(--faint);
  padding: 10px 8px 10px 0;
}

td.num,
th.num {
  text-align: right;
  white-space: nowrap;
}

td.prompt {
  max-width: 420px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.method-grid article {
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--faint);
}

.method-grid article:last-child {
  border-right: 0;
}

.step {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 13px;
}

.method-grid h3 {
  margin-bottom: 10px;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 500;
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.report-link-panel {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr) auto;
  gap: 58px;
  align-items: end;
  margin-bottom: 84px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}

.report-link-panel h2 {
  margin: 0;
  font-size: clamp(32px, 3.7vw, 52px);
  line-height: 0.98;
  font-weight: 500;
}

.report-link-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
}

.report-link {
  display: inline-block;
  justify-self: end;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
}

.report-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.closing-panel {
  width: min(900px, 100%);
  margin-left: auto;
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}

.closing-panel p {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.05;
}

.consulting-note {
  margin-top: 22px !important;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.policy-shell {
  max-width: 1080px;
}

.policy-header {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 42px;
}

.policy-header h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.94;
}

.policy-header .lede {
  max-width: 760px;
  font-size: clamp(24px, 3vw, 34px);
}

.policy-date {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
}

.policy-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 74px;
  padding-top: 44px;
}

.policy-aside {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
}

.policy-copy {
  display: grid;
  gap: 30px;
}

.policy-copy section {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 32px;
  border-top: 1px solid var(--faint);
  padding-top: 22px;
}

.policy-copy h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 500;
}

.policy-copy p {
  margin: 0;
  color: #302d27;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100vw - 28px, 760px);
    padding-top: 28px;
  }

  .hero,
  .report-section,
  .example-section,
  .report-link-panel,
  .policy-grid,
  .method-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    min-height: auto;
  }

  .scoreboard,
  .report-header,
  .example-report-header,
  .policy-copy section,
  .metric-strip,
  .report-grid,
  .example-score-row,
  .sparkline-row,
  .example-trend-row,
  .diagnosis-grid,
  .report-panels,
  .example-lower-row,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .scoreboard article,
  .metric-strip article,
  .method-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--faint);
  }

  .prompt-panel,
  .example-lower-row,
  .report-panels,
  .diagnosis-grid {
    overflow-x: auto;
  }

  .report-header,
  .example-report-header {
    gap: 16px;
  }

  .example-section {
    margin-bottom: 64px;
  }

  .example-copy h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .example-score-row,
  .example-trend-row,
  .example-lower-row {
    gap: 24px;
    padding: 24px;
  }

  .example-report {
    box-shadow: 6px 6px 0 rgba(189, 181, 168, 0.35);
  }

  .trend-svg {
    min-width: 520px;
  }

  .bar-row {
    grid-template-columns: 130px 1fr 34px;
  }

  h1 {
    font-size: clamp(44px, 13.2vw, 58px);
    line-height: 0.98;
    max-width: 100%;
  }

  .section-heading h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .lede,
  .closing-panel p {
    font-size: clamp(23px, 7vw, 34px);
  }

  .report-card {
    box-shadow: 6px 6px 0 rgba(189, 181, 168, 0.35);
  }

  .report-link {
    justify-self: start;
  }

  .score {
    font-size: 86px;
  }
}
