/* Practitioner pages: accountants-bookkeepers.html and accounting-practices.html.
   One stylesheet for both, so a fix lands on both. The motif is the ledger's own:
   mono figures, ruled rows, and the double rule under a total. */

:root {
    --cream: #faf8f5;
    --ivory: #f3f0ea;
    --paper: #ebe7df;
    --ink: #1a1a1a;
    --ink-2: #3d3d3d;
    --ink-3: #66625b;
    --ink-4: #948f86;
    --rule: #d8d3c9;
    --rule-2: #bfb9ad;

    --navy: #2c4566;
    --navy-deep: #1e3450;
    --navy-wash: #e7edf6;

    --riq: #5b6eae;      /* ReconcileIQ */
    --ciq: #c4576a;      /* CodeIQ */
    --liq: #4a9080;      /* LedgerIQ */
    --prep: #7e5a22;     /* PrepIQ */
    --ok: #3f7d68;
    --hold: #a66a1c;

    --serif: 'Fraunces', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- type ---------- */
.label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: var(--ink); }
h1 {
    font-size: clamp(42px, 6.2vw, 82px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-variation-settings: 'opsz' 144;
}
h2 {
    font-size: clamp(32px, 4.3vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    font-variation-settings: 'opsz' 144;
    max-width: 18ch;
}
h1 em, h2 em { font-style: italic; color: var(--navy); }
h3 { font-size: 23px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin: 22px 0 0; }
p { margin: 0 0 14px; }
.small { font-size: 14px; color: var(--ink-3); }

/* ---------- masthead ---------- */
.progress-top { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--navy); z-index: 60; }
.masthead {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--cream) 92%, transparent);
    backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid var(--rule);
}
.masthead__inner { display: flex; align-items: center; gap: 28px; height: 64px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mark { text-decoration: none; display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 21px; }
.mark em { color: var(--navy); }
.mark__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3); }
.masthead__nav { display: flex; gap: 24px; margin-left: auto; }
.masthead__nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.masthead__nav a:hover { color: var(--navy); }
.masthead__cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 1px solid var(--rule-2); width: 40px; height: 40px; border-radius: 6px; cursor: pointer; }
.menu-toggle svg { width: 20px; margin: auto; }
.drawer { display: none; }
@media (max-width: 960px) {
    .masthead__nav { display: none; }
    .masthead__cta { margin-left: auto; }
    .masthead__cta .btn--ghost { display: none; }
    .menu-toggle { display: grid; }
    .mark__meta { display: none; }
    .mark { white-space: nowrap; }
    .drawer { position: fixed; top: 64px; left: 0; right: 0; z-index: 49; background: var(--cream); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px; flex-direction: column; }
    .drawer.open { display: flex; }
    .drawer a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 6px;
    font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--navy-deep); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }
.btn--ghost { color: var(--ink-2); padding: 12px 10px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 34px; }
.actions .small { margin: 0 0 0 6px; }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.section--ivory { background: var(--ivory); }
.section--ink { background: var(--navy-deep); color: #e9edf4; border-top: 0; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink h2 em { color: #b9c8e2; }
.section--ink .label { color: #9fb0cc; }
.section--ink .lede, .section--ink p { color: #cfd8e6; }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head .lede { margin: 0; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 17ch; font-size: clamp(40px, 5vw, 64px); }
.hero__grid--wide { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
@media (max-width: 1000px) { .hero__grid--wide { grid-template-columns: 1fr; } }

/* Day book: bank lines arriving coded. The one moving thing on the page. */
.dbook {
    background: #fff;
    border: 1px solid var(--rule-2);
    border-radius: 10px;
    box-shadow: 0 1px 0 var(--rule), 0 24px 48px -28px rgba(30, 52, 80, .35);
    overflow: hidden;
    font-size: 14px;
}
.dbook__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); background: var(--ivory); }
.dbook__title { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dbook__rate { font-family: var(--mono); font-size: 12px; color: var(--navy); }
.dbook__rows { list-style: none; margin: 0; padding: 0; min-height: 336px; }
.dbook__row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 84px 118px;
    gap: 10px; align-items: center;
    padding: 10px 16px; border-bottom: 1px solid #efece6;
    font-variant-numeric: tabular-nums;
    animation: rowIn .45s ease both;
}
.dbook__row .d { font-family: var(--mono); font-size: 12px; color: var(--ink-4); }
.dbook__row .t { overflow: hidden; }
.dbook__row .t b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbook__row .t span { display: block; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbook__row .a { font-family: var(--mono); text-align: right; }
.conf { font-family: var(--mono); font-size: 11.5px; text-align: right; padding: 4px 8px; border-radius: 4px; justify-self: end; white-space: nowrap; }
.conf--ok { color: var(--ok); background: #e8f1ec; }
.conf--hold { color: var(--hold); background: #f7ecdc; }
.dbook__foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--ivory); border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.dbook__foot strong { color: var(--ink); font-weight: 500; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) {
    .dbook__row { grid-template-columns: minmax(0, 1fr) 76px; }
    .dbook__row .d { display: none; }
    .dbook__row .conf { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .dbook__row { animation: none; } }

/* ---------- the five tools ---------- */
.tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.tool { display: flex; flex-direction: column; padding: 22px 20px 24px 0; text-decoration: none; color: inherit; border-top: 4px solid transparent; margin-top: -2px; transition: border-color .2s; }
.tool + .tool { padding-left: 20px; border-left: 1px solid var(--rule); }
.tool:hover { border-top-color: var(--c); }
.tool .label { color: var(--c); margin-bottom: 10px; }
.tool h3 { font-size: 22px; margin-bottom: 8px; }
.tool p { font-size: 15px; color: var(--ink-2); flex: 1; }
.tool__with { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--ink-3); padding-top: 10px; border-top: 1px solid var(--rule); }
.tool:hover h3 { color: var(--c); }
@media (max-width: 1000px) { .tools { grid-template-columns: 1fr 1fr; } .tool + .tool { border-left: 0; padding-left: 0; } .tool:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--rule); } }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; } .tool:nth-child(2n) { padding-left: 0; border-left: 0; } .tool { border-bottom: 1px solid var(--rule); } }

/* ---------- month sequence ---------- */
.month { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: m; border-top: 2px solid var(--ink); }
.month li { padding: 20px 20px 0 0; counter-increment: m; }
.month li::before { content: counter(m); display: block; font-family: var(--mono); font-size: 12px; color: var(--navy); margin-bottom: 12px; }
.month h3 { font-size: 20px; margin-bottom: 8px; }
.month p { font-size: 15px; color: var(--ink-3); }
@media (max-width: 900px) { .month { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 520px) { .month { grid-template-columns: 1fr; } }

/* ---------- the bill (signature) ---------- */
.bills { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 900px) { .bills { grid-template-columns: 1fr; } }
.bill { background: #fff; border: 1px solid var(--rule-2); border-radius: 8px; padding: clamp(22px, 3vw, 34px); }
.bill--ours { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-wash); }
.bill__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.bill__head h3 { font-size: 22px; }
.bill__head span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.bill table { width: 100%; border-collapse: collapse; }
.bill td { padding: 12px 0; border-bottom: 1px solid #ece8e1; vertical-align: top; font-size: 15.5px; }
.bill td:last-child { text-align: right; font-family: var(--mono); font-size: 14.5px; white-space: nowrap; padding-left: 16px; }
.bill td small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.bill .inc { color: var(--ok); }
.bill tr.total td { border-bottom: 0; padding-top: 16px; font-weight: 500; font-size: 16px; }
.bill tr.total td:last-child { font-size: 22px; font-family: var(--serif); font-weight: 500; }
.bill tr.total td:last-child span { border-bottom: 4px double var(--ink); padding-bottom: 2px; }
.bill--ours tr.total td:last-child span { border-bottom-color: var(--navy); color: var(--navy); }
.bill__note { margin: 16px 0 0; font-size: 13px; color: var(--ink-3); }
.sources { margin-top: 28px; font-size: 13px; color: var(--ink-3); max-width: 90ch; }

/* ---------- split rows (feature explanation) ---------- */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); padding: 30px 0; border-bottom: 1px solid var(--rule); }
.row h3 { font-size: 24px; }
.row p { color: var(--ink-2); }
.row p:last-child { margin-bottom: 0; }
.row .tag { text-decoration: none; display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 10px; } }

/* feature ledger: two columns of plain lines */
.breadth { columns: 3 240px; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.breadth li { break-inside: avoid; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; display: flex; justify-content: space-between; gap: 12px; }
.breadth li span { font-family: var(--mono); font-size: 11.5px; color: var(--ok); white-space: nowrap; padding-top: 3px; }
.breadth li span.paid { color: var(--ink-3); }

/* ---------- pipeline ---------- */
.pipe { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.pipe li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); counter-increment: p; }
.pipe li::before { content: counter(p, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: #9fb0cc; padding-top: 4px; }
.pipe b { font-weight: 500; color: #fff; }
.pipe span { display: block; font-size: 14.5px; color: #b9c5d8; }
.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
@media (max-width: 900px) { .ai { grid-template-columns: 1fr; } }
.guard { border-top: 1px solid rgba(255,255,255,.24); }
.guard div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.guard h3 { font-size: 21px; margin-bottom: 6px; }
.guard p { font-size: 15.5px; margin: 0; }
.speed { font-family: var(--serif); font-size: clamp(56px, 8vw, 104px); line-height: 1; letter-spacing: -0.03em; color: #fff; margin: 8px 0 6px; }
.speed small { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: #9fb0cc; text-transform: uppercase; display: block; margin-top: 10px; }

/* ---------- journal (rigour) ---------- */
.rig { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .rig { grid-template-columns: 1fr; } }
.journal { background: #fff; border: 1px solid var(--rule-2); border-radius: 8px; padding: 24px; font-variant-numeric: tabular-nums; }
.journal header { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.journal table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.journal th { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); text-align: right; padding: 12px 0 8px; }
.journal th:first-child { text-align: left; }
.journal td { padding: 9px 0; border-bottom: 1px solid #ece8e1; font-size: 15px; }
.journal td + td { text-align: right; font-family: var(--mono); font-size: 14px; width: 96px; }
.journal tr.sum td { border-bottom: 0; font-weight: 500; }
.journal tr.sum td + td span { border-bottom: 4px double var(--ink); padding-bottom: 2px; }
.journal .stamp { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.journal .stamp span { font-family: var(--mono); font-size: 11.5px; padding: 5px 9px; border: 1px solid var(--rule-2); border-radius: 4px; color: var(--ink-2); }
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rules li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rules b { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 4px; }
.rules span { color: var(--ink-2); font-size: 15.5px; }

/* ---------- on top: products ---------- */
.ontop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.ontop--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .ontop--3 { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .ontop { grid-template-columns: 1fr; } }
.prod { background: #fff; border: 1px solid var(--rule-2); border-top: 4px solid var(--c, var(--navy)); border-radius: 8px; padding: clamp(22px, 3vw, 34px); }
.prod .label { color: var(--c, var(--navy)); margin-bottom: 12px; }
.prod h3 { font-size: 28px; margin-bottom: 12px; }
.prod ul { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.prod li { padding: 9px 0; border-bottom: 1px solid #ece8e1; font-size: 15px; color: var(--ink-2); }
.prod .cost { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.elsewhere { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.elsewhere div { padding: 18px 18px 0 0; }
.elsewhere b { display: block; font-weight: 500; margin-bottom: 4px; }
.elsewhere span { font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 860px) { .elsewhere { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 480px) { .elsewhere { grid-template-columns: 1fr; } }

/* ---------- cherry: filing ---------- */
.file { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .file { grid-template-columns: 1fr; } }
.boxes { background: #fff; border: 1px solid var(--rule-2); border-radius: 8px; padding: 22px 24px; font-variant-numeric: tabular-nums; }
.boxes header { font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.boxes dl { margin: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; }
.boxes dt, .boxes dd { margin: 0; padding: 9px 0; border-bottom: 1px solid #ece8e1; font-size: 14.5px; }
.boxes dt { font-family: var(--mono); font-size: 12px; color: var(--ink-4); padding-top: 11px; }
.boxes dd.v { font-family: var(--mono); text-align: right; padding-left: 16px; }
.boxes .price { display: flex; justify-content: space-between; margin-top: 16px; font-family: var(--mono); font-size: 13px; }
.boxes .price b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--navy); border-bottom: 4px double var(--navy); line-height: 1.1; }

/* ---------- gifting (practices) ---------- */
.roster { background: #fff; border: 1px solid var(--rule-2); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 48px -30px rgba(30, 52, 80, .35); font-size: 14px; }
.roster__bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--ivory); border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.roster table { width: 100%; border-collapse: collapse; }
.roster th { font: 500 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-4); text-align: left; padding: 12px 16px 8px; }
.roster td { padding: 11px 16px; border-top: 1px solid #efece6; vertical-align: top; }
.roster td b { display: block; font-weight: 500; white-space: nowrap; }
.roster td span { font-size: 12.5px; color: var(--ink-3); }
.roster td.n { font-family: var(--mono); font-size: 13px; text-align: right; white-space: nowrap; }
.pill { display: inline-block; font-family: var(--mono); font-size: 11px; padding: 3px 7px; border-radius: 4px; background: var(--navy-wash); color: var(--navy); white-space: nowrap; }
.pill--hold { background: #f7ecdc; color: var(--hold); }
.pill--ok { background: #e8f1ec; color: var(--ok); }
@media (max-width: 560px) { .roster .hide-sm { display: none; } .roster td, .roster th { padding-left: 10px; padding-right: 10px; } .roster td b { white-space: normal; } .roster .pill { white-space: normal; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); counter-reset: s; }
.steps li { padding: 22px 28px 0 0; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--mono); font-size: 12px; color: var(--navy); margin-bottom: 12px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.terms { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--rule); }
.terms div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.terms b { display: block; font-weight: 500; margin-bottom: 2px; }
.terms span { font-size: 15px; color: var(--ink-3); }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }

/* sums table */
.sums { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: #fff; border: 1px solid var(--rule-2); border-radius: 8px; overflow: hidden; }
.sums th, .sums td { padding: 14px 18px; text-align: right; border-bottom: 1px solid #ece8e1; }
.sums th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--ivory); }
.sums th:first-child, .sums td:first-child { text-align: left; }
.sums td { font-family: var(--mono); font-size: 14.5px; }
.sums td:first-child { font-family: var(--sans); font-size: 15.5px; }
.sums td:first-child small { display: block; font-size: 12.5px; color: var(--ink-3); }
.sums tr.us td { background: var(--navy-wash); }
.sums tr.us td.big span { border-bottom: 4px double var(--navy); color: var(--navy); font-weight: 500; }
.sums-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sums-wrap table { min-width: 640px; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule-2); border-radius: 8px; background: #fff; overflow: hidden; }
.tier { padding: 26px 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.tier:nth-child(3n) { border-right: 0; }
.tier__name { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tier__price { font-family: var(--serif); font-size: 42px; line-height: 1.1; margin: 10px 0 2px; letter-spacing: -0.02em; }
.tier__price small { font-family: var(--sans); font-size: 14px; color: var(--ink-3); letter-spacing: 0; }
.tier__sub { font-size: 13.5px; color: var(--ink-3); min-height: 20px; }
.tier ul { list-style: none; margin: 18px 0 22px; padding: 0; border-top: 1px solid var(--rule); flex: 1; }
.tier li { padding: 8px 0; border-bottom: 1px solid #ece8e1; font-size: 14.5px; color: var(--ink-2); }
.tier--pick { background: var(--navy-wash); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr 1fr; } .tier:nth-child(3n) { border-right: 1px solid var(--rule); } .tier:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } .tier { border-right: 0 !important; } }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-family: var(--mono); font-size: 22px; color: var(--navy); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--ink-2); padding-bottom: 8px; max-width: 72ch; }

/* ---------- final ---------- */
.final { background: var(--navy-deep); color: #e9edf4; padding: var(--section) 0; }
.final h2 { color: #fff; max-width: 20ch; }
.final h2 em { color: #b9c8e2; }
.final p { color: #cfd8e6; max-width: 60ch; margin-top: 20px; }
.final .btn--solid { background: #fff; color: var(--navy-deep); }
.final .btn--solid:hover { background: var(--navy-wash); }
.final .btn--line { border-color: #cfd8e6; color: #fff; }
.final .btn--line:hover { background: #fff; color: var(--navy-deep); }
.final .small { color: #9fb0cc; }

/* ---------- footer ---------- */
.colophon { background: #151f2e; color: #b7c0cd; padding: 56px 0 40px; font-size: 14.5px; }
.colophon__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.colophon strong { font-family: var(--serif); font-size: 22px; font-weight: 400; color: #fff; }
.colophon strong em { color: #aebcd8; }
.colophon h4 { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8390a3; margin: 4px 0 14px; }
.colophon a { display: block; text-decoration: none; padding: 4px 0; color: #d4dae3; }
.colophon a:hover { color: #fff; }
@media (max-width: 760px) { .colophon__grid { grid-template-columns: 1fr 1fr; } .colophon__brand { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
