/* HourlyToPay — design tokens
   Treasury green + ink navy on cool paper. One signature element: the pay stub. */
:root {
  --ink: #0E1F33;
  --ink-2: #3B4A5C;
  --ink-3: #66748A;
  --treasury: #12473A;
  --treasury-2: #0B3329;
  --mint: #DCEBE2;
  --mint-2: #EEF5F0;
  --paper: #F6F8F6;
  --white: #FFFFFF;
  --gold: #E3A82B;
  --gold-soft: #FBEFCF;
  --tax: #A63A2C;
  --line: #D6DFD9;
  --seg-fed: #0E1F33;
  --seg-fica: #4C6A8A;
  --seg-state: #A63A2C;
  --seg-pre: #9AA8B8;
  --seg-take: #1F7A5C;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-stub: 0 1px 0 rgba(14, 31, 51, .04), 0 24px 48px -24px rgba(11, 51, 41, .45);
  --display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  font-feature-settings: "tnum" 1, "lnum" 1;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--treasury); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--treasury-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale (major third) ---------- */
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.04; font-weight: 700; margin: 0 0 .4em; font-variation-settings: "wdth" 85; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.15; font-weight: 650; margin: 2.2em 0 .6em; }
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 650; margin: 1.8em 0 .4em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 58ch; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(246, 248, 246, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.brand b { color: var(--treasury); font-weight: 700; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .96rem; padding: 8px 12px; border-radius: var(--radius-s); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--mint-2); }
.nav .nav-cta { background: var(--treasury); color: var(--white); margin-left: 6px; }
.nav .nav-cta:hover { background: var(--treasury-2); color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 10px; color: var(--ink); font: 600 .95rem var(--text); }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- Hero / calculator ---------- */
.hero { position: relative; background: var(--treasury); color: var(--white); overflow: hidden; isolation: isolate; }
.hero .guilloche { position: absolute; inset: -20% -10% auto auto; width: min(900px, 120vw); opacity: .14; z-index: -1; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); align-items: start; }
.hero h1 { color: var(--white); }
.hero .lede { color: #CFE3D8; }
.hero .meta-line { color: #A9C8B8; font-size: .9rem; margin-top: -.4em; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

.calc { background: var(--treasury-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-l); padding: clamp(18px, 3vw, 28px); margin-top: 22px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.calc .row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 520px) { .calc .row, .calc .row.three { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-size: .86rem; font-weight: 600; color: #CFE3D8; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 48px; border-radius: var(--radius-s); border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); color: var(--white); font: 600 1.05rem var(--text); padding: 0 14px;
  font-feature-settings: "tnum" 1; transition: border-color .15s, background .15s;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--gold); background: rgba(255, 255, 255, .1); outline: none; box-shadow: 0 0 0 3px rgba(227, 168, 43, .35); }
.money-input { position: relative; }
.money-input span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #A9C8B8; font-weight: 600; }
.money-input input { padding-left: 30px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius-s); padding: 3px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; text-align: center; padding: 10px 6px; border-radius: 4px; cursor: pointer; color: #CFE3D8; font-weight: 600; font-size: .92rem; transition: background .15s, color .15s; }
.seg input:checked + label { background: var(--white); color: var(--treasury-2); }
.seg input:focus-visible + label { outline: 3px solid var(--gold); }
.calc details { margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; }
.calc summary { cursor: pointer; color: #CFE3D8; font-weight: 600; font-size: .95rem; list-style: none; display: flex; align-items: center; gap: 8px; }
.calc summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.calc details[open] summary::before { transform: rotate(45deg); }
.calc details .row { margin-top: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: #CFE3D8; font-size: .9rem; margin-top: 6px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }

/* ---------- The pay stub (signature element) ---------- */
.stub-slot { position: relative; padding-top: 10px; }
.stub-slot::before { content: ""; position: absolute; left: -10px; right: -10px; top: 0; height: 14px; border-radius: 10px; background: var(--treasury-2); box-shadow: inset 0 3px 6px rgba(0, 0, 0, .35); z-index: 2; }
.stub {
  position: relative; background: var(--white); color: var(--ink); border-radius: 0 0 var(--radius-m) var(--radius-m);
  box-shadow: var(--shadow-stub); padding: 26px clamp(18px, 3vw, 30px) 22px; margin: 0 4px;
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(18, 71, 58, .045) 31px 32px);
}
.js .stub { animation: print 1.1s cubic-bezier(.2, .8, .2, 1) .25s both; }
@keyframes print { from { transform: translateY(-28%); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
.stub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.stub-head strong { font: 700 1rem var(--display); letter-spacing: -.01em; }
.stub-head span { font-size: .82rem; color: var(--ink-3); }
.take { padding: 18px 0 6px; }
.take .label { font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.take .amount { font: 750 clamp(2.6rem, 6vw, 3.6rem)/1 var(--display); letter-spacing: -.035em; color: var(--treasury); margin: 6px 0 4px; font-variation-settings: "wdth" 80; }
.take .amount .hl { background: linear-gradient(transparent 62%, var(--gold-soft) 62%); padding: 0 .06em; }
.take .per { color: var(--ink-2); font-size: .95rem; }
.split { display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin: 16px 0 10px; background: var(--mint-2); }
.split i { display: block; height: 100%; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.split .s-take { background: var(--seg-take); } .split .s-fed { background: var(--seg-fed); } .split .s-fica { background: var(--seg-fica); } .split .s-state { background: var(--seg-state); } .split .s-pre { background: var(--seg-pre); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--ink-2); margin-bottom: 8px; }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; background: var(--c); vertical-align: 0; }
.lines { width: 100%; border-collapse: collapse; font-size: .96rem; margin-top: 6px; }
.lines td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.lines td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.lines .neg td:last-child { color: var(--tax); }
.lines .total td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 750; padding-top: 10px; }
.lines .total td:last-child { color: var(--treasury); }
.lines small { color: var(--ink-3); font-weight: 400; }
.periods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.periods div { padding: 10px 8px; text-align: center; border-right: 1px solid var(--line); background: var(--mint-2); }
.periods div:last-child { border-right: 0; }
.periods b { display: block; font: 700 1.05rem var(--display); }
.periods span { font-size: .76rem; color: var(--ink-3); }
@media (max-width: 420px) { .periods { grid-template-columns: repeat(2, 1fr); } .periods div:nth-child(2) { border-right: 0; } .periods div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stub-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: .8rem; color: var(--ink-3); }
.perf { height: 12px; margin: 0 4px; background: radial-gradient(circle at 8px -2px, transparent 7px, var(--white) 7.5px) 0 0 / 16px 12px repeat-x; filter: drop-shadow(0 6px 6px rgba(11, 51, 41, .25)); }
.stub-note { color: #A9C8B8; font-size: .82rem; margin: 14px 6px 0; }

/* ---------- Sections ---------- */
main section { padding: clamp(48px, 7vw, 88px) 0; }
main section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--ink-2); }

/* Tile-grid map */
.tilemap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 28px; max-width: 860px; }
.tilemap a {
  aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none;
  border-radius: var(--radius-s); font: 700 clamp(.66rem, 1.5vw, .95rem) var(--display); color: var(--ink); background: var(--white); border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s;
}
.tilemap a small { font: 500 clamp(.5rem, 1vw, .68rem) var(--text); color: var(--ink-3); }
.tilemap a.none { background: var(--treasury); color: var(--white); border-color: var(--treasury); }
.tilemap a.none small { color: #A9C8B8; }
.tilemap a.flat { background: var(--mint); border-color: #BFD8C9; }
.tilemap a:hover, .tilemap a:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 14px -6px rgba(11, 51, 41, .5); }
.map-key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: .9rem; color: var(--ink-2); }
.map-key span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 7px; vertical-align: -2px; background: var(--c); border: 1px solid var(--b, transparent); }
@media (max-width: 560px) { .tilemap { gap: 3px; } .tilemap a small { display: none; } }

/* Guides list */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 40px; margin-top: 24px; }
.guide { display: block; text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.guide h3 { margin: 0 0 4px; font-size: 1.08rem; transition: color .15s; }
.guide p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.guide:hover h3 { color: var(--treasury); }

/* FAQ */
.faq { max-width: 780px; margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; position: relative; font: 650 1.1rem/1.35 var(--display); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.6rem var(--text); color: var(--treasury); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px; color: var(--ink-2); max-width: var(--measure); }

/* Data tables */
.table-scroll { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: var(--mint-2); font-weight: 650; color: var(--ink); font-size: .9rem; }
table.data tr:last-child td { border-bottom: 0; }
table.data td:not(:first-child), table.data th:not(:first-child) { text-align: right; white-space: nowrap; }

/* ---------- Article ---------- */
.article-head { background: var(--treasury); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.article-head .guilloche { position: absolute; right: -200px; top: -260px; width: 760px; opacity: .12; z-index: -1; }
.article-head .wrap { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(28px, 5vw, 52px); }
.article-head h1 { color: var(--white); max-width: 22ch; }
.crumbs { font-size: .86rem; color: #A9C8B8; margin-bottom: 18px; }
.crumbs a { color: #CFE3D8; }
.byline { color: #CFE3D8; font-size: .92rem; margin: 0; }
.byline a { color: var(--white); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding: clamp(32px, 5vw, 56px) 0; }
@media (max-width: 980px) { .article-grid { grid-template-columns: 1fr; } .aside { order: -1; } }
.prose { max-width: var(--measure); }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.prose blockquote p:last-child { margin: 0; }
.answer { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--treasury); border-radius: var(--radius-m); padding: 18px 22px; margin: 0 0 1.8em; }
.answer p { margin: 0; font-size: 1.08rem; }
.answer strong { display: block; font: 700 .9rem var(--display); color: var(--treasury); margin-bottom: 4px; }
.aside { display: flex; flex-direction: column; gap: 20px; }
.aside-box { position: sticky; top: 88px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; }
.aside-box h2 { font-size: 1.1rem; margin: 0 0 8px; }
.aside-box p { font-size: .94rem; color: var(--ink-2); }
.toc { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); padding-top: 12px; font-size: .9rem; }
.toc li { margin: 6px 0; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--treasury); text-decoration: underline; }
.disclaimer { font-size: .9rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 2.4em; }
.related { margin-top: 2.4em; }
.related h2 { font-size: 1.3rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--radius-s); background: var(--gold); color: var(--ink); font: 700 1rem var(--text); text-decoration: none; border: 0; cursor: pointer; transition: transform .12s, background .15s; }
.btn:hover { background: #F0B83C; color: var(--ink); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.dark { background: var(--treasury); color: var(--white); }
.btn.dark:hover { background: var(--treasury-2); color: var(--white); }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 40px); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 2.4em 0 0; }
.cta-band h2 { color: var(--white); margin: 0 0 4px; font-size: 1.4rem; }
.cta-band p { margin: 0; color: #B9C6D6; }

/* Footer */
.site-foot { background: var(--ink); color: #B9C6D6; padding: 56px 0 32px; margin-top: 0; font-size: .94rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
.site-foot h2 { color: var(--white); font-size: 1rem; margin: 0 0 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 7px 0; }
.site-foot a { color: #DDE5EE; text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot .brand { color: var(--white); margin-bottom: 12px; }
.site-foot .brand b { color: #7FC8A9; }
.site-foot .legal { border-top: 1px solid #24364C; margin-top: 40px; padding-top: 20px; font-size: .84rem; color: #8C9BB0; }

/* State page extras */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); margin: 0 0 1.8em; overflow: hidden; }
.facts div { padding: 16px 18px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font: 700 1.35rem var(--display); color: var(--treasury); }
.facts span { font-size: .86rem; color: var(--ink-2); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } .facts div { border-right: 0; border-bottom: 1px solid var(--line); } }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pill-links a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .92rem; color: var(--ink); }
.pill-links a:hover { border-color: var(--treasury); color: var(--treasury); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .site-head, .site-foot, .calc, .aside { display: none; } }

/* ---------- Premium motion layer ---------- */
.hero::after { content: ""; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(227, 168, 43, .16), transparent 70%); z-index: -1; pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: -30% auto auto -15%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(127, 200, 169, .14), transparent 70%); z-index: -1; pointer-events: none; }
.guilloche { animation: spin 160s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.js .hero h1 .ln { display: block; overflow: hidden; }
.js .hero h1 .ln > span { display: inline-block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.js .hero .lede, .js .hero .meta-line, .js .calc { animation: fadeup .8s cubic-bezier(.2, .8, .2, 1) .2s both; }
.js .calc { animation-delay: .32s; }
@keyframes fadeup { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
.btn { box-shadow: 0 10px 24px -12px rgba(227, 168, 43, .8); }
.btn:hover { transform: translateY(-1px); }
.calc { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .5); }
.take .amount.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.035); } }

/* Trust strip */
.proof { background: var(--treasury-2); color: #CFE3D8; border-top: 1px solid rgba(255, 255, 255, .08); }
.proof ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof li { display: flex; gap: 12px; align-items: center; font-size: .92rem; line-height: 1.35; }
.proof b { color: var(--white); font: 700 1.5rem/1 var(--display); min-width: 2.6ch; }
@media (max-width: 820px) { .proof ul { grid-template-columns: 1fr 1fr; } }

/* Tile map: hover reveals take-home, tiles pop in once */
.tilemap a { position: relative; }
.tilemap a::after {
  content: attr(data-take); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); white-space: nowrap;
  background: var(--ink); color: var(--white); font: 600 .78rem/1.3 var(--text); padding: 7px 10px; border-radius: 6px; opacity: 0; pointer-events: none;
  transition: opacity .15s, transform .15s; z-index: 5; box-shadow: 0 10px 20px -10px rgba(14, 31, 51, .6);
}
.tilemap a:hover::after, .tilemap a:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.tilemap.pop a { animation: pop .5s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--i) * 12ms); }
@keyframes pop { from { transform: scale(.6); } to { transform: none; } }

/* State vs state */
.versus { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 24px; }
@media (max-width: 860px) { .versus { grid-template-columns: 1fr; } }
.vs-controls { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; display: grid; gap: 14px; }
.vs-controls label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.vs-controls select, .vs-controls input { width: 100%; height: 46px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 1rem var(--text); padding: 0 12px; }
.vs-controls .money-input span { color: var(--ink-3); }
.vs-controls .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vs-bars { display: grid; gap: 22px; }
.vs-row h3 { margin: 0 0 8px; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 12px; }
.vs-row h3 span { color: var(--treasury); font-variant-numeric: tabular-nums; }
.vs-track { height: 44px; border-radius: 10px; background: var(--mint-2); overflow: hidden; display: flex; }
.vs-track i { height: 100%; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.vs-track .k { background: linear-gradient(90deg, #1F7A5C, #2A9470); }
.vs-track .f { background: var(--seg-fed); } .vs-track .c { background: var(--seg-fica); } .vs-track .s { background: var(--seg-state); }
.vs-sub { font-size: .9rem; color: var(--ink-2); margin-top: 6px; }
.vs-verdict { background: var(--gold-soft); border-radius: var(--radius-m); padding: 16px 20px; font-size: 1.05rem; }
.vs-verdict b { font-family: var(--display); }
