/* SheetProof Convert, brand v2 (business/convert/brand/BRAND.md + SheetProof BRAND-BOOK v2).
   Ink = software surface, Paper = page, Ledger Green = action and PASS, Coral = "does not balance".
   Highlighter yellow ONLY on the fill handle of the one Selection (h1) and on the handle bullets. */
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff") format("woff"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff") format("woff"); font-weight: 400 700; font-display: swap; } /* subset: latin, wght 400-700, opsz kept (pinning opsz breaks hyphen spacing) */
:root {
  --ink: #1E2A2F; --ink2: #26343A; --paper: #F7F4EC; --paper2: #EFEADD; --white: #fff;
  --green: #1F6F5C; --green-d: #17574A; --mint: #CDEBD9; --mint2: #EAF5EF;
  --yellow: #F6D55C; --coral: #E4572E; --coral-d: #B8401D; --coral-bg: #FBE3DD;
  --line: #D9DEDC; --line2: #E8E5DC; --muted: #5B6B70; --text2: #33434A;
  --r: 6px; --shadow: 0 1px 2px rgba(30,42,47,.06), 0 18px 40px -22px rgba(30,42,47,.35);
  --head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--body); font-feature-settings: "cv11" 1; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 7.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.35rem); }
h3 { font-size: 1.14rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num, .mono-line, .price .amt, .side-proof b, .meterline b, .proof td:last-child, .preview td.n { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 9; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* the Selection (one per page): sharp corners, Ledger Green frame, yellow fill handle with Ink edge + Paper ring */
.sel { position: relative; display: inline-block; padding: .02em .16em .06em; outline: .07em solid var(--green); outline-offset: 0; }
.sel::after { content: ""; position: absolute; right: -.126em; bottom: -.126em; width: .2em; height: .2em; background: var(--yellow); box-shadow: 0 0 0 .03em var(--ink), 0 0 0 .075em var(--paper); }
/* handle bullet: the yellow square on its own, with the ring */
.hb { display: inline-block; width: 9px; height: 9px; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 4px var(--paper); flex: 0 0 auto; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(247,244,236,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; border-radius: 7px; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.brand .wm small { font: 800 .68rem/1 var(--head); color: var(--green); letter-spacing: -.01em; margin-bottom: 3px; }
.brand .wm b { font: 800 1.22rem/1 var(--head); letter-spacing: -.035em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; padding: 8px 10px; border-radius: 4px; }
.nav a:hover { background: rgba(31,111,92,.08); }
.nav .hide-s { display: none; }
.nav a.btn { color: var(--paper); margin-left: 6px; }
@media (min-width: 760px) { .nav .hide-s { display: inline-block; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1 var(--body); padding: 14px 20px; border-radius: 4px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .06s, background .15s, border-color .15s; min-height: 48px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #C9CFCC; }
.btn-ghost:hover { border-color: var(--green); }
.btn-small { padding: 9px 14px; min-height: 38px; font-size: .9rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* hero */
.hero { position: relative; padding: 30px 0 34px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(30,42,47,.055) 1px, transparent 1px), linear-gradient(to bottom, rgba(30,42,47,.055) 1px, transparent 1px); background-size: 90px 34px; -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,.25) 45%, #000 100%); mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,.25) 45%, #000 100%); pointer-events: none; }
.hero .grid { position: relative; display: grid; gap: 22px; align-items: start; }
.hero .grid > * { min-width: 0; }
@media (min-width: 1000px) { .hero { padding: 60px 0 56px; } .hero .grid { grid-template-columns: 1.02fr .98fr; gap: 52px; } .hero-side { align-self: end; } }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.hero h1 { margin-bottom: .42em; }
.hero h1 .sel { margin-top: .08em; }
.lead { font-size: 1.06rem; color: var(--text2); max-width: 35em; }
@media (min-width: 720px) { .lead { font-size: 1.16rem; } }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .93rem; font-weight: 600; color: var(--text2); }
.trust li { display: flex; align-items: center; gap: 11px; }

/* converter */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.converter { padding: 14px; margin-top: 22px; }
.drop { border: 2px dashed #A9B8B2; border-radius: 4px; padding: 18px 16px; background: #FBFAF6; transition: border-color .15s, background .15s; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
.drop[hidden] { display: none; }
.drop.over { border-color: var(--green); background: var(--mint2); }
.drop .pdf { grid-row: span 2; width: 46px; height: 56px; background: #fff; border: 2px solid var(--ink); position: relative; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font: 800 .7rem/1 var(--body); color: var(--coral); letter-spacing: .04em; }
.drop .pdf::before { content: ""; position: absolute; top: -2px; right: -2px; width: 13px; height: 13px; background: var(--paper); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.drop h2 { font: 700 1.08rem/1.25 var(--body); letter-spacing: -.01em; margin: 0; }
.drop .banks-line { margin: 0; font-size: .86rem; color: var(--muted); }
.drop .go { grid-column: 1 / -1; margin-top: 10px; width: 100%; }
.drop > .small { grid-column: 1 / -1; }
@media (min-width: 560px) { .drop { padding: 18px 20px; } }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 559px) { .demo .btn { flex: 1 1 100%; } }
.demo > span { flex: 0 0 100%; }
.demo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; font-size: .9rem; color: var(--muted); }
.demo[hidden] { display: none; }
.demo .btn { min-height: 38px; padding: 8px 12px; font-size: .88rem; font-weight: 600; }
.demo .btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.demo .btn .dot.ko { background: var(--coral); }
.conv-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line2); font-size: .82rem; color: var(--muted); }
.testnote { margin: 10px 2px 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.status { margin-top: 12px; font-size: .95rem; }
.status[hidden] { display: none; }
.status .box { padding: 12px 14px; border-radius: 4px; background: var(--paper2); }
.spinner { width: 16px; height: 16px; border: 2.5px solid var(--mint); border-top-color: var(--green); border-radius: 50%; display: inline-block; vertical-align: -3px; margin-right: 8px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* result */
.result { margin-top: 2px; }
.result[hidden] { display: none; }
.verdict { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 4px; background: var(--mint2); color: #134A3D; border-left: 4px solid var(--green); }
.verdict.ko { background: var(--coral-bg); color: #6E2212; border-left-color: var(--coral); }
.verdict.warn { background: var(--paper2); color: var(--ink); border-left-color: var(--muted); }
.verdict .ico { flex: 0 0 32px; height: 32px; border-radius: 4px; background: var(--green); display: grid; place-items: center; }
.verdict.ko .ico { background: var(--coral); } .verdict.warn .ico { background: var(--muted); }
.verdict .ico svg { width: 20px; height: 20px; }
.verdict strong { display: block; font: 800 1.12rem/1.25 var(--head); letter-spacing: -.02em; }
.verdict span { display: block; font-size: .92rem; line-height: 1.45; margin-top: 3px; }
.proof { width: 100%; border-collapse: collapse; margin: 12px 0 4px; font-size: .94rem; }
.proof td { padding: 7px 4px; border-bottom: 1px solid #EEF0EC; }
.proof td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.proof tr.total td { font-weight: 700; border-top: 2px solid var(--ink); }
.proof tr.diff td { border-bottom: 0; font-weight: 800; padding-top: 10px; }
.proof tr.diff .cellsel { display: inline-block; padding: 3px 9px; outline: 2.5px solid var(--green); }
.proof tr.diff.ko .cellsel { outline-color: var(--coral); color: var(--coral-d); }
.proof .op { color: var(--muted); width: 1.4em; }
.dl { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
@media (min-width: 480px) { .dl { grid-template-columns: 1.4fr 1fr; } }
.meterline { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; background: var(--ink); color: var(--paper); border-radius: 4px; font-size: .86rem; }
.meterline b { font: 800 1.25rem/1 var(--head); color: var(--mint); min-width: 1.2em; text-align: center; }
.meterline a { color: var(--mint); }
.preview-wrap { margin-top: 12px; border: 1px solid var(--line); border-radius: 4px; overflow: auto; max-height: 300px; }
table.preview { width: 100%; border-collapse: collapse; font-size: .84rem; }
.preview th { position: sticky; top: 0; background: var(--ink); color: var(--paper); text-align: left; font-weight: 700; padding: 7px 9px; white-space: nowrap; }
.preview td { padding: 6px 9px; border-top: 1px solid #EEF0EC; white-space: nowrap; }
.preview td.d { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.preview td.n { text-align: right; font-variant-numeric: tabular-nums; }
.preview td.neg { color: var(--coral-d); }
.preview tr.bad td { background: var(--coral-bg); }
.chip { display: inline-block; font: 700 .72rem/1 var(--body); padding: 4px 7px; border-radius: 3px; background: var(--mint2); color: var(--green-d); }
.chip.bad { background: var(--coral); color: #fff; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .82rem; color: var(--muted); margin-top: 10px; }
.note { margin-top: 10px; font-size: .86rem; padding: 9px 12px; background: var(--paper2); border-radius: 4px; }

/* the real Proof tab, framed like an Excel window */
.shot { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid #C9CFCC; box-shadow: var(--shadow); background: #fff; }
.shot .bar { display: flex; gap: 8px; align-items: center; padding: 8px 12px; background: var(--ink); color: var(--paper); font-size: .78rem; }
.shot .bar .x { width: 14px; height: 14px; border-radius: 3px; background: var(--green); flex: 0 0 auto; position: relative; }
.shot .bar .x::after { content: "X"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 9px/1 var(--body); color: #fff; }
.shot .bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 9px 12px; font-size: .78rem; color: var(--muted); border-top: 1px solid #EEF0EC; background: #FBFAF6; }
.side-proof { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side-proof div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.side-proof b { display: block; font: 800 1.5rem/1.1 var(--head); letter-spacing: -.03em; }
.side-proof span { font-size: .8rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }

/* sections */
section { padding: 52px 0; }
@media (min-width: 960px) { section { padding: 84px 0; } }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--ink); color: var(--paper); }
.dark .muted, .dark .lead { color: #C9D2CF; }
.dark a { color: var(--mint); }
.sec-head { max-width: 720px; margin-bottom: 30px; }
.kicker { font: 700 .76rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; display: flex; align-items: center; gap: 11px; }
.dark .kicker { color: var(--mint); }
.cards3 { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { padding: 22px; display: flex; flex-direction: column; min-width: 0; }
.pcard .tag2 { font: 700 .74rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pcard .big { font: 800 1.7rem/1.1 var(--head); letter-spacing: -.03em; margin-bottom: 8px; }
.pcard .big.ok { color: var(--green); } .pcard .big.ko { color: var(--coral-d); }
.pcard p { color: var(--text2); font-size: .95rem; }
.pcard .btn { margin-top: auto; align-self: flex-start; }
.mono-line { font: 600 .86rem/1.5 var(--mono); background: var(--paper); border: 1px solid var(--line2); border-radius: 4px; padding: 8px 10px; margin: 0 0 14px; overflow-x: auto; overflow-wrap: anywhere; }
.quote { padding: 22px; }
.quote q { display: block; font: 800 1.22rem/1.28 var(--head); letter-spacing: -.02em; quotes: "\201C" "\201D"; margin-bottom: 8px; }
.quote q::before, .quote q::after { color: var(--green); }
.quote cite { display: block; font-style: normal; font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.quote p { margin: 0; color: var(--text2); font-size: .95rem; }
.steps { display: grid; gap: 16px; counter-reset: s; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 4px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 800 1.05rem/1 var(--head); }
.steps h3 { margin: 8px 0 4px; }
.steps p { margin: 0; }
.two { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.fit { display: grid; gap: 14px; }
@media (min-width: 820px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit .card { padding: 22px; }
.blist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.blist li { display: flex; gap: 12px; align-items: baseline; }
.blist li .hb { position: relative; top: -1px; }
.blist.x li::before { content: ""; width: 9px; height: 2px; background: var(--muted); flex: 0 0 auto; position: relative; top: -4px; }
.banks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.bank { display: block; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.bank b { display: block; font: 800 1.05rem/1.2 var(--head); letter-spacing: -.02em; }
.bank span { font-size: .84rem; color: var(--muted); }
.bank:hover { border-color: var(--green); }
.tag { display: inline-block; font: 700 .68rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 4px 6px; border-radius: 3px; background: var(--mint2); color: var(--green-d); margin-top: 8px; }
.tag.beta { background: var(--paper2); color: var(--muted); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.cmp th, .cmp td { padding: 11px 14px; border-bottom: 1px solid #EEF0EC; text-align: left; vertical-align: top; }
.cmp thead th { background: var(--ink); color: var(--paper); font-weight: 700; white-space: nowrap; }
.cmp thead th.us { background: var(--green); }
.cmp tbody th { font-weight: 600; color: var(--text2); width: 24%; }
.cmp td.us { background: #F5FAF7; font-weight: 600; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.src { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.prices { display: grid; gap: 14px; }
@media (min-width: 820px) { .prices { grid-template-columns: 1fr 1fr; } }
.price { padding: 26px; display: flex; flex-direction: column; }
.price.pro { border: 2px solid var(--ink); }
.price .amt { font: 800 2.6rem/1 var(--head); letter-spacing: -.04em; margin: 8px 0 4px; }
.price .amt small { font: 600 1rem var(--body); color: var(--muted); letter-spacing: 0; }
.price .blist { margin: 16px 0 22px; flex: 1; }
.guarantee { margin-top: 14px; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--mint2); border: 1px solid #CFE6DA; }
.guarantee b { font-family: var(--head); }
.faq details { border-bottom: 1px solid var(--line); padding: 15px 0; }
.faq summary { cursor: pointer; font: 700 1.04rem/1.4 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; color: var(--text2); }
.cta-band { text-align: center; }
.cta-band h2 { color: var(--paper); }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); }
.cta-band .btn-primary:hover { background: #fff; }
.prose h2 { margin-top: 1.7em; font-size: 1.45rem; } .prose li { margin: 6px 0; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
footer { padding: 40px 0 52px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--ink); }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(30,42,47,.6); display: grid; place-items: center; padding: 16px; z-index: 20; }
.modal[hidden] { display: none; }
.modal .card { max-width: 440px; width: 100%; padding: 24px; }
.modal input[type=text] { width: 100%; font: inherit; padding: 12px; border: 1px solid #C9CFCC; border-radius: 4px; margin: 8px 0 12px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }

/* the sticky header must not cover the verdict after scrollIntoView */
#result, #chain { scroll-margin-top: 84px; }
footer .help { color: var(--ink); font-size: 1rem; margin: 0; }
