:root {
  color-scheme: light;
  --bg: #f5f3ee;
  --panel: #fffefa;
  --ink: #1b3a28;
  --muted: #526957;
  --line: #d5ddd3;
  --green: #1b3a28;
  --green-2: #2d5e3a;
  --green-soft: #e9efe8;
  --coral: #c75a42;
  --coral-soft: #f1dfda;
  --gold: #7a713f;
  --gold-soft: #eeeadc;
  --blue: #54706e;
  --blue-soft: #e3ebea;
  --shadow: 0 18px 42px rgba(27, 58, 40, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: 0;
}

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(22px, calc((100vw - 1240px) / 2));
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  position: relative;
  width: 42px;
}

.brand-mark span {
  background: var(--coral);
  border: 2px solid var(--green);
  border-radius: 50%;
  bottom: 5px;
  height: 9px;
  position: absolute;
  right: 5px;
  width: 9px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
}

main {
  margin: 0 auto;
  max-width: 1240px;
  padding: 42px 22px 72px;
}

.home main {
  max-width: none;
  padding: 0;
}

.home-hero {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  margin: 0 auto;
  max-width: 1240px;
  min-height: 760px;
  padding: 48px 22px;
}

.hero-copy {
  padding: 24px 0;
}

.eyebrow {
  color: var(--green-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.hero-copy > .eyebrow {
  align-items: center;
  background: var(--green-soft);
  border-radius: 4px;
  display: inline-flex;
  gap: 8px;
  padding: 8px 10px;
  text-transform: none;
}

.hero-copy > .eyebrow span {
  background: var(--coral);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

h1 {
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 550;
  line-height: 1.02;
  margin-bottom: 22px;
  max-width: 540px;
}

h2 {
  font-size: 31px;
  font-weight: 600;
  line-height: 1.14;
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  line-height: 1.3;
}

.hero-lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 470px;
}

.hero-facts {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  padding-top: 18px;
}

.hero-facts span {
  color: var(--muted);
  display: grid;
  font-size: 10px;
  line-height: 1.35;
  padding: 0 13px;
}

.hero-facts span:first-child {
  padding-left: 0;
}

.hero-facts span + span {
  border-left: 1px solid var(--line);
}

.hero-facts strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  margin-bottom: 4px;
}

[data-calculator-app] {
  min-width: 0;
}

.workbench {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workbench-heading {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 24px 18px;
}

.workbench-heading > div > span {
  color: var(--green-2);
  display: block;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.workbench-heading h2 {
  font-size: 21px;
  margin-bottom: 6px;
}

.workbench-heading p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 510px;
}

.year-badge {
  background: var(--green-soft);
  border-radius: 4px;
  color: var(--green);
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 800;
  padding: 7px 9px;
}

.tool-tabs {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 24px;
}

.tool-tabs a {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 8px 5px;
  text-align: center;
  text-decoration: none;
}

.tool-tabs a.active {
  border-bottom: 2px solid var(--green);
  color: var(--green);
}

.workbench-body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.92fr);
}

.calculator-form {
  padding: 22px 24px;
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid label {
  color: var(--muted);
  display: grid;
  font-size: 10px;
  font-weight: 800;
  gap: 7px;
  text-transform: uppercase;
}

input,
select {
  background: #fff;
  border: 1px solid #cfd7d1;
  border-radius: 4px;
  color: var(--ink);
  font-size: 13px;
  min-height: 43px;
  padding: 9px 11px;
  text-transform: none;
  width: 100%;
}

input:focus,
select:focus {
  border-color: var(--green-2);
  outline: 3px solid rgba(38, 113, 93, 0.13);
}

.field-help {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  margin: 14px 0 0;
}

.result-panel {
  background: #f8faf8;
  border-left: 1px solid var(--line);
  min-width: 0;
  padding: 22px 24px;
}

.result-kicker {
  color: #b6412c;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.result-primary {
  display: block;
  font-size: 27px;
  font-weight: 650;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.result-context {
  color: var(--muted);
  font-size: 11px;
  margin: 7px 0 18px;
}

.result-list {
  border-top: 1px solid var(--line);
  margin: 0;
}

.result-list div {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 0;
}

.result-list dt {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.result-list dd {
  font-size: 11px;
  font-weight: 800;
  margin: 0;
  max-width: 130px;
  text-align: right;
}

.result-note {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  margin: 13px 0 0;
}

.result-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  min-height: 52px;
  padding: 8px 24px;
}

.share-result,
.page-share-button {
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-height: 34px;
  padding: 8px 13px;
}

[data-share-status],
.page-share-status {
  color: var(--muted);
  font-size: 10px;
}

.threshold-band,
.task-section,
.guide-section,
.source-ledger {
  margin: 0 auto;
  max-width: 1240px;
  padding: 72px 22px;
}

.threshold-band {
  border-top: 1px solid var(--line);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-head h2 {
  margin-bottom: 0;
  max-width: 680px;
}

.text-link {
  color: var(--green);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 4px;
  text-decoration: none;
}

.threshold-track {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr) 0.9fr;
}

.threshold-track span {
  border-left: 4px solid var(--green-2);
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 17px 14px;
}

.threshold-track span:nth-child(2) {
  background: var(--green-soft);
  border-color: var(--green);
}

.threshold-track span:nth-child(3) {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.threshold-track span:nth-child(4) {
  background: var(--gold-soft);
  border-color: var(--gold);
}

.threshold-track span:nth-child(5),
.threshold-track span:nth-child(6) {
  background: var(--coral-soft);
  border-color: var(--coral);
}

.threshold-track b {
  font-size: 13px;
}

.threshold-track small {
  color: #55615d;
  font-size: 10px;
}

.task-section {
  background: #fff;
  max-width: none;
  padding-left: max(22px, calc((100vw - 1196px) / 2));
  padding-right: max(22px, calc((100vw - 1196px) / 2));
}

.task-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.task-grid a {
  display: grid;
  min-height: 230px;
  padding: 28px;
  position: relative;
  text-decoration: none;
}

.task-grid a + a {
  border-left: 1px solid var(--line);
}

.task-grid a:hover {
  background: var(--green-soft);
}

.task-grid a > span {
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.task-grid h3 {
  align-self: end;
  font-size: 22px;
  margin: 38px 0 9px;
}

.task-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 280px;
}

.task-grid b {
  bottom: 28px;
  color: var(--green);
  position: absolute;
  right: 28px;
}

.decision-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin: 0 auto;
  max-width: 1240px;
  padding: 72px 22px;
}

.decision-story img {
  aspect-ratio: 3 / 2;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.decision-story > div {
  align-content: center;
  background: var(--green);
  color: #fff;
  display: grid;
  padding: 40px;
}

.decision-story .eyebrow {
  color: #bce0d5;
}

.decision-story ol {
  counter-reset: story;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.decision-story li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 5px;
  padding: 14px 0;
}

.decision-story li strong {
  font-size: 13px;
}

.decision-story li span {
  color: #d4e4df;
  font-size: 11px;
  line-height: 1.55;
}

.guide-section {
  border-top: 1px solid var(--line);
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-list article {
  border-top: 3px solid var(--green);
  padding: 22px 20px 0 0;
}

.guide-list article + article {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.guide-list article:nth-child(2) {
  border-top-color: var(--blue);
}

.guide-list article:nth-child(3) {
  border-top-color: var(--coral);
}

.guide-list span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-list h3 {
  margin: 13px 0 9px;
}

.guide-list h3 a {
  text-decoration: none;
}

.guide-list p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.source-ledger {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 44px;
  grid-template-columns: 0.75fr 1.25fr;
}

.source-agencies {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-agencies a {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 3px;
  min-height: 76px;
  padding: 16px;
  text-decoration: none;
}

.source-agencies a:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.source-agencies strong {
  color: var(--green);
  font-size: 12px;
}

.source-agencies span {
  color: var(--muted);
  font-size: 10px;
}

.footer {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 10px;
  gap: 24px;
  justify-content: space-between;
  min-height: 94px;
  padding: 20px max(22px, calc((100vw - 1196px) / 2));
}

.footer p {
  margin: 0;
}

.footer p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  justify-content: flex-end;
}

.footer a {
  font-weight: 700;
  text-decoration: none;
}

.tool-page,
.content-page,
.hub-page,
.trust-page {
  margin: 0 auto;
  max-width: 1080px;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  margin-bottom: 34px;
  padding: 14px 0 34px;
}

.page-hero h1 {
  font-size: 46px;
}

.page-hero .intro {
  align-self: end;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.tool-page > [data-calculator-app] {
  margin: 0 auto;
  max-width: 940px;
}

.tool-explainer,
.content-layout {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 260px;
  margin-top: 52px;
}

.article-body {
  min-width: 0;
}

.article-body h2 {
  border-top: 1px solid var(--line);
  font-size: 25px;
  margin-top: 38px;
  padding-top: 30px;
}

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

.article-body h3 {
  margin-top: 26px;
}

.article-body p,
.article-body li,
.trust-page p,
.trust-page li {
  color: #3d4844;
  font-size: 15px;
  line-height: 1.8;
}

.article-body a,
.trust-page a {
  color: var(--green-2);
  font-weight: 650;
}

.article-body table {
  border-collapse: collapse;
  font-size: 12px;
  margin: 22px 0;
  width: 100%;
}

.article-body th,
.article-body td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--green-soft);
  color: var(--green);
}

.callout,
.disclaimer-note {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  color: #4b432c;
  font-size: 12px;
  line-height: 1.6;
  padding: 14px 16px;
}

.article-aside {
  align-self: start;
  border-top: 3px solid var(--green);
  position: sticky;
  top: 104px;
}

.article-aside a {
  border-bottom: 1px solid var(--line);
  display: block;
  font-size: 11px;
  font-weight: 700;
  padding: 12px 4px;
  text-decoration: none;
}

.page-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.page-share-button {
  background: transparent;
  color: var(--green);
}

.hub-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.hub-grid a {
  border-bottom: 1px solid var(--line);
  min-height: 150px;
  padding: 24px;
  text-decoration: none;
}

.hub-grid a:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.hub-grid span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hub-grid h2 {
  font-size: 20px;
  margin: 12px 0 8px;
}

.hub-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.trust-page {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px;
}

.trust-page h1 {
  font-size: 42px;
}

.trust-page h2 {
  border-top: 1px solid var(--line);
  font-size: 22px;
  margin-top: 32px;
  padding-top: 26px;
}

.source-list {
  display: grid;
  margin-top: 24px;
}

.source-list a {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  text-decoration: none;
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 700px;
    padding-bottom: 0;
  }

  .workbench-body {
    grid-template-columns: 1fr 1fr;
  }

  .decision-story {
    grid-template-columns: 1fr;
  }

  .decision-story img {
    max-height: 470px;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    gap: 10px;
    min-height: 84px;
    padding: 11px 16px;
  }

  .brand-mark {
    height: 38px;
    width: 38px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    max-width: 150px;
  }

  .nav {
    gap: 4px 14px;
    max-width: 47%;
  }

  .nav a {
    align-items: center;
    display: inline-flex;
    font-size: 10px;
    min-height: 28px;
    padding: 4px 0;
  }

  main {
    padding: 26px 16px 52px;
  }

  .home-hero,
  .threshold-band,
  .task-section,
  .guide-section,
  .source-ledger,
  .decision-story {
    padding: 36px 16px;
  }

  .home-hero {
    gap: 24px;
    padding-top: 28px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 27px;
  }

  .hero-lede {
    font-size: 15px;
  }

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

  .hero-facts span {
    border-top: 0;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 9px;
  }

  .hero-facts span:first-child {
    padding-left: 0;
  }

  .hero-facts span + span {
    border-left: 1px solid var(--line) !important;
  }

  .workbench-heading {
    padding: 18px 16px 14px;
  }

  .year-badge {
    display: none;
  }

  .tool-tabs {
    padding: 0 10px;
  }

  .tool-tabs a {
    font-size: 10px;
    min-height: 52px;
    overflow-wrap: anywhere;
  }

  .workbench-body {
    grid-template-columns: 1fr;
  }

  .calculator-form,
  .result-panel {
    padding: 19px 16px;
  }

  .result-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .result-actions {
    justify-content: space-between;
    padding: 8px 16px;
  }

  .section-head {
    align-items: start;
    display: grid;
    gap: 12px;
  }

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

  .task-grid,
  .guide-list,
  .source-ledger,
  .source-agencies,
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .task-grid a {
    min-height: 190px;
    padding: 22px;
  }

  .task-grid a + a,
  .guide-list article + article,
  .source-agencies a:nth-child(odd),
  .hub-grid a:nth-child(odd) {
    border-left: 0;
    border-right: 0;
  }

  .guide-list article + article {
    margin-top: 28px;
    padding-left: 0;
  }

  .decision-story > div {
    padding: 28px 22px;
  }

  .footer {
    align-items: flex-start;
    display: grid;
    padding: 22px 16px;
  }

  .footer p:last-child {
    justify-content: flex-start;
  }

  .page-hero,
  .tool-explainer,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .page-hero h1,
  .trust-page h1 {
    font-size: 36px;
  }

  .article-aside {
    position: static;
  }

  .trust-page {
    padding: 26px 20px;
  }

  .article-body table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 430px) {
  .topbar {
    min-height: 102px;
  }

  .brand small {
    display: none;
  }

  .nav {
    max-width: 50%;
  }

  .threshold-track {
    grid-template-columns: 1fr;
  }

  .threshold-track span {
    min-height: 65px;
  }

  .workbench-heading h2 {
    font-size: 19px;
  }
}

.rule-meta {
  background: var(--green-soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -10px 0 34px;
}

.rule-meta > * {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  line-height: 1.45;
  min-width: 0;
  padding: 14px 16px;
  text-decoration: none;
}

.rule-meta > * + * {
  border-left: 1px solid var(--line);
}

.rule-meta strong {
  color: var(--green-2);
  display: block;
  font-size: 8px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.rule-meta a:hover,
.rule-meta a:focus-visible {
  background: #e0eee4;
  color: var(--green);
}

.table-scroll {
  margin: 22px 0 28px;
  overflow-x: auto;
  width: 100%;
}

.trust-page .table-scroll table {
  border-collapse: collapse;
  font-size: 12px;
  margin: 0;
  min-width: 720px;
  width: 100%;
}

.trust-page .table-scroll th,
.trust-page .table-scroll td {
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.trust-page .table-scroll th {
  background: var(--green-soft);
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .rule-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 26px;
  }

  .rule-meta > *:nth-child(3) {
    border-left: 0;
  }

  .rule-meta > *:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .rule-meta > * {
    padding: 12px;
  }

  .trust-page .table-scroll {
    overflow: visible;
  }

  .trust-page .table-scroll table,
  .trust-page .table-scroll tbody,
  .trust-page .table-scroll tr,
  .trust-page .table-scroll td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .trust-page .table-scroll thead {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .trust-page .table-scroll tr {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }

  .trust-page .table-scroll td,
  .trust-page .table-scroll td:last-child {
    border: 0;
    display: grid;
    font-size: 11px;
    gap: 12px;
    grid-template-columns: minmax(92px, 0.38fr) minmax(0, 1fr);
    padding: 6px 0;
  }

  .trust-page .table-scroll td::before {
    color: var(--muted);
    content: attr(data-label);
    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

/* Pencil: Editorial Scientific / Forest Sage */
.menu-toggle {
  display: none;
}

.topbar {
  background: rgba(255, 254, 250, 0.97);
  min-height: 84px;
  padding-left: max(22px, calc((100vw - 1240px) / 2));
  padding-right: max(22px, calc((100vw - 1240px) / 2));
}

.brand-mark {
  background: var(--ink);
  border-radius: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  height: 38px;
  width: 38px;
}

.brand-mark span {
  display: none;
}

.brand strong {
  color: var(--ink);
  font-size: 16px;
}

.brand small,
.nav a,
.eyebrow,
.workbench-heading > div > span,
.year-badge,
.field-grid label,
.result-kicker,
.result-list dt,
.threshold-track small,
.guide-list span,
.source-agencies strong,
.page-share-button,
.share-result,
.calculate-button {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0;
}

.brand small {
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav {
  gap: 6px 28px;
}

.nav a {
  color: var(--secondary, #4a6b52);
  font-size: 10px;
  text-transform: uppercase;
}

.home-hero {
  gap: 54px;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  min-height: 688px;
  padding-bottom: 60px;
  padding-top: 60px;
}

.hero-copy {
  padding: 0;
}

.hero-copy > .eyebrow {
  background: var(--green-soft);
  border-radius: 4px;
  color: var(--green-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  padding: 7px 9px;
  text-transform: uppercase;
}

.hero-copy > .eyebrow span {
  background: var(--coral);
  height: 6px;
  width: 6px;
}

h1 {
  color: var(--ink);
  font-size: clamp(46px, 4.3vw, 66px);
  font-weight: 500;
  line-height: 0.99;
}

h2 {
  color: var(--ink);
  font-weight: 600;
}

.hero-lede {
  color: #4a6b52;
  font-size: 16px;
  line-height: 1.6;
}

.hero-facts {
  margin-top: 28px;
  padding-top: 18px;
}

.hero-facts span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-facts strong {
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.workbench {
  background: var(--panel);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.workbench-heading {
  padding: 24px 26px 20px;
}

.workbench-heading > div > span {
  color: var(--green-2);
  font-size: 9px;
}

.workbench-heading h2 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
}

.workbench-heading p {
  color: var(--muted);
  font-size: 11px;
}

.year-badge {
  border-radius: 4px;
  color: var(--green-2);
  font-size: 8px;
  text-transform: uppercase;
}

.tool-tabs {
  padding: 0;
}

.tool-tabs a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  min-height: 50px;
  text-transform: uppercase;
}

.tool-tabs a + a {
  border-left: 1px solid var(--line);
}

.tool-tabs a.active {
  background: var(--green-soft);
  border-bottom-color: var(--green-2);
}

.workbench-body {
  grid-template-columns: minmax(0, 1.14fr) minmax(250px, 0.86fr);
}

.calculator-form {
  padding: 24px 26px;
}

.field-grid {
  gap: 16px;
}

.field-grid label {
  color: var(--muted);
  font-size: 9px;
}

input,
select {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  min-height: 46px;
}

.calculate-button {
  align-items: center;
  background: var(--green-2);
  border: 1px solid var(--green-2);
  border-radius: 4px;
  color: #fff;
  display: flex;
  font-size: 9px;
  font-weight: 700;
  justify-content: center;
  margin-top: 18px;
  min-height: 44px;
  padding: 10px 14px;
  text-transform: uppercase;
  width: 100%;
}

.calculate-button span {
  font-family: Inter, sans-serif;
  font-size: 16px;
  margin-left: 8px;
}

.calculate-button:hover,
.calculate-button:focus-visible {
  background: var(--ink);
}

.field-help {
  font-size: 9px;
  margin-top: 16px;
}

.result-panel {
  background: var(--ink);
  border-left: 0;
  color: #fff;
  padding: 25px 24px;
}

.result-kicker {
  color: #a7c4ab;
  font-size: 8px;
}

.result-primary {
  color: #fff;
  font-family: "Newsreader", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
}

.result-context,
.result-list dt,
.result-note {
  color: #b9cabb;
}

.result-context {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.result-list,
.result-list div,
.result-actions {
  border-color: rgba(255, 255, 255, 0.17);
}

.result-list dd {
  color: #fff;
  font-size: 11px;
}

.result-actions {
  background: var(--panel);
  min-height: 58px;
  padding: 10px 24px;
}

.share-result,
.page-share-button {
  border-radius: 4px;
  font-size: 9px;
  text-transform: uppercase;
}

.share-result span {
  font-family: Inter, sans-serif;
  font-size: 13px;
  margin-left: 5px;
}

.threshold-band,
.guide-section,
.source-ledger {
  padding-bottom: 68px;
  padding-top: 68px;
}

.threshold-band {
  border-top-color: var(--line);
}

.section-head .eyebrow {
  font-size: 9px;
}

.section-head h2 {
  font-size: 31px;
}

.text-link {
  color: var(--green-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.threshold-track {
  border: 1px solid var(--line);
}

.threshold-track span {
  border-left: 0;
  min-height: 92px;
  padding: 18px 14px;
}

.threshold-track span + span {
  border-left: 1px solid var(--line);
}

.threshold-track span:first-child {
  box-shadow: inset 4px 0 0 var(--green-2);
}

.threshold-track b {
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.threshold-track small {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

.decision-story {
  padding-bottom: 72px;
  padding-top: 72px;
}

.decision-story > div {
  background: var(--ink);
  padding: 42px;
}

.decision-story h2 {
  color: #fff;
  font-size: 35px;
  font-weight: 500;
}

.decision-story .eyebrow {
  color: #a7c4ab;
  font-size: 8px;
}

.decision-story li strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
}

.decision-story li span {
  color: #bfd0c1;
}

.guide-section {
  border-top-color: var(--line);
}

.guide-list {
  gap: 24px;
}

.guide-list article,
.guide-list article:nth-child(2),
.guide-list article:nth-child(3) {
  border-top: 3px solid var(--green-2);
  padding: 18px 12px 0 0;
}

.guide-list article:nth-child(3) {
  border-top-color: var(--coral);
}

.guide-list article + article {
  border-left: 0;
  padding-left: 0;
}

.guide-list span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
}

.guide-list h3 {
  font-size: 23px;
  font-weight: 500;
}

.source-ledger {
  gap: 58px;
}

.source-agencies strong {
  font-size: 9px;
  text-transform: uppercase;
}

.footer {
  background: var(--panel);
  font-family: "IBM Plex Mono", monospace;
  min-height: 106px;
}

.page-hero h1,
.trust-page h1 {
  font-weight: 500;
}

.trust-page {
  background: var(--panel);
  border-radius: 6px;
}

@media (max-width: 980px) {
  .home-hero {
    gap: 34px;
    grid-template-columns: 1fr;
    padding-bottom: 48px;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 650px;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    min-height: 72px;
    padding: 0 16px;
  }

  .brand {
    min-height: 72px;
    order: 1;
  }

  .brand-mark {
    height: 32px;
    width: 32px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    align-items: center;
    background: var(--bg);
    border: 0;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 40px;
    justify-content: center;
    margin-left: auto;
    order: 2;
    width: 40px;
  }

  .menu-toggle span {
    background: var(--ink);
    display: block;
    height: 2px;
    width: 17px;
  }

  .nav {
    align-items: center;
    border-top: 1px solid var(--line);
    display: none;
    flex: 0 0 calc(100% + 32px);
    gap: 0;
    margin: 0 -16px;
    max-width: none;
    min-height: 42px;
    order: 3;
    overflow-x: auto;
    padding: 0 16px;
  }

  .nav.is-open {
    display: grid;
    grid-template-columns: repeat(5, minmax(max-content, 1fr));
  }

  .nav a {
    font-size: 9px;
    justify-content: center;
    min-height: 42px;
    min-width: max-content;
    padding: 6px 5px;
    text-align: center;
    white-space: nowrap;
  }

  main {
    padding: 30px 16px 56px;
  }

  .home-hero {
    display: grid;
    gap: 26px;
    padding: 30px 16px 34px;
  }

  .hero-copy > .eyebrow {
    font-size: 8px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.02;
    margin-bottom: 24px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-lede {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-facts {
    margin-top: 22px;
  }

  .hero-facts span {
    padding: 0 8px;
  }

  .hero-facts strong {
    font-size: 20px;
  }

  .workbench-heading {
    padding: 20px 18px 16px;
  }

  .workbench-body {
    grid-template-columns: 1fr;
  }

  .workbench-heading h2 {
    font-size: 25px;
  }

  .tool-tabs {
    padding: 0;
  }

  .tool-tabs a {
    font-size: 8px;
    min-height: 46px;
  }

  .calculator-form {
    padding: 20px 18px;
  }

  .result-panel {
    border-top: 0;
    padding: 23px 18px;
  }

  .result-actions {
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    color: #fff;
    padding: 10px 18px 16px;
  }

  .share-result {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    min-height: 40px;
  }

  [data-share-status] {
    color: #bfd0c1;
  }

  .threshold-band,
  .guide-section,
  .source-ledger,
  .decision-story {
    padding: 38px 16px;
  }

  .threshold-band {
    background: var(--green-soft);
    max-width: none;
  }

  .section-head h2 {
    font-size: 29px;
  }

  .threshold-track {
    border-bottom: 0;
  }

  .threshold-track span {
    min-height: 74px;
  }

  .decision-story {
    gap: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .decision-story img {
    aspect-ratio: 1.55 / 1;
    max-height: 270px;
  }

  .decision-story > div {
    padding: 30px 20px;
  }

  .decision-story h2 {
    font-size: 31px;
  }

  .guide-list {
    gap: 0;
  }

  .guide-list article,
  .guide-list article:nth-child(2),
  .guide-list article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin: 0;
    padding: 18px 0;
  }

  .guide-list h3 {
    font-size: 21px;
  }

  .source-ledger {
    gap: 24px;
  }

  .source-agencies a:nth-child(odd) {
    border-right: 0;
  }

  .footer {
    min-height: 0;
    padding: 28px 16px 32px;
  }

  .page-hero h1,
  .trust-page h1 {
    font-size: 38px;
  }
}

@media (max-width: 430px) {
  .topbar {
    min-height: 72px;
  }

  .threshold-track {
    grid-template-columns: 1fr;
  }

  .threshold-track span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 360px) {
  .nav.is-open {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow-x: visible;
  }

  .nav a {
    font-size: 8px;
    grid-column: span 2;
    min-width: 0;
  }

  .nav a:nth-child(n + 4) {
    border-top: 1px solid var(--line);
    grid-column: span 3;
  }
}
