/* NetPayMeter — one small stylesheet, no framework (fast Core Web Vitals). */
:root {
    --brand: #059669;
    --brand-dark: #047857;
    --brand-ink: #065f46;
    --brand-soft: #ecfdf5;
    --brand-2: #0ea5e9;
    --accent: #f59e0b;
    --ink: #1e293b;
    --heading: #0b1324;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --night: #0b1324;
    --tax: #fb7185;
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
    --shadow: 0 10px 30px -10px rgba(15, 23, 42, .18);
    --shadow-lg: 0 24px 60px -20px rgba(2, 6, 23, .45);
    --grad: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Plus Jakarta Sans", var(--font);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16.5px/1.7 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
.icon { flex: none; vertical-align: -0.15em; }
a { color: var(--brand-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--heading); letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin: .1em 0 .35em; font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 1.9em 0 .55em; font-weight: 800; }
h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; font-weight: 700; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(226, 232, 240, .8); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font: 800 1.22rem var(--font-head); letter-spacing: -.02em; }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(16, 185, 129, .7); }
.logo b, .footer-logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; color: #334155; padding: 8px 12px; border-radius: 999px; font-size: .93rem; font-weight: 500; transition: background .15s, color .15s; }
.nav a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.nav a[aria-current=page] { background: var(--heading); color: #fff; }
.menu-btn { display: none; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; font: 600 .9rem var(--font); color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
    .menu-btn { display: inline-flex; }
    .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .nav.open { display: flex; }
    .nav a { border-radius: 10px; padding: 11px 12px; }
}

/* Breadcrumbs + page band */
.crumb-band { background: var(--bg-soft); }
.breadcrumbs { font-size: .86rem; color: var(--muted); padding-top: 16px; padding-bottom: 2px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-dark); text-decoration: underline; }
.page-band { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 14px 0 30px; position: relative; overflow: hidden; }
.page-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, .16), transparent 65%); pointer-events: none; }
.band-inner { display: flex; gap: 20px; align-items: flex-start; position: relative; z-index: 1; }
.band-narrow { max-width: 860px; }
.band-icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(14, 165, 233, .6); margin-top: 10px; }
.page-band .intro { max-width: 760px; color: #334155; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.meta-pills > * { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: #475569; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; text-decoration: none; }
.meta-pills a:hover { border-color: var(--brand); color: var(--brand-dark); }
@media (max-width: 640px) { .band-icon { display: none; } }

/* Hero (home) */
.hero { position: relative; overflow: hidden; color: #cbd5e1; padding: 56px 0 64px;
    background: radial-gradient(900px 500px at 85% -10%, rgba(14, 165, 233, .28), transparent 60%),
                radial-gradient(700px 500px at -10% 110%, rgba(16, 185, 129, .25), transparent 60%), var(--night); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 30%, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; position: relative; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1fr 1.05fr; gap: 48px; } .hero-copy { position: sticky; top: 110px; padding-top: 28px; } }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.grad { background: linear-gradient(135deg, #34d399, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .intro p { font-size: 1.1rem; color: #cbd5e1; }
.hero .intro a { color: #6ee7b7; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .84rem; font-weight: 600; color: #a7f3d0; background: rgba(16, 185, 129, .12); border: 1px solid rgba(52, 211, 153, .3); padding: 5px 12px; border-radius: 999px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: #e2e8f0; font-weight: 500; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: #34d399; }
.hero .calc-card { box-shadow: var(--shadow-lg); border: 0; margin: 0; }

/* Page */
.page { padding-top: 8px; padding-bottom: 64px; }
.page-narrow { max-width: 860px; padding-top: 24px; }
.with-side { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 0; }
.main-col { min-width: 0; }
.with-side .calc-card { margin-top: -6px; }
@media (min-width: 1040px) { .with-side { grid-template-columns: minmax(0, 1fr) 290px; } }
.intro p { font-size: 1.08rem; margin: .4em 0; }
.section-lead { color: var(--muted); margin-top: -.2em; }
.prose { max-width: 780px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote { margin: 1.2em 0; padding: 14px 18px; background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; }
.prose code { background: var(--bg-soft); padding: 1px 6px; border-radius: 6px; font-size: .9em; border: 1px solid var(--line); }
.prose pre { background: var(--bg-soft); padding: 14px; border-radius: 12px; overflow-x: auto; }
.prose h2 { padding-top: .2em; }
.prose h2::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 12px; }

/* Sidebar */
.side { display: none; }
@media (min-width: 1040px) {
    .side { display: grid; align-content: start; gap: 16px; position: sticky; top: 90px; padding-top: 28px; max-height: calc(100vh - 100px); overflow-y: auto; }
}
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; box-shadow: var(--shadow-sm); font-size: .9rem; }
.side-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 .78rem var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.side-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.side-list a .icon { color: var(--brand); }
.side-list a:hover { background: var(--bg-soft); }
.side-list a[aria-current=page] { background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
.side-trust { background: linear-gradient(160deg, #ecfdf5, #f0f9ff); border-color: #bbf7d0; }
.side-trust .side-h { color: var(--brand-ink); }
.side-trust p { margin: 0 0 10px; color: #334155; }
.side-trust a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

/* Stat tiles (state pages) */
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 22px 0 22px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; box-shadow: var(--shadow-sm); }
.stat span { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; }
.stat b { font: 800 1.35rem var(--font-head); color: var(--heading); letter-spacing: -.02em; }
.stat:first-child { background: var(--night); border-color: var(--night); }
.stat:first-child span { color: #94a3b8; }
.stat:first-child b { color: #6ee7b7; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.1em 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: #475569; }
tbody tr:hover td, tbody tr:hover th { background: #fafcff; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.breakdown td { white-space: nowrap; }

/* Calculator */
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; margin: 26px 0 30px; color: var(--ink); }
.calc-title { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; font: 700 1rem var(--font-head); color: var(--heading); }
.calc-title small { margin-left: auto; font: 600 .72rem var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-ink); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }
.calc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.calc { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 5px; font-size: .86rem; font-weight: 600; color: #334155; margin: 0; }
.field input[type=text], .field select {
    width: 100%; font: 500 1rem var(--font); color: var(--heading); padding: 12px 14px; border: 1.5px solid #dbe2ea; border-radius: 12px; background: var(--bg-soft); transition: border-color .15s, box-shadow .15s, background .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:hover, .field select:hover { border-color: #c3ccd8; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--brand); background-color: #fff; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.toggle { border: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; align-items: end; }
.toggle legend { padding: 0; margin-bottom: 5px; }
.toggle label { flex: 1; font-weight: 600; border: 1.5px solid #dbe2ea; border-radius: 12px; padding: 11px 12px; cursor: pointer; display: flex; gap: 8px; align-items: center; justify-content: center; background: var(--bg-soft); transition: all .15s; }
.toggle label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); box-shadow: 0 0 0 3px rgba(16, 185, 129, .12); }
.toggle input { accent-color: var(--brand); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.more { border: 1.5px dashed #cfd8e3; border-radius: 12px; padding: 10px 14px; background: #fff; }
.more summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); font-size: .93rem; }
.more[open] summary { margin-bottom: 12px; }
.more .field { margin-bottom: 12px; }
.btn { font: 700 1.05rem var(--font-head); background: var(--grad); color: #fff; border: 0; border-radius: 12px; padding: 15px 18px; cursor: pointer; box-shadow: 0 10px 22px -10px rgba(5, 150, 105, .8); transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 14px 26px -10px rgba(5, 150, 105, .9); }
.btn:active { transform: none; }
.calc-result:empty { display: none; }
.calc-result { margin-top: 20px; scroll-margin-top: 90px; transition: opacity .2s; }
.calc-result.loading { opacity: .45; }

.result-hero { position: relative; overflow: hidden; background: radial-gradient(400px 200px at 100% 0, rgba(56, 189, 248, .35), transparent 70%), linear-gradient(135deg, #047857, #065f46); color: #fff; border-radius: 16px; padding: 18px 20px; }
.result-owe .result-hero { background: radial-gradient(400px 200px at 100% 0, rgba(251, 191, 36, .35), transparent 70%), linear-gradient(135deg, #b45309, #92400e); }
.result-label { margin: 0; opacity: .85; font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.result-big { margin: 2px 0; font: 800 clamp(2rem, 6vw, 2.7rem)/1.15 var(--font-head); letter-spacing: -.03em; }
.result-big small { font: 500 .95rem var(--font); opacity: .85; letter-spacing: 0; }
.result-sub { margin: 0; font-size: .94rem; opacity: .92; }
.result-h { font-size: 1.05rem; }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 16px 0 8px; background: var(--line); gap: 2px; }
.bar-net { background: var(--grad); border-radius: 999px 0 0 999px; }
.bar-tax { background: var(--tax); border-radius: 0 999px 999px 0; }
.bar-legend { font-size: .86rem; color: var(--muted); margin: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-net { background: var(--brand); }
.dot-tax { background: var(--tax); margin-left: 10px; }
.breakdown td { text-align: right; font-variant-numeric: tabular-nums; }
.breakdown th[scope=row] { font-weight: 500; }
.breakdown thead th:not(:first-child) { text-align: right; }
.row-gross th, .row-gross td { font-weight: 700; background: var(--bg-soft); }
.row-net th, .row-net td { font-weight: 800; color: var(--brand-ink); background: var(--brand-soft); }
.row-sub th { padding-left: 26px; color: var(--muted); }
.result-facts { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; font-size: .9rem; }
.result-facts li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.result-facts b { color: var(--heading); }
.result-note { font-size: .84rem; color: var(--muted); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: #a7f3d0; box-shadow: var(--shadow); color: var(--ink); }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 4px; transition: background .2s, color .2s; }
.card:hover .card-icon { background: var(--grad); color: #fff; }
.card b { font: 700 1.04rem var(--font-head); color: var(--heading); }
.card span { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.card .card-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .86rem; color: var(--brand-dark); }
.card:hover .card-go .icon { transform: translateX(3px); }
.card-go .icon { transition: transform .2s; }

/* Steps */
.step-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; counter-reset: none; }
.step-grid li { display: grid; gap: 4px; padding: 20px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.step-grid b { font: 700 1.05rem var(--font-head); color: var(--heading); }
.step-grid span:not(.step-n) { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: #6ee7b7; font: 800 .95rem var(--font-head); margin-bottom: 6px; }

/* States */
.state-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.state-grid li { margin: 0; }
.state-grid a, .state-grid .soon span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .93rem; transition: border-color .15s, background .15s, color .15s; }
.state-grid a .icon { color: var(--brand); }
.state-grid a:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.state-grid .soon { position: relative; }
.state-grid .soon span { color: #94a3b8; background: var(--bg-soft); border-style: dashed; }
.state-grid .soon small { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0; margin: 10px 0; background: #fff; box-shadow: var(--shadow-sm); transition: border-color .15s; }
.faq details[open] { border-color: #a7f3d0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--heading); padding: 15px 50px 15px 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand-dark); font: 600 1.1rem/1 var(--font); transition: transform .2s, background .2s; }
.faq details[open] summary::after { content: "−"; background: var(--brand-soft); }
.faq details p { margin: 0; padding: 0 18px 16px; color: #334155; }
.related, .states, .faq, .steps { max-width: 1160px; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .pulse { animation: none; } html { scroll-behavior: auto; } }

/* Footer */
.site-footer { background: var(--night); color: #94a3b8; padding: 56px 0 24px; font-size: .92rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #6ee7b7; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font: 800 1.22rem var(--font-head); color: #fff; margin: 0 0 12px; }
.footer-logo .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #cbd5e1; border: 1px solid #1e293b; background: #111c33; border-radius: 999px; padding: 4px 10px; }
.footer-h { color: #fff; font: 700 .8rem var(--font); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.copyright { border-top: 1px solid #1e293b; margin-top: 36px; padding-top: 18px; color: #64748b; font-size: .84rem; }

/* Phones */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero { padding: 36px 0 44px; }
    .calc-card { padding: 16px; border-radius: 16px; }
    .calc-title small { display: none; }
    .page-band { padding-bottom: 24px; }
    th, td { padding: 9px 10px; }
    .breakdown { font-size: .88rem; }
    .result-hero { padding: 16px; }
}

/* Quick answer (AEO), chips, CTA */
.answer-box { margin: 6px 0 4px; max-width: 780px; background: #fff; border: 1px solid #a7f3d0; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; padding: 14px 18px; box-shadow: var(--shadow-sm); }
.answer-box p { margin: 0; font-size: 1.04rem; color: #1e293b; }
.answer-box .answer-k { font: 700 .74rem var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--brand-ink); margin-bottom: 4px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; transition: all .15s; }
.chip:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.chip-alt { background: var(--night); color: #fff; border-color: var(--night); }
.chip-alt:hover { background: var(--brand-dark); color: #fff; }
.calc-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 26px 0 8px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, #ecfdf5, #f0f9ff); border: 1px solid #bbf7d0; }
.calc-cta p { margin: 0; font-weight: 600; color: var(--heading); }
.calc-cta .btn { text-decoration: none; padding: 12px 18px; font-size: .98rem; }
.calc-cta .btn:hover { color: #fff; }
