/* Billcheck: warm paper, deep ink, one highlighter. */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/newsreader.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(/fonts/newsreader-italic.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/figtree.woff2) format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plexmono-400.woff2) format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plexmono-500.woff2) format('woff2'); }

:root {
  --paper: #f7f3ea;
  --paper-2: #efe8d9;
  --sheet: #fffdf8;
  --ink: #16243a;
  --ink-2: #3a475b;
  --ink-3: #5a6376;
  --rule: #ddd4c2;
  --rule-2: #c9bea8;
  --hl: #ffe14d;
  --hl-2: #fff1a6;
  --err: #9b3b2a;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 10px;
  --wrap: 1120px;
  --shadow: 0 1px 0 rgba(22, 36, 58, .04), 0 10px 30px -12px rgba(22, 36, 58, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--hl); text-decoration-thickness: 3px; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--hl); color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 7.2vw, 74px); letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 4.6vw, 46px); }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.num, .money { font-variant-numeric: tabular-nums lining-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 9; }
.skip:focus { top: 12px; }

/* The highlighter: a marker stroke behind words, a little uneven, as if drawn by hand. */
.hl { background: linear-gradient(100deg, transparent .2em, var(--hl) .2em, var(--hl) calc(100% - .25em), transparent calc(100% - .1em)) no-repeat 0 62% / 100% 58%; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 .12em; margin: 0 -.06em; }
em.hl { font-style: italic; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 23px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 30px; flex: none; }
.nav nav { display: flex; align-items: center; gap: 6px; }
.nav nav a:not(.btn) { display: none; padding: 10px 12px; font-size: 15.5px; text-decoration: none; border-radius: 8px; }
.nav nav a:not(.btn):hover { background: var(--paper-2); }
@media (min-width: 820px) { .nav nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: 600 16.5px/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 18px -8px rgba(22,36,58,.6); }
.btn:hover { text-decoration: none; transform: translateY(-1px); background: #0f1b2d; }
.btn:active { transform: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--sheet); }
.btn.hl-btn { background: var(--hl); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 6px 18px -10px rgba(22,36,58,.5); }
.btn.hl-btn:hover { background: #ffd923; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--rule-2); background: var(--sheet); color: var(--ink); font: 600 14.5px/1 var(--sans); cursor: pointer; }
.tool:hover { background: var(--paper); border-color: var(--ink-3); }
.tool svg { width: 17px; height: 17px; }

/* ---------- hero ---------- */
.hero { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 56px; align-items: center; }
@media (min-width: 960px) { .hero { grid-template-columns: 1.02fr 1fr; gap: 56px; padding-top: 40px; padding-bottom: 88px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 18px; height: 8px; background: var(--hl); border-radius: 2px; transform: skewX(-12deg); }
.lede { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.55; color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.promise { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.promise li { display: inline-flex; align-items: center; gap: 8px; }
.promise svg { width: 16px; height: 16px; flex: none; }
.billart { position: relative; }
.billart svg { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(22, 36, 58, .16)); }
.billart figcaption { font: italic 15px/1.4 var(--serif); color: var(--ink-3); margin-top: 10px; text-align: center; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section.tint { background: var(--paper-2); }
.section .intro { max-width: 40em; margin-bottom: 40px; }
.section .intro p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; display: block; }

/* What the scan checks: a ledger */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); counter-reset: l; display: grid; }
@media (min-width: 820px) { .ledger { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.ledger li { display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); counter-increment: l; }
.ledger li::before { content: counter(l, decimal-leading-zero); font: 500 13px/1.9 var(--mono); color: var(--ink-3); }
.ledger b { font-weight: 600; font-size: 17px; }
.ledger span { grid-column: 2; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }

/* Steps */
.steps { display: grid; gap: 18px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 26px 24px 28px; counter-increment: s; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); font: 500 19px/1 var(--serif); margin-bottom: 18px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.steps .tag { display: inline-block; margin-top: 14px; font: 600 13px/1 var(--sans); padding: 7px 10px; border-radius: 6px; background: var(--paper-2); }
.steps li:nth-child(3) .tag { background: var(--hl); }

/* ---------- upload form ---------- */
.checkcard { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow); padding: 24px 20px; max-width: 720px; margin: 0 auto; }
@media (min-width: 720px) { .checkcard { padding: 40px 44px; } }
.checkcard h2 { font-size: clamp(30px, 4vw, 40px); }
.checkcard > p { color: var(--ink-2); margin-top: 10px; }
.field { margin-top: 22px; }
.field > label, .legend { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.hint { color: var(--ink-3); font-size: 14.5px; margin-top: 6px; }
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; min-height: 168px; padding: 26px 18px; border: 1.5px dashed var(--rule-2); border-radius: 14px; background: var(--sheet); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop:hover, .drop.over { border-color: var(--ink); background-color: #fffbea; }
.drop.small { min-height: 92px; padding: 16px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop input:focus-visible + .drop-text { outline: 2.5px solid var(--ink); outline-offset: 6px; border-radius: 6px; }
.drop-text { display: grid; gap: 6px; justify-items: center; pointer-events: none; }
.drop-text strong { font: 500 21px/1.2 var(--serif); }
.drop-text span { color: var(--ink-3); font-size: 14.5px; }
.drop svg { width: 34px; height: 34px; }
.chips { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.chips li { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); font-size: 15px; min-height: 52px; }
.chips .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips .sz { color: var(--ink-3); font-size: 13.5px; white-space: nowrap; }
.chips button { border: 0; background: transparent; width: 44px; height: 44px; border-radius: 8px; cursor: pointer; color: var(--ink-2); display: grid; place-items: center; }
.chips button:hover { background: var(--paper-2); }
details.more { margin-top: 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); }
details.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 18px; font-weight: 600; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary small { font-weight: 400; color: var(--ink-3); font-size: 14px; margin-right: auto; }
details.more > summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
details.more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
details.more .inner { padding: 4px 18px 22px; border-top: 1px solid var(--rule); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--sheet); font-size: 15px; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
input[type=email], input[type=text], input[type=number], textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--sheet); color: var(--ink); font: 400 17px/1.4 var(--sans); }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 225, 77, .7); }
.money-in { position: relative; }
.money-in::before { content: '$'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.money-in input { padding-left: 28px; }
.submit { margin-top: 26px; display: grid; gap: 12px; }
.submit .btn { width: 100%; min-height: 58px; font-size: 17.5px; }
.fine { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.err { color: var(--err); font-weight: 600; font-size: 15.5px; }
.progress { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s; }

/* Free vs full */
.compare { display: grid; gap: 18px; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.plan { border: 1px solid var(--rule); border-radius: 16px; padding: 28px 24px; background: var(--sheet); }
.plan.full { border: 1.5px solid var(--ink); box-shadow: var(--shadow); }
.plan .price { font: 500 44px/1 var(--serif); margin: 12px 0 4px; }
.plan .price small { font: 400 16px var(--sans); color: var(--ink-3); }
.plan ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; }
.plan li svg { width: 20px; height: 20px; margin-top: 3px; }

/* Sample teaser */
.teaser { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .teaser { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

/* Guides list */
.guides { display: grid; gap: 14px; }
@media (min-width: 720px) { .guides { grid-template-columns: 1fr 1fr; } }
.guides a { display: grid; gap: 6px; padding: 22px 22px 24px; border: 1px solid var(--rule); border-radius: 14px; background: var(--sheet); text-decoration: none; transition: border-color .15s, transform .15s; }
.guides a:hover { border-color: var(--ink); transform: translateY(-2px); }
.guides b { font: 500 22px/1.2 var(--serif); }
.guides span { color: var(--ink-2); font-size: 15.5px; }

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font: 500 20px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px/1 var(--sans); color: var(--ink-3); flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 44em; }

/* Privacy band */
.privacy-band { display: grid; gap: 28px; }
@media (min-width: 900px) { .privacy-band { grid-template-columns: 1fr 1fr; gap: 64px; } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule-2); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--rule-2); display: grid; grid-template-columns: 130px 1fr; gap: 14px; font-size: 15.5px; }
.facts li b { font-weight: 600; }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--rule); padding: 40px 0 56px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.footer .cols { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer nav { display: grid; gap: 2px; align-content: start; }
.footer nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.footer nav a:hover { text-decoration: underline; }
.footer h4 { margin: 0 0 6px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.footer .legal { margin-top: 12px; max-width: 30em; }

/* ---------- article pages (guides, privacy) ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 24px 0 72px; }
.article h1 { font-size: clamp(38px, 6vw, 58px); }
.article .lede { margin-top: 18px; }
.article h2 { font-size: clamp(26px, 3.4vw, 32px); margin: 48px 0 14px; }
.article h3 { font-size: 21px; margin: 28px 0 8px; }
.article p, .article li { color: var(--ink-2); font-size: 17.5px; }
.article p + p { margin-top: 14px; }
.article ul, .article ol { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.article strong { color: var(--ink); }
.article .updated { color: var(--ink-3); font-size: 14.5px; margin-top: 14px; }
.callout { margin: 32px 0; padding: 22px 22px 24px; border-radius: 14px; background: var(--sheet); border: 1.5px solid var(--ink); }
.callout p { color: var(--ink); }
.callout .btn { margin-top: 16px; }
.note { margin: 28px 0; padding: 16px 18px; border-left: 4px solid var(--hl); background: var(--sheet); border-radius: 0 10px 10px 0; font-size: 15.5px; color: var(--ink-2); }
.crumbs { font-size: 14.5px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.sources { font-size: 14.5px !important; }

/* Mini preview of a review on the home page */
.mini { display: grid; gap: 12px; }
.mini-card { display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; align-items: center; background: var(--sheet); border: 1px solid var(--rule); border-left: 5px solid var(--hl); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.mini-card:nth-child(2) { margin-left: 18px; }
.mini-card:nth-child(3) { margin-left: 36px; }
.mini-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); font: 500 15px/1 var(--serif); }
.mini-card small { display: block; font-size: 13px; color: var(--ink-3); }
.mini-card b { font: 500 18px/1.25 var(--serif); }
.mini-amt { font: 500 14px/1 var(--mono); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .mini-card:nth-child(n) { margin-left: 0; } .mini-card { grid-template-columns: 30px 1fr; } .mini-amt { grid-column: 2; } }
.spinner-lg { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--rule-2); border-top-color: var(--ink); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nowrap { white-space: nowrap; }
