/* ============================================================
   Address Cleaner look (T-297, owner 2026-11-20): the palette, navy band, cards, pills and buttons of the Address
   Verification landing page, shared by the four Address Cleaner pages (landing, Check your file, status, download).
   Scoped under .acx so the site's global CSS cannot alter it and it cannot alter other pages. Follows the site theme
   (prefers-color-scheme + [data-theme]), the same way address-verification-landing.css does.
   Page-specific rules live in address-cleaner.css next to the page's own classes.
   ============================================================ */
.acx {
    --acx-bg: #eaf1f7;
    --acx-surface: #ffffff;
    --acx-surface-2: #f4f8fc;
    --acx-ink: #001d3d;
    --acx-ink-soft: #33475c;
    --acx-muted: #56697d;
    --acx-border: #d5e1ec;
    --acx-primary: #0077b6;
    --acx-primary-strong: #005b8c;
    --acx-accent: #00b4d8;
    --acx-btn: #0077b6;
    --acx-btn-hover: #005b8c;
    --acx-band-1: #001d3d;
    --acx-band-2: #003566;
    --acx-band-soft: #c9dcee;
    --acx-ok: #0b7a47; --acx-ok-bg: #e2f5ea;
    --acx-fix: #0a6fb0; --acx-fix-bg: #e0effa;
    --acx-unit: #8a5a00; --acx-unit-bg: #fdf1d8;
    --acx-nd: #5b4bb5; --acx-nd-bg: #ece8fb;
    --acx-warn: #9a4310; --acx-warn-bg: #fde9dc;
    --acx-none: #b42318; --acx-none-bg: #fde4e2;
    --acx-wait: #4b5f73; --acx-wait-bg: #e6edf4;
    --acx-shadow: 0 1px 2px rgba(0,29,61,.06), 0 12px 34px rgba(0,29,61,.09);
    --acx-shadow-sm: 0 1px 2px rgba(0,29,61,.06);
    --acx-radius: 14px;
    --acx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--acx-bg);
    color: var(--acx-ink);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .acx {
        --acx-bg: #00121f; --acx-surface: #062036; --acx-surface-2: #081c2f; --acx-ink: #e9f2fa; --acx-ink-soft: #b7c8d7;
        --acx-muted: #7d93a6; --acx-border: #12324a; --acx-primary: #2ba0da; --acx-primary-strong: #63c1ec; --acx-accent: #37c9e8; --acx-btn: #0369a1; --acx-btn-hover: #075985;
        --acx-band-1: #000d18; --acx-band-2: #04243f; --acx-band-soft: #a9c2d8;
        --acx-ok: #41c281; --acx-ok-bg: #0e2f24; --acx-fix: #63b3ed; --acx-fix-bg: #0b2a44; --acx-unit: #f2c063; --acx-unit-bg: #33260a;
        --acx-nd: #b3a6f5; --acx-nd-bg: #231c48; --acx-warn: #f3a26c; --acx-warn-bg: #3a1f0e; --acx-none: #f59a92; --acx-none-bg: #3d1513;
        --acx-wait: #a9bccd; --acx-wait-bg: #14283b;
        --acx-shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45); --acx-shadow-sm: 0 1px 2px rgba(0,0,0,.35);
    }
}
:root[data-theme="dark"] .acx {
    --acx-bg: #00121f; --acx-surface: #062036; --acx-surface-2: #081c2f; --acx-ink: #e9f2fa; --acx-ink-soft: #b7c8d7;
    --acx-muted: #7d93a6; --acx-border: #12324a; --acx-primary: #2ba0da; --acx-primary-strong: #63c1ec; --acx-accent: #37c9e8; --acx-btn: #0369a1; --acx-btn-hover: #075985;
    --acx-band-1: #000d18; --acx-band-2: #04243f; --acx-band-soft: #a9c2d8;
    --acx-ok: #41c281; --acx-ok-bg: #0e2f24; --acx-fix: #63b3ed; --acx-fix-bg: #0b2a44; --acx-unit: #f2c063; --acx-unit-bg: #33260a;
    --acx-nd: #b3a6f5; --acx-nd-bg: #231c48; --acx-warn: #f3a26c; --acx-warn-bg: #3a1f0e; --acx-none: #f59a92; --acx-none-bg: #3d1513;
    --acx-wait: #a9bccd; --acx-wait-bg: #14283b;
    --acx-shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45); --acx-shadow-sm: 0 1px 2px rgba(0,0,0,.35);
}
.acx, .acx *, .acx *::before, .acx *::after { box-sizing: border-box; }
/* the band runs edge to edge under the site header: the old .ac-page padding does not apply */
.ac-page.acx { padding: 0; }
.acx h1, .acx h2, .acx h3, .acx h4 { margin: 0; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; color: var(--acx-ink); }
.acx p { margin: 0; }
.acx a:not(.acx-btn) { color: var(--acx-primary); }
.acx :focus-visible { outline: 3px solid var(--acx-accent); outline-offset: 2px; }

/* width: the upload page 1160 px, pages with a row table up to 1320 px (owner 2026-10-06) */
.acx-in { max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.acx-in.acx-wide { max-width: 1320px; }

/* ---------- task pages: navy band with the step line, then cards on light blue ---------- */
.acx-band { background: linear-gradient(135deg, var(--acx-band-1), var(--acx-band-2) 70%, #005b8c); color: #fff; padding-block: 26px 30px; }
.acx-band h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 800; overflow-wrap: anywhere; }
.acx-band .acx-file { color: var(--acx-band-soft); margin-top: 6px; font-size: .95rem; overflow-wrap: anywhere; }
.acx-band .acx-file b { color: #fff; font-weight: 600; }
.acx-steps { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .82rem; color: var(--acx-band-soft); }
.acx-steps li { display: flex; align-items: center; gap: 7px; }
.acx-steps i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.acx-steps .done i { background: rgba(255,255,255,.18); border-color: transparent; }
.acx-steps [aria-current="step"] { color: #fff; font-weight: 700; }
.acx-steps [aria-current="step"] i { background: #fff; color: var(--acx-band-1); border-color: #fff; }
.acx-body { padding-block: 22px 56px; display: grid; gap: 16px; }
.acx-body > * { min-width: 0; }

.acx-card { background: var(--acx-surface); border: 1px solid var(--acx-border); border-radius: var(--acx-radius); padding: 18px 20px; box-shadow: var(--acx-shadow-sm); display: grid; gap: 12px; min-width: 0; }
.acx-card > * { min-width: 0; }
.acx-card h2, .acx-card h3 { font-size: 1.08rem; font-weight: 700; }
.acx-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--acx-primary); font-weight: 700; }
.acx-note { color: var(--acx-ink-soft); font-size: .9rem; }
.acx-muted { color: var(--acx-muted); font-size: .88rem; }
.acx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.acx-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }

/* the free box (green) and alerts */
.acx-free { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; background: var(--acx-ok-bg); border: 1px solid color-mix(in srgb, var(--acx-ok) 35%, transparent); border-radius: var(--acx-radius); padding: 16px 18px; }
.acx-free .acx-free-big { font-size: 1.5rem; font-weight: 800; color: var(--acx-ok); }
.acx-free p { color: var(--acx-ink-soft); font-size: .92rem; }
.acx-free b { color: var(--acx-ink); }

/* buttons (the site's .btn is left alone; these are only for .acx pages) */
.acx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; border-radius: 10px; padding: 11px 20px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.acx-btn-primary { background: var(--acx-btn); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--acx-primary) 35%, transparent); }
.acx-btn-primary:hover { background: var(--acx-btn-hover); color: #fff; text-decoration: none; }
.acx-btn-ghost { background: var(--acx-surface); color: var(--acx-ink); border-color: var(--acx-border); }
.acx-btn-ghost:hover { border-color: var(--acx-primary); color: var(--acx-ink); text-decoration: none; }
.acx-btn-big { padding: 14px 24px; font-size: 1.02rem; }
.acx-btn:disabled, .acx-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) { .acx-btn-primary:not(:disabled):hover { transform: translateY(-1px); } }

/* status pills: the same six names and colors on every page */
.acx-pill { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.5; }
.acx-pill.ok { color: var(--acx-ok); background: var(--acx-ok-bg); }
.acx-pill.fix { color: var(--acx-fix); background: var(--acx-fix-bg); }
.acx-pill.unit { color: var(--acx-unit); background: var(--acx-unit-bg); }
.acx-pill.nd { color: var(--acx-nd); background: var(--acx-nd-bg); }
.acx-pill.warn { color: var(--acx-warn); background: var(--acx-warn-bg); }
.acx-pill.none { color: var(--acx-none); background: var(--acx-none-bg); }
.acx-pill.wait { color: var(--acx-wait); background: var(--acx-wait-bg); }

/* progress */
.acx-count { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.acx-count b { font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.acx-bar { height: 10px; border-radius: 999px; background: var(--acx-surface-2); border: 1px solid var(--acx-border); overflow: hidden; display: flex; }
.acx-bar > span { display: block; height: 100%; transition: width .4s ease; }
.acx-bar .ok { background: var(--acx-ok); } .acx-bar .fix { background: var(--acx-fix); } .acx-bar .unit { background: var(--acx-unit); }
.acx-bar .nd { background: var(--acx-nd); } .acx-bar .warn { background: var(--acx-warn); } .acx-bar .none { background: var(--acx-none); }
.acx-bar .wait { background: var(--acx-wait); }

/* six result tiles */
.acx-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.acx-tile { border: 1px solid var(--acx-border); border-radius: 12px; padding: 12px; display: grid; gap: 2px; align-content: start; background: var(--acx-surface); }
.acx-tile b { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.acx-tile small { color: var(--acx-muted); font-size: .8rem; line-height: 1.35; }

/* tables */
.acx-scroll { overflow-x: auto; }
.acx-table { border-collapse: collapse; width: 100%; font-size: .88rem; }
.acx-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--acx-muted); font-weight: 700; padding: 9px 12px; border-bottom: 1px solid var(--acx-border); }
.acx-table td { padding: 10px 12px; border-bottom: 1px solid var(--acx-border); vertical-align: top; }
.acx-table tr:last-child td { border-bottom: 0; }
.acx-table td.acx-in-addr { font-family: var(--acx-mono); font-size: .8rem; color: var(--acx-muted); }
.acx-table td.acx-out-addr { font-weight: 600; }

/* filter chips */
.acx-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.acx-filters button { font: inherit; font-size: .82rem; font-weight: 600; border: 1px solid var(--acx-border); background: var(--acx-surface); color: var(--acx-ink); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.acx-filters button[aria-pressed="true"] { background: var(--acx-ink); color: var(--acx-surface); border-color: var(--acx-ink); }

/* money lines */
.acx-pay { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.acx-pay > div { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; }
.acx-pay .acx-tot { border-top: 1px solid var(--acx-border); padding-top: 8px; font-weight: 800; font-size: 1.05rem; }

/* ---------- landing: the Address Verification section rhythm ---------- */
/* exact Address Verification values (address-verification-landing.css .avl-section/.avl-head/.avl-chip/.avl-wrap):
   plain sections show the page's blue-gray, the tinted ones are lighter with a border */
.acx-section { padding-block: clamp(56px, 7vw, 88px); }
.acx-section .acx-in, .acx-final-wrap .acx-in { max-width: 1400px; padding-inline: clamp(20px, 5vw, 56px); }
.acx-section.acx-tint { background: var(--acx-surface-2); border-block: 1px solid var(--acx-border); }
.acx-head { text-align: center; max-width: 60ch; margin: 0 auto 44px; }
.acx-kicker { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--acx-primary-strong); font-weight: 700; }
.acx-head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; }
.acx-head p { color: var(--acx-muted); margin-top: 10px; }
.acx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.acx-chips li { background: var(--acx-surface); border: 1px solid var(--acx-border); border-radius: 9px; padding: 9px 13px; font-family: var(--acx-mono); font-size: .82rem; color: var(--acx-primary); font-weight: 600; box-shadow: var(--acx-shadow-sm); }
.acx-final-wrap { padding-block: 8px clamp(56px, 7vw, 88px); }
.acx-final { background: linear-gradient(150deg, #0077b6, #005b8c); border-radius: 20px; padding: 44px 28px; text-align: center; color: #fff; box-shadow: var(--acx-shadow); }
.acx-final h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; }
.acx-final p { margin-top: 10px; color: #fff; }
.acx-final .acx-btn { background: #fff; color: #005b8c; margin-top: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

@media (max-width: 900px) {
    .acx-split { grid-template-columns: 1fr; }
    .acx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .acx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .acx-head { margin-bottom: 28px; }
}
