:root {
  --ink: #132019;
  --muted: #5e6b63;
  --forest: #0b3322;
  --forest-deep: #061b12;
  --leaf: #2f7856;
  --leaf-light: #dfead9;
  --lime: #c9f06a;
  --cream: #f4f3ec;
  --paper: #fffef9;
  --white: #ffffff;
  --line: rgba(20, 58, 39, 0.16);
  --warning: #815b19;
  --danger: #8b3f37;
  --shadow: 0 24px 70px rgba(4, 28, 17, 0.11);
  --radius: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--forest-deep);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow { width: min(780px, 100%); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 27, 18, 0.97);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--white);
  font-size: 21px;
  font-weight: 790;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(201, 240, 106, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover { color: var(--white); }

.button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--lime); color: #0b2618; }
.button-dark { background: var(--forest); color: var(--white); }
.button-light { border-color: var(--line); background: var(--white); color: var(--forest); }
.button-outline { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }

.button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(201, 240, 106, 0.7);
  outline-offset: 3px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 102px 0 86px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 14%, rgba(75, 149, 100, 0.35), transparent 30%),
    linear-gradient(138deg, var(--forest-deep), #0b3322 60%, #123e2a);
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero .shell { position: relative; z-index: 1; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }

.eyebrow {
  margin: 0 0 17px;
  color: var(--leaf);
  font-size: 11px;
  font-weight: 880;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #c5dfcd; }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.044em;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(45px, 6vw, 76px);
  line-height: 0.99;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

p, li { line-height: 1.68; }

.hero-copy {
  max-width: 780px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

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

.hero-qualifier {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.meta-strip {
  border-bottom: 1px solid var(--line);
  background: #eef3e9;
}

.meta-strip .shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.meta-strip p { margin: 0; color: #425148; font-size: 13px; }
.meta-strip strong { color: var(--forest); }

.section { padding: 92px 0; }
.section-cream { background: var(--cream); }
.section-dark { color: var(--white); background: var(--forest-deep); }
.section-tight { padding: 68px 0; }

.section-head { max-width: 790px; margin-bottom: 42px; }
.section-head p { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.68); }

.lede {
  margin: 0 0 30px;
  color: #35443a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
}

.prose p { margin: 0 0 20px; color: #445047; }
.prose h2 { margin-top: 66px; }
.prose h3 { margin-top: 36px; }
.prose ul, .prose ol { margin: 18px 0 28px; padding-left: 22px; color: #445047; }
.prose a { color: #1f6847; text-underline-offset: 3px; }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 16px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.card ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }

.index {
  display: block;
  margin-bottom: 28px;
  color: var(--leaf);
  font-size: 11px;
  font-weight: 880;
  letter-spacing: 0.13em;
}

.callout {
  margin: 32px 0;
  padding: 24px 26px;
  border-left: 4px solid var(--leaf);
  border-radius: 0 14px 14px 0;
  background: #edf3e8;
}

.callout p { margin: 0; color: #35463b; }
.callout strong { color: var(--forest); }
.callout.warning { border-left-color: #b1812e; background: #f5eedc; }

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding: 15px 16px 15px 45px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: #425047;
  font-size: 14px;
}

.checklist li:before {
  content: "✓";
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--leaf);
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th, td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: #445047;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--forest);
  background: #eef3e9;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tr:last-child td { border-bottom: 0; }

.status {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e5f0de;
  color: #1e6344;
  font-size: 10px;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status.unknown { background: #f3ead5; color: var(--warning); }
.status.fail { background: #f5dedb; color: var(--danger); }
.status.neutral { background: #e7ece8; color: #5d6861; }

.sample {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: #0a281b;
  box-shadow: var(--shadow);
}

.sample-head {
  padding: 28px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.sample-head h3 { font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.sample-head span { color: var(--lime); font-size: 11px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.sample-body { padding: 30px; }
.sample-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; }
.sample dl { margin: 0; }
.sample dl div { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.sample dt { color: var(--lime); font-size: 10px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.sample dd { margin: 5px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 13px; line-height: 1.55; }
.sample table { min-width: 760px; }
.sample th { color: var(--lime); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.sample td { color: rgba(255, 255, 255, 0.76); border-color: rgba(255, 255, 255, 0.12); }
.sample-note { margin: 22px 0 0; color: rgba(255, 255, 255, 0.5); font-size: 11px; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step { position: relative; padding: 25px 26px 25px 78px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.step:before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 23px;
  left: 24px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--leaf-light);
  color: var(--forest);
  font-size: 11px;
  font-weight: 850;
}
.step p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }

.source-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.source-list li { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.source-list a { color: #1f6847; font-weight: 760; text-underline-offset: 3px; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related a { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); color: var(--forest); font-weight: 800; line-height: 1.4; text-decoration: none; }
.related a:hover { border-color: rgba(47, 120, 86, 0.55); }
.related small { display: block; margin-bottom: 7px; color: var(--leaf); font-size: 10px; letter-spacing: 0.11em; text-transform: uppercase; }

.cta-band { color: var(--white); background: linear-gradient(135deg, #0b3322, #174f35); }
.cta-layout { display: grid; grid-template-columns: 1fr auto; gap: 42px; align-items: center; }
.cta-layout p { max-width: 700px; margin: 15px 0 0; color: rgba(255, 255, 255, 0.68); }

.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.full { grid-column: 1 / -1; }
label { color: #37473d; font-size: 14px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #c6d3ca;
  border-radius: 11px;
  background: #fbfcf8;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}
input, select { min-height: 49px; }
textarea { min-height: 128px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(47, 120, 86, 0.12); }
.field-help { display: block; margin-top: 6px; color: #748078; font-size: 11px; font-weight: 500; line-height: 1.5; }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-weight: 550; line-height: 1.5; }
.check input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.submit-row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.submit-row p { margin: 0; color: var(--muted); font-size: 11px; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 13px 15px; border-radius: 10px; background: #e9f2e4; color: var(--forest); font-size: 13px; }
.form-status.error { background: #f6e2df; color: var(--danger); }

.footer {
  padding: 58px 0 30px;
  color: rgba(255, 255, 255, 0.68);
  background: #05170f;
}

.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 44px; }
.footer strong { color: var(--white); }
.footer p { max-width: 520px; margin: 12px 0 0; font-size: 12px; }
.footer a { display: block; margin: 0 0 10px; color: rgba(255, 255, 255, 0.76); font-size: 12px; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 11px; }

.tool-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.tool-note p { max-width: 720px; margin: 0; color: var(--muted); }

.print-sheet {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.print-sheet-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--forest);
}

.print-sheet-head h2 { font-size: 32px; }
.print-sheet-head p { max-width: 720px; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.print-sheet-mark { color: var(--forest); font-size: 11px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }

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

.print-field {
  display: block;
  color: #34443a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.025em;
}

.print-field.span-2 { grid-column: 1 / -1; }
.print-field input, .print-field textarea {
  margin-top: 5px;
  border: 0;
  border-bottom: 1px solid #809087;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  padding: 7px 2px;
}
.print-field input { min-height: 34px; }
.print-field textarea { min-height: 56px; }
.print-field input:focus, .print-field textarea:focus { border-color: var(--leaf); box-shadow: none; }
.print-help { display: block; margin-top: 4px; color: #68736b; font-size: 9px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }

.print-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 7px;
  color: #48574e;
  font-size: 10px;
  font-weight: 650;
}
.print-options label { display: inline-flex; align-items: center; gap: 5px; color: inherit; font: inherit; }
.print-options input { width: 13px; height: 13px; min-height: 0; margin: 0; padding: 0; }

.print-sheet-section { margin-top: 20px; }
.print-sheet-section h3 { padding-bottom: 7px; border-bottom: 1px solid var(--line); color: var(--forest); font-size: 14px; }
.print-sheet-footer { display: grid; grid-template-columns: 1fr auto; gap: 20px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); color: #647169; font-size: 9px; line-height: 1.45; }
.print-sheet-footer strong { color: var(--forest); }

.worksheet-table { margin-top: 16px; }
.worksheet-table table { min-width: 920px; table-layout: fixed; }
.worksheet-table th, .worksheet-table td { padding: 11px 12px; }
.worksheet-table th:first-child { width: 24%; }
.worksheet-table input, .worksheet-table textarea {
  width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 4px 2px;
  border: 0;
  border-bottom: 1px solid #9ba79f;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
}
.worksheet-table textarea { min-height: 44px; resize: vertical; }
.worksheet-table .worksheet-prompt { color: #34443a; font-weight: 780; }
.worksheet-table .worksheet-prompt small { display: block; margin-top: 3px; color: #68736b; font-size: 9px; font-weight: 500; line-height: 1.35; }
.worksheet-scroll-cue { display: none; margin: 14px 0 8px; color: #4e5c53; font-size: 12px; font-weight: 760; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .sample-grid { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { min-height: 68px; gap: 10px; }
  .nav .button { min-height: 40px; padding: 0 14px; font-size: 11px; }
  .hero { padding: 75px 0 66px; }
  h1 { font-size: 43px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .meta-strip .shell { padding: 17px 0; display: block; }
  .meta-strip p + p { margin-top: 6px; }
  .section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4, .related, .cta-layout { grid-template-columns: 1fr; }
  .sample-head { display: block; }
  .sample-head span { display: block; margin-top: 12px; }
  .sample-body, .sample-head { padding: 22px; }
  .form-card { padding: 23px 18px; }
  .form-card form { grid-template-columns: 1fr; }
  .full, .check, .submit-row { grid-column: auto; }
  .submit-row { display: grid; }
  .submit-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .tool-note, .print-sheet-head, .print-sheet-footer { display: block; }
  .tool-note .button { width: 100%; margin-top: 18px; }
  .print-sheet { padding: 23px 18px; }
  .print-sheet-mark { display: block; margin-top: 12px; }
  .print-grid { grid-template-columns: 1fr; }
  .print-field.span-2 { grid-column: auto; }
  .worksheet-scroll-cue { display: block; }
  .worksheet-table th:first-child, .worksheet-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--white);
    box-shadow: 1px 0 0 var(--line);
  }
  .worksheet-table th:first-child { z-index: 2; background: #eef3e9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}

@media print {
  @page { size: A4 portrait; margin: 9mm; }
  .site-header, .hero-actions, .cta-band, .footer, .skip-link, .analytics-consent { display: none !important; }
  .screen-only { display: none !important; }
  html, body { background: #fff !important; }
  .worksheet-section { display: block !important; padding: 0 !important; }
  .worksheet-section .shell { width: 100%; }
  .print-sheet { padding: 0; border: 0; border-radius: 0; box-shadow: none; page-break-inside: avoid; break-inside: avoid; }
  .print-sheet-head { margin-bottom: 4mm; padding-bottom: 3mm; }
  .print-sheet-head h2 { font-size: 19pt; }
  .print-sheet-head p { margin-top: 1mm; font-size: 7.5pt; line-height: 1.3; }
  .print-sheet-mark { font-size: 7.5pt; }
  .print-grid { gap: 2.2mm 4mm; }
  .print-field { font-size: 7.4pt; }
  .print-field input, .print-field textarea { margin-top: 0.7mm; padding: 1mm 0; font-size: 8.2pt; }
  .print-field input { min-height: 5.5mm; }
  .print-field textarea { min-height: 9mm; }
  .print-help { margin-top: 0.5mm; font-size: 6.6pt; line-height: 1.25; }
  .print-options { gap: 1mm 3mm; margin-top: 1mm; font-size: 6.8pt; }
  .print-options input { width: 3mm; height: 3mm; }
  .print-sheet-section { margin-top: 3.2mm; }
  .print-sheet-section h3 { padding-bottom: 1mm; font-size: 8.8pt; }
  .print-sheet-footer { margin-top: 3mm; padding-top: 2mm; font-size: 6.4pt; }
  .worksheet-table { overflow: visible; margin-top: 2.5mm; border-radius: 0; }
  .worksheet-table table { min-width: 0; table-layout: fixed; }
  .worksheet-table th, .worksheet-table td { padding: 1.25mm 1.4mm; font-size: 6.7pt; line-height: 1.25; }
  .worksheet-table th:first-child { width: 22%; }
  .worksheet-table th:first-child, .worksheet-table td:first-child { position: static; box-shadow: none; }
  .worksheet-table input, .worksheet-table textarea { min-height: 4.5mm; padding: 0.5mm 0; font-size: 6.8pt; }
  .worksheet-table textarea { min-height: 7mm; }
  .worksheet-table .worksheet-prompt small { font-size: 6.3pt; line-height: 1.15; }
  .hero { padding: 30px 0; color: var(--ink); background: var(--white); }
  .hero:after { display: none; }
  .hero .eyebrow, .breadcrumbs, .hero-copy, .hero-qualifier { color: var(--ink); }
  .section, .section-tight { padding: 28px 0; }
  .card, .table-wrap, .sample { break-inside: avoid; box-shadow: none; }
}
