/* QuickData.ai: the public website's styles (David's redesign, 2026-10-05). Full-width navy strips, capital Inter
   headings, one action per strip. The console and the account pages have their own stylesheet (site.css). */
:root {
  --navy: #172554; --board: #0e1838; --lift: #142150; --groove: #263568;
  --green: #10b981; --green-bright: #34d399; --green-deep: #047857; --green-ink: #053527; --green-wash: #e2f7ee;
  --plate: #fff; --wash: #eef1f8; --line: #d5dbea; --soft: #b4c0e4; --pale: #d3dbf3; --ink: #131c40; --muted: #55607f;
  --pad: clamp(20px, 5vw, 88px);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--groove) var(--board); }
body { margin: 0; font-family: Inter, system-ui, sans-serif; font-size: 18px; line-height: 1.5; color: #fff; background: var(--board); -webkit-font-smoothing: antialiased; }
::selection { background: var(--green); color: var(--green-ink); }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
img { max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; padding: 10px 14px; background: var(--green); color: var(--green-ink); font-weight: 700; }

/* Header */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px var(--pad); background: var(--plate); color: var(--ink); }
.site-head img { height: 26px; width: auto; display: block; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-weight: 500; font-size: 16px; }
.site-head nav a { padding: 6px 0; text-decoration: none; }
.site-head nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.site-head nav a[aria-current] { font-weight: 700; box-shadow: 0 2px 0 var(--green); }

/* Strips */
.strip { padding: clamp(40px, 5.5vw, 84px) var(--pad); border-top: 2px solid var(--groove); }
.strip--first, .strip--flush { border-top: 0; }
.strip--light { background: var(--plate); color: var(--ink); border-top: 0; }
.strip--wash { background: var(--wash); color: var(--ink); border-top: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 24px clamp(24px, 5vw, 96px); align-items: center; }
.row--top { align-items: start; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(24px, 5vw, 96px); align-items: start; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(2.1rem, 4.8vw, 4.3rem); max-width: 19ch; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); max-width: 22ch; }
.strip--small h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; line-height: 1.3; }
.strip--light h2, .strip--wash h2 { color: var(--navy); }
.lede { margin: 18px 0 0; max-width: 46ch; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.4; color: var(--pale); }
.strip--light .lede, .strip--wash .lede { color: #33406b; }
p { margin: 0; }
.text p + p { margin-top: 14px; }
.text { max-width: 62ch; }

/* Buttons */
.go { display: flex; flex-direction: column; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 0 24px; font-weight: 700; font-size: 20px; text-decoration: none; transition: transform .3s var(--ease), background .2s; }
.btn svg { width: 22px; height: 22px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }
.btn--green { background: var(--green); color: var(--green-ink); } .btn--green:hover { background: var(--green-bright); }
.btn--white { background: #fff; color: var(--navy); } .btn--white:hover { background: #dfe6fa; }
.btn--navy { background: var(--navy); color: #fff; } .btn--navy:hover { background: var(--board); }
.btn--line { color: #fff; box-shadow: inset 0 0 0 2px var(--soft); } .btn--line:hover { background: rgba(180,192,228,.14); }
.strip--light .btn--line, .strip--wash .btn--line { color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.strip--light .btn--line:hover, .strip--wash .btn--line:hover { background: var(--wash); }
.more { font-size: 16px; font-weight: 500; color: var(--soft); align-self: flex-end; }
.more:hover { color: #fff; }
.strip--light .more, .strip--wash .more { color: var(--muted); }
.strip--light .more:hover, .strip--wash .more:hover { color: var(--navy); }
.fine { font-size: 15px; color: var(--soft); }
.strip--light .fine, .strip--wash .fine { color: var(--muted); }

/* Who you talk to */
.who { display: flex; align-items: center; gap: 14px; }
.who img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--board), 0 0 0 4px var(--green); }
.who b { display: block; font-weight: 700; font-size: 18px; line-height: 1.3; }
.who span { display: block; font-size: 15px; color: var(--soft); line-height: 1.3; }
.strip--light .who img, .strip--wash .who img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.strip--light .who span, .strip--wash .who span { color: var(--muted); }
.proof { margin-top: 26px; padding-left: 16px; border-left: 1px solid var(--soft); max-width: 46ch; font-size: 17px; color: var(--pale); }
.proof b { color: #fff; font-weight: 700; }

/* Clients */
.clients { display: flex; align-items: center; gap: 14px clamp(24px, 4vw, 56px); padding: 26px var(--pad); background: var(--plate); color: var(--ink); }
.clients p { flex: none; font-size: 15px; font-weight: 700; }
/* One row only: logos that do not fit wrap to a second line, which is clipped, so narrower screens show fewer logos. */
.clients-logos { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px clamp(28px, 4vw, 56px); height: 30px; overflow: hidden; }
.clients img { flex: none; height: 30px; width: auto; filter: grayscale(1); opacity: .78; }

/* Ledger rows: cases, steps, facts */
.ledger { margin: clamp(24px, 3.5vw, 44px) 0 0; padding: 0; list-style: none; }
.ledger > li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) minmax(0, .9fr); gap: 10px clamp(20px, 4vw, 64px); padding: clamp(20px, 2.6vw, 32px) 0; border-top: 2px solid var(--groove); align-items: start; }
.strip--light .ledger > li, .strip--wash .ledger > li { border-top-color: var(--navy); }
.ledger--two > li { grid-template-columns: minmax(0, .8fr) minmax(0, 2.5fr); }
.ledger .tag { font-size: 15px; font-weight: 600; color: var(--soft); }
.strip--light .ledger .tag, .strip--wash .ledger .tag { color: var(--muted); }
.ledger .n { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--green-bright); }
.strip--light .ledger .n, .strip--wash .ledger .n { color: var(--green-deep); }
.ledger .n + span { display: block; margin-top: 6px; font-size: 15px; color: var(--pale); }
.strip--light .ledger .n + span, .strip--wash .ledger .n + span { color: var(--muted); }
.ledger p { color: var(--pale); max-width: 58ch; }
.strip--light .ledger p, .strip--wash .ledger p { color: #33406b; }
.ledger h3 + p { margin-top: 8px; }
.ledger dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.ledger dt { font-size: 14px; font-weight: 700; padding-top: 3px; }
.ledger dd { margin: 0; color: var(--pale); }
.strip--light .ledger dd, .strip--wash .ledger dd { color: #33406b; }
.step { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; line-height: 1; color: var(--green-deep); font-variant-numeric: tabular-nums; }

/* AI vs people stack */
.stack { display: grid; gap: 4px; font-weight: 600; }
.stack div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; min-height: 60px; font-size: 17px; line-height: 1.3; }
.stack small { font-size: 13px; font-weight: 700; white-space: nowrap; }
.stack .ai { background: var(--green); color: var(--green-ink); }
.stack .people { background: var(--plate); color: var(--ink); min-height: 84px; }

/* Code */
.code { margin: 0; padding: 22px 24px; background: #0a1230; color: var(--pale); font-family: var(--mono); font-size: 14px; line-height: 1.65; overflow-x: auto; box-shadow: inset 0 0 0 1px var(--groove); }
.code b { color: var(--green-bright); font-weight: 500; }
.code-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--soft); }
.code + .code-label { margin-top: 18px; }
.strip--light .code-label, .strip--wash .code-label { color: var(--muted); }
.plain { margin: 0; padding: 0; list-style: none; counter-reset: l; background: var(--board); color: #fff; }
.plain li { counter-increment: l; display: flex; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--groove); font-size: 17px; }
.plain li:first-child { border-top: 0; }
.plain li::before { content: counter(l); font-family: var(--mono); font-size: 14px; color: var(--green-bright); padding-top: 2px; }

/* Rent roll to JSON graphic (API hero) */
.convert { margin: clamp(32px, 4.5vw, 60px) 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(12px, 2vw, 28px); align-items: stretch; }
.cv-doc { background: var(--plate); color: var(--ink); }
.cv-json { background: #0a1230; box-shadow: inset 0 0 0 1px var(--groove); }
.cv-bar { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; font-size: 14px; font-weight: 600; }
.cv-doc .cv-bar { color: var(--muted); border-bottom: 1px solid var(--line); }
.cv-json .cv-bar { color: var(--soft); border-bottom: 1px solid var(--groove); }
.cv-json .cv-bar span:first-child { color: var(--green-bright); }
.cv-scroll { overflow-x: auto; }
.convert td, .convert th { padding: 13px 18px; transition: background .35s var(--ease), color .35s var(--ease); }
.convert tr.on td { background: var(--green); color: var(--green-ink); font-weight: 600; }
.convert tr.done td { background: var(--green-wash); }
.convert tr.cv-total td { border-bottom: 0; font-weight: 700; color: var(--muted); }
.convert tr.cv-total.ok td { color: var(--green-deep); }
.convert tr.cv-total.ok td.n::after { content: " = 4,805"; }
.cv-arrow { display: grid; place-items: center; color: var(--green-bright); }
.cv-arrow svg { width: 34px; height: 34px; }
.cv-json pre { margin: 0; padding: 18px; min-height: 19.5em; font-family: var(--mono); font-size: 14px; line-height: 1.65; color: var(--pale); overflow-x: auto; }
.cv-json i { font-style: normal; color: var(--soft); }
.cv-json b { font-weight: 500; color: #fff; }
.cv-json u { text-decoration: none; color: var(--soft); }
.cv-json em { font-style: normal; color: var(--green-bright); }
.cv-new { display: inline-block; animation: cv-in .45s var(--ease) backwards; }
@keyframes cv-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.convert figcaption { grid-column: 1 / -1; font-size: 15px; color: var(--soft); }

/* Extractor */
.demo { margin-top: clamp(28px, 4vw, 52px); background: var(--plate); color: var(--ink); padding: clamp(16px, 2.4vw, 32px); }
.strip--light .demo, .strip--wash .demo { box-shadow: inset 0 0 0 1px var(--line); }
.qx-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(28px, 4.5vw, 60px) 20px; text-align: center; border: 2px dashed #9aa7c9; background: var(--wash); cursor: pointer; transition: background .25s, border-color .25s; }
.qx-drop:hover, .qx-drop.over, .qx-drop:focus-within { background: var(--green-wash); border-color: var(--green-deep); }
.qx-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qx-drop svg { width: 34px; height: 34px; color: var(--green-deep); }
.qx-drop strong { font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.8rem); letter-spacing: -.02em; color: var(--navy); line-height: 1.15; }
.qx-drop span { font-size: 16px; color: var(--muted); }
.qx-samples { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 16px; font-size: 16px; color: var(--muted); }
.qx-samples button, .qx-row button { font: inherit; font-weight: 700; cursor: pointer; border: 0; }
.qx-samples button { min-height: 44px; padding: 0 16px; background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); transition: background .2s, color .2s; }
.qx-samples button:hover { background: var(--navy); color: #fff; }
.qx-gate { margin-top: 18px; padding: 18px; background: var(--wash); }
.qx-gate > label:first-child { display: block; font-weight: 700; margin-bottom: 10px; }
.qx-row { display: flex; flex-wrap: wrap; gap: 10px; }
.qx-row input { flex: 1 1 240px; min-height: 52px; padding: 0 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #9aa7c9; border-radius: 0; caret-color: var(--green-deep); }
.qx-row input::placeholder { color: #66718f; }
.qx-row button { min-height: 52px; padding: 0 22px; background: var(--navy); color: #fff; }
.qx-row button:hover { background: var(--board); }
.qx-consent { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.qx-consent input { accent-color: var(--green-deep); }
.qx-status { margin-top: 14px; font-size: 17px; text-align: center; }
.qx-status:empty { display: none; }
.qx-status.warn { padding: 12px 16px; background: #fff7e0; text-align: left; }
.qx-spin { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -2px; border: 2.5px solid #c3cbe0; border-top-color: var(--green-deep); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.qx-result:not(:empty) { margin-top: 18px; animation: land .6s var(--ease); }
@keyframes land { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
/* The result. The service's own renderer draws it (app.js, the one the console uses), so a visitor sees what an account
   sees: the checks against the document's totals, every unit or line item, the summary, the JSON. These rules give
   that markup the site's look; nothing here changes what is shown. */
.qx-result { font-size: 16px; }
.qx-result .muted { color: var(--muted); }
.qx-result .small { font-size: 14px; }
.qx-result .status-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); }
.qx-result .status-strip b { color: var(--ink); font-weight: 700; }
.qx-result .strip-file { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--ink); }
.qx-result .badge { display: inline-block; padding: 5px 12px; font-size: 14px; font-weight: 700; }
.qx-result .b-ok { background: var(--green); color: var(--green-ink); }
.qx-result .b-warn { background: #fde68a; color: #5a3d00; }
.qx-result .b-bad { background: #fdecec; color: #7a1616; }
.qx-result .b-muted { background: var(--wash); color: var(--muted); }
.qx-result .badge.has-tip { cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }
.qx-result td .badge { padding: 2px 8px; font-size: 13px; }
.qx-result td .b-ok { background: var(--green-wash); }
.qx-result .card { padding: clamp(16px, 2vw, 24px); box-shadow: inset 0 0 0 1px var(--line); }
.qx-result .card h3 { margin-bottom: 8px; font-size: 18px; color: var(--navy); }
.qx-result .check { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.qx-result .check b { font-weight: 700; }
.qx-result .ico { flex: none; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.qx-result .ico.ok { background: var(--green-wash); color: var(--green-deep); }
.qx-result .ico.bad { background: #fdecec; color: #b42318; }
.qx-result .ico.warn { background: #fff7e0; color: #b45309; }
.qx-result .ico.na { background: var(--wash); color: var(--muted); }
.qx-result .toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.qx-result .btn { min-height: 40px; padding: 0 14px; justify-content: center; font: inherit; font-size: 15px; font-weight: 700; color: var(--navy); background: transparent; border: 0; box-shadow: inset 0 0 0 1.5px var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.qx-result .btn:hover { background: var(--navy); color: #fff; }
.qx-result .btn.xlsx { order: -1; background: var(--green); color: var(--green-ink); box-shadow: none; }
.qx-result .btn.xlsx:hover { background: var(--green-bright); color: var(--green-ink); }
.qx-result .tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; border-bottom: 2px solid var(--navy); }
.qx-result .tabs button { min-height: 46px; padding: 0 18px; font: inherit; font-weight: 700; color: var(--navy); background: var(--wash); border: 0; cursor: pointer; transition: background .2s, color .2s; }
.qx-result .tabs button:hover { background: #dfe6fa; }
.qx-result .tabs button.active { background: var(--navy); color: #fff; }
.qx-result .panel { display: none; }
.qx-result .panel.active { display: block; }
.qx-result .scroll { max-height: min(72vh, 620px); overflow: auto; }
.qx-result .mix-wrap { max-height: none; }
.qx-result .mix-wrap + p { margin-top: 12px; }
.qx-result table.t { font-size: 15px; }
.qx-result table.t th { position: sticky; top: 0; z-index: 2; background: var(--plate); border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line); cursor: pointer; }
.qx-result th.r, .qx-result td.r { text-align: right; }
.qx-result table.mix th { position: static; background: var(--navy); color: #fff; box-shadow: none; cursor: default; white-space: normal; line-height: 1.25; vertical-align: bottom; }
.qx-result table.mix tr.total td { font-weight: 700; color: var(--navy); background: var(--green-wash); border-top: 2px solid var(--navy); border-bottom: 0; }
.qx-result table.t12s td:first-child { white-space: normal; }
.qx-result table.t12s tr.custom td:first-child { padding-left: 30px; }
.qx-result table.t12s tr.grand td { background: var(--navy); color: #fff; border-top: 0; }
.qx-result table.t12l { font-size: 14px; }
.qx-result table.t12l th { cursor: default; }
.qx-result table.t12l td:first-child { position: sticky; left: 0; z-index: 1; max-width: min(320px, 46vw); overflow: hidden; text-overflow: ellipsis; background: var(--plate); box-shadow: inset -1px 0 0 var(--line); }
.qx-result table.t12l th:first-child { left: 0; z-index: 3; }
.qx-result table.t12l tr.sub td, .qx-result table.t12l tr.sub td:first-child { font-weight: 700; color: var(--navy); background: var(--wash); }
.qx-result table.t12l tr.rev td, .qx-result table.t12l tr.rev td:first-child { background: #fff7e0; }
.qx-result table.t12l td.calc { font-style: italic; color: var(--muted); }
.qx-result table.t12l td.off { color: #b42318; font-weight: 700; }
.qx-result td.has-tip { cursor: help; }
.qx-result pre.json { margin: 0; max-height: min(72vh, 620px); overflow: auto; padding: 18px 20px; background: #0a1230; color: var(--pale); font-family: var(--mono); font-size: 13.5px; line-height: 1.6; }
/* what the renderer puts on the page itself: its "Copied" note, and the reasons behind a "Needs review" badge */
.toast { position: fixed; bottom: 22px; left: 50%; z-index: 60; display: none; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%); padding: 10px 16px; background: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 0 0 2px #fff; }
.qd-tip { position: fixed; z-index: 90; display: none; max-width: min(460px, calc(100vw - 24px)); padding: 10px 12px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.5; white-space: pre-line; pointer-events: none; box-shadow: 0 0 0 2px #fff; }
table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 14px; font-weight: 700; color: var(--muted); }
td.n, th.n { text-align: right; }
.qx-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 18px; padding: 16px 18px; background: var(--wash); font-size: 16px; color: #33406b; }
.qx-next span { flex: 1 1 320px; }
.qx-next b { color: var(--ink); font-weight: 700; }
.qx-cta { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; background: var(--green); color: var(--green-ink); font-weight: 700; text-decoration: none; }
.qx-cta:hover { background: var(--green-bright); }
.qx-privacy { margin: 16px 0 0; font-size: 15px; color: var(--muted); text-align: center; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 17px; color: var(--pale); }
.facts b { color: #fff; font-weight: 700; }
.strip--light .facts, .strip--wash .facts { color: #33406b; } .strip--light .facts b, .strip--wash .facts b { color: var(--ink); }

/* Testimonials */
.said { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 5vw, 80px); }
blockquote { margin: 0; }
blockquote p { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.35; text-wrap: pretty; }
blockquote footer { margin-top: 16px; font-size: 16px; color: var(--soft); }
blockquote footer b { color: #fff; font-weight: 700; }
.strip--light blockquote footer, .strip--wash blockquote footer { color: var(--muted); }
.strip--light blockquote footer b, .strip--wash blockquote footer b { color: var(--ink); }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.founder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

/* Recommended model */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 480px); gap: clamp(24px, 5vw, 80px); align-items: center; }
.partner img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.partner a:hover img { transform: translateY(-6px); }
.promo { padding: 2px 8px; font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--green-ink); background: var(--green-wash); box-shadow: inset 0 0 0 1px var(--green-deep); user-select: all; }

/* Long-form text: articles and legal pages */
.prose { max-width: 72ch; font-size: 18px; line-height: 1.65; color: #26315c; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; color: var(--navy); max-width: none; }
.prose h3 { margin-top: 1.6em; color: var(--navy); }
.prose a { color: var(--green-deep); font-weight: 600; }
.prose a:hover { color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose img { height: auto; display: block; }
.prose img.cover { width: 100%; margin-bottom: 1.6em; }
.prose table { display: block; overflow-x: auto; font-size: 16px; }
.prose th, .prose td { white-space: normal; vertical-align: top; min-width: 9em; }
.prose blockquote { padding-left: 18px; border-left: 1px solid var(--navy); color: var(--ink); }
.crumbs { margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.crumbs a { color: var(--green-bright); }
.byline { margin-top: 18px; font-size: 16px; color: var(--soft); }
.byline a { color: #fff; }
.posts h3 a, .ledger h3 a { text-decoration: none; }
.posts h3 a:hover, .ledger h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.founder--hero { grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); align-items: start; }
.founder--hero p { color: var(--pale); }
.founder--hero .lede { margin-top: 12px; }

/* Contact form */
.form { display: grid; gap: 18px; }
.form-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #9aa7c9; border-radius: 0; caret-color: var(--green-deep); }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--green-deep); }
.form .btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.hp { position: absolute; left: -9999px; }

.form-error { padding: 12px 16px; background: #fdecec; color: #7a1616; font-weight: 600; box-shadow: inset 3px 0 0 #b42318; }
.sent { padding: clamp(20px, 3vw, 32px); background: var(--green-wash); box-shadow: inset 0 3px 0 var(--green-deep); }
.sent h3 { color: var(--navy); }
.sent p { margin-top: 10px; color: #33406b; }
.sent a { color: var(--green-deep); font-weight: 600; }

/* Blog pages: older and newer articles */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: clamp(20px, 2.6vw, 32px); border-top: 2px solid var(--navy); }
.pager .btn { min-height: 54px; padding: 0 20px; font-size: 17px; }
.pager span { font-size: 15px; font-weight: 600; color: var(--muted); }
.btn--back { flex-direction: row-reverse; }
.btn--back svg, .btn--back:hover svg { transform: rotate(180deg); }
.btn--back:hover svg { translate: -5px 0; }

/* Questions */
.qa { background: var(--wash); color: var(--ink); padding: clamp(56px, 8vw, 112px) var(--pad); }
.qa h2 { color: var(--navy); }
.qa h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.qa h3 { margin: 40px 0 14px; font-size: 16px; font-weight: 700; color: var(--green-deep); }
.qa h2 + h3 { margin-top: 0; }
.qa h2 + .qa-group > h3 { margin-top: 0; }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 72px); align-items: start; }
details { border-top: 2px solid var(--navy); }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; font-weight: 700; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.3; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 16px; height: 16px; margin-top: 5px; background: linear-gradient(var(--navy), var(--navy)) center/100% 2px no-repeat, linear-gradient(var(--navy), var(--navy)) center/2px 100% no-repeat; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--green-deep); }
details p { margin: 0 0 22px; max-width: 68ch; }

/* Footer */
.site-foot { background: #0a1230; color: var(--soft); font-size: 15px; border-top: 2px solid var(--groove); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px clamp(32px, 6vw, 112px); padding: clamp(48px, 6vw, 80px) var(--pad); }
.foot-brand img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }
.foot-brand p { margin-top: 18px; max-width: 34ch; line-height: 1.5; }
.foot-cta { margin-top: 22px; min-height: 54px; font-size: 17px; padding: 0 20px; }
.site-foot a.foot-cta:hover { color: var(--green-ink); text-decoration: none; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px); }
.foot-title { font-size: 15px; font-weight: 700; line-height: 1.3; color: #fff; }
.foot-brand a { text-decoration: underline; }
.foot-cols ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-foot a { text-decoration: none; cursor: pointer; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding: 22px var(--pad); border-top: 1px solid var(--groove); font-size: 14px; }

@media (max-width: 860px) {
  .row, .cols, .founder, .founder--hero, .qa-grid, .foot-top, .partner { grid-template-columns: minmax(0, 1fr); }
  .partner img { max-width: 420px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger > li, .ledger--two > li { grid-template-columns: minmax(0, 1fr); }
  .more { align-self: flex-start; }
  .clients { flex-direction: column; align-items: flex-start; }
  .clients-logos { flex: none; width: 100%; justify-content: flex-start; }
  .convert { grid-template-columns: minmax(0, 1fr); }
  .cv-arrow svg { transform: rotate(90deg); }
  .cv-json pre { min-height: 21em; font-size: 13px; }
  .founder img { max-width: 240px; }
  .site-head nav { gap: 4px 20px; font-size: 15px; }
}
/* A phone or a narrow tablet (David, 2026-10-11: "the mobile version reads too long"): the same pages, shorter. A Q&A
   with several groups shows each group as one row with its number of questions, and a tap opens it (the site's script
   builds the rows, so without it every question shows as before). The try-it box and the footer are tighter. Wider
   screens are unchanged. */
@media (max-width: 860px) {
  .qa-group.foldable { border-top: 2px solid var(--navy); }
  .qa-group.foldable:last-child { border-bottom: 2px solid var(--navy); }
  .qa .qa-group.foldable > h3 { margin: 0; font-size: 18px; color: var(--navy); }
  .qa-fold { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 0; font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer; }
  .qa-fold span { flex: 1; }
  .qa-fold small { font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
  .qa-fold::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--navy), var(--navy)) center/100% 2px no-repeat, linear-gradient(var(--navy), var(--navy)) center/2px 100% no-repeat; transition: transform .3s var(--ease); }
  .qa-fold[aria-expanded="true"]::after { transform: rotate(45deg); }
  .qa-fold:hover span { color: var(--green-deep); }
  .qa-group.folded > .qa-grid { display: none; }
  .qa-group.foldable > .qa-grid { padding-bottom: 6px; }
  .qa-group.foldable details { border-top: 1px solid var(--line); }
  .qa-group.foldable summary { font-size: 16px; }
  .qx-drop { padding: 20px 16px; }
  .qx-drop svg { width: 26px; height: 26px; }
  .qx-samples { gap: 8px; }
  .qx-samples > span { flex-basis: 100%; text-align: center; }
  .qx-samples button { flex: 1 1 0; min-height: 48px; padding: 6px 10px; line-height: 1.25; }
  .foot-top { gap: 28px; padding-top: 40px; padding-bottom: 36px; }
  .foot-cols { gap: 24px; }
  .foot-cols ul { margin-top: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
