/* TruWage site. Navy and Cashout green, matching the apps. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(/assets/fonts/BricolageGrotesque-Bold.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(/assets/fonts/BricolageGrotesque-ExtraBold.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/IBMPlexSans-Regular.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(/assets/fonts/IBMPlexSans-Medium.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(/assets/fonts/IBMPlexSans-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(/assets/fonts/IBMPlexMono-Medium.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url(/assets/fonts/IBMPlexMono-SemiBold.woff2) format("woff2"); }

:root {
  --navy: #0E1726;
  --navy-2: #17233A;
  --navy-3: #212F49;
  --navy-line: #2A3850;
  --green: #34D399;
  --green-hi: #6EE7B7;
  --green-ink: #046C4E;
  --green-wash: #D1FAE5;
  --red: #DC2626;
  --red-ink: #9B1C1C;
  --red-wash: #FDE8E7;
  --amber: #D97706;
  --amber-ink: #92400E;
  --amber-wash: #FEF3C7;
  --on-navy: #FFFFFF;
  --on-navy-2: #C3CCD8;
  --on-navy-3: #A9B4C4;

  --bg: #F3F5F7;
  --surface: #FFFFFF;
  --surface-2: #EBEEF2;
  --line: #DCE2EA;
  --ink: #0E1726;
  --ink-2: #3A4A63;
  --ink-3: #5B6B82;
  --link: #046C4E;
  --link-hi: #03543F;
  --shadow: 0 1px 2px rgba(14, 23, 38, .05), 0 8px 24px rgba(14, 23, 38, .06);
  --shadow-lg: 0 24px 60px rgba(14, 23, 38, .22);

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 18px;
  --r-sm: 12px;
  --wrap: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1220;
    --surface: #131D2F;
    --surface-2: #1A263C;
    --line: #26344B;
    --ink: #F3F5F7;
    --ink-2: #C3CCD8;
    --ink-3: #93A1B5;
    --link: #34D399;
    --link-hi: #6EE7B7;
    --green-wash: #0F3B30;
    --red-wash: #3A1618;
    --amber-wash: #3A2A0E;
    --red-ink: #FCA5A5;
    --amber-ink: #FCD34D;
    --green-ink: #6EE7B7;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  --bg: #0B1220; --surface: #131D2F; --surface-2: #1A263C; --line: #26344B; --ink: #F3F5F7; --ink-2: #C3CCD8; --ink-3: #93A1B5;
  --link: #34D399; --link-hi: #6EE7B7; --green-wash: #0F3B30; --red-wash: #3A1618; --amber-wash: #3A2A0E; --red-ink: #FCA5A5; --amber-ink: #FCD34D; --green-ink: #6EE7B7;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hi); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.mono, .fig { font-family: var(--mono); font-feature-settings: "tnum"; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--navy); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 14px; }
.on-navy .eyebrow, .hero .eyebrow { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 16px; border: 0; background: var(--green); color: var(--navy); font: 600 1rem/1 var(--body);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(52, 211, 153, .28);
}
.btn:hover { background: var(--green-hi); color: var(--navy); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: .92rem; box-shadow: none; }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: inherit; }
.btn-quiet { background: var(--surface-2); color: var(--ink); box-shadow: none; }
.btn-quiet:hover { background: var(--line); color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(14, 23, 38, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: var(--on-navy); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.head-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 800 1.3rem/1 var(--display); letter-spacing: -.02em; }
.brand:hover { color: inherit; }
.logo-mark { border-radius: 9px; display: block; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { color: var(--on-navy-2); text-decoration: none; font-weight: 500; font-size: .96rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .07); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch { display: none; align-items: center; gap: 6px; color: var(--on-navy-2); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 10px; border-radius: 10px; }
.lang-switch:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: rgba(255, 255, 255, .1); }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg); display: grid; }
.menu-panel a { display: flex; gap: 8px; align-items: center; color: #fff; text-decoration: none; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.menu-panel a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .lang-switch { display: inline-flex; }
  .menu { display: none; }
}
@media (max-width: 420px) { .head-actions .btn-sm { display: none; } }

/* Bands and sections */
.band { padding: 72px 0; }
.band-tight { padding: 48px 0; }
.band-navy, .hero { background: var(--navy); color: var(--on-navy); }
.band-navy .lead, .hero .lead { color: var(--on-navy-2); }
.band-navy a:not(.btn):not(.store):not(.tile), .hero a:not(.btn):not(.store) { color: var(--green); }
.band-surface { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(52, 211, 153, .16), transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--on-navy-3); font-size: .93rem; padding: 0; margin: 0; list-style: none; }
.hero-note li { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--green); }
@media (min-width: 960px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}
.page-hero { background: var(--navy); color: var(--on-navy); padding: 40px 0 48px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -200px; top: -300px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(52, 211, 153, .13), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 900px; }
.page-hero .lead { color: var(--on-navy-2); max-width: 760px; }
.page-hero .crumbs a { color: var(--on-navy-3); }
.page-hero .crumbs li { color: var(--on-navy-3); }
.page-hero .meta-line { color: var(--on-navy-3); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 18px; font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-right: 4px; opacity: .5; }
.crumbs a { text-decoration: none; color: var(--ink-3); }
.crumbs a:hover { text-decoration: underline; }

/* Phone mockup */
.mock { position: relative; height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
.mock-stub {
  position: absolute; left: 0; top: 70px; width: 250px; background: #FEF6DC; color: var(--navy); border-radius: 14px; padding: 18px 18px 22px;
  transform: rotate(-7deg); box-shadow: var(--shadow-lg); font: 500 12.5px/1.2 var(--mono); display: grid; gap: 10px;
}
.mock-stub div { display: flex; justify-content: space-between; gap: 12px; }
.ms-h { font-weight: 600; border-bottom: 1px solid #D5CCB0; padding-bottom: 8px; }
.ms-t { font-weight: 600; border-top: 1px solid #D5CCB0; padding-top: 8px; }
.ms-bad { background: #FBD5D5; margin: 0 -8px; padding: 4px 8px; border-radius: 6px; color: #9B1C1C; }
.mock-phone {
  position: absolute; right: 0; top: 0; width: 280px; height: 560px; border-radius: 46px; background: #05090F; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A3850; animation: float 7s ease-in-out infinite;
}
.mp-notch { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #05090F; z-index: 2; }
.mp-screen { height: 100%; border-radius: 36px; background: var(--navy); overflow: hidden; display: flex; flex-direction: column; color: #fff; padding: 52px 16px 16px; gap: 14px; }
.mp-top { font-size: 12px; color: var(--on-navy-3); text-align: center; }
.mp-hero { background: linear-gradient(160deg, #7F1D1D, #3F1416); border-radius: 22px; padding: 18px; display: grid; gap: 4px; }
.mp-pill { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: #FCA5A5; }
.mp-amt { font: 800 40px/1.05 var(--display); letter-spacing: -.02em; }
.mp-sub { font-size: 12px; color: #F5C2C2; }
.mp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mp-checks li { display: flex; align-items: center; gap: 10px; background: var(--navy-2); border-radius: 14px; padding: 10px 12px; font-size: 13px; font-weight: 500; }
.mp-checks li span { flex: 1; }
.mp-checks li b { font: 600 13px var(--mono); color: #FCA5A5; }
.mp-checks .ok svg { color: var(--green); }
.mp-checks .bad svg { color: #F87171; }
.mp-btn { margin-top: auto; height: 46px; border-radius: 14px; background: var(--green); color: var(--navy); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .mock-phone { animation: none; } * { scroll-behavior: auto !important; transition: none !important; } }
@media (max-width: 520px) {
  .mock { height: 500px; }
  .mock-phone { transform: scale(.9); transform-origin: top right; animation: none; }
  .mock-stub { width: 210px; top: 120px; font-size: 11px; }
}

/* Trust strip */
.strip { background: var(--navy-2); color: var(--on-navy-2); border-top: 1px solid var(--navy-line); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.strip li { display: flex; align-items: center; gap: 10px; font-size: .93rem; }
.strip b { font: 800 1.4rem/1 var(--display); color: #fff; }
.strip svg { color: var(--green); flex: none; }
@media (min-width: 860px) { .strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 16px; }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; color: inherit; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--green); color: inherit; }
.card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--green-wash); color: var(--green-ink); margin-bottom: 14px; }
.band-navy .card { background: var(--navy-2); border-color: var(--navy-line); color: #fff; box-shadow: none; }
.band-navy .card p { color: var(--on-navy-2); }
.band-navy .card .ic { background: rgba(52, 211, 153, .14); color: var(--green); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 22px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--navy); color: var(--green); font: 800 1.1rem/1 var(--display); margin-bottom: 14px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Checks list */
.checks { display: grid; gap: 12px; }
@media (min-width: 720px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check-row { display: flex; gap: 14px; align-items: flex-start; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 16px; padding: 16px; }
.check-row .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(52, 211, 153, .14); color: var(--green); }
.check-row h3 { font-size: 1.02rem; margin: 2px 0 2px; color: #fff; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.check-row p { margin: 0; font-size: .93rem; color: var(--on-navy-3); line-height: 1.5; }

/* Tile map */
.tilemap { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 5px; max-width: 760px; margin: 0 auto; }
.tile { grid-column: var(--c); grid-row: var(--r); aspect-ratio: 1; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--navy); transition: transform .12s ease, box-shadow .12s ease; line-height: 1; }
.tile b { font: 800 clamp(.68rem, 1.8vw, 1rem)/1 var(--display); }
.tile span { font: 500 clamp(.5rem, 1.15vw, .7rem)/1 var(--mono); margin-top: 3px; opacity: .85; }
.tile:hover { transform: scale(1.08); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); z-index: 2; color: var(--navy); }
.tier-full { background: #34D399; }
.tier-partial { background: #A7F3D0; }
.tier-federal { background: #CBD5E1; }
.band-navy .tier-federal { background: #8291A8; }
@media (max-width: 560px) { .tile span { display: none; } .tilemap { gap: 3px; } .tile { border-radius: 6px; } }
.tilemap-key { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 0; margin: 22px 0 0; font-size: .9rem; }
.tilemap-key li { display: flex; align-items: center; gap: 8px; }
.tilemap-key i { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.picker { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 32px; max-width: 560px; }
.picker select { flex: 1 1 240px; }

/* Forms */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea {
  font: 500 1rem/1.3 var(--body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px;
  min-height: 52px; padding: 12px 14px; width: 100%; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
input[type=number] { font-family: var(--mono); -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.letter:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.chip input { accent-color: var(--green-ink); }
.band-navy input, .band-navy select, .band-cta input { background: var(--navy-2); border-color: var(--navy-line); color: #fff; }
.band-navy input::placeholder, .band-cta input::placeholder { color: var(--on-navy-3); }
label.f { display: grid; align-content: start; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.hint { font-size: .84rem; color: var(--ink-3); font-weight: 400; }

/* Waitlist */
.waitlist { display: grid; gap: 12px; }
.waitlist .hp { position: absolute; left: -9999px; }
.waitlist-row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist-row input { flex: 1 1 220px; }
.waitlist-row .btn { flex: 0 0 auto; }
.waitlist-note { font-size: .87rem; color: var(--on-navy-3); margin: 0; min-height: 1.4em; }
.waitlist-note.ok { color: var(--green); font-weight: 600; }
.waitlist-note.err { color: #FCA5A5; font-weight: 600; }
.seg { border: 0; margin: 0; padding: 4px; display: inline-flex; gap: 4px; background: var(--navy-2); border-radius: 14px; width: fit-content; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 10px; color: var(--on-navy-2); font-weight: 500; font-size: .93rem; }
.seg input:checked + span { background: #fff; color: var(--navy); }
.seg input:focus-visible + span { outline: 3px solid var(--green); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1px solid #333; }
.store:hover { color: #fff; border-color: var(--green); }
.store span { display: grid; font: 600 1.02rem/1.1 var(--body); }
.store small { font-size: .7rem; font-weight: 500; opacity: .8; }
.store-soon { background: transparent; border: 1.5px dashed var(--navy-line); color: var(--on-navy-2); }
.store-soon small { color: var(--green); opacity: 1; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.stores-light .store-soon { border-color: var(--line); color: var(--ink-2); }
.stores-light .store-soon small { color: var(--green-ink); }

/* CTA band */
.band-cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.band-cta::before { content: ""; position: absolute; left: -200px; bottom: -400px; width: 800px; height: 800px; background: radial-gradient(closest-side, rgba(52, 211, 153, .15), transparent 70%); }
.cta-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.band-cta h2 { color: #fff; }
.band-cta .lead { color: var(--on-navy-2); }
.cta-form { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 24px; padding: 24px; }
.cta-form .seg { background: var(--navy); }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s ease; color: var(--ink-3); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq-a p:last-child { margin: 0; }

/* Prose (guides, legal) */
.prose { font-size: 1.06rem; line-height: 1.72; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 2.1em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { margin: 1.7em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--green-ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--surface-2); }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--green); background: var(--surface); border-radius: 0 14px 14px 0; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--green-wash); color: var(--ink); margin: 1.4em 0; }
.callout svg { flex: none; color: var(--green-ink); margin-top: 3px; }
.callout p:last-child { margin: 0; }
.callout-warn { background: var(--amber-wash); }
.callout-warn svg { color: var(--amber-ink); }
.callout-bad { background: var(--red-wash); }
.callout-bad svg { color: var(--red-ink); }
.article-grid { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 72px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: .93rem; display: none; }
.toc h2 { font: 600 .78rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--green); }
@media (min-width: 1000px) { .article-grid { grid-template-columns: 240px minmax(0, 1fr); } .toc { display: block; } }
.article-cta { margin-top: 40px; padding: 26px; border-radius: 22px; background: var(--navy); color: #fff; display: grid; gap: 14px; }
.article-cta h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.article-cta p { color: var(--on-navy-2); margin: 0; }
.related { margin-top: 48px; }
.related h2 { font-size: 1.3rem; }

/* State page */
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
@media (min-width: 900px) { .figs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fig-card { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.fig-card .k { font-size: .82rem; color: var(--on-navy-3); font-weight: 500; }
.fig-card .v { font: 600 clamp(1.4rem, 3vw, 1.9rem)/1.1 var(--mono); color: #fff; letter-spacing: -.02em; }
.fig-card .s { font-size: .82rem; color: var(--on-navy-2); }
.fig-card.hi { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .4); }
.fig-card.hi .v { color: var(--green); }
.change { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(251, 191, 36, .12); color: #FDE68A; font-size: .93rem; }
.rule-grid { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 72px; }
@media (min-width: 1000px) { .rule-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
.rule { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.rule-h { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.rule-h .ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--green-wash); color: var(--green-ink); }
.rule-h h2 { font-size: 1.4rem; margin: 0; }
.rule p { color: var(--ink-2); }
.facts { display: grid; gap: 0; margin: 14px 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts dd.mono { font-family: var(--mono); }
.facts dd.bad { color: var(--red-ink); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font: 600 .8rem/1.5 var(--body); white-space: nowrap; }
.tag-ok { background: var(--green-wash); color: var(--green-ink); }
.tag-bad { background: var(--red-wash); color: var(--red-ink); }
.tag-mid { background: var(--amber-wash); color: var(--amber-ink); }
.tag-na { background: var(--surface-2); color: var(--ink-3); }
.source { font-size: .85rem; color: var(--ink-3); margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.source a { color: var(--ink-3); }
.aside-stack { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1000px) { .aside-stack { position: sticky; top: 92px; } }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.aside-card h2 { font-size: 1.1rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.aside-card.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.aside-card.navy h2 { color: #fff; }
.aside-card.navy p { color: var(--on-navy-2); }
.jump { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: .94rem; }
.jump a { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.jump a:hover { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.chip:hover { border-color: var(--green); color: var(--ink); }

/* States table */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.data th, .data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data thead th { background: var(--surface-2); font-weight: 600; font-size: .85rem; color: var(--ink-2); position: sticky; top: 0; cursor: pointer; }
.data td.mono { font-family: var(--mono); }
.data tbody tr:hover { background: var(--surface-2); }
.data a { font-weight: 600; text-decoration: none; }
.table-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.table-tools input { max-width: 320px; }

/* Checker */
.checker { padding-top: 32px; padding-bottom: 80px; }
.ck-layout { display: grid; gap: 28px; }
@media (min-width: 1040px) { .ck-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.ck-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 22px; }
.ck-steps li { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.ck-steps li.on { background: var(--green); }
.ck-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.ck-panel h2 { font-size: 1.6rem; }
.ck-panel[hidden] { display: none; }
.ck-fields { display: grid; gap: 14px; margin: 18px 0; align-items: start; }
.ck-fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .ck-fields.two { grid-template-columns: 1fr; } }
.ck-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ck-choice label { position: relative; display: grid; gap: 4px; padding: 16px; border: 2px solid var(--line); border-radius: 18px; cursor: pointer; background: var(--surface); }
.ck-choice label:has(input:checked) { border-color: var(--green); background: var(--green-wash); }
.ck-choice input { position: absolute; opacity: 0; }
.ck-choice b { font-size: 1.02rem; }
.ck-choice small { color: var(--ink-3); }
.ck-choice svg { color: var(--green-ink); }
.ck-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.ck-week { border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 12px; background: var(--bg); }
.ck-week h3 { font-size: 1rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; display: flex; justify-content: space-between; align-items: center; }
.ck-week .ck-fields { margin: 12px 0 0; }
.ck-ded { display: grid; grid-template-columns: minmax(0, 1fr) 130px 44px; gap: 8px; align-items: center; margin-bottom: 8px; }
@media (max-width: 560px) { .ck-ded { grid-template-columns: minmax(0, 1fr) 110px 44px; } }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { color: var(--red); border-color: var(--red); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.toggle:last-child { border-bottom: 0; }
.toggle input { width: 22px; height: 22px; accent-color: var(--green-ink); flex: none; }
.ck-summary { position: sticky; top: 92px; }
.ck-summary .facts { margin: 8px 0 0; }
.ck-privacy { display: flex; gap: 10px; font-size: .88rem; color: var(--ink-3); margin-top: 14px; }
.ck-privacy svg { flex: none; color: var(--green-ink); }

/* Result */
.verdict { border-radius: 26px; padding: 28px; color: #fff; display: grid; gap: 8px; position: relative; overflow: hidden; }
.verdict.underpaid { background: linear-gradient(150deg, #991B1B, #4C1517); }
.verdict.review { background: linear-gradient(150deg, #92400E, #4A2508); }
.verdict.looks_right { background: linear-gradient(150deg, #047857, #0B3B30); }
.verdict .vp { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .95rem; opacity: .95; }
.verdict .va { font: 800 clamp(2.6rem, 8vw, 4rem)/1 var(--display); letter-spacing: -.03em; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.verdict p { margin: 0; color: rgba(255, 255, 255, .86); max-width: 620px; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.results { display: grid; gap: 10px; margin: 22px 0; }
.res { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.res > summary { list-style: none; display: flex; gap: 12px; align-items: center; padding: 16px 18px; cursor: pointer; }
.res > summary::-webkit-details-marker { display: none; }
.res .st { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.res.pass .st { background: var(--green-wash); color: var(--green-ink); }
.res.fail .st { background: var(--red-wash); color: var(--red-ink); }
.res.warn .st, .res.needs_info .st { background: var(--amber-wash); color: var(--amber-ink); }
.res.not_applicable .st { background: var(--surface-2); color: var(--ink-3); }
.res .nm { flex: 1; font-weight: 600; }
.res .amt { font: 600 1rem var(--mono); color: var(--red-ink); }
.res .body { padding: 0 18px 18px 64px; color: var(--ink-2); }
.res .body p { margin: 0 0 .6em; }
.res .cite { font-size: .84rem; color: var(--ink-3); }
@media (max-width: 560px) { .res .body { padding-left: 18px; } }
.letter { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; white-space: pre-wrap; font: 400 .98rem/1.65 var(--body); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }

/* Calculator */
.calc-out { display: grid; gap: 12px; }
.meter { height: 14px; border-radius: 7px; background: var(--surface-2); overflow: hidden; position: relative; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--green); border-radius: 7px; transition: width .3s ease; }
.meter.bad i { background: var(--red); }

/* Footer */
.site-foot { background: var(--navy); color: var(--on-navy-2); padding: 56px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .brand { color: #fff; }
.foot-brand p { margin: 14px 0 18px; max-width: 360px; }
.site-foot h2 { font: 600 .78rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-3); margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--on-navy-2); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-cashout { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.foot-cashout img { border-radius: 10px; }
.foot-cashout span { display: grid; }
.foot-cashout b { color: #fff; }
.foot-cashout small { color: var(--on-navy-3); font-size: .82rem; }
.foot-legal { border-top: 1px solid var(--navy-line); margin-top: 40px; padding-top: 22px; font-size: .84rem; color: var(--on-navy-3); }
.foot-legal p { margin: 0 0 6px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; } .foot-brand { grid-column: auto; } }

/* Misc blocks */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; color: var(--green-ink); margin-top: 3px; }
.band-navy .ticks svg, .hero .ticks svg { color: var(--green); }
.sample-letter { background: #FFFDF6; color: #1F2937; border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); font-size: .95rem; line-height: 1.65; transform: rotate(1deg); }
.sample-letter p { margin: 0 0 .8em; }
.sample-letter mark { background: #FDE68A; padding: 0 3px; border-radius: 3px; }
.pair { display: flex; gap: 18px; align-items: center; }
.pair img { border-radius: 20px; box-shadow: var(--shadow); }
.notfound { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.stat-big { font: 800 2.4rem/1 var(--display); }
.term-list { columns: 2 260px; column-gap: 28px; padding: 0; list-style: none; }
.term-list li { break-inside: avoid; margin-bottom: 14px; }
.term-list a { font-weight: 600; text-decoration: none; }
.term-list span { display: block; color: var(--ink-3); font-size: .93rem; }
.kbd-note { font-size: .85rem; color: var(--ink-3); }

@media print {
  .site-head, .site-foot, .band-cta, .ck-nav, .actions, .ck-summary, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .verdict { color: #000; background: none !important; border: 2px solid #000; }
  .verdict p { color: #000; }
  .res { break-inside: avoid; }
  .res .body { display: block !important; }
}

/* Narrow-screen fixes */
.rule-grid > *, .article-grid > *, .ck-layout > * { min-width: 0; }
.facts dd .tag { white-space: normal; text-align: center; }
.facts dt { min-width: 0; }
@media (max-width: 520px) { .facts div { gap: 10px; } .rule { padding: 18px; } }
.data th[scope=row] { position: sticky; left: 0; background: var(--surface); z-index: 1; }
