/* CheckCraft — Financial-services design system
 * Palette: Navy ink (#0A2540), Gold accent (#C9A227), Emerald success (#0F7C50),
 * Bone (#F6F3EB), Pure white (#FFFFFF), Subtle line (#E2DDD0).
 */

:root {
    --navy: #0A2540;
    --navy-700: #163558;
    --navy-500: #2A4A75;
    --gold: #C9A227;
    --gold-dark: #A88515;
    --gold-soft: #F4E9C4;
    --emerald: #0F7C50;
    --bone: #F6F3EB;
    --bone-2: #EDE7D5;
    --line: #E2DDD0;
    --line-2: #D4CDB7;
    --ink: #0A1A2F;
    --ink-soft: #354B6A;
    --muted: #6E7A8E;
    --paper: #FDFBF5;
    --danger: #B5343A;
    --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06);
    --shadow: 0 6px 24px rgba(10, 37, 64, .08);
    --shadow-lg: 0 28px 60px -20px rgba(10, 37, 64, .25);
    --radius: 8px;
    --radius-lg: 14px;
    --maxw: 1200px;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', system-ui, sans-serif;
    --font-script: 'Caveat', 'Brush Script MT', cursive;
    --font-micr: 'JetBrains Mono', 'Roboto Mono', 'Courier New', ui-monospace, monospace;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--bone);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-dark); text-decoration: underline; }

img { max-width: 100%; display: block; }
hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* HEADER */
.site-header {
    background: var(--navy);
    color: #fff;
    position: sticky; top: 0; z-index: 50;
    border-bottom: 3px solid var(--gold);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 18px; }
.brand:hover { color: #fff; text-decoration: none; }
.brand-mark {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--gold); color: var(--navy);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px; letter-spacing: -.04em;
}
.brand-text {
    font-family: var(--font-display); font-weight: 700; font-size: 19px;
    letter-spacing: -.01em;
}
.brand-text small {
    display: block; font-size: 10.5px; font-weight: 500; color: var(--gold);
    letter-spacing: .14em; text-transform: uppercase; margin-top: -2px;
}

.nav-main { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.nav-main a {
    color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 500;
    padding: 4px 0; border-bottom: 2px solid transparent;
    text-transform: none; letter-spacing: .01em;
}
.nav-main a:hover { color: var(--gold); border-bottom-color: var(--gold); text-decoration: none; }

/* HERO with embedded check writer */
.hero {
    padding: 56px 0 64px;
    background:
        radial-gradient(900px 380px at 88% 0%, rgba(201, 162, 39, .14), transparent 60%),
        linear-gradient(180deg, var(--bone) 0%, #fbf8f0 100%);
    border-bottom: 1px solid var(--line);
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold-soft); color: #6B5612;
    padding: 6px 14px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
    margin-bottom: 18px;
    border: 1px solid #E5D389;
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.04;
    letter-spacing: -.025em;
    margin: 0 0 16px;
    color: var(--navy);
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(180deg, transparent 65%, rgba(201, 162, 39, .28) 65%);
    padding: 0 4px;
}
.hero p.lede {
    font-size: 18px; color: var(--ink-soft); max-width: 60ch; margin: 0 0 20px;
}
.hero-meta { display: flex; gap: 22px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta strong { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--navy); color: #fff;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 600; font-size: 14.5px;
    border: 1.5px solid var(--navy);
    transition: background .15s, transform .05s, box-shadow .15s;
    cursor: pointer; font-family: inherit;
    letter-spacing: .01em;
}
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--gold); color: var(--navy); border-color: var(--gold-dark); }
.btn.gold:hover { background: var(--gold-dark); color: #fff; }
.btn.secondary { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn.secondary:hover { background: var(--bone-2); color: var(--navy); border-color: var(--navy); }
.btn.lg { padding: 16px 28px; font-size: 15.5px; }

/* SECTIONS */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
section.dark { background: var(--navy); color: #fff; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .section-head p { color: rgba(255, 255, 255, .75); }

.section-head {
    display: flex; align-items: end; justify-content: space-between;
    gap: 24px; margin-bottom: 36px; flex-wrap: wrap;
}
.section-head .eyebrow {
    color: var(--gold-dark); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 36px);
    margin: 0; letter-spacing: -.02em; color: var(--navy);
    font-weight: 700;
}
.section-head p { color: var(--muted); margin: 8px 0 0; max-width: 60ch; font-size: 16px; }
.section-head a.more {
    color: var(--navy); font-weight: 600; font-size: 14px;
    border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.section-head a.more:hover { color: var(--gold-dark); text-decoration: none; }

/* === LIVE CHECK PAPER === */
.check-paper {
    background:
        repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(10, 37, 64, .04) 31px, rgba(10, 37, 64, .04) 32px),
        linear-gradient(160deg, #FFFEFA 0%, var(--paper) 70%, #F5F0E0 100%);
    border: 1.5px solid var(--line-2);
    border-radius: 6px;
    padding: 32px 36px 22px;
    box-shadow:
        var(--shadow-lg),
        inset 0 0 0 6px #fff,
        inset 0 0 0 7px var(--line);
    position: relative;
    aspect-ratio: 2.4 / 1;
    overflow: hidden;
    font-family: var(--font-sans);
    color: var(--ink);
}
.check-paper::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(140px 100px at 12% 22%, rgba(201, 162, 39, .12), transparent 70%),
        radial-gradient(180px 120px at 88% 78%, rgba(10, 37, 64, .06), transparent 70%);
    pointer-events: none;
}
.check-paper::after {
    /* watermark */
    content: 'AUTHENTIC';
    position: absolute; left: 50%; top: 38%;
    transform: translate(-50%, -50%) rotate(-12deg);
    font-family: var(--font-display);
    font-size: 64px; font-weight: 800;
    color: rgba(10, 37, 64, .035);
    letter-spacing: .35em;
    pointer-events: none;
    white-space: nowrap;
}

.check-paper .cp-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px; position: relative; z-index: 1;
}
.check-paper .cp-bank {
    font-family: var(--font-display); font-size: 19px; font-weight: 700;
    color: var(--navy); line-height: 1.2;
}
.check-paper .cp-addr { font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: .02em; }

.check-paper .cp-no {
    text-align: right; color: var(--navy);
    font-family: var(--font-mono); font-weight: 600; font-size: 18px;
}
.check-paper .cp-date-row {
    margin-top: 6px; display: flex; align-items: center; gap: 8px;
    font-size: 11px; color: var(--muted); justify-content: flex-end;
}
.check-paper .cp-date {
    font-family: var(--font-script); font-size: 19px;
    color: var(--navy-700); border-bottom: 1px solid var(--ink);
    min-width: 130px; padding: 0 8px 2px; text-align: center; line-height: 1;
}

.check-paper .cp-payee-row {
    display: flex; align-items: flex-end; gap: 14px; margin-top: 24px;
    position: relative; z-index: 1;
}
.check-paper .cp-payee-row .label {
    font-size: 10.5px; color: var(--ink); white-space: nowrap;
    text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
    padding-bottom: 6px;
}
.check-paper .cp-payee-row .field {
    flex: 1; border-bottom: 1.5px solid var(--ink);
    font-family: var(--font-script); font-size: 26px; color: var(--navy-700);
    padding: 0 10px 4px; min-height: 30px; line-height: 1;
}
.check-paper .cp-payee-row .amt {
    font-family: var(--font-mono); font-weight: 600; font-size: 17px;
    color: var(--navy);
    border: 1.5px solid var(--ink); padding: 7px 16px; border-radius: 4px;
    background: #fff; min-width: 130px; text-align: right;
    white-space: nowrap;
}

.check-paper .cp-words-row {
    display: flex; align-items: flex-end; gap: 14px; margin-top: 18px;
    position: relative; z-index: 1;
}
.check-paper .cp-words-row .field {
    flex: 1; border-bottom: 1.5px solid var(--ink);
    font-family: var(--font-script); font-size: 22px; color: var(--navy-700);
    padding: 0 10px 4px; min-height: 28px; line-height: 1.1;
    overflow: hidden; text-overflow: ellipsis;
}
.check-paper .cp-words-row .label {
    font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--ink); font-weight: 600; padding-bottom: 6px;
}

.check-paper .cp-bottom {
    display: flex; gap: 28px; margin-top: 22px;
    position: relative; z-index: 1;
}
.check-paper .cp-memo, .check-paper .cp-sig { flex: 1; }
.check-paper .cp-memo .label,
.check-paper .cp-sig .label {
    font-size: 10px; color: var(--muted); text-transform: uppercase;
    letter-spacing: .06em; margin-bottom: 4px;
}
.check-paper .cp-memo .field {
    border-bottom: 1px solid var(--ink); padding: 0 6px 3px; min-height: 22px;
    font-family: var(--font-script); font-size: 17px; color: var(--navy-700); line-height: 1;
}
.check-paper .cp-sig .field {
    border-bottom: 1px solid var(--ink); padding: 0 6px 3px; min-height: 22px;
    font-family: var(--font-script); font-size: 19px; color: var(--navy-700); line-height: 1;
    text-align: center;
}

.check-paper .cp-micr {
    position: absolute; left: 28px; right: 28px; bottom: 14px;
    font-family: var(--font-micr); font-size: 17px;
    color: #050913; letter-spacing: .14em;
    border-top: 1px dashed var(--line-2); padding-top: 8px;
    text-align: center; font-weight: 500;
    z-index: 1;
}

.check-paper .cp-band {
    position: absolute; top: 0; bottom: 0; width: 5px;
    background: var(--bank-color, var(--navy));
}
.check-paper .cp-band.l { left: 0; }
.check-paper .cp-band.r { right: 0; }

/* Smaller check thumbnail */
.check-thumb {
    background:
        repeating-linear-gradient(0deg, transparent 0, transparent 16px, rgba(10, 37, 64, .03) 16px, rgba(10, 37, 64, .03) 17px),
        var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    aspect-ratio: 2.4 / 1;
    position: relative; padding: 12px 14px 10px; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.check-thumb .ct-band { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--bank-color, var(--navy)); }
.check-thumb .ct-bank { font-weight: 700; color: var(--navy); font-size: 11.5px; line-height: 1.2; padding-left: 6px; }
.check-thumb .ct-no   { font-family: var(--font-mono); font-size: 10px; color: var(--muted); position: absolute; right: 12px; top: 12px; }
.check-thumb .ct-line { height: 6px; border-radius: 2px; background: rgba(10, 37, 64, .08); margin: 8px 0; }
.check-thumb .ct-line.short { width: 64%; }
.check-thumb .ct-amt  { position: absolute; right: 12px; top: 30px; font-family: var(--font-mono); font-size: 10px; color: var(--ink); border: 1px solid var(--line-2); padding: 2px 7px; border-radius: 3px; background: #fff; }
.check-thumb .ct-micr { position: absolute; left: 12px; right: 12px; bottom: 8px; font-family: var(--font-micr); font-size: 9.5px; color: #0a0e1c; letter-spacing: .12em; border-top: 1px dashed var(--line-2); padding-top: 4px; text-align: center; }

/* === WRITER PANEL === */
.writer-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px 28px;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 18px;
}
.writer-card h3 {
    margin: 0; font-family: var(--font-display); font-size: 18px;
    color: var(--navy); display: flex; align-items: center; gap: 10px;
}
.writer-card h3::before {
    content: ''; width: 6px; height: 22px; background: var(--gold); border-radius: 2px;
}
.writer-card .field-group { display: flex; flex-direction: column; gap: 6px; }
.writer-card label {
    font-size: 12px; font-weight: 600; color: var(--ink-soft);
    text-transform: uppercase; letter-spacing: .06em;
}
.writer-card input,
.writer-card select,
.writer-card textarea {
    width: 100%; padding: 11px 13px;
    border: 1.5px solid var(--line);
    border-radius: 7px;
    font-family: inherit; font-size: 15px;
    background: var(--paper);
    color: var(--ink);
    transition: border-color .12s, box-shadow .12s, background .12s;
}
.writer-card input:focus,
.writer-card select:focus,
.writer-card textarea:focus {
    outline: none;
    border-color: var(--navy);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 37, 64, .12);
}
.writer-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.writer-card .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.writer-card .helper { font-size: 12px; color: var(--muted); }
.writer-card .words-out {
    background: var(--bone-2); border: 1px solid var(--line-2); border-radius: 7px;
    padding: 12px 14px;
    font-family: var(--font-mono); font-size: 13.5px; color: var(--navy);
    min-height: 44px; word-break: break-word;
}
.writer-card .words-out.empty { color: var(--muted); font-style: italic; }
.writer-card .submit-row { display: flex; gap: 10px; margin-top: 4px; }
.writer-card .submit-row .btn { flex: 1; }

/* === CARDS / GRID === */
.card-grid {
    display: grid; gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 22px; box-shadow: var(--shadow-sm);
    transition: transform .12s, box-shadow .12s, border-color .12s;
    display: flex; flex-direction: column; gap: 12px;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card a.card-link { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 16.5px; }
.card a.card-link:hover { color: var(--gold-dark); }
.card .meta { color: var(--muted); font-size: 13px; }
.card .badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--gold-dark); font-weight: 700;
    background: var(--gold-soft); padding: 4px 10px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .06em;
    align-self: flex-start;
}

/* TABLES */
table.cc-table {
    width: 100%; border-collapse: collapse;
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
table.cc-table th, table.cc-table td {
    padding: 13px 18px; text-align: left;
    border-bottom: 1px solid var(--line); font-size: 14px;
}
table.cc-table th {
    background: var(--bone-2); font-weight: 700; color: var(--navy);
    font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
table.cc-table tr:last-child td { border-bottom: none; }
table.cc-table tr:hover td { background: var(--bone); }
table.cc-table td.mono { font-family: var(--font-mono); font-size: 13.5px; color: var(--navy); }

/* Routing-number table emphasis */
.routing-table td.routing { font-family: var(--font-micr); font-size: 16px; letter-spacing: .12em; color: var(--navy); font-weight: 600; }

/* PROSE */
.prose { max-width: 72ch; }
.prose p { margin: 0 0 16px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.prose h2 {
    font-family: var(--font-display); font-size: 26px;
    margin: 40px 0 14px; color: var(--navy);
    font-weight: 700; letter-spacing: -.01em;
    border-left: 4px solid var(--gold); padding-left: 14px;
}
.prose h3 {
    font-family: var(--font-display); font-size: 19px;
    margin: 28px 0 10px; color: var(--navy); font-weight: 700;
}
.prose ul, .prose ol { padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; line-height: 1.65; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose code { background: var(--bone-2); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 13.5px; }
.prose a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.prose a:hover { color: var(--gold-dark); border-bottom-color: var(--gold-dark); text-decoration: none; }

/* TWO-COL ARTICLE */
.article-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px; padding: 48px 0;
}
.article-layout aside { position: sticky; top: 100px; align-self: start; }
.aside-card {
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.aside-card h4 {
    margin: 0 0 12px; font-size: 11.5px; text-transform: uppercase;
    color: var(--gold-dark); letter-spacing: .1em; font-weight: 700;
}
.aside-card ul { margin: 0; padding-left: 18px; }
.aside-card li { margin-bottom: 7px; font-size: 14px; line-height: 1.5; }
.aside-card .stat { font-family: var(--font-mono); color: var(--navy); font-size: 14px; }

/* RECOMMENDED RESOURCES (PBN block, editorial styling) */
.recommended-resources {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
    padding: 22px 24px;
    margin: 28px 0;
}
.recommended-resources .rr-eyebrow {
    font-size: 11.5px; color: var(--gold-dark);
    text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 6px;
}
.recommended-resources h4 {
    margin: 0 0 14px; font-family: var(--font-display);
    color: var(--navy); font-size: 18px; font-weight: 700;
}
.recommended-resources ul { list-style: none; padding: 0; margin: 0; }
.recommended-resources li {
    padding: 10px 0; border-bottom: 1px solid var(--line);
    display: flex; align-items: flex-start; gap: 10px;
}
.recommended-resources li:last-child { border-bottom: none; }
.recommended-resources li::before {
    content: '→'; color: var(--gold); font-weight: 700; flex-shrink: 0; line-height: 1.5;
}
.recommended-resources li a,
.recommended-resources li .rr-title {
    display: block;
    color: var(--navy); font-weight: 600; font-size: 14.5px; text-decoration: none;
    border-bottom: none;
}
.recommended-resources li a:hover { color: var(--gold-dark); }
.recommended-resources li small {
    display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; margin-top: 2px;
}

/* CRUMBS */
.crumbs { padding: 22px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); border-bottom: 1px dotted transparent; }
.crumbs a:hover { color: var(--navy); border-bottom-color: var(--navy); text-decoration: none; }
.crumbs .sep { padding: 0 8px; color: var(--line-2); }

/* CALLOUTS */
.callout {
    background: #fff8e8; border: 1px solid var(--gold-soft);
    border-left: 4px solid var(--gold);
    padding: 16px 20px; border-radius: 6px; margin: 22px 0;
    color: var(--ink-soft); font-size: 15px;
}
.callout strong { color: var(--navy); }
.callout.navy { background: rgba(10, 37, 64, .04); border-color: var(--line-2); border-left-color: var(--navy); }

/* FAQ */
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: 16px 20px; margin-bottom: 10px;
    transition: border-color .12s;
}
.faq details[open] { border-color: var(--navy); }
.faq summary {
    cursor: pointer; font-weight: 600; color: var(--navy);
    font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after {
    content: '+'; color: var(--gold-dark); font-size: 22px; line-height: 1; font-weight: 400;
    transition: transform .12s;
}
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--ink-soft); margin-top: 12px; font-size: 15px; }

/* STATE / BANK GRIDS */
.state-grid {
    display: grid; gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.state-tile {
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: 12px 16px; color: var(--navy);
    transition: border-color .12s, transform .05s, box-shadow .12s;
    font-size: 14px;
}
.state-tile:hover { border-color: var(--navy); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.state-tile .code {
    font-family: var(--font-mono); font-weight: 700; color: var(--gold-dark);
    background: var(--gold-soft); padding: 2px 8px; border-radius: 4px;
    font-size: 12.5px; margin-right: 8px;
}
.state-tile .count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.bank-list { columns: 2; column-gap: 32px; }
@media (min-width: 880px) { .bank-list { columns: 3; } }
.bank-list a {
    display: block; padding: 7px 0; color: var(--ink-soft); font-size: 14px;
    break-inside: avoid; border-bottom: 1px solid transparent;
}
.bank-list a:hover { color: var(--navy); text-decoration: none; border-bottom-color: var(--gold); }
.bank-list a.featured { color: var(--navy); font-weight: 600; }
.bank-list a.featured::after { content: '★'; color: var(--gold); margin-left: 6px; font-size: 12px; }

/* SEARCH */
.search-box {
    display: flex; gap: 8px; max-width: 580px; margin-bottom: 24px;
    background: #fff; border: 1.5px solid var(--line);
    border-radius: 10px; padding: 6px;
    box-shadow: var(--shadow-sm);
    transition: border-color .12s, box-shadow .12s;
}
.search-box:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 37, 64, .1); }
.search-box input {
    flex: 1; border: none; padding: 10px 14px;
    font-size: 15px; background: transparent; outline: none; font-family: inherit;
}
.search-box button {
    padding: 10px 20px; background: var(--navy); color: #fff;
    border: none; border-radius: 7px; font-weight: 600; cursor: pointer;
    font-family: inherit; font-size: 14px;
}
.search-box button:hover { background: var(--navy-700); }

/* ALPHABET FILTER */
.alpha-filter { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-bottom: 24px; }
.alpha-filter .label { color: var(--muted); font-size: 12.5px; margin-right: 6px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.alpha-filter a {
    font-family: var(--font-mono); padding: 5px 10px; border: 1px solid var(--line);
    border-radius: 5px; background: #fff; color: var(--ink-soft); font-size: 13px; font-weight: 600;
}
.alpha-filter a:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.alpha-filter a.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* FOOTER */
.site-footer {
    background: var(--navy); color: #c9d1de;
    margin-top: 80px; padding: 60px 0 28px;
    border-top: 4px solid var(--gold);
}
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 36px;
}
.footer-brand {
    font-family: var(--font-display); font-size: 22px; color: #fff;
    margin-bottom: 10px; font-weight: 700;
    display: flex; align-items: center; gap: 10px;
}
.footer-brand .brand-mark { background: var(--gold); color: var(--navy); }
.footer-tag { font-size: 14px; color: #93a0b5; max-width: 38ch; line-height: 1.6; }
.site-footer h4 {
    color: #fff; font-size: 12px; text-transform: uppercase;
    letter-spacing: .12em; margin: 4px 0 14px; font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9d1de; font-size: 14px; }
.site-footer a:hover { color: var(--gold); }
.footer-legal {
    border-top: 1px solid #21304b; padding-top: 22px;
    color: #8090a8; font-size: 12.5px; line-height: 1.6;
}

/* AdSense placeholder marker (dev only) */
.adsense-slot {
    background: repeating-linear-gradient(135deg, #f7f3e7, #f7f3e7 10px, #efe9d6 10px, #efe9d6 20px);
    border: 1px dashed #c2b994; color: #826b2c; font-size: 11.5px; text-align: center;
    padding: 10px; border-radius: 6px; margin: 24px 0;
    font-family: var(--font-mono); letter-spacing: .04em;
}

/* Trust strip */
.trust-strip {
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 22px 0;
}
.trust-strip-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; align-items: center;
}
.trust-strip-grid > div {
    text-align: center; padding: 0 12px;
    border-right: 1px solid var(--line);
}
.trust-strip-grid > div:last-child { border-right: none; }
.trust-strip-grid strong {
    display: block; font-family: var(--font-display);
    color: var(--navy); font-size: 22px; line-height: 1;
}
.trust-strip-grid span {
    display: block; color: var(--muted); font-size: 12px;
    text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; font-weight: 600;
}

/* FEATURED MAJOR BANKS strip */
.major-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.major-strip a {
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: 14px; text-align: center; color: var(--navy);
    font-weight: 600; font-size: 14px;
    transition: border-color .12s, transform .05s, box-shadow .12s;
    display: block;
}
.major-strip a:hover { border-color: var(--gold); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.major-strip a small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; font-weight: 500; }

/* RESPONSIVE */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .article-layout { grid-template-columns: 1fr; gap: 32px; }
    .article-layout aside { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-main { display: none; }
    .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-strip-grid > div:nth-child(2) { border-right: none; }
    .check-paper { padding: 22px 24px 18px; }
    .check-paper .cp-bank { font-size: 16px; }
    .check-paper .cp-payee-row .field { font-size: 22px; }
    .check-paper .cp-words-row .field { font-size: 18px; }
    .check-paper .cp-micr { font-size: 14px; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .check-paper { aspect-ratio: 2 / 1; }
}

/* utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.kbd { font-family: var(--font-mono); background: var(--bone-2); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); font-size: 13px; color: var(--navy); }
.tabular { font-variant-numeric: tabular-nums; }

/* Hero grid */
.hero-grid {
    display: grid; grid-template-columns: 1.05fr 1.1fr;
    gap: 48px; align-items: center;
}
.hero-right { display: flex; flex-direction: column; gap: 20px; }
