:root {
  color-scheme: light;
  --ink: #18201b;
  --muted: #59645c;
  --paper: #f7f3ea;
  --panel: #fffffa;
  --line: #d8d0bf;
  --green: #1f6b45;
  --green-ink: #0c2f1d;
  --coral: #c7553f;
  --gold: #b48822;
  --blue: #254f7a;
  --shadow: 0 24px 70px rgba(40, 33, 22, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 44px 28px 34px;
  background:
    linear-gradient(90deg, rgba(247, 243, 234, 0.96), rgba(247, 243, 234, 0.75) 48%, rgba(247, 243, 234, 0.38)),
    repeating-linear-gradient(0deg, rgba(24, 32, 27, 0.06) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(24, 32, 27, 0.055) 0 1px, transparent 1px 38px),
    linear-gradient(135deg, #f7f3ea, #ece4d4 55%, #d7e2d4);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  gap: 42px;
  align-items: center;
}

.eyebrow,
.label {
  margin: 0 0 13px;
  color: var(--green);
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(56px, 8vw, 118px);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: 0;
}

.lede {
  max-width: 690px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 13px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(24, 32, 27, 0.14);
}

.button.primary {
  background: var(--green-ink);
  color: #fffaf0;
}

.button.secondary {
  background: rgba(255, 255, 250, 0.72);
}

.report-visual {
  position: relative;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.report-visual::before {
  content: "";
  position: absolute;
  inset: -16px 18px auto auto;
  width: 64px;
  height: 88px;
  background: var(--coral);
  opacity: 0.92;
  z-index: -1;
}

.report-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 12px;
}

.report-topline strong {
  color: var(--green);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.metric-strip div {
  min-height: 96px;
  padding: 12px;
  background: #f3efe5;
  border: 1px solid var(--line);
}

.metric-strip span {
  display: block;
  color: var(--muted);
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 11px;
}

.metric-strip strong {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 46px;
  line-height: 1;
}

.diff-table {
  display: grid;
  border: 1px solid var(--ink);
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 12px;
  overflow: hidden;
}

.diff-table > div {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr 1fr;
}

.diff-table span {
  min-width: 0;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.diff-table span:last-child {
  border-right: 0;
}

.diff-table .head {
  background: var(--ink);
  color: #fffaf0;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.proof-band div {
  min-height: 132px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band strong {
  display: block;
  max-width: 220px;
  font-size: 26px;
  line-height: 1.05;
}

.details,
.demo,
.buyer-boundary,
.purchase-note {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading h2,
.buyer-boundary h2 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-grid article {
  min-height: 236px;
  padding: 28px;
  background: var(--panel);
}

.feature-grid h3 {
  font-size: 28px;
  line-height: 1;
}

.feature-grid p,
.buyer-boundary p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

pre {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--ink);
  background: #18201b;
  color: #fff5dc;
  overflow-x: auto;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 14px;
  line-height: 1.7;
}

.buyer-boundary,
.purchase-note {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  border-top: 1px solid var(--line);
}

.purchase-note {
  padding-top: 64px;
  padding-bottom: 64px;
}

.purchase-note p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding: 32px 18px;
  }

  .hero-grid,
  .section-heading,
  .buyer-boundary,
  .purchase-note {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(48px, 18vw, 76px);
  }

  .report-visual {
    transform: none;
  }

  .proof-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .details,
  .demo,
  .buyer-boundary {
    width: min(100% - 32px, 1160px);
    padding: 56px 0;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }
}
