/* FaxFair Business: look A, "Ledger" (Nico, 2026-11-18). FaxFair's bars and wordmark in office colors.
   Contrast checked: every text color here is 4.5:1 or more on its background. Ochre is decoration only. */
@font-face { font-family: "Chivo"; src: url("/assets/fonts/chivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Michroma"; src: url("/assets/fonts/michroma-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --brick: #A4442A; --ochre: #C49A2C; --forest: #3F7A45; --teal: #2E7486; --navy: #1F3A6E; --navy-hover: #16294F;
  --ground: #F4F5F7; --card: #FFFFFF; --line: #DADDE3; --line-soft: #E3E6EB; --head: #EEF0F4;
  --text: #1E2329; --muted: #4A5260; --quiet: #5A6270; --mark: #FBF6E9;
  --error: #A3291C; --ok: #1E6B3A; --focus: #214D99;
  --font: "Chivo", "Helvetica Neue", Arial, sans-serif;
  --font-mark: "Michroma", "Eurostile", "Helvetica Neue", Arial, sans-serif;
  --wrap: 70rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: 0.5rem 1rem; z-index: 10; }
[hidden] { display: none !important; }

/* Lockup: bars, wordmark, thin divider, BUSINESS */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.bars { display: inline-flex; gap: 2px; }
.bars i { display: block; width: 6px; height: 24px; }
.bars i:nth-child(1) { background: var(--brick); }
.bars i:nth-child(2) { background: var(--ochre); }
.bars i:nth-child(3) { background: var(--forest); }
.bars i:nth-child(4) { background: var(--teal); }
.bars i:nth-child(5) { background: var(--navy); }
.wordmark { font-family: var(--font-mark); font-size: 1.125rem; line-height: 1; }
.divider { width: 1px; height: 22px; background: #9AA2AE; }
.biz { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.18em; color: var(--navy); }
.brand:hover .wordmark { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

.site-header { background: var(--card); border-bottom: 2px solid var(--navy); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap; }
.site-nav { display: flex; align-items: center; gap: 0.5rem 1.5rem; flex-wrap: wrap; font-size: 0.9375rem; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.btn):hover { text-decoration: underline; }

.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; padding: 0.75rem 1.15rem; border-radius: 8px; font-weight: 600; border: 0; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.btn:hover { background: var(--navy-hover); color: #fff; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-quiet { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-quiet:hover { background: var(--head); color: var(--navy); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; text-align: left; }

main { display: block; }
.section { padding-top: 3rem; padding-bottom: 3rem; }
.section + .section { padding-top: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); gap: 2.5rem; align-items: center; padding: 3rem 0 2rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.card h2, .card h3 { margin-top: 0; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--quiet); font-weight: 700; text-transform: uppercase; margin-bottom: 0.75rem; display: block; }

/* The monthly receipt */
.receipt { font-variant-numeric: tabular-nums; }
.receipt .line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; color: var(--muted); padding: 0.35rem 0; }
.receipt .line.total { color: var(--text); font-weight: 700; border-top: 1px solid var(--line-soft); margin-top: 0.35rem; padding-top: 0.6rem; }
.receipt .down { color: var(--ok); font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1.5rem 0 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 0.75rem; }

/* Pricing: a ledger table */
.ledger { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ledger th { text-align: left; background: var(--head); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0.85rem 1.1rem; }
.ledger td { padding: 0.95rem 1.1rem; border-top: 1px solid var(--line-soft); }
.ledger td.price { font-weight: 700; }
.ledger td.per { color: var(--muted); }
.ledger tr.here td { background: var(--mark); }
.ledger tr.here td:first-child { box-shadow: inset 4px 0 0 var(--ochre); }
.table-box { overflow-x: auto; }
.slider { display: flex; align-items: center; gap: 1rem 1.25rem; background: var(--card); border: 1px solid var(--line); padding: 1rem 1.1rem; margin-top: 1rem; flex-wrap: wrap; }
.slider label { font-weight: 600; }
.slider input { flex: 1 1 14rem; accent-color: var(--navy); min-height: 44px; }
.slider output { font-weight: 600; }
.note { color: var(--muted); font-size: 0.95rem; }

/* Forms */
form .field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; max-width: 28rem; }
label { font-weight: 600; }
input[type="email"], input[type="text"], input[type="search"] { font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #8C94A1; border-radius: 8px; background: #fff; color: var(--text); min-height: 44px; }
.inline { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: flex-end; }
.inline .field { margin-bottom: 0; flex: 1 1 16rem; min-width: 0; }
.field input, .field textarea { width: 100%; max-width: 100%; }
.msg { margin: 0.75rem 0 0; }
.msg[data-kind="error"] { color: var(--error); }
.msg[data-kind="ok"] { color: var(--ok); }
.numbers { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.5rem; max-width: 32rem; }
.numbers li { display: flex; align-items: center; gap: 0.6rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.8rem; }
.numbers input { width: 1.2rem; height: 1.2rem; accent-color: var(--navy); }
.numbers label { font-weight: 500; font-variant-numeric: tabular-nums; }
.list { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
#billing { margin-top: 1.75rem; border-top: 1px solid var(--line-soft); padding-top: 1.25rem; }
.list li { padding: 0.6rem 0; border-top: 1px solid var(--line-soft); }
.account-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.number-big { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--card); margin-top: 3rem; }
.footer-row { display: flex; align-items: center; gap: 1rem 2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; flex-wrap: wrap; }
.footer-row p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.footer-row .footer-entity { flex-basis: 100%; font-size: 0.85rem; }
.brand-small .wordmark { font-size: 0.95rem; }
.brand-small .bars i { height: 18px; width: 5px; }
.brand-small .divider { height: 16px; }
.brand-small .biz { font-size: 0.7rem; }

@media (max-width: 820px) {
  .hero, .grid-2, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2rem; }
}
@media (max-width: 480px) {
  .site-nav { gap: 0.4rem 1rem; font-size: 0.9rem; }
  .btn-nav { padding: 0.6rem 0.9rem; }
  .ledger th, .ledger td { padding: 0.75rem 0.7rem; }
}
.narrow { max-width: 34rem; }
.send-card { margin-top: 1rem; }
.usage { font-weight: 600; margin: 0.5rem 0 0; }
textarea { font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #8C94A1; border-radius: 8px; background: #fff; color: var(--text); }
input[type="file"] { font: inherit; padding: 0.5rem 0; min-height: 44px; }
details.cover { margin: 0.25rem 0 1rem; max-width: 28rem; }
details.cover summary { cursor: pointer; color: var(--navy); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.card h2 + .note + .list + h2, .list + h2 { margin-top: 1.5rem; }
