:root {
  color-scheme: light;
  --bg: #f4f0e8;
  --ink: #111716;
  --ink-soft: #2f3937;
  --muted: #68716e;
  --paper: #fffdf8;
  --paper-soft: #f9f5ec;
  --line: #ded7cb;
  --line-strong: #c9c0b1;
  --green: #0b6f5f;
  --green-dark: #073d37;
  --electric: #b9f46a;
  --gold: #c79643;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
}

body::before {
  background: linear-gradient(90deg, rgba(17, 23, 22, 0.04) 1px, transparent 1px);
  background-size: 96px 100%;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 18px 24px;
}

.brand {
  align-items: center;
  display: flex;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: var(--electric);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 9px 10px;
}

nav a:hover {
  color: var(--ink);
}

.button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: white;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
}

.button:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button.secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--paper);
  border-color: var(--ink);
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero,
.diagnostic-hero,
.section,
.article-grid,
.page-heading,
.article-shell,
.split-section,
.diagnostic-form-section,
.diagnostic-grid,
.cta-band,
.cluster-list,
.proof-band,
.deliverables {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
  padding-left: 24px;
  padding-right: 24px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  min-height: 680px;
  padding-bottom: 72px;
  padding-top: 70px;
}

.hero-copy h1,
.diagnostic-copy h1,
.page-heading h1,
.article-header h1 {
  font-size: clamp(3.05rem, 7vw, 6.85rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
  max-width: 980px;
}

.hero-copy > p:not(.eyebrow),
.diagnostic-copy > p,
.page-heading > p,
.article-header > p {
  color: var(--ink-soft);
  font-size: 1.16rem;
  max-width: 690px;
}

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

.trust-strip {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 44px 0 0;
  max-width: 680px;
}

.trust-strip div {
  border-right: 1px solid var(--line);
  padding: 18px 18px 0 0;
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip dt {
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 900;
}

.trust-strip dd {
  color: var(--muted);
  margin: 4px 0 0;
}

.decision-visual {
  background: var(--ink);
  color: white;
  min-height: 520px;
  overflow: hidden;
  padding: 26px;
  position: relative;
}

.decision-visual::before {
  border: 1px solid rgba(255, 255, 255, 0.14);
  content: "";
  inset: 18px;
  position: absolute;
}

.decision-visual::after {
  background:
    radial-gradient(circle at 18% 25%, rgba(185, 244, 106, 0.36), transparent 18%),
    radial-gradient(circle at 76% 64%, rgba(11, 111, 95, 0.56), transparent 28%);
  content: "";
  inset: 0;
  position: absolute;
}

.visual-topline,
.route-line,
.decision-stack,
.verdict-card {
  position: relative;
  z-index: 1;
}

.visual-topline {
  align-items: center;
  display: flex;
  font-size: 0.8rem;
  font-weight: 900;
  justify-content: space-between;
  text-transform: uppercase;
}

.visual-topline strong {
  background: var(--electric);
  color: var(--ink);
  padding: 6px 8px;
}

.route-line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  height: 170px;
  margin: 68px 18px 48px;
  transform: skewX(-18deg);
}

.route-line span {
  background: var(--electric);
  display: block;
  height: 12px;
  position: absolute;
  width: 12px;
}

.route-line span:nth-child(1) {
  bottom: -6px;
  left: -6px;
}

.route-line span:nth-child(2) {
  bottom: 58px;
  left: 48%;
}

.route-line span:nth-child(3) {
  bottom: -6px;
  right: -6px;
}

.decision-stack {
  display: grid;
  gap: 10px;
}

.decision-stack div {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 14px;
}

.decision-stack span {
  color: rgba(255, 255, 255, 0.72);
}

.decision-stack strong {
  color: var(--electric);
}

.verdict-card {
  background: var(--paper);
  color: var(--ink);
  margin-top: 18px;
  padding: 20px;
}

.verdict-card span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.verdict-card p {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 8px 0 0;
}

.proof-band {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 82px;
}

.proof-band p {
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  margin: 0;
  padding: 18px 14px;
  text-align: center;
}

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

.section {
  padding-bottom: 72px;
}

.section-heading {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 20px;
}

.section-heading h2,
.cta-band h2,
.split-section h2,
.form-heading h2,
.diagnostic-grid h2,
.deliverables h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

.article-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 72px;
}

.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
}

.article-card a {
  display: grid;
  min-height: 250px;
  padding: 24px;
}

.article-card span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: 1.35rem;
  line-height: 1.12;
  margin: 16px 0 0;
}

.article-card p {
  margin: 14px 0 0;
}

.cta-band {
  align-items: center;
  background: var(--green-dark);
  color: white;
  display: flex;
  justify-content: space-between;
  margin-bottom: 82px;
  padding-bottom: 38px;
  padding-top: 38px;
}

.cta-band .eyebrow {
  color: var(--electric);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 680px;
}

.cta-band .button {
  background: var(--electric);
  border-color: var(--electric);
  color: var(--ink);
  flex: 0 0 auto;
}

.page-heading,
.article-header {
  padding-bottom: 46px;
  padding-top: 70px;
}

.cluster-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 28px;
}

.cluster-list a {
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  padding: 10px 12px;
}

.article-shell {
  max-width: 900px;
}

.article-content {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 38px;
}

.article-content h2 {
  font-size: 1.65rem;
  line-height: 1.12;
  margin: 38px 0 10px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content li {
  line-height: 1.72;
  margin: 7px 0;
}

.article-content table {
  border-collapse: collapse;
  display: block;
  margin: 26px 0;
  overflow-x: auto;
  width: 100%;
}

.article-content th,
.article-content td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.diagnostic-hero {
  align-items: end;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 360px;
  padding-bottom: 54px;
  padding-top: 72px;
}

.diagnostic-copy h1 {
  max-width: 960px;
}

.price-panel {
  background: var(--ink);
  color: white;
  padding: 28px;
}

.price-panel span {
  color: var(--electric);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-panel strong {
  display: block;
  font-size: 3.25rem;
  letter-spacing: 0;
  line-height: 0.95;
  margin-top: 12px;
}

.price-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.mini-divider {
  background: rgba(255, 255, 255, 0.18);
  height: 1px;
  margin: 22px 0;
}

.deliverables {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 62px;
}

.deliverables article {
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
}

.deliverables span {
  color: var(--green);
  font-weight: 900;
}

.deliverables h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin-top: 12px;
}

.diagnostic-form-section {
  padding-bottom: 48px;
}

.form-heading {
  max-width: 760px;
  padding-bottom: 24px;
}

.diagnostic-form {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 22px;
  padding: 28px;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 8px;
}

.hidden-field {
  left: -9999px;
  position: absolute;
}

.form-field span,
.choice-field legend {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 850;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #fffaf1;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

.form-field textarea {
  line-height: 1.45;
  min-height: 112px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(11, 111, 95, 0.13);
}

.choice-field {
  border: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 17px;
}

.choice-field legend {
  padding: 0 6px;
}

.choice-field label {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  line-height: 1.3;
}

.choice-field input {
  accent-color: var(--green);
  height: 16px;
  width: 16px;
}

.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-actions p {
  margin: 0;
}

.form-actions button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.form-status {
  border-left: 4px solid var(--line-strong);
  margin: 0;
  min-height: 24px;
  padding-left: 12px;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="pending"] {
  color: var(--muted);
}

.form-status[data-state="success"] {
  border-color: var(--green);
  color: var(--green-dark);
}

.form-status[data-state="error"] {
  border-color: #b84a3b;
  color: #8d3025;
}

.form-status a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
}

.diagnostic-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 90px;
}

.diagnostic-grid > div {
  background: var(--paper-soft);
  border-left: 4px solid var(--green);
  padding: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: var(--max);
  padding: 24px;
}

.site-footer p {
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .diagnostic-hero,
  .form-grid,
  .diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .decision-visual {
    min-height: 470px;
  }

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

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

  .proof-band p:last-child {
    border-bottom: 0;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .article-content {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .hero,
  .diagnostic-hero,
  .section,
  .article-grid,
  .page-heading,
  .article-shell,
  .split-section,
  .diagnostic-form-section,
  .diagnostic-grid,
  .cta-band,
  .cluster-list,
  .proof-band,
  .deliverables {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy h1,
  .diagnostic-copy h1,
  .page-heading h1,
  .article-header h1 {
    font-size: clamp(2.55rem, 17vw, 4rem);
  }

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

  .trust-strip div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding-bottom: 14px;
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .diagnostic-form,
  .price-panel {
    padding: 22px;
  }
}
