:root {
  --paper: #f5f6f2;
  --white: #ffffff;
  --ink: #161a18;
  --muted: #606862;
  --line: #d4d9d3;
  --deep: #1d2925;
  --green: #087f5b;
  --green-soft: #dff4e9;
  --yellow: #f4c95d;
  --red: #c94b42;
  --blue: #316ea8;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.site-header {
  align-items: center;
  background: rgba(245, 246, 242, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px max(24px, calc((100% - var(--max)) / 2));
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 750;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--deep);
  color: var(--white);
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  height: 32px;
  justify-content: center;
  width: 32px;
}

nav {
  align-items: center;
  display: flex;
  gap: 24px;
}

nav a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-action,
.primary-action,
.secondary-action {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  text-decoration: none;
}

.nav-action,
.primary-action {
  background: var(--deep);
  color: var(--white);
}

.secondary-action {
  border: 1px solid var(--ink);
  background: transparent;
}

.intro-band {
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(82vh - 68px);
  padding: 76px 24px 64px;
  place-items: center stretch;
}

.eyebrow {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 750;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(58px, 9vw, 112px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 22px;
}

h3 {
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.2;
}

.intro-lede {
  font-size: 21px;
  line-height: 1.5;
  max-width: 710px;
}

.intro-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}

.boundary-line {
  border-left: 3px solid var(--red);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
  max-width: 650px;
  padding-left: 14px;
}

.result-console {
  background: var(--deep);
  border-top: 6px solid var(--yellow);
  color: var(--white);
  min-height: 470px;
  padding: 24px;
  width: 100%;
}

.console-head,
.console-head > div,
.console-foot {
  align-items: center;
  display: flex;
}

.console-head {
  border-bottom: 1px solid #52605a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  justify-content: space-between;
  padding-bottom: 18px;
}

.console-head > div {
  gap: 9px;
}

.console-head strong,
.pass-value {
  color: #7de3b9;
}

.status-dot {
  background: #7de3b9;
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.console-score {
  padding: 28px 0 20px;
}

.console-score span {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 56px;
  font-weight: 750;
  line-height: 1;
}

.console-score small {
  color: #b8c2bd;
}

.metric-list {
  margin: 0;
}

.metric-list div {
  border-top: 1px solid #42504a;
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.metric-list dt {
  color: #c7d0cc;
}

.metric-list dd {
  color: #7de3b9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 0;
}

.console-foot {
  color: #aeb9b4;
  flex-wrap: wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  gap: 16px;
  padding-top: 20px;
}

.proof-strip {
  background: var(--yellow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
}

.proof-strip div {
  border-left: 1px solid rgba(22, 26, 24, 0.25);
  padding: 25px 24px;
}

.proof-strip div:last-child {
  border-right: 1px solid rgba(22, 26, 24, 0.25);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 21px;
}

.proof-strip span {
  font-size: 12px;
}

.evidence-band,
.offers-band,
.method-band,
.delivery-band,
.closing-band {
  padding: 96px max(24px, calc((100% - var(--max)) / 2));
}

.evidence-band,
.method-band {
  background: var(--white);
}

.section-heading {
  max-width: 780px;
}

.section-heading > p:last-child,
.delivery-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.evidence-layout {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  margin-top: 54px;
}

.chain-figure {
  margin: 0;
}

.chain-figure img {
  background: #edf1ec;
  border: 1px solid var(--line);
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.chain-figure figcaption {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

.proof-explorer {
  border: 1px solid var(--line);
  min-height: 390px;
}

.tab-list {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.tab-list button {
  background: #edf1ec;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  min-height: 48px;
}

.tab-list button:last-child {
  border-right: 0;
}

.tab-list button[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 -3px var(--green);
}

.tab-panel {
  padding: 22px;
}

.tab-panel table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}

.tab-panel th,
.tab-panel td {
  border-bottom: 1px solid var(--line);
  padding: 13px 8px;
  text-align: left;
}

.tab-panel th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.tab-panel td:last-child,
.tab-panel th:last-child {
  text-align: right;
}

.pass-value {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 750;
}

.detail-list {
  margin: 0;
}

.detail-list div {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.detail-list dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.limit-list,
.offer-card ul {
  margin: 0;
  padding-left: 20px;
}

.limit-list li,
.offer-card li {
  margin-bottom: 12px;
}

.offers-band {
  background: #edf1ec;
}

.compact-heading {
  max-width: 860px;
}

.offer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 50px;
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px;
}

.featured-offer {
  border-top: 6px solid var(--green);
  padding-top: 25px;
}

.offer-head {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.offer-head p {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 750;
  margin: 0;
  text-transform: uppercase;
}

.offer-head strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.offer-card > p {
  color: var(--muted);
}

.offer-card ul {
  border-top: 1px solid var(--line);
  margin: 24px 0;
  padding-top: 22px;
}

.offer-card > a {
  color: var(--green);
  font-weight: 750;
}

.cost-note {
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0 0;
}

.method-list {
  list-style: none;
  margin: 54px 0 0;
  padding: 0;
}

.method-list li {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 70px minmax(0, 1fr);
  padding: 22px 0;
}

.method-list li > span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 750;
}

.method-list h3,
.method-list p {
  margin-bottom: 5px;
}

.method-list p {
  color: var(--muted);
  max-width: 740px;
}

.delivery-band {
  background: var(--deep);
  color: var(--white);
  display: grid;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.delivery-copy > p {
  color: #b8c2bd;
}

.delivery-band .secondary-action {
  border-color: var(--white);
}

.artifact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.artifact-list li {
  border-top: 1px solid #4b5953;
  display: grid;
  gap: 18px;
  grid-template-columns: 130px minmax(0, 1fr);
  padding: 18px 0;
}

.artifact-list strong {
  color: #7de3b9;
}

.artifact-list span {
  color: #c3ccc8;
}

.closing-band {
  align-items: end;
  background: var(--yellow);
  display: flex;
  justify-content: space-between;
}

.closing-band h2 {
  margin-bottom: 0;
  max-width: 720px;
}

.closing-actions {
  justify-content: flex-end;
  margin: 0;
}

footer {
  align-items: center;
  background: var(--ink);
  color: #bdc6c1;
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  padding: 28px max(24px, calc((100% - var(--max)) / 2));
}

@media (max-width: 900px) {
  nav a:not(.nav-action) {
    display: none;
  }

  .intro-band,
  .evidence-layout,
  .delivery-band {
    grid-template-columns: 1fr;
  }

  .intro-band {
    gap: 42px;
    min-height: auto;
    padding-top: 58px;
  }

  .result-console {
    min-height: auto;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip div:nth-child(2) {
    border-right: 1px solid rgba(22, 26, 24, 0.25);
  }

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

  .closing-band {
    align-items: start;
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 60px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-action {
    font-size: 12px;
    min-height: 38px;
    padding: 7px 10px;
  }

  .intro-band,
  .evidence-band,
  .offers-band,
  .method-band,
  .delivery-band,
  .closing-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro-band {
    gap: 22px;
    padding-bottom: 24px;
    padding-top: 34px;
  }

  h1 {
    font-size: 58px;
    margin-bottom: 18px;
  }

  h2 {
    font-size: 36px;
  }

  .intro-lede {
    font-size: 16px;
    line-height: 1.42;
  }

  .intro-actions,
  .closing-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .intro-actions {
    margin: 22px 0 18px;
  }

  .boundary-line {
    font-size: 11px;
  }

  .result-console {
    border-top-width: 4px;
    min-height: 0;
    padding: 14px 16px;
  }

  .console-head {
    padding-bottom: 10px;
  }

  .console-score {
    padding: 14px 0 8px;
  }

  .console-score span {
    font-size: 40px;
  }

  .result-console .metric-list {
    display: none;
  }

  .console-foot {
    gap: 12px;
    padding-top: 8px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .proof-strip div,
  .proof-strip div:nth-child(2),
  .proof-strip div:last-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(22, 26, 24, 0.25);
  }

  .proof-strip div:first-child {
    border-top: 0;
  }

  .evidence-layout {
    display: block;
  }

  .proof-explorer {
    margin-top: 32px;
    min-height: 430px;
  }

  .tab-list button {
    font-size: 11px;
  }

  .tab-panel {
    overflow-x: auto;
    padding: 14px;
  }

  .offer-card {
    padding: 22px;
  }

  .offer-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .method-list li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .artifact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  footer {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
