/* Business Hub site: the look of the Image Accounting client proposal (paper, navy, gold, serif headings, ruled
   grids, numbered steps). Shared by index.html and pricing.html. Plans, prices and sample figures come from plans.js. */
:root {
  --ink: #16202b; --muted: #45505c; --dim: #6b7380; --line: #d9d3c6; --rule: #2a3a4c;
  --paper: #f6f3ec; --card: #fffdf8; --soft: #efeadf; --brand: #1d2b3a; --gold: #8a5d17; --gold-lt: #e3c58f;
  --ok: #0f6b4f; --loss: #9b2c16; --loss-bg: #f8e6e1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: var(--serif); --body: var(--sans);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; color: var(--brand); margin: 0; line-height: 1.18; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 44rem; }
.sub { color: var(--muted); max-width: 46rem; margin-top: 14px; }
.fine { color: var(--dim); font-size: .86rem; max-width: 72ch; }
.gold-rule { width: 76px; height: 3px; background: var(--gold); border: 0; margin: 26px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 4px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: #2b3e53; }
.btn.line { background: transparent; color: var(--brand); }
.btn.line:hover { background: var(--soft); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: #a06d1c; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Running header, like the proposal's page header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 243, 236, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand); }
.brand .mark { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 1.05rem/1 var(--serif); flex: none; }
.brand b { font: 1.12rem/1.1 var(--serif); font-weight: normal; display: block; }
.brand small { font: 500 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: .92rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--brand); }
.top nav .btn { color: #fff; padding: 9px 16px; font-size: .9rem; }
@media (max-width: 860px) { .top nav a:not(.btn) { display: none; } }

/* Sections */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band + .band { border-top: 1px solid var(--line); }
.band.soft { background: var(--soft); }
.band.night { background: var(--brand); color: #dfe5ec; }
.band.night h2, .band.night h3 { color: #fff; }
.band.night .eyebrow { color: var(--gold-lt); }
.band.night .sub, .band.night .fine { color: #b8c2cd; }
.head { margin-bottom: 34px; }

/* Cover hero */
.hero { padding: clamp(52px, 9vw, 112px) 0 0; }
.hero .inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; border-top: 1px solid var(--line); margin-top: clamp(48px, 7vw, 88px); padding: 20px 0 30px; }
.facts div { font-size: .95rem; }
.facts small { display: block; font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.hero .inner.wide { display: block; }
@media (max-width: 860px) { .hero .inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 16px; } }

/* A report card, like the proposal's sample report */
.report { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 1px 0 rgba(29, 43, 58, .04), 0 18px 40px -28px rgba(29, 43, 58, .35); }
.report .rh { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.report .rh .eyebrow { margin-bottom: 6px; font-size: .64rem; }
.report .rh span { font-size: .78rem; color: var(--dim); }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; }
.jc { font-size: .86rem; min-width: 720px; font-variant-numeric: tabular-nums; }
.jc th { font: 600 .66rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.jc th:first-child, .jc td:first-child { text-align: left; padding-left: 0; }
.jc td { text-align: right; padding: 12px 8px; border-bottom: 1px solid #ebe5d8; white-space: nowrap; }
.jc td:first-child { white-space: normal; min-width: 170px; }
.jc tr.loss td { background: var(--loss-bg); }
.jc tr.loss td:nth-last-child(-n+2) { color: var(--loss); font-weight: 700; }
.jc tfoot td { font-weight: 700; border-bottom: 0; border-top: 1px solid var(--rule); }
.mini { font-size: .84rem; min-width: 0; }
.mini td, .mini th { padding: 9px 6px; }
.notes3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.notes3 b { display: block; color: var(--ink); font-size: .92rem; margin-bottom: 4px; }
@media (max-width: 760px) { .notes3 { grid-template-columns: 1fr; gap: 14px; } }

/* Ruled two-column grid ("Included in every plan") */
.ruled { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.ruled > div { border-top: 2px solid var(--rule); padding: 16px 0 26px; }
.ruled h3 { font: 600 1rem/1.3 var(--sans); color: var(--ink); margin-bottom: 6px; }
.ruled p { color: var(--muted); font-size: .94rem; margin: 0; }
.ruled.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .ruled, .ruled.three { grid-template-columns: 1fr; } }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { border-top: 2px solid var(--rule); padding-top: 12px; counter-increment: s; font-size: .93rem; color: var(--muted); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 600 .78rem/1 var(--sans); color: var(--gold); letter-spacing: .08em; margin-bottom: 10px; }
.steps b { display: block; color: var(--ink); margin-bottom: 4px; }
.night .steps li { border-color: #5c6f84; color: #b8c2cd; }
.night .steps b { color: #fff; }
.night .steps li::before { color: var(--gold-lt); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Comparison table, navy header like "Plans at a glance" */
.cmp { min-width: 720px; font-size: .92rem; background: var(--card); }
.cmp thead th { background: var(--brand); color: #fff; font: 1.08rem/1.2 var(--serif); font-weight: normal; padding: 16px 10px; text-align: center; }
.cmp thead th:first-child { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #cfd6de; text-align: left; padding-left: 16px; }
.cmp thead th small { display: block; font: 500 .66rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lt); margin-top: 4px; }
.cmp td { padding: 11px 10px; border-bottom: 1px solid #e6e0d3; text-align: center; color: var(--ink); }
.cmp td:first-child { text-align: left; padding-left: 16px; color: var(--ink); }
.cmp tr.grp td { background: var(--soft); font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding: 12px 16px; text-align: left; }
.cmp .ck { color: var(--ok); font-weight: 700; }
.cmp .no { color: #b3ac9f; }
.cmp td.pop { background: #fbf6ea; }
.cmp tfoot td { background: var(--soft); border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); padding: 16px 10px; }
.cmp tfoot b { display: block; font: 700 1.2rem/1.2 var(--sans); color: var(--brand); }
.cmp tfoot small { color: var(--dim); font-size: .76rem; }

/* Plan cards */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--gold); }
.plan.exec { border: 2px solid var(--brand); }
.plan .ph { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 14px; }
.plan h3 { font-size: 1.45rem; }
.plan .tag { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.plan .price { text-align: right; flex: none; }
.plan .price b { display: block; font: 1.9rem/1 var(--serif); font-weight: normal; color: var(--brand); }
.plan .price b.q { font-size: 1.15rem; line-height: 1.3; }
.plan .price small { color: var(--dim); font-size: .76rem; }
.plan .badge { display: inline-block; font: 600 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--gold); padding: 5px 8px; border-radius: 3px; margin-bottom: 10px; }
.plan ul { margin: 0 0 18px; padding-left: 18px; font-size: .93rem; }
.plan li { margin: 7px 0; }
.plan li::marker { color: var(--gold); }
.plan .setupline { background: var(--soft); border-radius: 6px; padding: 10px 14px; font-size: .84rem; color: var(--muted); }
.plan .go { margin-top: auto; padding-top: 6px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* What it replaces */
.rep { font-size: .92rem; }
.rep th { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 10px 8px; border-bottom: 2px solid var(--rule); }
.rep td { padding: 9px 8px; border-bottom: 1px solid #e6e0d3; vertical-align: top; }
.rep td small { color: var(--dim); font-size: .8rem; margin-left: 6px; }
.rep .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rep tr.total td { font-weight: 700; border-bottom: 0; }
.rep td.sub2 small { display: block; margin: 2px 0 0; }
.sum3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.sum3 > div { background: var(--soft); border-radius: 8px; padding: 20px 22px; }
.sum3 small { display: block; font: 600 .64rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.sum3 b { display: block; font: 1.75rem/1.15 var(--serif); font-weight: normal; color: var(--brand); margin-bottom: 8px; }
.sum3 span { font-size: .88rem; color: var(--muted); }
.sum3 .save { background: var(--brand); }
.sum3 .save small { color: var(--gold-lt); }
.sum3 .save b { color: #fff; }
.sum3 .save span, .sum3 .save a { color: #cfd6de; }
@media (max-width: 760px) { .sum3 { grid-template-columns: 1fr; } }

/* Two-up cards */
.two-up { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 24px 26px; }
.box.dash { background: transparent; border-style: dashed; }
.box h3 { margin-bottom: 8px; }
.box p { color: var(--muted); font-size: .95rem; }
.box ul { margin: 0; padding-left: 18px; font-size: .93rem; }
.box li { margin: 6px 0; }
.box li::marker { color: var(--gold); }
@media (max-width: 760px) { .two-up { grid-template-columns: 1fr; } }

/* Photos and demos */
.snaps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.snaps figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.snaps img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.snaps figcaption { padding: 10px 12px 12px; font-size: .84rem; color: var(--muted); }
.snaps figcaption b { display: block; font: 600 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
@media (max-width: 860px) { .snaps { grid-template-columns: repeat(2, 1fr); } }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 22px; margin-top: 30px; }
.roles a { display: block; border-top: 2px solid var(--rule); padding: 14px 0 22px; text-decoration: none; color: var(--muted); font-size: .9rem; }
.roles a b { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 4px; }
.roles a span { display: block; color: var(--gold); font-weight: 600; margin-top: 8px; font-size: .86rem; }
.roles a:hover b { color: var(--gold); }
@media (max-width: 860px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .roles { grid-template-columns: 1fr; } }

/* Terms, FAQ */
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 44px; font-size: .94rem; }
.terms div { margin-bottom: 14px; }
.terms b { display: block; color: var(--ink); margin-bottom: 2px; }
.terms span { color: var(--muted); }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 1.12rem/1.35 var(--serif); color: var(--brand); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.notice { background: var(--soft); color: var(--muted); font-size: .84rem; text-align: center; padding: 8px 20px; border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .84rem; color: var(--dim); }
footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
footer a { color: var(--muted); }
.top nav .btn { white-space: nowrap; }
@media (max-width: 560px) { .brand small { display: none; } .top nav .btn { padding: 8px 12px; } .plan .ph { flex-direction: column; } .plan .price { text-align: left; } }
/* Plan cards and boxes lift a little on hover, like the product cards on bezalelsoftware.ca. */
.plan, .box, .report, .snaps figure { transition: border-color .2s, transform .2s, box-shadow .2s; }
.plan:hover, .plan:focus-within, .box:hover, .snaps figure:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(29, 43, 58, .35); }
.plan.exec:hover, .plan.exec:focus-within { border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .plan, .box, .report, .snaps figure { transition: none; } .plan:hover, .plan:focus-within, .box:hover, .snaps figure:hover { transform: none; } }
.addon { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; background: var(--card); border: 1px dashed var(--gold); border-radius: 8px; padding: 22px 26px; }
.addon h3 { margin-bottom: 6px; } .addon p { color: var(--muted); margin: 0; font-size: .94rem; }
.addon ul { grid-column: 1 / -1; margin: 0; padding-left: 18px; font-size: .92rem; columns: 2; column-gap: 34px; } .addon li { margin: 4px 0; break-inside: avoid; } .addon li::marker { color: var(--gold); }
.addon .price b { display: block; font: 1.9rem/1 var(--serif); color: var(--brand); text-align: right; } .addon .price small { color: var(--dim); font-size: .76rem; }
.plan .addline { font-size: .86rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; margin: 0 0 14px; }
.plan .addline b { color: var(--gold); }
@media (max-width: 640px) { .addon { grid-template-columns: 1fr; } .addon .price b { text-align: left; } .addon ul { columns: 1; } }
/* A sample of the Photos screen, laid out like the photo apps crews already use. */
.ccam { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: clamp(14px, 2.4vw, 22px); box-shadow: 0 18px 40px -28px rgba(29, 43, 58, .35); }
.ccam-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; font-size: .86rem; }
.ccam-tab { padding: 7px 14px; border-radius: 4px; border: 1px solid var(--brand); color: var(--brand); font-weight: 600; }
.ccam-tab.on { background: var(--brand); color: #fff; }
.ccam-search { flex: 1; min-width: 180px; border: 1px solid var(--line); border-radius: 4px; padding: 7px 12px; color: var(--dim); background: var(--paper); }
.ccam-sort { border: 1px solid var(--line); border-radius: 4px; padding: 7px 12px; color: var(--muted); }
.ccam-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ccam-project { position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); font-size: .86rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ccam-project:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(29, 43, 58, .4); }
.ccam-project img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ccam-project b { display: block; font: 1rem/1.25 var(--serif); font-weight: normal; color: var(--brand); padding: 10px 12px 2px; }
.ccam-project small { display: block; color: var(--dim); padding: 0 12px; font-size: .78rem; } .ccam-project small:last-child { padding-bottom: 12px; }
.ccam-bid { position: absolute; left: 8px; top: 8px; background: var(--soft); color: var(--gold); font: 600 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; }
.ccam-day { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 22px 0 10px; }
.ccam-day small { letter-spacing: 0; text-transform: none; color: var(--dim); font-weight: 400; margin-left: 8px; }
.ccam-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ccam-grid figure { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); }
.ccam-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ccam-grid figcaption { padding: 8px 10px 10px; font-size: .8rem; color: var(--ink); } .ccam-grid figcaption small { display: block; color: var(--dim); font-size: .72rem; }
.ccam-tag { position: absolute; left: 6px; top: 6px; background: var(--brand); color: #fff; font: 600 .64rem/1 var(--sans); padding: 5px 8px; border-radius: 3px; }
.ccam-tag.hot { background: var(--gold-lt); color: var(--brand); }
.ccam-play { position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(29, 43, 58, .78); color: #fff; display: grid; place-items: center; padding-left: 4px; }
@media (max-width: 760px) { .ccam-projects { grid-template-columns: 1fr 1fr; } .ccam-projects .ccam-project:nth-child(3) { display: none; } .ccam-grid { grid-template-columns: 1fr 1fr; } }
.plan .price small.vary { display: block; color: var(--gold); font-weight: 600; margin-top: 3px; }
.hero .fits { font-size: .88rem; color: var(--dim); margin: -4px 0 0; max-width: 44rem; }
