:root {
  --ink: #151411;
  --muted: #6f695f;
  --paper: #fffdf8;
  --soft: #f3eee7;
  --surface: #fbf8f2;
  --line: #ddd2c4;
  --line-strong: #cbbda9;
  --green: #0f5144;
  --green-soft: #dcece6;
  --gold: #c7a85d;
  --rust: #a55f2d;
  --shadow: 0 18px 54px rgba(26, 23, 18, .06);
  --radius: 18px;
  --radius-sm: 14px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 22px;
  --space-5: 30px;
  --space-6: 42px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

.shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.nav {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}
.mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.nav a:not(.brand) { color: var(--muted); font-weight: 720; text-decoration: none; }
.nav a:not(.brand):hover { color: var(--ink); }

.hero { padding: 64px 0 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 40px;
  align-items: end;
}
.eyebrow,
.kicker,
.card small {
  display: block;
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero .eyebrow { margin-bottom: 14px; color: var(--gold); }

h1, h2, h3 { color: var(--ink); letter-spacing: -.015em; }
h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(42px, 7.6vw, 92px);
  line-height: .96;
}
h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 52px); line-height: 1; }
h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.12; }
p { margin: 0; color: var(--muted); font-size: 18px; }
.lead { margin-top: 22px; max-width: 780px; font-size: 22px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--paper);
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn:hover { transform: translateY(-1px); border-color: var(--line-strong); }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.proof { padding: 22px; }
.proof b { display: block; margin-top: 12px; font-size: 34px; line-height: 1; }
.proof b:first-child { margin-top: 0; }
.proof span { display: block; color: var(--muted); font-weight: 700; }

.section { padding: 42px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.section-head p { max-width: 540px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { padding: 22px; }
.card a { color: var(--green); font-weight: 850; text-decoration: none; }

.list { display: grid; gap: 10px; margin-top: 14px; }
.list:empty { display: none; }
.list a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .42);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.decision {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 16px;
}
.decision-main { padding: 28px; }
.decision-main p { font-size: 19px; }
.driver-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.driver {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.driver b { display: block; margin-bottom: 6px; font-size: 18px; }
.driver span,
.data-card span,
.compare-card span { display: block; color: var(--muted); font-weight: 650; }

.data-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.data-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .45);
  overflow-wrap: anywhere;
}
.data-card b { display: block; margin-bottom: 8px; color: var(--muted); }
.data-card strong { display: block; margin-bottom: 6px; font-size: 17px; line-height: 1.15; }
.two .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.clean-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.clean-copy article { padding: 22px; }
.clean-copy p { font-size: 17px; }

.expert-block {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}
.expert-lead { padding: 30px; }
.expert-lead p + p { margin-top: 14px; }
.expert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.expert-card {
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.expert-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.1;
}
.expert-card p { font-size: 16px; }

.quote-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.quote-table th,
.quote-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.quote-table th {
  width: 34%;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quote-table tr:last-child th,
.quote-table tr:last-child td { border-bottom: 0; }

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.scenario {
  padding: 20px;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
}
.scenario .meta {
  margin-bottom: 14px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scenario h3 { font-size: 24px; }
.scenario ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 650;
}
.price-band {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}
.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.seo-reader {
  --reader-gap: 16px;
}

.reader-head h2 {
  max-width: 760px;
}

.reader-grid,
.reader-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: var(--reader-gap);
  align-items: start;
}

.reader-card,
.reader-note,
.reader-board,
.price-panel,
.source-strip {
  padding: clamp(20px, 3vw, 32px);
}

.reader-primary {
  min-height: 100%;
}

.reader-primary h2,
.price-panel h2 {
  max-width: 760px;
}

.reader-primary p,
.reader-note p,
.reader-board p,
.price-panel p {
  font-size: 17px;
}

.reader-note {
  background: linear-gradient(135deg, var(--paper), #f7f0e6);
}

.plain-steps,
.reader-rows,
.usecase-rows {
  display: grid;
  gap: 10px;
}

.plain-steps {
  margin-top: 20px;
}

.plain-step,
.reader-row,
.usecase-row {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .48);
}

.plain-step {
  padding: 16px;
}

.plain-step strong,
.reader-row strong,
.usecase-row strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.plain-step span,
.reader-row span,
.usecase-row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.usecase-row {
  display: grid;
  grid-template-columns: minmax(160px, .75fr) minmax(0, 1.35fr) minmax(190px, .9fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
}

.reader-row {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.reader-row em,
.usecase-row em {
  color: var(--green);
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}

.usecase-row.featured {
  background: var(--green-soft);
  border-color: rgba(15, 81, 68, .22);
}

.price-panel {
  background: var(--ink);
  color: #fffdf8;
  border-color: rgba(255, 255, 255, .12);
}

.price-panel .kicker {
  color: var(--gold);
}

.price-panel h2 {
  color: #fffdf8;
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: -.035em;
}

.price-panel p,
.price-panel .note {
  color: rgba(255, 253, 248, .78);
}

.quote-table.clean-table {
  box-shadow: none;
}

.quote-table.clean-table th {
  letter-spacing: .1em;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  background: rgba(255, 255, 255, .38);
}

.source-strip p {
  font-size: 15px;
}

.source-strip a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.check {
  padding: 16px 16px 16px 46px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .48);
  font-weight: 800;
}
.check::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  left: 20px;
  top: 21px;
  background: var(--green);
}

.more-links { margin-top: 12px; }
.more-links summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 900;
  list-style: none;
}
.more-links summary::-webkit-details-marker { display: none; }
.more-links[open] { padding-top: 4px; }
.compact-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.faq { display: grid; gap: 12px; }
.faq details {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { margin-top: 10px; font-size: 17px; }

.bottom {
  margin: 42px auto 26px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.bottom h2 { max-width: 760px; }
.site-directory {
  padding: 30px 0 18px;
}
.directory-panel {
  padding: 34px 0 8px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 6vw, 84px);
}
.directory-col {
  display: grid;
  gap: 12px;
  align-content: start;
}
.directory-col h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
}
.directory-col a {
  width: fit-content;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}
.directory-col a:hover {
  color: var(--green);
}
.footer {
  padding: 26px 0 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer a { color: var(--muted); font-weight: 720; text-decoration: none; }

@media (prefers-reduced-motion: no-preference) {
  .panel, .btn, .list a { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
  .panel:hover, .list a:hover { transform: translateY(-1px); }
}

@media (max-width: 980px) {
  .decision,
  .clean-copy,
  .expert-block,
  .reader-grid,
  .reader-split { grid-template-columns: 1fr; }
  .data-grid,
  .expert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-grid,
  .compare-grid { grid-template-columns: 1fr; }
  .compact-links { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 640px); }
  .hero-grid,
  .two,
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  h1 { font-size: clamp(40px, 13vw, 56px); line-height: .98; }
  h2 { font-size: clamp(30px, 8vw, 42px); }
  .lead { font-size: 18px; }
  .nav { align-items: flex-start; }
  .nav-links { display: none; }
  .bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .section-head { display: block; }
  .driver-grid,
  .data-grid,
  .expert-grid,
  .checklist,
  .directory-panel { grid-template-columns: 1fr; }
  .reader-row,
  .usecase-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .reader-card,
  .reader-note,
  .reader-board,
  .price-panel,
  .source-strip {
    padding: 20px;
  }
  .site-directory { padding-top: 12px; }
  .quote-table,
  .quote-table tbody,
  .quote-table tr,
  .quote-table th,
  .quote-table td { display: block; width: 100%; }
  .quote-table th { padding-bottom: 4px; border-bottom: 0; }
  .quote-table td { padding-top: 0; }
}
