/* LedgerPort. Ledger paper, green ink. No dependencies. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #faf8f3; --card: #ffffff; --ink: #18211d; --ink-2: #51605a;
  --rule: #e3e0d5; --rule-strong: #cdc9bb;
  --accent: #0e6b50; --accent-strong: #0a5540; --accent-ink: #ffffff; --wash: #e6f2eb; --wash-2: #f3f8f5;
  --neg: #a3301e; --pos: #0e6b50;
  --warn-bg: #fdf3e1; --warn-ink: #6f3e07; --info-bg: #edf2fa; --info-ink: #1e3e6e;
  --shadow: 0 1px 2px rgba(24, 33, 29, .05), 0 16px 36px -16px rgba(24, 33, 29, .24);
  --radius: 14px; --radius-s: 9px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101412; --card: #181e1b; --ink: #e9ede9; --ink-2: #a3b0a9;
    --rule: #29322e; --rule-strong: #3b4741;
    --accent: #58d1a5; --accent-strong: #7be0bb; --accent-ink: #062218; --wash: #15302a; --wash-2: #141c19;
    --neg: #f49a86; --pos: #58d1a5;
    --warn-bg: #33270f; --warn-ink: #f3cd8f; --info-bg: #17243a; --info-ink: #b9cff2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 36px -16px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

a { color: var(--accent); text-underline-offset: .15em; }
a:hover { color: var(--accent-strong); }
h1, h2, .price, .brand, .step-n { font-family: var(--serif); font-variant-numeric: lining-nums; }
h1 { font-weight: 560; font-size: clamp(2.15rem, 5.2vw, 3.4rem); line-height: 1.05; letter-spacing: -.022em; margin: 0 0 .4em; text-wrap: balance; }
h2 { font-weight: 560; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.015em; margin: 2.6em 0 .6em; text-wrap: balance; }
h3 { font-size: 1.08rem; line-height: 1.3; margin: 1.5em 0 .35em; }
p, li { max-width: 70ch; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .3em; }
code { font-family: var(--mono); font-size: .9em; background: var(--wash); padding: .1em .35em; border-radius: 5px; }
small { font-size: .85em; color: var(--ink-2); font-weight: 400; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--card); padding: .5em .9em; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- page frame ---------- */
.wrap, header.site .bar, footer.site .bar { max-width: 1040px; margin-inline: auto; padding-inline: 20px; }
header.site { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--rule); background: var(--paper); }
@supports (backdrop-filter: blur(8px)) {
  header.site { background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(10px); }
}
header.site .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 60px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 7px; }
header.site nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
header.site nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; padding: .35em .6em; border-radius: 8px; }
header.site nav a:hover { color: var(--ink); background: var(--wash); }
header.site nav a.pill { color: var(--accent); border: 1px solid var(--accent); font-weight: 600; margin-left: 4px; }
header.site nav a.pill:hover { background: var(--accent); color: var(--accent-ink); }

main { position: relative; padding: 46px 0 84px; }
main::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0, var(--wash), transparent 72%),
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  opacity: .55;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: .3em .8em .3em .6em; border: 1px solid var(--rule-strong); border-radius: 99px; background: var(--card); font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.eyebrow svg { color: var(--accent); flex: none; }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 1.2em; max-width: 62ch; }

footer.site { border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .9rem; padding: 34px 0 44px; background: var(--wash-2); }
footer.site p { max-width: none; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 18px 0 14px; padding-top: 16px; border-top: 1px solid var(--rule); }
footer.site a { color: var(--ink-2); text-decoration: none; }
footer.site a:hover { color: var(--accent); text-decoration: underline; }
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 28px; }
.sitemap h2 { font: 700 .76rem var(--sans); text-transform: uppercase; letter-spacing: .07em; margin: .4em 0 .5em; color: var(--ink); }
.sitemap ul { list-style: none; padding: 0; margin: 0; }
.sitemap li + li { margin-top: .2em; }

/* ---------- buttons and fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; font: inherit; font-weight: 600; line-height: 1.25; padding: .62em 1.1em; min-height: 44px; border-radius: 10px; border: 1px solid var(--rule-strong); background: var(--card); color: var(--ink); cursor: pointer; text-decoration: none; text-align: center; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { border-color: var(--accent); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 14px -8px var(--accent); }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
.btn.big { font-size: 1.08rem; padding: .8em 1.5em; min-height: 52px; }
.btn.small { font-size: .88rem; padding: .35em .8em; min-height: 34px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--accent); font-weight: 600; }
.btn.ghost:hover { background: var(--wash); border-color: transparent; color: var(--accent-strong); }
.btn.link { background: none; border: 0; padding: 0; min-height: 0; color: var(--accent); font-weight: 500; text-decoration: underline; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
textarea, input[type="text"], input[type="email"], input[type="number"], input[type="password"], select { font: inherit; width: 100%; min-height: 44px; padding: .5em .7em; border: 1px solid var(--rule-strong); border-radius: 9px; background: var(--card); color: var(--ink); }
textarea:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, select:focus { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
textarea { font-family: var(--mono); font-size: .86rem; display: block; }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }

/* ---------- the converter ---------- */
.tool { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 22px; margin: 26px 0 16px; box-shadow: var(--shadow); }
.tool.dragging::after { content: "Drop the file to convert it"; position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; text-align: center; font: 600 1.3rem var(--sans); color: var(--accent); background: var(--card); border: 2px dashed var(--accent); border-radius: inherit; pointer-events: none; opacity: .96; }
.drop { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 34px 16px 26px; border: 2px dashed var(--rule-strong); border-radius: var(--radius); background: var(--wash-2); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop:focus-within { border-color: var(--accent); background: var(--wash); }
.art { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.doc { position: relative; width: 58px; height: 72px; display: grid; align-items: end; justify-items: center; padding-bottom: 9px; font: 700 .78rem var(--sans); letter-spacing: .05em; border: 2px solid currentColor; border-radius: 7px; background: var(--card); clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 17px, 100% 100%, 0 100%); transition: transform .2s; }
.doc::before { content: ""; position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; border-bottom-left-radius: 5px; background: var(--wash-2); }
.doc::after { content: ""; position: absolute; left: 10px; right: 10px; top: 24px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .3; }
.doc-in { color: var(--ink-2); }
.doc-out { color: var(--accent); background: var(--wash); }
.art-arrow { color: var(--accent); }
.drop:hover .doc-in, .tool.dragging .doc-in { transform: translateX(3px); }
.drop:hover .doc-out, .tool.dragging .doc-out { transform: translateX(-3px); }
.tool.busy .art-arrow { animation: nudge .7s ease-in-out infinite alternate; }
@keyframes nudge { from { transform: translateX(-4px); } to { transform: translateX(4px); } }
.drop-title { font-size: 1.3rem; line-height: 1.25; }
.drop-sub { color: var(--ink-2); }
.fake-link { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.chips span { font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: .2em .65em; border: 1px solid var(--rule-strong); border-radius: 99px; color: var(--ink-2); background: var(--card); }
.assure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px auto 0; font-size: .92rem; color: var(--ink-2); max-width: none; text-align: center; }
.assure svg { color: var(--accent); flex: none; }
.alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-top: 6px; }
.paste-box { margin-top: 10px; display: grid; gap: 8px; justify-items: start; }

.message { background: var(--warn-bg); color: var(--warn-ink); padding: .75em 1em; border-radius: var(--radius-s); max-width: none; margin: 14px 0 0; }
.message[data-kind="info"] { background: var(--info-bg); color: var(--info-ink); }
.message[data-kind="ok"] { background: var(--wash); color: var(--ink); border-left: 5px solid var(--accent); font-weight: 600; }
.message:empty { display: none; }
.message a { color: inherit; font-weight: 600; }

.filebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; }
.file-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; overflow-wrap: anywhere; }
.file-chip svg { color: var(--accent); flex: none; }
.summary { background: var(--wash); border-radius: var(--radius-s); padding: 14px 16px; margin: 12px 0 0; max-width: none; }
.summary[data-kind="error"] { background: var(--warn-bg); color: var(--warn-ink); }
.summary strong { font-size: 1.12rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 20px; margin: 10px 0 0; }
.stats:empty { display: none; }
.stats dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.stats dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.notices { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.notices:empty { display: none; }
.notices li { position: relative; max-width: none; margin: 0; background: var(--info-bg); color: var(--info-ink); border-radius: var(--radius-s); padding: .65em .95em .65em 2.5em; font-size: .94rem; }
.notices li::before { content: "i"; position: absolute; left: .85em; top: .72em; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--info-ink); color: var(--info-bg); font: 700 .8em/1.25em var(--serif); text-align: center; }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 12px 16px; margin: 16px 0 6px; }
.options label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.options label.check { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 9px; color: var(--ink); font-weight: 500; font-size: .95rem; min-height: 32px; }
.hint { color: var(--ink-2); font-size: .88rem; margin: .4em 0; }
.box { border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 10px 14px; margin: 10px 0; }
.box summary { cursor: pointer; font-weight: 600; }
.box ul { padding-left: 1.2em; font-size: .88rem; color: var(--ink-2); overflow-wrap: anywhere; }

.table-wrap { overflow: auto; max-height: 600px; margin-top: 14px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--card); }
.table-wrap:has(> table[hidden]) { display: none; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .5em .85em; border-bottom: 1px solid var(--rule); }
tbody tr:last-child td { border-bottom: 0; }
thead th { position: sticky; top: 0; z-index: 1; background: var(--paper); font-size: .73rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
#preview td:first-child, #batch-table td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.neg { color: var(--neg); }
td.pos { color: var(--pos); }
tr.locked td { opacity: .38; }
#preview tr.cut td { background: var(--warn-bg); color: var(--warn-ink); font-size: .86rem; font-weight: 600; text-align: center; white-space: normal; }
#preview td:nth-child(2), #batch-table td { overflow-wrap: anywhere; }
#batch-table td:first-child { width: 32%; font-weight: 600; }

.actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 14px 0 4px; max-width: none; }
.finish { display: flex; flex-direction: column; margin-top: 4px; }
.finish.limited .upsell { order: 1; }
.finish.limited > .actions { order: 2; }
.upsell { border: 1.5px solid var(--accent); background: var(--wash); border-radius: var(--radius); padding: 16px 18px; margin-top: 16px; }
.upsell p { margin: .3em 0; max-width: none; }
.upsell-lead { font-size: 1.03rem; }
.upsell-value { color: var(--ink-2); font-size: .95rem; }
.upsell-value:empty { display: none; }
.key-inline { display: grid; gap: 6px; margin: 14px 0 8px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.key-inline label { font-size: .9rem; font-weight: 600; }
.key-row { display: flex; flex-wrap: wrap; gap: 8px; }
.key-row input { flex: 1 1 260px; font-family: var(--mono); font-size: .92rem; }
.done { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--rule); border-left: 5px solid var(--accent); border-radius: var(--radius-s); background: var(--wash-2); animation: rise .25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.done p { margin: .3em 0; max-width: none; }
.done-title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; overflow-wrap: anywhere; }
.done-title svg { color: var(--accent); flex: none; }
.done ul { margin: .4em 0 .5em; }
.done-next { margin-top: .8em !important; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .92rem; color: var(--ink-2); }
.keyline { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 12px; margin: 14px 0 0; font-size: .9rem; max-width: none; }
.plan-badge { font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .2em .7em; border-radius: 99px; background: var(--wash); color: var(--accent); }
dialog { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); color: var(--ink); padding: 24px; width: min(480px, calc(100vw - 32px)); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(10, 16, 13, .55); }
dialog h2 { margin-top: 0; font-size: 1.5rem; }
dialog input { font-family: var(--mono); font-size: .92rem; }

/* ---------- content blocks ---------- */
.trust { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 22px; }
.trust li { display: flex; align-items: flex-start; gap: 9px; margin: 0; font-size: .95rem; color: var(--ink-2); max-width: none; }
.trust svg { color: var(--accent); flex: none; margin-top: .15em; }
.trust strong { color: var(--ink); font-weight: 650; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.steps li { counter-increment: step; margin: 0; position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 18px 18px 64px; max-width: none; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--wash); color: var(--accent); font: 600 1.25rem var(--serif); }
.steps strong { display: block; margin-bottom: .15em; }

.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cards > li { margin: 0; max-width: none; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; }
.cards h3 { margin-top: 0; }
.cards p { margin: .4em 0 0; }
a.card-link { text-decoration: none; font-weight: 700; }
a.card-link::after { content: " →"; }
.plans { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: stretch; }
.plans > li { display: flex; flex-direction: column; }
.plans > li.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.plans > li.featured::before { content: "Best value"; position: absolute; top: -12px; left: 16px; padding: .1em .7em; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plans .actions { margin-top: auto; padding-top: 14px; }
.plans .btn { width: 100%; }
.price { font-size: 2.7rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin: .15em 0 .2em; }
.price small { font: 500 1rem var(--sans); color: var(--ink-2); letter-spacing: 0; }

.beforeafter { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; margin: 18px 0 8px; }
.pane { margin: 0; min-width: 0; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.pane figcaption { padding: .55em 1em; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); border-bottom: 1px solid var(--rule); background: var(--wash-2); }
.pane pre { margin: 0; padding: 12px 14px; font: .8rem/1.75 var(--mono); overflow-x: auto; color: var(--ink); }
.pane pre .dim { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--neg); }
.pane pre mark { background: var(--warn-bg); color: var(--warn-ink); border-radius: 3px; padding: 0 .15em; }
.pane table { font-size: .88rem; }
.pane.out { border-color: var(--accent); }
.pane.out figcaption { background: var(--wash); color: var(--accent); }
.ba-arrow { color: var(--accent); }
.fixes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px 22px; margin: 10px 0 0; }
.fixes li { margin: 0; padding-left: 1.7em; position: relative; font-size: .95rem; color: var(--ink-2); max-width: none; }
.fixes li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--accent); -webkit-mask: var(--tick) center / 70% no-repeat, linear-gradient(#000 0 0); mask: var(--tick) center / 70% no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.compare { min-width: 620px; }
.compare th, .compare td { vertical-align: top; padding: .7em .9em; }
.compare thead th { position: static; font-size: .8rem; }
.compare thead th:nth-child(2), .compare td:nth-child(2) { background: var(--wash); }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare td:first-child { font-weight: 600; }
.yes, .no { display: inline-flex; align-items: center; gap: .4em; }
.yes::before, .no::before { content: ""; width: .95em; height: .95em; border-radius: 50%; flex: none; }
.yes::before { background: var(--accent); }
.no::before { background: transparent; box-shadow: inset 0 0 0 2px var(--neg); }

.faq details { border-bottom: 1px solid var(--rule); padding: .85em 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.03rem; list-style: none; position: relative; padding-right: 2em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2em; top: -.1em; font: 400 1.5rem var(--serif); color: var(--accent); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: .6em 0 0; color: var(--ink-2); }

.note { border-left: 4px solid var(--accent); background: var(--wash); padding: .75em 1em; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.cta { margin: 56px 0 0; padding: 30px 26px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.cta h2 { margin: 0; color: inherit; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta p { margin: .3em 0 0; opacity: .9; }
.cta .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); }
.cta .btn:hover { color: var(--accent-strong); }

@media (max-width: 760px) {
  header.site { position: static; }
  header.site nav a.extra { display: none; }
  html { scroll-padding-top: 12px; }
  .beforeafter { grid-template-columns: minmax(0, 1fr); }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  main { padding-top: 18px; }
  /* Small phones: the drop zone must be on the first screen. */
  header.site .bar { flex-wrap: nowrap; min-height: 52px; }
  header.site nav a:not(.pill) { display: none; }
  .eyebrow { display: none; }
  h1 { font-size: 1.85rem; margin-bottom: .3em; }
  .tool { margin-top: 14px; }
  .drop { padding: 18px 12px 16px; }
  .art { margin-bottom: 8px; gap: 10px; }
  .doc { width: 42px; height: 52px; padding-bottom: 6px; font-size: .66rem; }
  .doc::after { top: 16px; left: 8px; right: 8px; height: 10px; }
  .doc::before { width: 14px; height: 14px; }
  .art-arrow { width: 36px; }
  .drop-title { font-size: 1.15rem; }
  .chips { margin-top: 8px; }
  .lede { font-size: 1.06rem; }
  .brand { font-size: 1.15rem; }
  header.site nav a { padding: .35em .45em; font-size: .9rem; }
  .tool { padding: 14px; border-radius: 14px; }
  .drop { padding: 26px 12px 20px; }
  table { font-size: .84rem; }
  th, td { padding: .45em .5em; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn.big { width: 100%; }
  .finish .btn { width: 100%; }
  .upsell .actions .btn { flex: 1 1 100%; }
  .steps li { padding-left: 60px; }
}
.key-show { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.key-show code { font-size: 1rem; padding: .45em .75em; user-select: all; overflow-wrap: anywhere; }
.done.waiting { border-left-color: var(--warn-ink); }
.done.waiting .done-title svg { color: var(--warn-ink); }
#purchase { margin: 0 0 14px; }
#checkout-unavailable { display: none; }
#checkout-unavailable:target { display: block; }
.firm-band { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; margin-top: 16px; padding: 20px 22px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
.firm-band h3 { margin: 0; }
.firm-band ul { margin: 0; }
.firm-band .actions { flex-direction: column; align-items: stretch; margin: 0; }
@media (max-width: 860px) { .firm-band { grid-template-columns: minmax(0, 1fr); } }
/* ---------- admin ---------- */
.admin-login { max-width: 560px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.kpi { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; }
.kpi p { margin: 0; max-width: none; }
.kpi-label { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.kpi-value { font: 600 1.7rem/1.2 var(--sans); font-variant-numeric: tabular-nums; margin: .2em 0 .1em !important; color: var(--ink); }
.kpi-sub { font-size: .85rem; color: var(--ink-2); }
.checks { list-style: none; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; margin: 0; max-width: none; padding: .6em .9em .6em 2.4em; border-radius: var(--radius-s); }
.checks li::before { position: absolute; left: .85em; top: .55em; font-weight: 700; }
.checks li.ok { background: var(--wash); }
.checks li.ok::before { content: "✓"; color: var(--accent); }
.checks li.warn { background: var(--warn-bg); color: var(--warn-ink); }
.checks li.warn::before { content: "!"; }
.admin-links { columns: 2 240px; }
#admin-plans td:first-child, #admin-recent td:nth-child(3) { overflow-wrap: anywhere; }
.paywith { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 4px; font-size: .82rem; max-width: none; }
.paywith-label { color: var(--ink-2); margin-right: 2px; }
.paywith span:not(.paywith-label) { padding: .15em .6em; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--card); font-weight: 600; color: var(--ink); }
.checks li.info { background: var(--info-bg); color: var(--info-ink); }
.checks li.info::before { content: "i"; font-family: var(--serif); }
.trial-note { flex-basis: 100%; font-size: .92rem; color: var(--accent); font-weight: 600; }
.done-offer { margin: 12px 0 4px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--wash); }
.done-offer p { margin: .2em 0; max-width: none; }
.done-offer .actions { margin-top: 8px; }
.pay-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 18px 20px; overflow: auto; }
.pay-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pay-title { margin: 0; font: 600 1.35rem var(--serif); }
.pay-price { margin: .1em 0 0; }
.pay-form { min-height: 120px; margin-top: 8px; }
.pay-foot { margin: 12px 0 0; text-align: center; }
.pay-status a { font-weight: 600; }

/* ---------- the site's own checkout ---------- */
.pay-dialog { width: min(520px, calc(100vw - 20px)); padding: 22px 22px 16px; }
.pay-head { margin-bottom: 12px; }
.pay-price { margin: .15em 0 0; font-weight: 600; color: var(--ink-2); }
.pay-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 14px; }
.pay-plan { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.pay-plan strong { font-size: .95rem; }
.pay-plan span { font-size: .84rem; color: var(--ink-2); }
.pay-plan[aria-checked="true"] { border: 2px solid var(--accent); background: var(--wash); padding: 9px 11px; }
.pay-step { display: grid; gap: 12px; }
.pay-field { display: grid; gap: 5px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.pay-company summary { cursor: pointer; font-size: .9rem; color: var(--accent); font-weight: 600; }
.pay-company[open] { display: grid; gap: 10px; }
.pay-company[open] summary { margin-bottom: 2px; }
.pay-step .btn.big { width: 100%; }
.pay-step .btn.link { justify-self: center; font-size: .9rem; }
.pay-summary { margin: 0; }
.pay-element { min-height: 60px; }
.pay-error { margin: 0; }
.pay-status { margin: 10px 0 0; }
.pay-status:empty { display: none; }
.pay-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--ink-2); max-width: none; }
.pay-credit { margin: 0; padding: .55em .8em; border-radius: var(--radius-s); background: var(--wash); font-weight: 600; font-size: .92rem; }
.upgrade-offer { flex-basis: 100%; font-size: .92rem; }
