:root {
  color-scheme: light;
  color: #18251f;
  background: #f8faf8;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  --muted: #455a50;
  --line: #c9d7cd;
  --accent: #125039;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main, .site-header > div, footer { width: min(70rem, calc(100% - 2rem)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header > div { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem 1.5rem; flex-wrap: wrap; padding-block: .85rem; }
.brand { font-weight: 750; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
nav a[aria-current] { font-weight: 750; }
a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
main { padding-block: 2.5rem 1rem; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .7em; }
h1 { font-size: clamp(1.85rem, 6vw, 2.9rem); max-width: 25ch; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.1rem; }
p, ul { margin: 0 0 1em; }
section { margin-block: 1.8rem; }
.answers { padding-inline-start: 1.25rem; max-width: 75ch; }
.answers li + li { margin-top: .35rem; }
.verified, .note, small { font-size: .88rem; color: var(--muted); }
.notice { border-inline-start: 3px solid var(--accent); padding-inline-start: .75rem; }
.panel, .home-tools article { border: 1px solid var(--line); border-radius: .5rem; background: #fff; padding: clamp(.85rem, 3vw, 1.35rem); }
.fields, .home-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .85rem 1.2rem; }
.home-tools article p { margin-bottom: 0; }
label { display: grid; align-content: start; min-width: 0; gap: .3rem; font-weight: 650; }
input, select, button { font: inherit; }
input:not([type=checkbox]), select { min-height: 2.6rem; min-width: 0; width: 100%; padding: .35rem .5rem; border: 1px solid #839789; border-radius: .3rem; background: #fff; color: inherit; }
.checks { display: grid; gap: .45rem; align-content: end; }
.check { display: flex; align-items: center; font-weight: 500; }
input[type=checkbox] { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
details { margin-top: .9rem; }
details > :not(summary) { margin-top: .65rem; }
summary { cursor: pointer; color: var(--accent); font-weight: 650; }
button { padding: .45rem .8rem; border-radius: .3rem; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #187a55; outline-offset: 3px; }
[role=status]:not(:empty) { margin-top: .65rem; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; margin-bottom: .8rem; }
caption { text-align: start; padding: 0 0 .6rem; }
caption span { display: block; color: var(--muted); font-size: .86rem; }
th, td { border: 1px solid var(--line); padding: .65rem; overflow-wrap: anywhere; text-align: start; vertical-align: top; }
thead th { background: #eaf2ec; }
tbody th { font-weight: 600; }
table td small, table th small, table th span, table th a { display: block; }
.link-note { color: #304f42; font-weight: 600; }
.charges, .charges dd { margin: 0; }
.charges > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .25rem; border-bottom: 1px solid #e5ece6; padding-block: .17rem; }
.charges dd { font-variant-numeric: tabular-nums; }
.charges dt { color: var(--muted); font-size: .85rem; }
.result-summary { max-width: 72ch; }
.sources { padding-left: 1.2rem; }
.subscribe-row { display: grid; grid-template-columns: minmax(0, 24rem) auto; gap: .55rem; align-items: end; justify-content: start; }
footer { padding: 1rem 0 2rem; border-top: 1px solid var(--line); color: var(--muted); }
.skip { position: absolute; top: 0; left: 1rem; transform: translateY(-150%); background: white; padding: .5rem; }
.skip:focus { transform: none; }

@media (max-width: 46rem) {
  table, caption, tbody, tbody tr, tbody th { display: block; }
  thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  table { background: transparent; }
  tbody tr { background: #fff; border: 1px solid var(--line); border-radius: .35rem; margin-bottom: .65rem; }
  tbody th, tbody td { border: 0; }
  tbody th { background: #eaf2ec; border-radius: .3rem .3rem 0 0; }
  tbody td { display: grid; grid-template-columns: minmax(0, 1fr); gap: .12rem; }
  tbody td::before { content: attr(data-label); font-size: .8rem; color: var(--muted); font-weight: 700; }
  tbody td > small, tbody td > strong > small { margin: 0; }
}

@media (max-width: 28rem) {
  .subscribe-row { grid-template-columns: minmax(0, 1fr); }
}
