/* Bricolage Grotesque (variable: opsz 12-96, wdth 75-100, wght 400-800), latin subset, self-hosted.
   SIL Open Font License. Preloaded in every page's <head>. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url('fonts/bricolage-latin.woff2?v=2') format('woff2'); }
/* Stand-in while the real font loads: Arial (or Helvetica / Liberation Sans) scaled to Bricolage's body width,
   so text wraps the same before and after and the page doesn't jump. */
@font-face { font-family: 'Bricolage Fallback'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('ArialMT'); size-adjust: 103.4%; }
/* Loud site chrome shared by the calculator and its tool pages: tokens, header, burger menu,
   salary strip, and the building blocks the tool pages are made from. */
[hidden] { display: none !important; }
/* accessibility: text links use a deeper blue (5:1 on yellow; brand blue is 4:1, fine for fills and big type only) */
:root { --link: #2448e0; }
html { scroll-padding-top: calc(var(--sb-h, 2.45rem) + var(--top-h, 4rem) + 16px); }   /* focused items and #links clear the strip and the sticky header */
/* the header sticks under the black strip on every page; a line appears once the page has scrolled (nav.js) */
.top-bar { position: sticky; top: var(--sb-h, 2.45rem); z-index: 29; background: var(--bg, #ffe14d); }
.is-scrolled .top-bar { box-shadow: 0 3px 0 #000; }
.skip { position: absolute; z-index: 100; left: 12px; top: -100px; background: #000; color: var(--bg, #ffe14d); font-weight: 800; padding: .6rem 1rem; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; outline: 3px solid var(--bg, #ffe14d); outline-offset: 2px; }
.since:focus-visible { outline: 3px solid var(--bg, #ffe14d); outline-offset: -5px; }         /* the strip is black: blue would vanish */
.sv-card :focus-visible, .things :focus-visible, .snap-pick :focus-visible { outline: 3px solid #000 !important; outline-offset: 3px; }   /* pink areas */
[role=region][tabindex]:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
/* Christmas survey: slide-in card + dialog (survey.js) */
.sv-card { position: fixed; z-index: 60; right: 16px; bottom: 16px; width: min(360px, calc(100vw - 32px)); background: var(--pink, #ff5fa2); color: #000; border: 3px solid #000; border-radius: 18px; box-shadow: 6px 6px 0 #000; padding: 1rem 1.1rem 1.1rem; transform: translateY(calc(100% + 40px)); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.sv-card.is-in { transform: none; }
.sv-card .sv-t { margin: 0 2rem .25rem 0; font-weight: 800; font-size: 1.2rem; line-height: 1.1; }
.sv-card .sv-d { margin: 0 0 .8rem; font-weight: 500; font-size: .98rem; }
.sv-go, .sv-next { font: inherit; font-weight: 800; font-size: 1rem; background: var(--blue, #2f5bff); color: #fff; border: 3px solid #000; border-radius: 999px; padding: .55rem 1.2rem; box-shadow: 3px 3px 0 #000; cursor: pointer; }
.sv-go:hover, .sv-next:hover { background: #000; }
.sv-x { position: absolute; top: .55rem; right: .55rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 999px; background: transparent; color: #000; cursor: pointer; }
.sv-x:hover { background: rgba(0,0,0,.1); }
@media (max-width: 560px) {   /* phones: a slim bar along the bottom, not a box over the page */
  .sv-card { left: 8px; right: 8px; bottom: 8px; width: auto; padding: .6rem 3rem .6rem .8rem; display: flex; align-items: center; gap: .6rem; border-radius: 14px; box-shadow: 4px 4px 0 #000; }
  .sv-card .sv-t { margin: 0; font-size: 1rem; flex: 1; } .sv-card .sv-d { display: none; }
  .sv-go { padding: .4rem .8rem; font-size: .92rem; white-space: nowrap; } .sv-card .sv-x { top: 50%; transform: translateY(-50%); right: .3rem; }
}
@media (prefers-reduced-motion: reduce) { .sv-card { transition: none; } }
.sv-dlg { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 3px solid #000; border-radius: 22px; box-shadow: 8px 8px 0 #000; background: #fff; color: #000; }
.sv-dlg::backdrop { background: rgba(0,0,0,.55); }
.sv-form { padding: 1.1rem clamp(1rem, 4vw, 1.6rem) 1.3rem; position: relative; }
.sv-head { display: flex; justify-content: space-between; align-items: center; min-height: 2.2rem; margin-bottom: .8rem; }
.sv-prog { margin: 0; display: flex; align-items: center; gap: .6rem; }
.sv-step { font-weight: 800; font-size: .95rem; background: var(--pink, #ff5fa2); color: #000; border: 3px solid #000; border-radius: 999px; padding: .2rem .75rem; box-shadow: 3px 3px 0 #000; white-space: nowrap; }
.sv-segs { display: flex; gap: .25rem; } .sv-segs i { width: 1.5rem; height: .7rem; border: 2px solid #000; border-radius: 999px; background: #fff; } .sv-segs i.on { background: #000; }
.sv-head .sv-x { position: static; }
.sv-dlg h2 { margin: 0 0 .7rem; font-weight: var(--display-weight, 700); font-size: clamp(1.7rem, 5vw, 2.2rem); line-height: 1; letter-spacing: var(--display-track, -.035em); font-variation-settings: 'opsz' 96, 'wdth' var(--display-wdth, 80); outline: none; }
.sv-why { background: var(--bg, #ffe14d); border: 2px solid #000; border-radius: 12px; padding: .6rem .8rem; font-size: .92rem; margin: 0 0 1rem; }
.sv-q { display: grid; gap: .45rem; border: 0; padding: 0; margin: 0 0 1.1rem; font-weight: 800; }
.sv-q legend { font-weight: 800; padding: 0; margin-bottom: .45rem; } .sv-q legend span { font-weight: 500; }
.sv-q select, .sv-self input, .sv-money input { font: inherit; font-weight: 600; font-size: 1rem; border: 3px solid #000; border-radius: 10px; padding: .5rem .6rem; background: #fff; color: #000; width: 100%; }
.sv-opts { display: grid; gap: .35rem; } .sv-cols { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.sv-opt { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; border: 2px solid #000; border-radius: 10px; padding: .45rem .6rem; cursor: pointer; background: #fff; }
.sv-opt:has(input:checked) { background: #000; color: var(--bg, #ffe14d); }
.sv-opt input { margin: .2rem 0 0; accent-color: var(--blue, #2f5bff); width: 1.05rem; height: 1.05rem; flex: none; }
.sv-only { border-style: dashed; }
.sv-self { display: grid; gap: .3rem; font-weight: 600; margin-top: .3rem; }
.sv-money { display: flex; align-items: center; gap: .4rem; font-weight: 800; font-size: 1.3rem; max-width: 14rem; }
.sv-or { margin: .3rem 0 .1rem; font-weight: 600; }
.sv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sv-err { color: #c0003c; font-weight: 700; min-height: 1.3em; margin: 0 0 .6rem; }
.sv-nav { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.sv-back { font: inherit; font-weight: 800; background: #fff; color: #000; border: 3px solid #000; border-radius: 999px; padding: .55rem 1.1rem; cursor: pointer; }
.sv-nav .sv-next { margin-left: auto; } .sv-next:disabled { opacity: .6; cursor: progress; }
.sv-dlg button:focus-visible, .sv-dlg input:focus-visible, .sv-dlg select:focus-visible, .sv-card button:focus-visible { outline: 3px solid var(--blue, #2f5bff); outline-offset: 2px; }
:root {
  --bg: #ffe14d; --ink: #000; --muted: #3d3500; --line: #000; --accent: #ff5fa2; --on-accent: #000; --focus: #2f5bff;
  --pink: #ff5fa2; --blue: #2f5bff; --white: #fff; --green: #3ddc84;
  --font: 'Bricolage Grotesque', 'Bricolage Fallback', sans-serif; --radius: 12px; --field-border: 3px solid #000; --field-bg: #fff;
  --hard: 5px 5px 0 #000;
  --share-bg: #ffe14d; --share-ink: #000; --share-accent: #2f5bff; --share-font: 'Bricolage Grotesque'; --share-weight: 800;
}
body { font-variation-settings: 'opsz' 14; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
header.top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; gap: 1rem; }
.mark { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; font-variation-settings: 'opsz' 96; color: inherit; text-decoration: none; }
.top-r { display: flex; gap: .5rem; align-items: center; }
.pill { border: 3px solid #000; border-radius: 999px; background: #fff; padding: .25rem .8rem; font-weight: 700; font-size: .9rem; box-shadow: 3px 3px 0 #000; }
.pill[aria-pressed=true] { background: var(--blue); color: #fff; }
select.pill { appearance: none; padding-right: .8rem; }

/* burger */
.burger { display: inline-flex; align-items: center; gap: .5rem; border: 3px solid #000; border-radius: 999px; background: #000; color: var(--bg); padding: .3rem .85rem .3rem .7rem; font-weight: 800; font-size: .9rem; box-shadow: 3px 3px 0 var(--pink); }
.burger svg { width: 18px; height: 18px; }
.burger:hover { background: var(--blue); color: #fff; }
@media (max-width: 520px) { .burger .b-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* hidden, but still the button's name */ .burger { padding: .35rem .5rem; } }
.menu-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 40; opacity: 0; transition: opacity .25s; }
.menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 41; background: var(--bg); border-left: 3px solid #000; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.16,1,.3,1); overflow-y: auto; }
.menu-open .menu { transform: none; } .menu-open .menu-scrim { opacity: 1; }
.menu[hidden], .menu-scrim[hidden] { display: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; }
.menu-x { border: 3px solid #000; border-radius: 999px; background: #fff; width: 40px; height: 40px; display: grid; place-items: center; box-shadow: 3px 3px 0 #000; }
.menu ul { list-style: none; margin: 0; padding: .4rem 1.2rem 1.5rem; display: grid; gap: .7rem; }
.menu ul a { display: block; text-decoration: none; color: #000; background: #fff; border: 3px solid #000; border-radius: 16px; box-shadow: 4px 4px 0 #000; padding: .7rem 1rem .75rem; transition: transform .2s cubic-bezier(.16,1,.3,1); }
.menu ul a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.menu ul a b { display: block; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.menu ul a span { font-size: 1rem; font-weight: 500; line-height: 1.4; }
.menu ul a[aria-current=page] { background: var(--pink); }
.menu li:nth-child(1) a { background: #000; color: var(--bg); }
.menu li:nth-child(1) a[aria-current=page] { background: #000; }
.menu-foot { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: .2rem 1.4rem 2rem; }
.menu-foot a { color: #000; font-weight: 700; font-size: 1.05rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; padding: .3rem 0; }
.menu-foot a:hover { color: var(--blue); } .menu-foot a[aria-current=page] { text-decoration-color: var(--pink); text-decoration-thickness: 4px; }
@media (prefers-reduced-motion: reduce) { .menu, .menu-scrim { transition: none; } }

/* salary strip on tool pages */
.salbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; background: #fff; border: 3px solid #000; border-radius: 999px; box-shadow: 4px 4px 0 #000; padding: .45rem .5rem .45rem 1.1rem; font-weight: 700; }
.salbar label { display: inline-flex; align-items: baseline; gap: .15rem; }
.salbar input { font: inherit; font-weight: 800; font-size: 1.25rem; width: 7ch; field-sizing: content; min-width: 4ch; border: 0; border-bottom: 3px solid #000; background: none; padding: 0 .1em; }
.salbar input:focus { outline: none; background: var(--bg); }
.salbar input:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }   /* the colour change alone is too faint */
.box.in:focus-within { outline: 3px solid var(--link); outline-offset: 4px; }   /* the big salary box on the calculator */
.salbar .sb-net { font-weight: 600; }
.salbar .sb-net b { font-weight: 800; }
.salbar a { margin-left: auto; color: #000; font-weight: 800; font-size: .9rem; background: var(--bg); border: 3px solid #000; border-radius: 999px; padding: .25rem .8rem; text-decoration: none; }
.salbar a:hover { background: var(--green); }
@media (max-width: 640px) { .salbar { border-radius: 18px; } .salbar a { margin-left: 0; } }

/* tool page scaffold */
.tool { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 5rem); }
.tool h1 { font-weight: var(--display-weight); font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: var(--display-track); line-height: .9; margin: 0 0 .8rem; max-width: 14ch; font-variation-settings: 'opsz' 96, 'wdth' var(--display-wdth); text-wrap: balance; }
.tool .lede { font-size: 1.15rem; font-weight: 500; max-width: 56ch; margin: 0 0 2rem; }
.card { background: #fff; border: 3px solid #000; border-radius: 18px; box-shadow: var(--hard); padding: clamp(1.1rem, 2.4vw, 1.6rem); }
.card.pink { background: var(--pink); } .card.green { background: var(--green); } .card.blue { background: var(--blue); color: #fff; } .card.black { background: #000; color: var(--bg); }
.mega { font-weight: var(--display-weight); font-size: clamp(3.6rem, 11vw, 8.6rem); letter-spacing: var(--display-track-num); line-height: .86; font-variation-settings: 'opsz' 96, 'wdth' var(--display-wdth-num); margin: 0; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--blue); color: #fff; border: 3px solid #000; border-radius: 999px; padding: .75rem 1.4rem; font-weight: 800; font-size: 1.05rem; box-shadow: var(--hard); text-decoration: none; }
.btn:hover { background: #000; }
.btn.alt { background: #fff; color: #000; } .btn.alt:hover { background: var(--bg); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.src { font-size: .85rem; color: #3d3500; max-width: 72ch; margin: 1.2rem 0 0; }
input[type=range] { width: 100%; accent-color: #000; height: 1.8rem; }

/* other tools, at the foot of each page */
.more { border-top: 3px solid #000; background: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.more h2 { font-weight: var(--display-weight); font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: var(--display-track); margin: 0 0 1.2rem; font-variation-settings: 'opsz' 96, 'wdth' var(--display-wdth); }
.more ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.more a { display: block; height: 100%; color: #000; text-decoration: none; border: 3px solid #000; border-radius: 16px; box-shadow: 4px 4px 0 #000; padding: .9rem 1rem; background: var(--bg); }
.more li:nth-child(3n+2) a { background: var(--green); } .more li:nth-child(3n+3) a { background: var(--pink); }
.more a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.more b { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.more span { font-size: 1rem; line-height: 1.4; }
#main:focus { outline: none; }


/* ---- "since you got here" strip: pinned to the top of every page ---- */
header.top .top-r { min-height: 2.375rem; align-items: center; }   /* the burger (38px) arrives with nav.js */
:root {
  /* display type (big headings and numbers): one place to tune it. Chosen 8 Nov: weight 700 with gentler
     tracking, so heavy condensed letters stop touching. Numbers get a touch more room than words. */
  --display-weight: 700; --display-track: -.035em; --display-wdth: 80;
  --display-track-num: -.03em; --display-wdth-num: 76;
}
:root { --sb-h: 2.45rem; } @media (max-width: 640px) { :root { --sb-h: 2.1rem; } }
/* the strip is added by since.js; reserve its height first so the page doesn't jump when it arrives */
html:not(.has-since) body::before { content: ''; display: block; height: var(--sb-h); background: #000; }
.since-band { position: sticky; top: 0; z-index: 30; background: #000; height: var(--sb-h); display: flex; align-items: center; }
.since { display: flex; width: 100%; max-width: 1320px; margin: 0 auto; justify-content: center; align-items: center; gap: 1.2rem; border: 0; background: none; color: #fff; padding: .5rem clamp(10px, 4vw, 48px); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap; font-variant-numeric: tabular-nums; }
.since b { font-weight: 800; color: var(--bg); }
.since .sb-h { color: #000; background: var(--pink); border-radius: 6px; padding: 0 .25em; }
.sb-go { font-weight: 800; font-size: .85rem; color: #000; background: var(--bg); border-radius: 999px; padding: .05rem .7rem; }
.since:hover .sb-go { background: var(--green); }
/* phones: one line, no button, shorter ending */
@media (max-width: 640px) { .since { font-size: clamp(.7rem, 3.3vw, .9rem); padding-block: .45rem; } .sb-go, .sb-of { display: none; } }
.mark { white-space: nowrap; }
@media (max-width: 360px) { header.top { flex-wrap: wrap; row-gap: .5rem; } }   /* 320px reflow: the pills drop under the logo rather than overflow */
@media (max-width: 400px) { header.top { gap: .5rem; } .top-r { gap: .35rem; } .top-r .pill { padding: .2rem .55rem; font-size: .82rem; } .mark { font-size: 1.15rem; } }

/* share card block on tool pages */
.share-host { margin-top: 1.5rem; }
.share-row { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .share-row { grid-template-columns: 1fr minmax(0, 340px); } }
.share-copy h2 { margin: 0 0 .3rem; font-weight: var(--display-weight); font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: var(--display-track); font-variation-settings: 'opsz' 96, 'wdth' var(--display-wdth); }
.share-copy p { margin: 0 0 1rem; font-weight: 500; max-width: 46ch; }
.share-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.share-note { margin: .8rem 0 0 !important; font-weight: 700 !important; min-height: 1.4em; }
.share-prev img { width: 100%; max-width: 340px; border: 3px solid #000; border-radius: 16px; box-shadow: var(--hard); transform: rotate(1.5deg); }

/* ---- brand wordmark previews (?brand=sussed|says|pocket) ---- */
.wm { display: inline-flex; align-items: center; gap: .28em; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.wm-tag { display: inline-flex; align-items: center; gap: .15em; border: 2.5px solid #000; line-height: 1; padding: .12em .35em .18em; }
/* salary sussed: pink sticker with a tick */
.wm-sussed .wm-tag { background: var(--pink); border-radius: 8px; transform: rotate(-4deg); box-shadow: 2px 2px 0 #000; }
.wm-sussed .wm-tag svg { width: .85em; height: .85em; }
/* salary says: black speech bubble */
.wm-says .wm-tag { position: relative; background: #000; color: var(--bg); border-radius: 12px; }
.wm-says .wm-tag::after { content: ""; position: absolute; left: .35em; bottom: -.42em; width: .55em; height: .5em; background: #000; clip-path: polygon(0 0, 100% 0, 0 100%); }
/* what you pocket: blue pocket with stitching */
.wm-pocket .wm-tag { position: relative; background: var(--blue); color: #fff; border-radius: 3px 3px 14px 14px; padding-top: .42em; }
.wm-pocket .wm-tag::before { content: ""; position: absolute; left: .18em; right: .18em; top: .14em; border-top: 2px dashed rgba(255,255,255,.75); }
@media (max-width: 400px) { .mark .wm { font-size: 1.02rem; } }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 1rem; max-width: 900px; }
.faq-q { min-width: 0; background: #fff; border: 3px solid #000; border-radius: 18px; box-shadow: var(--hard); }
.faq-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 3px solid #000; border-radius: 999px; background: var(--bg); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.faq-q[open] summary::after { content: '−'; background: var(--pink); }
.faq-q summary:hover::after { background: var(--green); }
.faq-q h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.faq-a { padding: 0 1.4rem 1.2rem; font-size: 1.05rem; max-width: 68ch; }
.faq-a p { margin: 0 0 .8rem; } .faq-a ul { margin: 0 0 .8rem; padding-left: 1.2rem; } .faq-a li { margin: .2rem 0; }
.faq-a a { color: var(--link); font-weight: 700; }
.faq-t { overflow-x: auto; margin: 0 0 .9rem; border: 3px solid #000; border-radius: 12px; }
.faq-t table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.faq-t th, .faq-t td { padding: .45rem .7rem; text-align: right; white-space: nowrap; border-bottom: 2px dashed rgba(0,0,0,.14); }
.faq-t th:first-child, .faq-t td:first-child { text-align: left; }
.faq-t thead th { background: var(--bg); border-bottom: 3px solid #000; font-weight: 800; }
.faq-t tbody tr:last-child > * { border-bottom: 0; }
/* ---- tool-page explainer (explain.js) ---- */
.explain { background: #fff; border-top: 3px solid #000; padding: clamp(3rem, 7vw, 5rem) 0; }
.explain h2 { font-weight: var(--display-weight); font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: var(--display-track); line-height: .95; margin: 0 0 1rem; max-width: 18ch; font-variation-settings: 'opsz' 96, 'wdth' var(--display-wdth); text-wrap: balance; }
.explain .x-faq-h { margin-top: 3rem; }
.explain h3 { font-weight: 800; font-size: 1.3rem; margin: 1.5rem 0 .5rem; }
.explain p, .explain ul { max-width: 70ch; font-size: 1.05rem; }
.explain ul { padding-left: 1.2rem; } .explain li { margin: .35rem 0; }
.x-lede { font-size: 1.2rem !important; margin: 0 0 1.8rem; }
.x-t { overflow-x: auto; border: 3px solid #000; border-radius: 12px; box-shadow: var(--hard); margin: 0 0 1.2rem; max-width: 980px; }
.x-t table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.x-t caption { text-align: left; font-weight: 800; padding: .6rem .8rem; border-bottom: 3px solid #000; background: var(--bg); }
.x-t th, .x-t td { padding: .45rem .8rem; text-align: right; border-bottom: 2px dashed rgba(0,0,0,.14); vertical-align: top; }
.x-t th:first-child { text-align: left; } .x-t td:has(> .l) { text-align: left; min-width: 16rem; font-size: .9rem; }
.x-t thead th { font-weight: 800; border-bottom: 3px solid #000; white-space: nowrap; }
.x-t tbody th { font-weight: 600; text-align: left; }
.x-t tbody tr:last-child > * { border-bottom: 0; }
.explain .src a { color: var(--link); font-weight: 700; }

/* ---- salary and job pages (landing.js) ---- */
.land { max-width: 1000px; }
.land h2 { font-weight: var(--display-weight); font-size: clamp(1.8rem, 4.4vw, 3rem); letter-spacing: var(--display-track); line-height: .98; margin: 3rem 0 1rem; max-width: 20ch; font-variation-settings: 'opsz' 96, 'wdth' var(--display-wdth); text-wrap: balance; }
.land p, .land li { font-size: 1.05rem; max-width: 70ch; }
.land a:not(.btn) { color: var(--link); font-weight: 700; }
.land .x-lede { font-size: 1.25rem; max-width: 60ch; }
.x-hero { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
@media (min-width: 760px) { .x-hero { grid-template-columns: 1.1fr 1fr; align-items: stretch; } }
.x-big { background: var(--pink); border: 3px solid #000; border-radius: 18px; box-shadow: var(--hard); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; justify-content: center; }
.x-big span { font-weight: 700; font-size: 1.1rem; }
.x-big b { font-weight: var(--display-weight); font-size: clamp(3.4rem, 9vw, 6rem); letter-spacing: var(--display-track-num); line-height: .95; font-variation-settings: 'opsz' 96, 'wdth' var(--display-wdth-num); }
.x-minis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.x-minis li { background: #fff; border: 3px solid #000; border-radius: 14px; box-shadow: 3px 3px 0 #000; padding: .7rem .9rem; font-weight: 600; font-size: .98rem !important; }
.x-minis b { display: block; font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; }
.x-break td { white-space: nowrap; }
.x-t .x-net > * { font-weight: 800; background: var(--bg); border-top: 3px solid #000; }
.x-bands { padding-left: 1.3rem; } .x-bands li { margin: .35rem 0; }
.x-facts { list-style: none; padding: 0; display: grid; gap: .6rem; }
.x-facts li { border-left: 6px solid #000; padding: .3rem 0 .3rem .9rem; background: #fff; }
.x-facts b { font-weight: 800; }
.x-cta { margin: 1.2rem 0 0; } .x-cta .btn { display: inline-block; text-decoration: none; font-size: 1rem; padding: .7rem 1.3rem; }
.x-links ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.x-links a { display: inline-block; text-decoration: none; color: #000 !important; background: #fff; border: 3px solid #000; border-radius: 999px; padding: .3rem .85rem; box-shadow: 3px 3px 0 #000; font-weight: 800; }
.x-all { display: none; margin-top: .9rem; font: inherit; font-weight: 800; background: var(--green); color: #000; border: 3px solid #000; border-radius: 999px; padding: .4rem 1rem; box-shadow: 3px 3px 0 #000; cursor: pointer; }
@media (max-width: 640px) { .x-jobs.is-short .x-far { display: none; } .x-jobs.is-short .x-all { display: inline-block; } }   /* 63 chips is a wall on a phone: show the 12 nearest in pay */
.x-links a:hover { background: var(--green); } .x-links a[aria-current=page] { background: #000; color: var(--bg) !important; }
.land .faq-list { max-width: 900px; }
.x-t a { color: var(--link); font-weight: 700; }
.land h1 { max-width: none; }   /* one line in both the fallback and the real font, so nothing jumps when the font loads */

/* Salary box error state: the last good result stays, dimmed, with a plain message */
.sal-msg { font-weight: 700; font-size: .85rem; line-height: 1.3; background: #000; color: var(--bg); border-radius: 6px; padding: .15em .5em; }
.sal-msg:empty { display: none; }
html[data-sal-err] [data-avg-hint] { display: none; }
html[data-sal-err] .sticker { visibility: hidden; }
html[data-sal-err] .ans .n, html[data-sal-err] .sheet { opacity: .4; transition: opacity .2s; }

/* Captions stay inside the visible table box: they wrap to the box width and don't scroll away with wide tables */
.x-t, .faq-t { container-type: inline-size; }
.x-t caption, .faq-t caption { position: sticky; left: 0; width: 100cqi; box-sizing: border-box; }

/* ---- Site footer: black slab (option A, 8 Nov 2026) ---- */
.site-foot { background: #000; color: #fff; border-top: 3px solid #000; padding: clamp(2.2rem, 5vw, 3.5rem) 0 1.4rem; }
.site-foot a { color: inherit; }
.site-foot :focus-visible { outline: 3px solid var(--bg); outline-offset: 3px; }
.ft-top { display: grid; gap: 2rem 2.4rem; grid-template-columns: 1.3fr repeat(3, 1fr); }
.site-foot .ft-home { display: inline-block; text-decoration: none; color: var(--bg); }
.site-foot .ft-home .wm { font-size: clamp(2rem, 4vw, 3rem); }
.ft-home .wm-says .wm-tag { background: var(--bg); color: #000; border-color: var(--bg); }
.ft-home .wm-says .wm-tag::after { background: var(--bg); }
.ft-brand p { margin: 1.3rem 0 0; max-width: 30ch; line-height: 1.45; color: #e8e8e8; }
.ft-h { margin: 0 0 .7rem; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--bg); }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li + li { margin-top: .45rem; }
.ft-col li a { font-weight: 600; text-decoration: none; }
.ft-col li a:hover, .ft-col li a[aria-current] { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ft-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.ft-chips li + li { margin-top: 0; }
.ft-chips a { display: inline-block; border: 2px solid #fff; border-radius: 999px; padding: .2rem .65rem; font-weight: 700; font-size: .92rem; }
.ft-col .ft-chips a:hover, .ft-col .ft-chips a[aria-current] { background: var(--bg); color: #000; border-color: var(--bg); text-decoration: none; }
/* visible breadcrumb, top of the footer slab (written by prerender.js; matches the BreadcrumbList JSON-LD) */
.bc-strip { background: #000; color: #fff; }
.bc-strip .wrap { padding-top: 1.4rem; }
.bc { padding-bottom: 1.1rem; border-bottom: 2px solid #333; font-size: .88rem; font-weight: 700; }
.bc ol { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .45rem; list-style: none; margin: 0; padding: 0; }
.bc li { display: inline-flex; align-items: center; gap: .45rem; }
.bc .bc-you { color: #cfcfcf; font-weight: 600; margin-right: .2rem; }
.bc a { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bc a:hover { color: var(--bg); }
.bc a:focus-visible { outline: 3px solid var(--bg); outline-offset: 3px; }
.bc [aria-current] { color: #cfcfcf; font-weight: 600; }
.bc-sep { width: 7px; height: 11px; color: #cfcfcf; }
.ft-base { margin-top: 2.4rem; padding-top: 1.1rem; border-top: 2px solid #333; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: space-between; font-size: .88rem; color: #cfcfcf; }
.ft-base p { margin: 0; } .ft-base b { color: #fff; }
.ft-base a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr 1fr; } .ft-brand, .ft-pop { grid-column: 1 / -1; } }
@media (max-width: 360px) { .ft-top { grid-template-columns: 1fr; } }

/* ---- Cookie bar (consent.js) ---- */
.ck { position: fixed; z-index: 70; left: 16px; bottom: 16px; width: min(460px, calc(100vw - 32px)); background: #000; color: #fff; border: 3px solid #000; border-radius: 16px; box-shadow: 5px 5px 0 var(--pink, #ff5fa2); padding: .85rem 1rem .9rem; display: grid; gap: .7rem; transform: translateY(calc(100% + 40px)); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.ck.is-in { transform: none; }
.ck-t { margin: 0; font-size: .92rem; line-height: 1.4; font-weight: 500; }
.ck-t a { color: var(--bg, #ffe14d); font-weight: 700; text-underline-offset: 3px; }
.ck-b { display: flex; gap: .5rem; flex-wrap: wrap; }
.ck-b button { font: inherit; font-weight: 800; font-size: .95rem; border: 2.5px solid var(--bg, #ffe14d); border-radius: 999px; padding: .4rem 1.1rem; cursor: pointer; background: transparent; color: var(--bg, #ffe14d); min-height: 40px; }
.ck-b button[data-ck=yes] { background: var(--bg, #ffe14d); color: #000; }
.ck-b button:hover { background: #fff; color: #000; border-color: #fff; }
.ck :focus-visible { outline: 3px solid var(--bg, #ffe14d); outline-offset: 3px; }
@media (max-width: 600px) { .ck { left: 8px; bottom: 8px; width: calc(100vw - 16px); padding: .7rem .85rem .75rem; gap: .55rem; } .ck-t { font-size: .86rem; } }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }
.ft-ck { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 900px) {   /* desktop: a slim strip on the bottom edge, clear of the first-screen teaser */
  .ck { left: 0; right: 0; bottom: 0; width: auto; border-radius: 0; border-width: 3px 0 0; border-color: var(--pink, #ff5fa2); box-shadow: none; display: flex; align-items: center; justify-content: center; gap: 1.4rem; padding: .55rem 1.2rem; }
  .ck-t { max-width: 75ch; }
  .ck-b { flex-wrap: nowrap; }
}
