/* Local Report Desk. One stylesheet for every page.
   Identity: a treasurer's ledger. Warm paper, navy ink, one brick red kept for fee figures.
   Fonts are self-hosted, so the site makes no third-party requests. No scripts anywhere. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/newsreader.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/public-sans.woff2") format("woff2");
}

:root {
  --paper: #f4f2ec;
  --card: #fffefa;
  --ink: #172033;
  --muted: #4b5466;
  --rule: #d3cdbf;
  --rule-soft: #e5e0d4;
  --accent: #1e3a66;
  --accent-deep: #132a4d;
  --band: #e6eaf1;
  --tint: #eef1f6;
  --fee: #a3341f;
  --fee-tint: #f8ebe6;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1160px;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-wrap: break-word;
}
@media (min-width: 960px) { body { font-size: 1.125rem; } }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
svg { display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Type */
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.8vw, 3.7rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.16rem; line-height: 1.32; font-weight: 700; }
h4 { font-size: 1.02rem; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
p + p { margin-top: 0.9em; }
strong { font-weight: 700; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.nowrap { white-space: nowrap; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.fee { color: var(--fee); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Header: full nav on wide screens, a native details menu on narrow ones (no script). */
.site-header { background: var(--card); border-bottom: 1px solid var(--rule); position: relative; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.36rem; line-height: 1; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 26px; }
.site-nav a { display: inline-block; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 4px; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 16px; height: 16px; }
.menu[open] summary { background: var(--ink); color: #fff; }
.menu-panel { padding: 8px var(--gutter) 18px; border-top: 1px solid var(--rule); background: var(--card); }
.menu-panel ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); display: grid; }
@media (min-width: 560px) { .menu-panel ul { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.menu-panel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; font-weight: 600; }
.menu-panel a:hover { color: var(--accent); }
.menu-panel .btn { margin-top: 14px; width: 100%; color: #fff; border-bottom: 2px solid var(--accent); }
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .menu { display: block; }
  .menu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; box-shadow: 0 18px 30px -20px rgba(20, 25, 40, 0.45); }
  .menu:not([open]) .menu-panel { display: none; }
}
@media (max-width: 599px) {
  .brand { font-size: 1.16rem; gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  .header-tools .header-cta { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 4px; border: 2px solid var(--accent); background: var(--accent); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.25; text-decoration: none; text-align: center; }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--tint); color: var(--accent-deep); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions.flush { margin-top: 16px; }
@media (max-width: 479px) { .actions .btn { width: 100%; } }
.fine { margin-top: 14px; color: var(--muted); font-size: 0.93rem; }

/* Sections */
.section { padding-block: 64px; }
@media (min-width: 960px) { .section { padding-block: 88px; } }
.section-alt { background: var(--card); border-block: 1px solid var(--rule-soft); }
.label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.intro { margin-top: 16px; max-width: 760px; color: var(--muted); font-size: 1.06em; }
.subhead { margin-top: 56px; font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.cite { margin-top: 10px; font-size: 0.86rem; color: var(--muted); }
.cite a { color: var(--muted); }
.cite a:hover { color: var(--accent); }

/* Hero */
.hero { padding-block: 56px 64px; }
@media (min-width: 960px) { .hero { padding-block: 80px 88px; } }
.hero-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 64px; } }
.eyebrow { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.lede { margin-top: 22px; font-size: 1.12em; max-width: 620px; }
.lede + .lede { margin-top: 14px; }

/* Fee ladder card */
.ledger-card { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 22px 40px -32px rgba(20, 25, 40, 0.5); overflow: hidden; }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 22px; background: var(--ink); color: #fff; }
.ledger-head h2 { color: #fff; font-family: var(--body); font-size: 0.84rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.ledger-head span { font-family: var(--mono); font-size: 0.8rem; color: #c9d1e0; }
.ladder { padding: 22px 22px 8px; }
.ladder svg { width: 100%; height: auto; }
.rates { list-style: none; margin: 0; padding: 4px 22px 4px; }
.rates li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--rule); font-size: 0.97rem; }
.rates li:last-child { border-bottom: 0; }
.rates .v { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.ledger-total { margin: 8px 22px 0; padding: 14px 16px; background: var(--fee-tint); border-left: 4px solid var(--fee); }
.ledger-total p { font-size: 0.98rem; }
.ledger-total strong { color: var(--fee); font-family: var(--mono); }
.ledger-foot { padding: 14px 22px 18px; font-size: 0.84rem; color: var(--muted); }
.ledger-foot a { color: var(--muted); }

/* Proof band */
.proof { background: var(--accent); color: #fff; padding-block: 48px; }
.proof h2 { color: #fff; font-family: var(--body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.proof-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 640px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof-grid li { border-top: 2px solid rgba(255, 255, 255, 0.35); padding-top: 14px; }
.proof-num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.7rem); line-height: 1.05; }
.proof-grid p { margin-top: 8px; color: #dfe5ef; font-size: 0.98rem; }
.proof-foot { margin-top: 24px; font-size: 0.86rem; color: #c9d1e0; }
.proof-foot a { color: #fff; }

/* Cards and grids */
.offer-grid { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offer { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--accent); border-radius: 4px; padding: 24px; display: flex; flex-direction: column; }
.section-alt .offer { background: var(--paper); }
.offer .tag { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.offer h3 { margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: 1.45rem; }
.offer .price { margin-top: 10px; font-family: var(--mono); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.offer p.desc { margin-top: 12px; }
.offer ul { margin: 14px 0 0; padding-left: 1.1em; }
.offer li + li { margin-top: 6px; }
.offer .more { margin-top: auto; padding-top: 18px; }

.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps > li { position: relative; padding: 24px; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; counter-increment: step; }
.section-alt .steps > li { background: var(--paper); }
.steps > li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps p { margin-top: 8px; }

.two-col { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 24px; }
.section-alt .panel { background: var(--paper); }
.panel h3 + p, .panel h3 + ul { margin-top: 10px; }
.panel ul { margin: 0; padding-left: 1.15em; }
.panel li + li { margin-top: 8px; }
.panel-accent { border-left: 4px solid var(--accent); }
.panel-fee { border-left: 4px solid var(--fee); }

.cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 24px; }
.card .meta { font-size: 0.85rem; color: var(--muted); }
.card h3 { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); text-decoration: underline; }
.card p { margin-top: 10px; }

/* Tables */
.table-wrap { margin-top: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.ledger { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--rule); font-size: 0.97rem; }
table.ledger caption { text-align: left; font-weight: 700; padding: 0 0 10px; }
table.ledger caption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
table.ledger th, table.ledger td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
table.ledger thead th { background: var(--band); font-size: 0.86rem; letter-spacing: 0.02em; }
table.ledger tbody tr:nth-child(even) { background: var(--tint); }
table.ledger .r { text-align: right; font-family: var(--mono); white-space: nowrap; }
table.ledger tfoot td, table.ledger tfoot th { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }

/* Sample statement */
.sample-banner { background: var(--ink); color: #fff; padding-block: 10px; font-size: 0.95rem; }
.sample-banner .wrap { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.sample-banner b { font-family: var(--mono); background: #fff; color: var(--ink); padding: 1px 8px; border-radius: 2px; font-size: 0.82rem; letter-spacing: 0.08em; }
.statement { margin-top: 32px; background: var(--card); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 24px 44px -36px rgba(20, 25, 40, 0.55); }
.statement-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 24px 18px; border-bottom: 2px solid var(--ink); }
.statement-head .kicker { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.statement-head h3 { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.statement-head p { margin-top: 6px; color: var(--muted); font-size: 0.93rem; }
.stamp { align-self: flex-start; border: 2px solid var(--ink); padding: 6px 12px; transform: rotate(-3deg); font-family: var(--mono); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-align: center; line-height: 1.3; }
.statement-body { padding: 8px 24px 24px; }
.statement-body h4 { margin-top: 22px; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.statement-body .table-wrap { margin-top: 12px; }
.statement-total { margin-top: 18px; display: grid; gap: 4px 20px; align-items: baseline; padding: 16px; background: var(--fee-tint); border-left: 4px solid var(--fee); }
@media (min-width: 640px) { .statement-total { grid-template-columns: auto 1fr; } }
.statement-total .big { font-family: var(--mono); font-weight: 700; font-size: 1.8rem; color: var(--fee); line-height: 1.1; }
.statement-body p, .statement-body ul { margin-top: 10px; }
.statement-body ul { padding-left: 1.15em; }

/* Articles */
.article-head { padding-block: 56px 8px; }
.article-head .meta { margin-top: 14px; color: var(--muted); font-size: 0.93rem; }
.article { padding-block: 24px 72px; }
.article h2 { margin-top: 44px; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); }
.article h3 { margin-top: 28px; }
.article p, .article ul, .article ol { margin-top: 14px; }
.article ul, .article ol { padding-left: 1.2em; }
.article li + li { margin-top: 8px; }
.article .callout { margin-top: 28px; padding: 18px 20px; background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: 4px; }
.article .callout.fee-note { border-left-color: var(--fee); }
.article .sources { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.93rem; }
.article .sources h2 { margin-top: 0; font-family: var(--body); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; line-height: 1; transition: transform 0.15s; font-size: 1.5rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; max-width: 780px; }
.faq details > div p + p { margin-top: 10px; }

/* Closing and footer */
.closing { background: var(--ink); color: #fff; padding-block: 64px; }
.closing h2 { color: #fff; }
.closing .label { color: #b9c6dd; }
.closing p { color: #dbe1ec; }
.closing-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .closing-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 56px; align-items: end; } }
.closing .btn { background: #fff; color: var(--ink); border-color: #fff; }
.closing .btn:hover { background: var(--band); border-color: var(--band); }
.closing .btn-ghost { background: transparent; color: #fff; }
.closing .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.email-big { display: inline-block; margin-top: 8px; color: #fff; font-family: var(--mono); font-size: 1.05rem; word-break: break-all; }
.email-big:hover { color: #fff; }

.site-footer { background: var(--card); border-top: 1px solid var(--rule); padding-block: 44px 28px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } }
.site-footer h2 { font-family: var(--body); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li + li { margin-top: 6px; }
.footer-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rule-soft); color: var(--muted); font-size: 0.88rem; }
.footer-base p + p { margin-top: 6px; }
address { font-style: normal; }
.panel .next { margin-top: 24px; }
.panel .next + ul { margin-top: 10px; }
.article-head + .section { padding-top: 32px; }
@media (min-width: 960px) { .article-head + .section { padding-top: 40px; } }

/* Narrow screens: the sample statement table becomes one card per report. */
@media (max-width: 599px) {
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 12px 14px; border-bottom: 1px solid var(--rule-soft); }
  table.stack th, table.stack td { padding: 2px 0; border: 0; text-align: left; }
  table.stack th { margin-bottom: 4px; }
  table.stack td { display: flex; justify-content: space-between; gap: 12px; }
  table.stack td::before { content: attr(data-label); font-family: var(--body); color: var(--muted); }
  .stamp { display: none; }
}
