/* Founder Decisions. Plus Jakarta Sans, navy #01052A, blue #0072BA. */
:root {
  --blue: #0072BA;
  --blue-hover: #0059A8;
  --blue-pressed: #004886;
  --navy: #01052A;
  --navy-field: #061B2C;
  --gray: #929497;
  --muted: #56646F;
  --accent-on-navy: #66B2F0;
  --chip: #D3EAFD;
  --pale: #F1F8FF;
  --page: #F9F9F9;
  --subtle: #F1F5F9;
  --border: #D3D6DA;
  --border-subtle: #E2E8F0;
  --border-strong: #D0D5DD;
  --white: #ffffff;
  --error: #D92D20;
  --focus: rgba(0, 114, 186, 0.28);
  --shadow-sm: 0 1px 3px rgba(1, 5, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(1, 5, 42, 0.06);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --container: 1120px;
  --header: 64px;
  --article: 44rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--blue-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
}
.skip:focus { top: 16px; }

.wrap {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.article-width {
  width: min(var(--article), calc(100% - 64px));
  margin-inline: auto;
}
article.article-width {
  padding: 8px 0 80px;
}

/* Header */
.site-header {
  height: var(--header);
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand-mark {
  display: block;
  width: 3px;
  height: 18px;
  background: var(--blue);
  border-radius: 1px;
  flex-shrink: 0;
}
.brand-wordmark {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--navy);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1.45;
}
.nav-links a:hover {
  background: var(--page);
  color: var(--navy);
}
.nav-links a.is-active {
  background: var(--pale);
  color: var(--navy);
}

/* Buttons — 8px radius, never pills. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease), box-shadow 120ms var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:active {
  background: var(--blue-pressed);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--pale);
  color: var(--navy);
}
.btn-lg { min-height: 52px; padding: 0 24px; }

main { flex: 1; }

/* Type */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  margin: 0 0 12px;
}
h1, .h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--navy);
  text-wrap: balance;
}
h2, .h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 56px 0 16px;
  color: var(--navy);
}
.prose h2 {
  margin: 64px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.prose h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 14px;
  border-radius: 1px;
}
h3, .h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 32px 0 10px;
  color: var(--navy);
}
h4, .h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 24px 0 8px;
}
.lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}
.section-title {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 600;
}
.prose p, .prose li { color: var(--navy); }
.prose p { margin: 0 0 22px; }
.prose ul, .prose ol { margin: 0 0 28px; padding-left: 22px; }
.prose li { margin: 0 0 12px; }
.prose strong { font-weight: 600; }
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.prose blockquote {
  margin: 0 0 24px;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--border);
  background: transparent;
  color: var(--navy);
}
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
.meta { font-size: 13px; font-weight: 500; color: var(--muted); }

/* Page chrome — pale wash + soft left accent on articles/pages */
.page-hero {
  padding: 48px 0 36px;
  background:
    linear-gradient(180deg, var(--pale) 0%, var(--white) 82%);
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero.tinted {
  background:
    linear-gradient(180deg, var(--pale) 0%, var(--page) 100%);
}
.page-hero .article-width,
.page-hero .wrap {
  border-left: 2px solid var(--chip);
  padding-left: 24px;
}
.page-hero .eyebrow {
  margin: 0 0 10px;
}
.page-hero .lead {
  max-width: 40rem;
}
.home-hero {
  padding: 64px 0 44px;
  background:
    linear-gradient(180deg, var(--pale) 0%, var(--white) 72%);
  border-bottom: 1px solid var(--border-subtle);
}
.home-hero .wrap {
  border-left: 3px solid var(--blue);
  padding-left: 28px;
}
.home-hero h1 {
  max-width: 18ch;
  margin-bottom: 18px;
}
.home-hero .lead {
  max-width: 38rem;
  font-size: 19px;
  line-height: 1.55;
}
.how-strip {
  padding: 28px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
}
.how-strip-label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.how-strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
}
.how-strip-list li {
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--chip);
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
.how-strip-list strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 2px;
}
.section { padding: 56px 0 72px; }
.section-alt { background: var(--page); }
.section-subtle { background: var(--subtle); }
.related-section {
  padding: 40px 0 64px;
  margin-top: 8px;
  background: var(--page);
  border-top: 1px solid var(--border-subtle);
}
.related-section h2 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
}

/* Quiet hub "In this topic" label — same scan-aid weight as Related / In short */
article.prose + .section {
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}
article.prose + .section .section-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
}
.related-section .page-list {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}
.related-section .page-list li {
  border-top: 0;
  border-bottom: 1px solid var(--border-subtle);
}
.related-section .page-list li:last-child { border-bottom: 0; }
.related-section .page-list a {
  padding: 20px 22px;
  gap: 6px 16px;
  transition: background-color 120ms var(--ease);
}
.related-section .page-list a:hover {
  background: var(--pale);
  color: var(--navy);
}
.related-section .list-title {
  font-size: 16px;
  letter-spacing: -0.01em;
}
.related-section .list-desc {
  margin-top: 2px;
  line-height: 1.45;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  font-size: 13px;
  margin: 0 0 20px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { color: var(--gray); }

.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--subtle);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}
.card .chip {
  background: var(--page);
}

/* Cards */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--chip);
  border-radius: 8px;
  box-shadow: none;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 120ms var(--ease), background-color 120ms var(--ease);
}
.section-alt .card { background: var(--white); }
a.card:hover {
  border-color: var(--border);
  border-left-color: var(--blue);
  color: inherit;
  box-shadow: none;
  transform: none;
  background: var(--pale);
}
.card h2, .card h3, .card .h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .meta { margin-top: auto; padding-top: 8px; }

.page-list { list-style: none; margin: 0; padding: 0; }
.page-list li { border-top: 1px solid var(--border-subtle); }
.page-list a {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 0;
  text-decoration: none;
  color: var(--navy);
}
.page-list a:hover .list-title { color: var(--blue); }
.list-title { font-weight: 600; font-size: 17px; }
.list-desc { flex-basis: 100%; color: var(--muted); font-size: 14px; margin: 0; }

/* Tables — sticky header + first col, quiet zebra, professional scan */
.table-wrap {
  overflow-x: auto;
  margin: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  min-width: 0;
}
th, td {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
tbody tr:last-child td { border-bottom: 0; }
/* Quiet zebra — page wash on even rows, no marketing stripes */
tbody tr:nth-child(even) td {
  background: var(--page);
}
tbody tr:hover td {
  background: var(--pale);
}
th {
  position: sticky;
  top: 0;
  z-index: 2;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.01em;
  text-transform: none;
  background: var(--pale);
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
th:first-child,
td:first-child {
  width: 28%;
  min-width: 9rem;
  font-weight: 600;
  color: var(--navy);
}
/* Keep role labels + header corner visible while scanning wide grids */
@media (min-width: 720px) {
  th:first-child,
  td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--white);
    box-shadow: 1px 0 0 var(--border-subtle);
  }
  th:first-child {
    top: 0;
    z-index: 3;
    background: var(--pale);
    box-shadow: 1px 0 0 var(--border-subtle), 0 1px 0 var(--border);
  }
  tbody tr:nth-child(even) td:first-child {
    background: var(--page);
  }
  tbody tr:hover td:first-child {
    background: var(--pale);
  }
}
td.num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
caption {
  text-align: left;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.prose .table-wrap + p,
.prose .table-wrap + ul {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 32px;
}
.prose .table-wrap + ul li { color: var(--muted); }

.callout {
  background: var(--page);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
}
.callout p:last-child { margin-bottom: 0; }

.takeaways {
  /* Quiet gray In short — scan aid, not a banner */
  background: var(--subtle);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px 8px;
  margin: 8px 0 32px;
  box-shadow: none;
}
.takeaways-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
  margin: 0 0 12px;
}
.takeaways ul, .takeaways ol {
  margin: 0 0 14px;
  padding-left: 18px;
}
.takeaways li { margin: 0 0 10px; line-height: 1.55; }
.takeaways li:last-child { margin-bottom: 2px; }
.takeaways p:last-child { margin-bottom: 0; }

/* Decision choice cards — options JSON → scannable grid (renderer only) */
.choice-grid {
  display: grid;
  gap: 16px;
  margin: 8px 0 32px;
}
.choice-grid-2 { grid-template-columns: repeat(2, 1fr); }
.choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
.choice-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--blue);
  border-radius: 8px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}
.choice-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.choice-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--navy);
}

/* Decision claim — quiet accent, existing JSON claim text only */
.claim {
  background: var(--subtle);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 8px 0 32px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--navy);
}
.claim-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
  margin: 0 0 8px;
}

/* :::steps fence — numbered step / layer stacks (CSS-only, no images) */
.steps {
  margin: 8px 0 32px;
  padding: 4px 0 0;
}
.steps-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
  margin: 0 0 14px;
}
.steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: fd-step;
}
.steps ol > li {
  position: relative;
  counter-increment: fd-step;
  margin: 0 0 14px;
  padding: 14px 16px 14px 52px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--chip);
  border-radius: 8px;
  line-height: 1.55;
}
.steps ol > li:last-child { margin-bottom: 0; }
.steps ol > li::before {
  content: counter(fd-step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.steps h3, .steps h4 {
  margin: 0 0 8px;
  font-size: 16px;
}
.steps p { margin: 0 0 10px; }
.steps p:last-child { margin-bottom: 0; }

.highlight {
  background: transparent;
  border-left: 2px solid var(--blue);
  border-radius: 0;
  padding: 0 0 0 14px;
  margin: -4px 0 24px;
  color: var(--navy);
}
.highlight p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--navy);
}
.prose h2 + .highlight { margin-top: -8px; }
.disclaimer {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.article-close {
  margin: 56px 0 0;
  padding: 0;
  background: none;
  max-width: 40rem;
}
.empty {
  padding: 32px 0;
  color: var(--muted);
}

/* Forms / calculator */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.calc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px;
}
.hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
}
.field { margin: 0 0 20px; }
input[type="text"],
input[type="number"],
select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0 12px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
}
input:focus, select:focus {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  border-color: var(--blue);
}
.form-error { color: var(--error); font-size: 14px; margin: 0 0 16px; }
.result-dl { margin: 0; }
.result-dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.result-dl dt { color: var(--muted); font-weight: 500; }
.result-dl dd { margin: 0; font-weight: 600; text-align: right; }
.result-placeholder { color: var(--muted); }

/* Footer — quiet, light, independent credit */
.site-footer {
  background: var(--white);
  color: var(--muted);
  padding: 44px 0 36px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
}
.site-footer .wrap {
  display: block;
}
.footer-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.footer-pub {
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 36rem;
  font-size: 13px;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 16px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--blue); }
.footer-tiny {
  margin: 0;
  font-size: 12px;
}
.footer-tiny a {
  color: var(--gray);
  text-decoration: none;
}
.footer-tiny a:hover { color: var(--blue); }

.article-layout {
  display: block;
  max-width: var(--article);
  padding: 8px 0 80px;
}

.calc-mount { margin: 32px 0 8px; }
#eq-form {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 28px;
  max-width: 40rem;
}
.eq-lede { margin: 0 0 20px; color: var(--muted); }
.eq-form { max-width: 44rem; }
.eq-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.eq-field { margin: 0 0 20px; }
.eq-field:nth-child(odd):last-child { grid-column: 1 / -1; }
.eq-hint { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.4; }
.eq-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.eq-error { color: var(--error); font-size: 14px; margin: 0 0 16px; }
.eq-out {
  margin-top: 24px;
  background: var(--page);
  border-radius: 8px;
  padding: 24px;
}
.eq-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 8px;
}
.eq-summary-card {
  margin: 0;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
.eq-summary-card dt {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}
.eq-summary-card dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.eq-summary-card--good {
  border-color: rgba(0, 114, 186, 0.35);
  box-shadow: inset 3px 0 0 #0072BA;
}
.eq-summary-card--mid {
  border-color: rgba(1, 5, 42, 0.18);
  box-shadow: inset 3px 0 0 #929497;
}
.eq-summary-card--warn {
  border-color: rgba(1, 5, 42, 0.28);
  box-shadow: inset 3px 0 0 #01052A;
}
.eq-subhead {
  margin: 20px 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.eq-month-table { margin-top: 8px; max-height: 28rem; overflow: auto; }
.eq-row-warn th,
.eq-row-warn td { background: rgba(0, 114, 186, 0.06); }
.eq-dl { margin: 0; }
.eq-row {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.eq-dl dt { color: var(--muted); font-weight: 500; }
.eq-dl dd { margin: 0; font-weight: 500; }
.eq-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
@media (max-width: 700px) {
  .eq-fields { grid-template-columns: 1fr; }
  .eq-summary { grid-template-columns: 1fr; }
}

/* Stack wide article tables before they force horizontal scroll (~laptop / 1024) */
@media (max-width: 1100px) {
  .table-wrap {
    overflow-x: visible;
    border: 0;
    border-radius: 0;
  }
  .table-wrap th,
  .table-wrap td:first-child {
    position: static;
    box-shadow: none;
  }
  .table-wrap tbody tr:nth-child(even) td {
    background: transparent;
  }
  .table-wrap tbody tr:hover td {
    background: transparent;
  }
  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap th,
  .table-wrap td,
  .table-wrap tr {
    display: block;
    width: 100%;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .table-wrap tr {
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 12px;
    background: var(--white);
  }
  .table-wrap tbody tr:last-child { margin-bottom: 0; }
  .table-wrap td {
    border: 0;
    padding: 0;
    width: auto;
    min-width: 0;
  }
  .table-wrap td + td {
    margin-top: 8px;
    color: var(--navy);
  }
  .table-wrap td:first-child {
    font-weight: 600;
    color: var(--navy);
    width: auto;
    min-width: 0;
  }
  .table-wrap td.num { white-space: normal; }
}

@media (max-width: 900px) {
  .grid-3, .grid-2, .calc-layout,
  .choice-grid-2, .choice-grid-3 {
    grid-template-columns: 1fr;
  }
  .how-strip-list { grid-template-columns: 1fr; gap: 14px; }
  h1, .h1 { font-size: 30px; }
  h2, .h2 { font-size: 22px; }
  .page-hero { padding: 36px 0 28px; }
  .page-hero .article-width,
  .page-hero .wrap { padding-left: 18px; }
  .home-hero { padding: 48px 0 32px; }
  .home-hero .wrap { padding-left: 20px; }
  .home-hero h1 { max-width: none; }
  .related-section { padding: 32px 0 48px; }
  .related-section .page-list a { padding: 16px 16px; }
  .section { padding: 40px 0 56px; }
  .wrap, .article-width { width: min(var(--container), calc(100% - 40px)); }
}

@media (max-width: 560px) {
  .nav-links a { padding: 8px; font-size: 13px; }
  .brand-wordmark { font-size: 16px; }
  .eq-row { grid-template-columns: 1fr; gap: 4px; }
  th, td { padding: 12px 14px; }
  body { font-size: 16px; }
}
