:root {
  color-scheme: light;
  --ink: #152b24;
  --secondary: #41574e;
  --green: #22664b;
  --paper: #fafbf8;
  --rule: #c8d5cc;
  --mint: #d8f396;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  font: 100%/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body, h1, h2, h3, h4, p, dl, dd { margin: 0; }
body { min-width: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--green); }
a:focus-visible, summary:focus-visible, pre:focus-visible, input:focus-visible, select:focus-visible {
  outline: .2rem solid #207657;
  outline-offset: .2rem;
}
.frame { width: min(74rem, calc(100% - 2.5rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .55rem 1rem; background: white; }
.skip:not(:focus) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner, .masthead nav, .brand, .footer-inner { display: flex; align-items: center; }
.masthead-inner, .footer-inner { justify-content: space-between; gap: 1rem; }
.masthead-inner { min-height: 4.4rem; }
.masthead nav { gap: clamp(.9rem, 4vw, 2.7rem); }
.masthead a { text-decoration: none; }
.masthead nav a, .footer-inner a { font-size: .9375rem; }
.masthead nav a:hover { text-decoration: underline; }
.brand { gap: .6rem; font-size: 1.15rem; font-weight: 720; letter-spacing: -.035em; }
.ledger-mark {
  display: inline-block;
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  border: .14rem solid var(--ink);
  background: linear-gradient(90deg, transparent 28%, var(--ink) 28% 40%, transparent 40%),
              repeating-linear-gradient(0deg, transparent 0 27%, var(--ink) 27% 37%);
  transform: rotate(-5deg);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(2.7rem, 5vw, 4.8rem);
}
h1 {
  max-width: 12ch;
  font-size: clamp(3.8rem, 7.7vw, 7rem);
  line-height: .97;
  font-weight: 610;
  letter-spacing: -.075em;
}
h1 em {
  color: var(--green);
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.075em;
}
.intro-copy > p {
  max-width: 38rem;
  margin-top: 1.35rem;
  font-size: clamp(1.05rem, 1.55vw, 1.27rem);
  line-height: 1.5;
  color: var(--secondary);
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.5rem; margin-top: 1.7rem; }
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: .6rem 1.1rem;
  background: var(--ink);
  color: white;
  font-weight: 650;
  border: 1px solid var(--ink);
  border-radius: .2rem;
  text-decoration: none;
}
.cta:hover { color: var(--ink); background: var(--mint); }
.inline-link, .file-link, .resource-links a { font-weight: 620; }
.folio-title > span, .event-head time, .sheet thead {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.folio-title > span { font-size: .875rem; }
.event-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }

.volume-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .9fr);
  align-items: start;
  gap: 1.4rem clamp(2rem, 6vw, 6rem);
  border-top: 1px solid var(--rule);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  scroll-margin-top: 1rem;
}
.volume-pricing p { max-width: 36rem; margin: .85rem 0; color: var(--secondary); }
.volume-pricing strong { color: var(--ink); }
.volume-pricing .file-link { display: inline-block; margin-block-start: .9rem; }
.range-panel { border: 1px solid var(--rule); border-radius: .45rem; overflow: hidden; background: white; }
.volume-pricing table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.volume-pricing th, .volume-pricing td { padding: .67rem clamp(.75rem, 2.1vw, 1.4rem); text-align: left; }
.volume-pricing thead { background: #edf3ed; }
.volume-pricing thead th { color: var(--secondary); font-size: .8875rem; }
.volume-pricing thead span { white-space: nowrap; }
.volume-pricing tbody tr { border-bottom: 1px solid var(--rule); }
.volume-pricing tbody th { font-weight: 500; }
.volume-pricing th:last-child, .volume-pricing td { text-align: right; }
.volume-pricing td { white-space: nowrap; color: var(--green); font-weight: 650; }
.range-panel #range-notes { margin: 0; padding: .8rem clamp(.75rem, 2.1vw, 1.4rem); font-size: .875rem; }
.price-calculator { border-left: .2rem solid var(--green); padding: .1rem 0 .15rem 1rem; margin-top: 1.55rem; }
.intro-copy > .intro-scope { margin-top: .8rem; font-size: 1rem; }
.quick-card { padding: clamp(1.3rem, 3vw, 2.15rem); color: #f6fbf4; background: var(--ink); border-top: .32rem solid #b8dca4; border-radius: .3rem; scroll-margin-top: 1rem; }
.quick-card .quick-label { color: #c2e5b2; margin: 0 0 .5rem; font: 600 .94rem/1.35 var(--mono); }
.quick-card h2 { color: white; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; }
.quick-card > p { margin-top: .85rem; line-height: 1.47; }
.quick-offer { display: flex; gap: .25rem .65rem; flex-wrap: wrap; align-items: baseline; border-top: 1px solid #698777; padding-top: .85rem; margin-top: 1.1rem; }
.quick-offer strong { font-family: var(--mono); font-size: 1.35rem; color: #d6f3b9; }
.quick-offer span { color: #d8e7db; font-size: .92rem; }
.quick-card .cta { margin-top: 1rem; background: #d6f3b9; color: #142c22; border-color: #d6f3b9; }
.quick-card .cta:hover, .quick-card .cta:focus-visible { background: white; }
.price-calculator label { display: block; color: var(--secondary); font-size: .92rem; font-weight: 650; }
.method-picker { margin: 0; padding: 0; border: 0; min-width: 0; }
.method-picker legend { padding: 0; margin: 0 0 .5rem; font-weight: 650; }
.method-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.method-choices label { display: flex; gap: .55rem; align-items: baseline; padding: .65rem .7rem; background: white; border: 1px solid #9aad9f; border-radius: .35rem; color: var(--ink); cursor: pointer; }
.method-choices label:has(:checked) { background: #edf4ed; border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.method-choices label:has(:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.method-choices input { accent-color: var(--green); width: 1rem; height: 1rem; margin: 0; flex: none; align-self: flex-start; margin-top: .2rem; }
.method-choices small { display: block; font-size: .875rem; font-weight: 400; line-height: 1.3; color: var(--secondary); }
.volume-pricing #method-note { font-size: .975rem; line-height: 1.4; margin: .8rem 0 1.1rem; }
.comparison-rates h3 { margin: 0; padding: .8rem 1.25rem; background: #edf3ed; font-size: 1.1rem; }
.comparison-rates dl { margin: 0; }
.comparison-rates dl div { display: flex; justify-content: space-between; gap: .75rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--rule); }
.comparison-rates dd { margin: 0; text-align: right; font-weight: 650; color: var(--green); }
.volume-pricing .comparison-rates p { margin: 0; padding: .85rem 1.25rem; font-size: .925rem; }
.estimate-fields { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.15rem; margin-top: .5rem; }
.estimate-fields label { margin-bottom: .25rem; }
.estimate-fields select { appearance: none; font: inherit; max-width: 100%; min-height: 2.55rem; color: var(--ink); background: white; border: 1px solid #889c91; border-radius: .25rem; padding: .4rem 2rem .4rem .6rem; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: right .93rem center, right .61rem center; background-size: .34rem .34rem; background-repeat: no-repeat; }
.estimate-result { flex-basis: 100%; }
.filing-example { max-width: 44rem; margin-top: 2rem; }
.filing-example p { margin: .55rem 0; }
.fill-entry { display: flex; align-items: center; gap: .35rem; }
.fill-entry input { width: 6.1rem; padding: .45rem .55rem; border: 1px solid #889c91; border-radius: .25rem; color: var(--ink); background: white; font: inherit; font-variant-numeric: tabular-nums; }
.fill-entry span, .estimate-fields small { color: var(--secondary); font-size: .875rem; }
.estimate-fields output { display: block; font-size: 1.27rem; font-weight: 670; color: var(--green); font-variant-numeric: tabular-nums; }
.estimate-fields small { display: block; }
.volume-pricing [hidden] { display: none; }
.estimate-result { margin-top: .4rem; padding-top: .7rem; border-top: 1px solid var(--rule); }
.quote-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.15rem; margin-top: .8rem; }
.quote-actions .file-link { margin: 0; align-self: center; }
.quote-actions .cta { cursor: pointer; font: inherit; font-weight: 650; }
button:focus-visible { outline: .2rem solid #207657; outline-offset: .2rem; }
.integration h3 { margin-top: 1.5rem; }
.integration h3[id] { scroll-margin-top: 1.2rem; }
.folio .filing-example { margin: 0; padding: 1.4rem clamp(1.15rem, 3.2vw, 2.6rem); }

.pilot-page { padding-block: clamp(2.4rem, 6vw, 5.5rem) 3rem; }
.pilot-page h1 { max-width: 14ch; }
.pilot-year-note { max-width: 43rem; color: var(--secondary); margin-top: .65rem; }
.pilot-grid > section { min-width: 0; }
.pilot-intro { margin-top: 1.2rem; max-width: 43rem; font-size: 1.18rem; color: var(--secondary); }
.pilot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 5vw, 4rem); margin-top: 2.6rem; }
.pilot-grid section { border-top: 1px solid var(--rule); padding-block: 1.4rem; }
.mcp-guide .pilot-grid h3 { margin-top: 1.15rem; }
.mcp-guide blockquote { margin: .8rem 0 .5rem; padding: .6rem 1rem; border-inline-start: 3px solid var(--green); }
.mcp-guide button[data-copy] { margin: 0 0 .6rem; padding: .35rem .7rem; color: var(--green); border: 1px solid var(--rule); border-radius: .35rem; background: white; font: inherit; cursor: pointer; }
.setup-shortcuts { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1rem; }
.setup-options { gap: 1.2rem; }
.setup-options > section { padding: clamp(1rem, 2.2vw, 1.7rem); border: 1px solid var(--rule); border-radius: .65rem; background: white; scroll-margin-top: 1rem; }
.setup-steps { padding-left: 1.35rem; margin: 1rem 0; }
.setup-steps li { margin-top: .65rem; padding-left: .2rem; }
.setup-steps li::marker { color: var(--green); font-weight: 650; }
.setup-steps pre { margin-top: .45rem; }
.example-result { margin-top: 1rem; }
.pilot-grid h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); }
.pilot-grid p { margin-top: .8rem; color: var(--secondary); }
.pilot-checks { padding: 0; margin: 1rem 0 0; border: none; }
.pilot-checks label { display: flex; align-items: baseline; gap: .65rem; padding: .65rem 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.pilot-checks input { flex: none; width: 1.1rem; height: 1.1rem; accent-color: var(--green); }
.evidence-actions { margin: 1.25rem 0; }
.evidence-actions h3 { margin-bottom: .45rem; }
.evidence-actions details { padding: .42rem 0; }
.evidence-actions summary { color: var(--green); cursor: pointer; }
.screen-reader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pilot-fields { display: flex; gap: .8rem; flex-wrap: wrap; margin-block: 1.2rem; }
.pilot-fields label { display: grid; gap: .3rem; color: var(--secondary); font-weight: 600; flex: 1 1 9rem; min-width: 0; }
.pilot-fields input, .pilot-fields select { font: inherit; color: var(--ink); background-color: #fff; padding: .6rem .65rem; border: 1px solid #889c91; border-radius: .25rem; width: 100%; min-height: 2.75rem; box-sizing: border-box; }
.pilot-fields select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: right 1rem center, right .68rem center; background-size: .34rem .34rem; background-repeat: no-repeat; }
.pilot-foot { border-top: 1px solid var(--rule); padding-top: 1.15rem; margin-top: 1.2rem; }
#draft-tools label, #draft-tools textarea { display: block; }
#draft-tools textarea { width: 100%; box-sizing: border-box; padding: .55rem; font: .9rem/1.45 var(--mono); color: var(--ink); border: 1px solid var(--rule); border-radius: .25rem; }
#copy-draft { margin-top: .35rem; border: 0; background: transparent; color: var(--green); text-decoration: underline; font: inherit; cursor: pointer; }
@media (max-width: 42rem) {
  .pilot-grid { grid-template-columns: 1fr; gap: .5rem; margin-top: 1.6rem; }
  .masthead-inner { flex-wrap: wrap; padding-block: .7rem; row-gap: .4rem; }
  .masthead nav { flex-wrap: wrap; gap: .5rem 1rem; }
}

.folio { border: 1px solid var(--rule); background: #fff; scroll-margin-top: 1rem; }
.folio-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem 1rem;
  padding: 1.2rem clamp(1.15rem, 3.2vw, 2.6rem);
  border-bottom: 1px solid var(--rule);
  background: #edf3ed;
}
h2 { font-size: clamp(1.55rem, 3vw, 2.55rem); line-height: 1.15; font-weight: 640; letter-spacing: -.057em; }
.folio-title > span { color: var(--green); }
.spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sheet { min-width: 0; display: flex; flex-direction: column; padding: clamp(1.2rem, 3.3vw, 2.7rem); }
.sheet + .sheet { border-left: 1px solid var(--rule); }
.sheet h3 { margin-bottom: 1.1rem; font-size: 1.3rem; letter-spacing: -.035em; line-height: 1.2; }
.event { padding: .7rem 0; border-top: 1px solid var(--rule); }
.event-head h4 { font-size: 1rem; font-weight: 640; }
.event-head time { color: var(--secondary); font-size: .875rem; text-align: right; }
.event p { margin-top: .15rem; color: var(--secondary); }
.event strong { font-weight: 650; color: var(--ink); }
.sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { text-align: left; }
.sheet thead th { padding: .15rem 0 .45rem; font-size: .8125rem; font-weight: 500; color: var(--secondary); }
.sheet tbody tr { border-top: 1px solid var(--rule); }
.sheet tbody th, .sheet td { padding: .45rem 0; font-size: 1rem; }
.sheet tbody th { font-weight: 500; }
.sheet thead th:last-child, .sheet td { text-align: right; }
.sheet td { font-family: var(--mono); }
.sheet .gain { background: #eef7d9; color: var(--ink); }
.sheet .gain th { padding-inline-start: .5rem; }
.sheet .gain td { padding-inline-end: .5rem; font-weight: bold; }
.sheet-note { margin-top: .8rem; color: var(--secondary); font-size: .9rem; line-height: 1.5; }
details { margin: 1rem 0 .75rem; border-top: 1px solid var(--rule); }
summary { padding-block: .55rem; color: var(--secondary); font-size: .94rem; cursor: pointer; }
summary:hover { color: var(--green); }
summary::marker { color: var(--green); }
pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 .3rem;
  padding: .85rem;
  color: #e4f2df;
  background: var(--ink);
  font: .875rem/1.55 var(--mono);
  tab-size: 2;
}
pre code { font: inherit; }
.file-link { align-self: flex-start; margin-top: auto; color: var(--green); }
.integration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .45fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding-block: clamp(2.8rem, 6vw, 5rem);
  scroll-margin-top: 1rem;
}
.integration p { max-width: 38rem; margin-top: .85rem; color: var(--secondary); }
.resource-links { display: grid; }
.resource-links a { padding: .9rem 0; border-top: 1px solid var(--rule); color: var(--green); }
.resource-links a:last-child { border-bottom: 1px solid var(--rule); }
footer { border-top: 1px solid var(--rule); }
.footer-inner { padding-block: 1.2rem; color: var(--secondary); }
.footer-inner span { font-weight: 640; }

@media (max-width: 44rem) {
  .intro, .integration, .spread, .volume-pricing { grid-template-columns: minmax(0, 1fr); }
  .intro, .integration { gap: 1.8rem; }
  .intro { padding-top: 2.7rem; }
  h1 { font-size: clamp(3.2rem, 12.5vw, 5.4rem); }
  .sheet + .sheet { border: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 24rem) {
  .masthead-inner { flex-wrap: wrap; gap: .25rem 1rem; padding-block: .6rem; }
  .frame { width: calc(100% - 1.8rem); }
  .brand { font-size: 1rem; gap: .36rem; }
  .ledger-mark { width: 1.18rem; height: 1.18rem; }
  .masthead nav { gap: .75rem; }
  .masthead nav a { font-size: .875rem; }
}

.coverage-page { padding-block: clamp(2rem,5vw,4.5rem); }
.coverage-page h1 { font-size: clamp(2.6rem,6vw,5.6rem); max-width: 16ch; }
.coverage-page .pilot-intro { max-width: 65ch; }
.coverage-filter { margin: 2rem 0 1.25rem; padding: clamp(1rem,2.5vw,1.6rem); background: #edf3ed; border-radius: .4rem; }
.coverage-filter fieldset { padding: 0; margin: 0; border: none; min-width: 0; }
.coverage-filter legend { font-size: 1.3rem; font-weight: 650; padding: 0; }
.coverage-filter .pilot-fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); }
.coverage-filter .actions { margin-top: 1rem; }
.coverage-count, .source-card header { display: flex; align-items: center; gap: 1rem; }
.coverage-count { justify-content: space-between; border-bottom: 1px solid var(--rule); padding-block: .5rem; }
.source-group { margin-block: 2.3rem; }
.source-group h2, .coverage-foot h2 { font-size: clamp(1.5rem,3vw,2.1rem); }
.source-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,20rem),1fr)); gap: .9rem; margin-top: .85rem; }
.source-card { padding: 1.1rem; border: 1px solid var(--rule); border-radius: .4rem; background: white; }
.source-card header img { object-fit: contain; flex: none; }
.source-card h3 { margin: 0; font-size: 1.25rem; }
.source-card small { color: var(--secondary); }
.source-case { margin-top: 1rem; }
.source-case strong { font-size: .93rem; color: var(--green); }
.source-case p, .source-card details p { margin: .2rem 0 .7rem; line-height: 1.45; }
.source-card details { border-top: 1px solid var(--rule); margin-top: .8rem; padding-top: .7rem; }
.source-card summary { cursor: pointer; color: var(--green); font-weight: 600; }
.source-card details p { margin-top: .5rem; }
.coverage-foot { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.5rem; }
.coverage-foot p { max-width: 56ch; }
