/* Shared styles for the Profit Leak Scan pages. Same tokens as index.html. */
:root {
  --bg: #FFFFFF; --bg-soft: #F7F8F9; --ink: #0E1116; --ink-2: #4A5260; --ink-3: #7A828E;
  --line: #E6E8EB; --line-2: #D5D9DE; --green: #0B8A4B; --green-2: #12B76A; --green-soft: #E8F6EE;
  --red: #C8322A; --red-soft: #FCEDEC; --amber: #B26A00; --amber-soft: #FFF4E0;
  --r: 16px; --shadow: 0 1px 2px rgba(14,17,22,.04), 0 8px 28px rgba(14,17,22,.06);
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 5vw, 56px); --maxw: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6;
  letter-spacing: -.005em; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.eyebrow.g { color: var(--green); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 700;
  font-size: 15px; letter-spacing: -.012em; padding: 14px 24px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s, opacity .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #24282E; transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #097A42; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { font-size: 16.5px; padding: 17px 28px; }
.btn[disabled], .btn.is-loading { opacity: .55; cursor: default; transform: none; }
.btn:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }

/* Top bar */
.bar { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); position: sticky; top: 0; z-index: 40; }
.bar-in { display: flex; align-items: center; gap: 20px; padding-block: 13px; }
.mark { text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.mark-logo { width: 30px; height: 23px; flex: none; color: var(--ink); display: block; }
.mark-word { font-weight: 800; font-size: 16px; letter-spacing: -.03em; white-space: nowrap; }
.bar-note { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.bar-note svg { width: 14px; height: 14px; color: var(--green); }

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.ticks li b { color: var(--ink); font-weight: 700; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.tick svg { width: 11px; height: 11px; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* Forms */
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.field input, .field select { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field input::placeholder { color: #A6ADB7; }
.field input[aria-invalid="true"] { border-color: var(--red); background: var(--red-soft); }
.form-err { color: var(--red); font-size: 13.5px; font-weight: 600; margin: 0; min-height: 1em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; margin: 0; }
.fine a { color: var(--ink-2); }

/* Bands */
.band { padding-block: clamp(52px, 7vw, 92px); }
.band-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.band-head { max-width: 34ch; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.band-head h2 { font-size: clamp(28px, 3.8vw, 44px); margin-top: 12px; }
.band-head p { font-size: 17.5px; color: var(--ink-2); margin: 14px auto 0; max-width: 52ch; line-height: 1.55; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--ink-3); }
.foot-in nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-in a { text-decoration: none; color: var(--ink-2); }
.foot-in a:hover { color: var(--ink); }

/* Provider logos (wordmarks drawn as text chips, not trademarked artwork) */
.chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-xero { background: #13B5EA; }
.dot-qbo { background: #2CA01C; }

.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Currency bar */
.topbar { background: var(--ink); color: #C7CCD3; font-size: 13px; }
.topbar-in { max-width: var(--maxw); margin: 0 auto; padding: 6px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .topbar-note { display: none; } .topbar-in { justify-content: flex-end; } }
.cur { display: inline-flex; align-items: center; gap: 8px; }
.cur-label { color: #9AA3AE; font-weight: 600; }
.cur-wrap { position: relative; display: inline-flex; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 0 10px 0 12px; }
.cur-sym { color: #5FE3A6; font-weight: 800; margin-right: 6px; }
.cur select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: #fff; font: inherit; font-weight: 700; padding: 5px 16px 5px 0; cursor: pointer; max-width: 210px; }
.cur select option { color: #0E1116; }
.cur-wrap::after { content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid #C7CCD3; border-bottom: 1.5px solid #C7CCD3; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cur select:focus-visible { outline: 2px solid #5FE3A6; outline-offset: 3px; border-radius: 6px; }

/* Clickables pop (2026-09-16) */
.btn { box-shadow: 0 1px 2px rgba(13,15,18,.08), 0 6px 16px -6px rgba(13,15,18,.28); transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s, opacity .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(13,15,18,.08), 0 14px 26px -10px rgba(13,15,18,.38); }
.btn-green { box-shadow: 0 1px 2px rgba(11,138,75,.25), 0 8px 22px -6px rgba(11,138,75,.5); }
.btn-ghost { border: 1.5px solid var(--ink); }
.btn[disabled]:hover, .btn.is-loading:hover { transform: none; }
.choice { border: 1.5px solid var(--line-2); }
.choice:hover { border-color: var(--green); box-shadow: 0 16px 34px -14px rgba(11,138,75,.45); }
main p a:not(.btn), main li a:not(.btn), .fine a, .sample a { color: var(--green); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-in nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn, .choice { transition: none; } .btn:hover, .choice:hover { transform: none; } }
