/* Additions for the Astro test build (layout pieces the old templates didn't have) */
:root { --notice-bg: var(--accent-soft); --notice-line: var(--mark); }
[data-theme="dark"] { --notice-bg: var(--accent-soft); --notice-line: var(--mark); }

.breadcrumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; margin: .5rem 0 1rem; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs a:not(:last-child)::after { content: "›"; margin-left: .5rem; opacity: .5; }
.apply-row { margin: 1rem 0; }
.apply-btn, .app-cta-btn { display: inline-block; padding: .7rem 1.2rem; border-radius: 10px; background: var(--cta); border-color: var(--cta); color: var(--cta-ink); text-decoration: none; font-weight: 600; }
.apply-btn:hover, .app-cta-btn:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.closed-notice { margin: 1rem 0; padding: 1rem; border-radius: 10px; background: var(--notice-bg); border: 1px solid var(--notice-line); color: var(--ink); }
.closed-notice p { margin: .3rem 0 0; }
.app-cta { margin: 1rem 0; padding: 1.2rem; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--line); color: var(--ink); }
.app-cta h2 { font-size: 1.1rem; margin: 0 0 .4rem; }
.app-cta p { margin: 0 0 .8rem; }
.related-links { list-style: none; padding: 0; margin: 0; }
.related-links li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.related-links a { color: var(--accent); display: inline-flex; align-items: center; min-height: 44px; }
.related-links span { color: var(--ink-soft); font-size: .85rem; }
.hub-simple { padding-top: 1rem; }
.hub-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .hub-grid { grid-template-columns: 1fr; } }
.home { padding-top: 1.5rem; padding-bottom: 2rem; }  /* sides come from .container (24px gutter) */
.home h2 { margin-top: 1.5rem; }
.pill-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); background: var(--paper-raised); text-decoration: none; }
.pill-links a:hover { border-color: var(--accent); color: var(--accent); }
.pill-links span { color: var(--ink-soft); margin-left: .25rem; }
.similar-list { margin-bottom: 1rem; }
.site-footer-simple { margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.site-footer-simple nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 600; }
.description-body h3 { font-size: 1rem; margin: 1.2rem 0 .4rem; }

/* Split view / search / home additions */
.hub-container .breadcrumbs { margin-top: 0; }
.hub-related { margin-top: 1.5rem; }
.job-list-pane .job-cards-wrapper { display: flex; flex-direction: column; gap: .75rem; }
.select-prompt { padding: 1.5rem; }
.select-prompt h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
.search-page { grid-template-columns: minmax(0, 52rem); }
.home-main .home { padding-top: 2rem; }
.company-url-pill { text-decoration: none; }
.legal-page { color: var(--ink); max-width: 760px; margin: 0 auto; padding: 32px 16px 48px; text-align: left; } .legal-page h2 { margin-top: 1.6rem; font-size: 1.15rem; } .legal-page a { color: var(--accent); }
.legal-page ul { padding-left: 1.2rem; }

/* Footer links and pagination: 44px tap targets */
.footer-list a { display: inline-flex; align-items: center; min-height: 44px; }
.page-btn { min-width: 44px; min-height: 44px; height: auto; }
.pagination-nav { flex-wrap: wrap; }

/* Logo fallback badge (company initials) */
.logo-initials { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); line-height: 1; box-sizing: border-box; }
.card-company-logo.logo-initials { font-size: .8rem; }
.company-logo.logo-initials { font-size: .9rem; flex-shrink: 0; }
.detail-header-fixed .job-company-line { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* Hub summary, suppressed-duplicate notice, salary pages */
.hub-summary { margin: .5rem 0; }
.hub-see-all { margin: .5rem 0; }
.salary-page { padding-top: 1rem; padding-bottom: 2rem; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table a { color: var(--accent); display: inline-flex; align-items: center; min-height: 44px; }

/* Plain text links without a class: use the accent token (default blue is unreadable on dark) */
a:not([class]) { color: var(--accent); }

/* ==========================================================================
   Home page: "Job market, charted"
   Data-journalism layout built from the open listings. Palette: charcoal
   #2B2D31, silver #D9DADC, yellow #FFC93C (plus tints of them). Flat: no
   shadows or gradients; hierarchy comes from scale, weight, rules and fields.
   Every rule below is scoped to the home page (.hx).
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --hx-w {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 125%;
}

/* ---- Tokens ---------------------------------------------------------------- */
body:has(.hx) {
  --hx-charcoal: #2B2D31;
  --hx-silver: #D9DADC;
  --hx-yellow: #FFC93C;
  --hx-ground: #ECEDEE;
  --hx-field: #F7F7F8;
  --hx-ink: #2B2D31;
  --hx-ink-2: #55575C;
  --hx-ink-3: #64676C;
  --hx-rule: rgba(43, 45, 49, .16);
  --hx-rule-2: rgba(43, 45, 49, .32);
  --hx-r1: #C1C4C9; --hx-r2: #9C9EA3; --hx-r3: #737579; --hx-r4: #53555A; --hx-r5: #2B2D31;
  --hx-t1: #2B2D31; --hx-t2: #2B2D31; --hx-t3: #FFFFFF; --hx-t4: #FFFFFF; --hx-t5: #FFFFFF;
  --hx-band: #2B2D31;
  --hx-band-ink: #F1F1F2;
  --hx-band-ink-2: #B9BBBF;
  --hx-band-rule: rgba(217, 218, 220, .16);
  --hx-unit-off: #9C9EA3;
  --hx-foot: #D9DADC; --hx-foot-ink: #2B2D31; --hx-foot-ink-2: #45474C; --hx-foot-rule: rgba(43, 45, 49, .18);
  --hx-font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --hx-ease: cubic-bezier(.16, 1, .3, 1);
  --hx-gutter: clamp(16px, 3vw, 32px);
  background: var(--hx-ground);
  color: var(--hx-ink);
  font-family: var(--hx-font);
  font-stretch: 100%;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[data-theme="dark"] body:has(.hx) {
  --hx-ground: #1E1F22;
  --hx-field: #2B2D31;
  --hx-ink: #ECEDEE;
  --hx-ink-2: #B4B6BA;
  --hx-ink-3: #9A9CA1;
  --hx-rule: rgba(217, 218, 220, .16);
  --hx-rule-2: rgba(217, 218, 220, .32);
  --hx-r1: #3B3D41; --hx-r2: #5B5E62; --hx-r3: #818388; --hx-r4: #ABAEB3; --hx-r5: #D8DBE0;
  --hx-t1: #D9DADC; --hx-t2: #ECEDEE; --hx-t3: #141517; --hx-t4: #141517; --hx-t5: #141517;
  --hx-band: #141517;
  --hx-band-ink: #ECEDEE;
  --hx-band-ink-2: #B4B6BA;
  --hx-band-rule: rgba(217, 218, 220, .14);
  --hx-unit-off: #5B5E62;
  --hx-foot: #26282C; --hx-foot-ink: #ECEDEE; --hx-foot-ink-2: #B4B6BA; --hx-foot-rule: rgba(217, 218, 220, .14);
  color: var(--hx-ink);
}
html:has(.hx) { scrollbar-color: var(--hx-ink-3) var(--hx-ground); background: #ECEDEE; }
[data-theme="dark"]:has(.hx) { background: #1E1F22; }
body:has(.hx) ::selection { background: var(--hx-yellow); color: #2B2D31; }
body:has(.hx) input { caret-color: var(--hx-ink); }
.hx :focus-visible { outline: 2px solid var(--hx-ink); outline-offset: 3px; border-radius: 3px; }
.hx-latest :focus-visible, .hx-app :focus-visible { outline-color: currentColor; }

/* ---- Frame: header, containers, footer ------------------------------------ */
body:has(.hx) .container { max-width: 1240px; padding: 0 var(--hx-gutter); }
body:has(.hx) .site-header { height: 64px; background: var(--hx-ground); border-bottom: 1px solid var(--hx-rule); }
body:has(.hx) .header-inner { padding: 0 var(--hx-gutter); }
body:has(.hx) .logo-brand { min-height: 44px; }
body:has(.hx) .logo-icon { height: 38px; }
body:has(.hx) .logo-text { font-family: var(--hx-font); font-size: 1.65rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; color: var(--hx-ink); }
body:has(.hx) .theme-toggle { width: 44px; height: 44px; border: 1px solid var(--hx-rule-2); background: transparent; color: var(--hx-ink); transition: background-color .2s, border-color .2s; }
body:has(.hx) .theme-toggle:hover { border-color: var(--hx-ink); }
body:has(.hx) .footer { --line: var(--hx-foot-rule); --ink-soft: var(--hx-foot-ink-2); margin-top: 0; padding: 4rem var(--hx-gutter) 2.5rem; background: var(--hx-foot); border-top: 0; color: var(--hx-foot-ink-2); }
body:has(.hx) .footer-grid { max-width: 1240px; padding: 0 var(--hx-gutter); }
body:has(.hx) .footer-heading { font-family: var(--hx-font); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--hx-foot-ink); }
body:has(.hx) .footer-list a, body:has(.hx) .footer .social-icon { color: var(--hx-foot-ink-2); font-size: .95rem; }
body:has(.hx) .footer-list a:hover { color: var(--hx-foot-ink); text-decoration: underline; text-underline-offset: .2em; }
body:has(.hx) .footer .social-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hx-foot-rule); border-radius: 999px; background: transparent; }
body:has(.hx) .footer .social-icon:hover { color: var(--hx-foot-ink); border-color: var(--hx-foot-ink-2); }

/* ---- Shared layout ---------------------------------------------------------- */
.hx { font-family: var(--hx-font); color: var(--hx-ink); }
.hx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--hx-gutter); }
.hx p { text-wrap: pretty; }
.hx h1, .hx h2 { text-wrap: balance; }

/* ---- Hero ----------------------------------------------------------------- */
.hx-hero { padding: clamp(2.25rem, 5vw, 4.5rem) 0 0; }
.hx .hero-subtext, .hx-dateline {
  margin: 0;
  max-width: 42ch;
  font-family: var(--hx-font);
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.55;
  color: var(--hx-ink-2);
  opacity: 1;
  text-shadow: none;
}
.hx-dateline { margin-top: .2rem; }
.hx-mark {
  padding: .06em .3em;
  margin: 0 .04em;
  border-radius: 4px;
  background: linear-gradient(var(--hx-yellow), var(--hx-yellow)) no-repeat 0 0 / 100% 100%;
  color: #2B2D31;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Search: the working instrument of the page */
.hx-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  margin: clamp(2rem, 3.6vw, 3rem) 0 0;
  padding: 6px;
  background: var(--hx-field);
  border: 1.5px solid var(--hx-ink);
  border-radius: 16px;
  transition: box-shadow .25s var(--hx-ease);
}
.hx-search:focus-within { box-shadow: 0 0 0 4px var(--hx-yellow); }
.hx-search .search-input-group {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 56px;
  padding: 0 1rem;
  color: var(--hx-ink-2);
  flex: none;
  width: auto;
}
.hx-search .search-input-group + .search-input-group { border-left: 1px solid var(--hx-rule-2); }
.hx-search .search-input-group svg { flex: none; }
.hx-search .search-input-group input {
  width: 100%;
  min-height: 52px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hx-ink);
  font-family: var(--hx-font);
  font-size: 1.0625rem;
  font-weight: 500;
}
.hx-search .search-input-group input::placeholder { color: var(--hx-ink-3); opacity: 1; }
.hx-search .suggest-list { top: calc(100% + 12px); left: -6px; right: -6px; width: auto; min-width: 0; max-width: none; font-family: var(--hx-font); border-radius: 12px; border-color: var(--hx-rule-2); background: var(--hx-field); color: var(--hx-ink); box-shadow: none; }
.hx-search .suggest-count { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hx-search .suggest-item:hover, .hx-search .suggest-item[aria-selected="true"] { background: var(--hx-yellow); color: #2B2D31; }
.hx-search .suggest-item:hover .suggest-count, .hx-search .suggest-item[aria-selected="true"] .suggest-count { color: #2B2D31; }
.hx-go {
  min-height: 56px;
  padding: 0 clamp(1.4rem, 2.4vw, 2.2rem);
  border: 0;
  border-radius: 11px;
  background: var(--hx-yellow);
  color: #2B2D31;
  font-family: var(--hx-font);
  font-size: 1.0625rem;
  font-weight: 750;
  font-stretch: 108%;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--hx-ease);
}
.hx-go:hover { background: #F5BB1F; }
.hx-go:active { transform: translateY(1px); }
.hx-go:focus-visible { outline: 2px solid var(--hx-ink); outline-offset: 2px; }

/* Unit chart: one square per open job, filled column by column so pay / no pay split left to right */
.hx-units { margin: 1.1rem 0 0; padding: 0; }
.hx-units-scale {
  position: relative;
  height: 1.5rem;
  margin-bottom: .55rem;
  font-size: .9375rem;
  font-weight: 680;
  font-stretch: 78%;
  font-variant-numeric: tabular-nums;
  color: var(--hx-ink);
}
.hx-units-scale span { position: absolute; bottom: 0; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.hx-units-a { right: calc(100% - var(--split)); padding-right: .7rem; }
.hx-units-b { left: var(--split); padding-left: .7rem; color: var(--hx-ink-2); }
.hx-units-scale::after { content: ""; position: absolute; left: var(--split); bottom: -.55rem; width: 2px; height: calc(100% + .55rem); translate: -1px 0; background: var(--hx-ink); }
.hx-units-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(6, auto);
  grid-auto-columns: minmax(0, 1fr);
  gap: 3px;
}
.hx-units-grid i { display: block; aspect-ratio: 1; border-radius: 2px; background: var(--hx-unit-off); }
.hx-units-grid i.p { background: var(--hx-yellow); }
.hx-units figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem 1.5rem;
  margin-top: .9rem;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--hx-ink-2);
}
.hx-units figcaption .hx-source { margin: 0; }
.hx-key { display: inline-block; flex: none; width: 11px; height: 11px; border-radius: 2px; background: var(--hx-unit-off); }
.hx-key.p { background: var(--hx-yellow); box-shadow: inset 0 0 0 1px rgba(43, 45, 49, .35); }

/* ---- Sections ------------------------------------------------------------ */
.hx-sec { padding: clamp(4.5rem, 9vw, 8rem) 0 0; }
.hx-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: .75rem;
  align-items: end;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: 1.1rem;
  border-bottom: 2px solid var(--hx-ink);
}
.hx-sec-head h2 {
  margin: 0;
  font-family: var(--hx-font);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 790;
  font-stretch: 114%;
  line-height: .96;
  letter-spacing: -0.04em;
  color: var(--hx-ink);
}
.hx-note { margin: 0; max-width: 38ch; font-size: .9375rem; font-weight: 450; line-height: 1.5; color: var(--hx-ink-2); }
.hx-source { margin: 1.5rem 0 0; font-size: .8125rem; font-weight: 500; color: var(--hx-ink-3); font-variant-numeric: tabular-nums; }

/* Role index: weight encodes job count */
.hx-index {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .14em 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.65rem, 3.5vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.028em;
}
.hx-index li { display: inline-flex; align-items: baseline; }
.hx-index li:not(:last-child)::after { content: "/"; margin: 0 .26em 0 .2em; font-weight: 250; color: var(--hx-ink-3); }
.hx-index a {
  position: relative;
  padding: 0 .1em;
  margin: 0 -.1em;
  border-radius: 6px;
  color: var(--hx-ink);
  font-weight: var(--w, 500);
  font-stretch: 100%;
  text-decoration: none;
  background: linear-gradient(var(--hx-yellow), var(--hx-yellow)) no-repeat 0 100% / 0% 100%;
  transition: background-size .45s var(--hx-ease), color .3s;
}
.hx-index a span {
  position: relative;
  top: -1.05em;
  margin-left: .14em;
  font-size: max(.75rem, .36em);
  font-weight: 650;
  font-stretch: 78%;
  letter-spacing: 0;
  color: var(--hx-ink-2);
  font-variant-numeric: tabular-nums;
}
.hx-index a:hover, .hx-index a:focus-visible { background-size: 100% 100%; color: #2B2D31; }
.hx-index a:hover span, .hx-index a:focus-visible span { color: #2B2D31; }
.hx-index:has(a:hover, a:focus-visible) a:not(:hover, :focus-visible) { color: var(--hx-ink-3); }

/* States: tile map + ranked bars */
.hx-silver {
  margin-top: clamp(4.5rem, 9vw, 8rem);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: #D9DADC;
  --hx-ink-2: #4A4C51;
  --hx-ink-3: #55575C;
  --hx-rule: rgba(43, 45, 49, .2);
  --hx-rule-2: rgba(43, 45, 49, .42);
  --hx-r1: #B8BBC0; --hx-r2: #93959A; --hx-r3: #6F7276; --hx-r4: #4E5054; --hx-r5: #2B2D31;
  --hx-t1: #2B2D31; --hx-t2: #2B2D31; --hx-t3: #FFFFFF; --hx-t4: #FFFFFF; --hx-t5: #FFFFFF;
}
[data-theme="dark"] .hx-silver { background: #26282C; --hx-ink-2: #B4B6BA; --hx-ink-3: #9A9CA1; --hx-rule: rgba(217, 218, 220, .16); --hx-rule-2: rgba(217, 218, 220, .34); --hx-r1: #3B3D41; --hx-r2: #5B5E62; --hx-r3: #818388; --hx-r4: #ABAEB3; --hx-r5: #D8DBE0; --hx-t1: #D9DADC; --hx-t2: #ECEDEE; --hx-t3: #141517; --hx-t4: #141517; --hx-t5: #141517; }
.hx-map-col { position: sticky; top: 88px; align-self: start; }
.hx-map-col .hx-source { margin-top: 1rem; }
.hx-states-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: 2.5rem;
  align-items: start;
}
.hx-map { margin: 0; view-timeline: --hx-map block; }
.hx-tiles { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: clamp(3px, .45vw, 5px); }
.hx-tiles .t {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: clamp(3px, .4vw, 5px);
  font-size: clamp(.6875rem, 1.05vw, .8125rem);
  font-weight: 650;
  font-stretch: 86%;
  letter-spacing: .02em;
  line-height: 1;
  cursor: default;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.hx-tiles .b0 { box-shadow: inset 0 0 0 1px var(--hx-rule-2); color: var(--hx-ink-3); }
.hx-tiles .b1 { background: var(--hx-r1); color: var(--hx-t1); }
.hx-tiles .b2 { background: var(--hx-r2); color: var(--hx-t2); }
.hx-tiles .b3 { background: var(--hx-r3); color: var(--hx-t3); }
.hx-tiles .b4 { background: var(--hx-r4); color: var(--hx-t4); }
.hx-tiles .b5 { background: var(--hx-r5); color: var(--hx-t5); }
.hx-tiles .t[data-tip]:hover { background: var(--hx-yellow); color: #2B2D31; box-shadow: 0 0 0 2px var(--hx-ink); z-index: 2; }
.hx-tiles .t[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  translate: -50% 0;
  padding: .45em .65em;
  border-radius: 6px;
  background: var(--hx-ink);
  color: var(--hx-ground);
  font-size: .8125rem;
  font-weight: 650;
  font-stretch: 100%;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
}
.hx-callout {
  align-self: center;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-left: .25rem;
  font-size: clamp(.75rem, 1.05vw, .875rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--hx-ink);
}
.hx-callout::before { content: ""; flex: none; width: clamp(14px, 2vw, 28px); height: 1.5px; background: var(--hx-ink); }
.hx-legend {
  font-stretch: 78%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-top: 1.25rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--hx-ink-2);
  font-variant-numeric: tabular-nums;
}
.hx-legend-title { font-weight: 700; color: var(--hx-ink); }
.hx-legend-step { display: inline-flex; align-items: center; gap: .4rem; }
.hx-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.hx-legend .b0 { box-shadow: inset 0 0 0 1px var(--hx-rule-2); }
.hx-legend .b1 { background: var(--hx-r1); } .hx-legend .b2 { background: var(--hx-r2); } .hx-legend .b3 { background: var(--hx-r3); }
.hx-legend .b4 { background: var(--hx-r4); } .hx-legend .b5 { background: var(--hx-r5); }

.hx-bars { margin: 0; padding: 0; list-style: none; view-timeline: --hx-bars block; }
.hx-bars li { position: relative; border-bottom: 1px solid var(--hx-rule); }
.hx-bars li:first-child { border-top: 1px solid var(--hx-rule); }
.hx-bars a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: .7rem 0 1.05rem;
  color: var(--hx-ink);
  font-size: 1.0625rem;
  font-weight: 560;
  line-height: 1.2;
  text-decoration: none;
}
.hx-bars a span { font-weight: 720; font-stretch: 78%; font-variant-numeric: tabular-nums; }
.hx-bars i {
  position: absolute;
  left: 0;
  bottom: .5rem;
  width: calc(var(--v) * 100%);
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: var(--hx-ink);
  transform-origin: left center;
  transition: background-color .25s;
  pointer-events: none;
}
.hx-bars li:hover a, .hx-bars li:focus-within a { color: var(--hx-ink); }
.hx-bars li:hover i, .hx-bars li:focus-within i { background: var(--hx-yellow); box-shadow: 0 0 0 1px var(--hx-ink); }
.hx-bars:has(li:hover, li:focus-within) li:not(:hover, :focus-within) a { color: var(--hx-ink-3); }

/* Cities: a timetable with dotted leaders */
.hx-table { margin: 0; padding: 0; list-style: none; columns: 3 15rem; column-gap: clamp(2rem, 4vw, 3.5rem); }
.hx-table li { break-inside: avoid; border-bottom: 1px solid var(--hx-rule); }
.hx-table a {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  min-height: 52px;
  padding: .9rem 0;
  color: var(--hx-ink);
  font-size: 1.0625rem;
  font-weight: 560;
  line-height: 1.25;
  text-decoration: none;
}
.hx-table a i { flex: 1; min-width: 1.5rem; transform: translateY(-.28em); border-bottom: 2px dotted var(--hx-rule-2); transition: border-color .2s; }
.hx-table a span { flex: none; padding: .04em .32em; margin-right: -.32em; border-radius: 4px; font-weight: 720; font-stretch: 78%; font-variant-numeric: tabular-nums; transition: background-color .2s; }
.hx-table a:hover i, .hx-table a:focus-visible i { border-bottom-style: solid; border-bottom-color: var(--hx-ink); }
.hx-table a:hover span, .hx-table a:focus-visible span { background: var(--hx-yellow); color: #2B2D31; }
.hx-table:has(a:hover, a:focus-visible) a:not(:hover, :focus-visible) { color: var(--hx-ink-3); }

/* Latest jobs: the charcoal band, a live table */
.hx-latest {
  --hx-cols: 40px minmax(0, 2.6fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr);
  margin-top: clamp(4.5rem, 9vw, 8rem);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: var(--hx-band);
  color: var(--hx-band-ink);
}
.hx-latest .hx-sec-head { border-bottom-color: var(--hx-band-ink); margin-bottom: 0; }
.hx-latest .hx-sec-head h2 { color: var(--hx-band-ink); }
.hx-latest .hx-note { color: var(--hx-band-ink-2); }
.hx-thead {
  display: grid;
  grid-template-columns: var(--hx-cols);
  column-gap: 1.25rem;
  padding: 1rem 0 .75rem;
  border-bottom: 1px solid var(--hx-band-rule);
  font-size: .8125rem;
  font-weight: 600;
  font-stretch: 92%;
  color: var(--hx-band-ink-2);
}
.hx-latest .job-cards-wrapper { display: block; }
.hx-latest .job-card-item {
  display: grid;
  grid-template-columns: var(--hx-cols);
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  align-items: center;
  min-height: 0;
  padding: 1.1rem 0;
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hx-band-ink);
  box-shadow: none;
  transition: background-color .25s;
}
.hx-latest .job-card-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hx-band-rule); transform-origin: left center; }
.hx-latest .job-card-item:hover .card-job-title, .hx-latest .job-card-item:focus-visible .card-job-title { text-decoration: underline; text-decoration-color: var(--hx-yellow); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.hx-latest .job-card-item:hover { background: rgba(217, 218, 220, .06); }
.hx-latest .card-content, .hx-latest .card-meta-row { display: contents; }
.hx-latest .card-company-logo {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  padding: 5px;
  border: 0;
  border-radius: 9px;
  background: #F7F7F8;
  object-fit: contain;
}
.hx-latest .logo-initials { color: #2B2D31; background: #D9DADC; font-size: .75rem; font-weight: 750; }
.hx-latest .card-job-title {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--hx-band-ink);
  overflow-wrap: anywhere;
  transition: color .25s;
}
.hx-latest .card-company-line { grid-column: 2; grid-row: 2; align-self: start; margin: .2rem 0 0; font-size: .9375rem; font-weight: 450; color: var(--hx-band-ink-2); overflow-wrap: anywhere; }
.hx-latest .card-location { grid-column: 3; grid-row: 1 / span 2; margin: 0; font-size: .9375rem; font-weight: 500; color: var(--hx-band-ink-2); }
.hx-latest .meta-pill { grid-row: 1 / span 2; justify-self: start; margin: 0; }
.hx-latest .pay-pill {
  grid-column: 4;
  padding: .32rem .55rem;
  border-radius: 6px;
  background: var(--hx-yellow);
  color: #2B2D31;
  font-size: .875rem;
  font-weight: 700;
  font-stretch: 85%;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hx-latest .meta-pill:not(.pay-pill) { grid-column: 5; padding: 0; background: transparent; color: var(--hx-band-ink-2); font-size: .9375rem; font-weight: 500; }
.hx-rows:has(.job-card-item:hover, .job-card-item:focus-visible) .job-card-item:not(:hover, :focus-visible) .card-job-title { color: var(--hx-band-ink-2); }

/* App: the yellow field that closes the page */
.hx-app { background: var(--hx-yellow); color: #2B2D31; }
.hx-app .app-cta {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 1.5rem;
  align-items: end;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--hx-gutter);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2B2D31;
}
.hx-app .app-cta h2 {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  font-family: var(--hx-font);
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  font-weight: 810;
  font-stretch: 118%;
  line-height: .92;
  letter-spacing: -0.04em;
  color: #2B2D31;
}
.hx-app .app-cta p { grid-column: 2; margin: 0; max-width: 34ch; font-size: 1.125rem; font-weight: 500; line-height: 1.5; color: #2B2D31; }
.hx-app .app-cta-btn {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: #2B2D31;
  color: #FFC93C;
  font-family: var(--hx-font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s;
}
.hx-app .app-cta-btn:hover { background: #18191C; }
.hx-app .app-cta-btn:focus-visible { outline: 2px solid #2B2D31; outline-offset: 3px; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hx-sec-head, .hx-states-grid, .hx-app .app-cta { grid-template-columns: minmax(0, 1fr); }
  .hx-map-col { position: static; }
  .hx-app .app-cta h2, .hx-app .app-cta p, .hx-app .app-cta-btn { grid-column: 1; grid-row: auto; }
  .hx-latest { --hx-cols: 40px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .hx-thead span:last-child, .hx-latest .meta-pill:not(.pay-pill) { display: none; }
}
@media (max-width: 720px) {
  .hx-search { grid-template-columns: minmax(0, 1fr); padding: 6px; }
  .hx-search .search-input-group + .search-input-group { border-left: 0; border-top: 1px solid var(--hx-rule-2); }
  .hx-go { margin-top: 6px; width: 100%; }
  .hx-units-grid { grid-template-rows: repeat(12, auto); gap: 2px; }
  .hx-units { --split: var(--split-m); }
  .hx-thead { display: none; }
  .hx-latest .job-card-item { grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto; row-gap: .15rem; align-items: start; }
  .hx-latest .card-company-logo { grid-row: 1 / span 4; }
  .hx-latest .card-job-title { grid-column: 2; grid-row: 1; }
  .hx-latest .card-company-line { grid-column: 2; grid-row: 2; margin: 0; }
  .hx-latest .card-location { grid-column: 2; grid-row: 3; }
  .hx-latest .card-meta-row { grid-column: 2; grid-row: 4; display: flex; gap: .6rem; align-items: center; margin-top: .45rem; }
  .hx-latest .meta-pill:not(.pay-pill) { display: inline; }
  .hx-index li:not(:last-child)::after { margin: 0 .2em 0 .14em; }
}

/* ---- Motion: data draws itself --------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {

  .hx-units-grid { animation: hx-sweep 1.5s var(--hx-ease) .3s backwards; }
  @keyframes hx-sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

  .hx-mark { animation: hx-ink .7s var(--hx-ease) 1.1s backwards; }
  @keyframes hx-ink { from { background-size: 0% 100%; color: var(--hx-ink); } }

  @supports (animation-timeline: scroll()) {

    .hx-tiles .t { animation: hx-tile linear both; animation-timeline: --hx-map; animation-range: entry calc(4% + var(--c, 0) * 2.5%) cover calc(22% + var(--c, 0) * 2.5%); }
    @keyframes hx-tile { from { opacity: 0; } }

    .hx-bars i { animation: hx-bar linear both; animation-timeline: --hx-bars; animation-range: entry 10% cover 45%; }
    @keyframes hx-bar { from { transform: scaleX(0); } }

    .hx-latest .job-card-item::after { animation: hx-rule linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    @keyframes hx-rule { from { transform: scaleX(0); } }
  }
}

/* Isolate: pointing at a state in the list lights its tile, and the reverse */
.hx-states-grid:has(.hx-bars li:hover, .hx-bars li:focus-within) .t:not(.b0) { opacity: .4; }
.hx-states-grid:has(.hx-bars li[data-st="AK"]:hover, .hx-bars li[data-st="AK"]:focus-within) .t[data-st="AK"],
.hx-states-grid:has(.hx-bars li[data-st="ME"]:hover, .hx-bars li[data-st="ME"]:focus-within) .t[data-st="ME"],
.hx-states-grid:has(.hx-bars li[data-st="VT"]:hover, .hx-bars li[data-st="VT"]:focus-within) .t[data-st="VT"],
.hx-states-grid:has(.hx-bars li[data-st="NH"]:hover, .hx-bars li[data-st="NH"]:focus-within) .t[data-st="NH"],
.hx-states-grid:has(.hx-bars li[data-st="WA"]:hover, .hx-bars li[data-st="WA"]:focus-within) .t[data-st="WA"],
.hx-states-grid:has(.hx-bars li[data-st="ID"]:hover, .hx-bars li[data-st="ID"]:focus-within) .t[data-st="ID"],
.hx-states-grid:has(.hx-bars li[data-st="MT"]:hover, .hx-bars li[data-st="MT"]:focus-within) .t[data-st="MT"],
.hx-states-grid:has(.hx-bars li[data-st="ND"]:hover, .hx-bars li[data-st="ND"]:focus-within) .t[data-st="ND"],
.hx-states-grid:has(.hx-bars li[data-st="MN"]:hover, .hx-bars li[data-st="MN"]:focus-within) .t[data-st="MN"],
.hx-states-grid:has(.hx-bars li[data-st="IL"]:hover, .hx-bars li[data-st="IL"]:focus-within) .t[data-st="IL"],
.hx-states-grid:has(.hx-bars li[data-st="WI"]:hover, .hx-bars li[data-st="WI"]:focus-within) .t[data-st="WI"],
.hx-states-grid:has(.hx-bars li[data-st="MI"]:hover, .hx-bars li[data-st="MI"]:focus-within) .t[data-st="MI"],
.hx-states-grid:has(.hx-bars li[data-st="NY"]:hover, .hx-bars li[data-st="NY"]:focus-within) .t[data-st="NY"],
.hx-states-grid:has(.hx-bars li[data-st="RI"]:hover, .hx-bars li[data-st="RI"]:focus-within) .t[data-st="RI"],
.hx-states-grid:has(.hx-bars li[data-st="MA"]:hover, .hx-bars li[data-st="MA"]:focus-within) .t[data-st="MA"],
.hx-states-grid:has(.hx-bars li[data-st="OR"]:hover, .hx-bars li[data-st="OR"]:focus-within) .t[data-st="OR"],
.hx-states-grid:has(.hx-bars li[data-st="NV"]:hover, .hx-bars li[data-st="NV"]:focus-within) .t[data-st="NV"],
.hx-states-grid:has(.hx-bars li[data-st="WY"]:hover, .hx-bars li[data-st="WY"]:focus-within) .t[data-st="WY"],
.hx-states-grid:has(.hx-bars li[data-st="SD"]:hover, .hx-bars li[data-st="SD"]:focus-within) .t[data-st="SD"],
.hx-states-grid:has(.hx-bars li[data-st="IA"]:hover, .hx-bars li[data-st="IA"]:focus-within) .t[data-st="IA"],
.hx-states-grid:has(.hx-bars li[data-st="IN"]:hover, .hx-bars li[data-st="IN"]:focus-within) .t[data-st="IN"],
.hx-states-grid:has(.hx-bars li[data-st="OH"]:hover, .hx-bars li[data-st="OH"]:focus-within) .t[data-st="OH"],
.hx-states-grid:has(.hx-bars li[data-st="PA"]:hover, .hx-bars li[data-st="PA"]:focus-within) .t[data-st="PA"],
.hx-states-grid:has(.hx-bars li[data-st="NJ"]:hover, .hx-bars li[data-st="NJ"]:focus-within) .t[data-st="NJ"],
.hx-states-grid:has(.hx-bars li[data-st="CT"]:hover, .hx-bars li[data-st="CT"]:focus-within) .t[data-st="CT"],
.hx-states-grid:has(.hx-bars li[data-st="CA"]:hover, .hx-bars li[data-st="CA"]:focus-within) .t[data-st="CA"],
.hx-states-grid:has(.hx-bars li[data-st="UT"]:hover, .hx-bars li[data-st="UT"]:focus-within) .t[data-st="UT"],
.hx-states-grid:has(.hx-bars li[data-st="CO"]:hover, .hx-bars li[data-st="CO"]:focus-within) .t[data-st="CO"],
.hx-states-grid:has(.hx-bars li[data-st="NE"]:hover, .hx-bars li[data-st="NE"]:focus-within) .t[data-st="NE"],
.hx-states-grid:has(.hx-bars li[data-st="MO"]:hover, .hx-bars li[data-st="MO"]:focus-within) .t[data-st="MO"],
.hx-states-grid:has(.hx-bars li[data-st="KY"]:hover, .hx-bars li[data-st="KY"]:focus-within) .t[data-st="KY"],
.hx-states-grid:has(.hx-bars li[data-st="WV"]:hover, .hx-bars li[data-st="WV"]:focus-within) .t[data-st="WV"],
.hx-states-grid:has(.hx-bars li[data-st="VA"]:hover, .hx-bars li[data-st="VA"]:focus-within) .t[data-st="VA"],
.hx-states-grid:has(.hx-bars li[data-st="MD"]:hover, .hx-bars li[data-st="MD"]:focus-within) .t[data-st="MD"],
.hx-states-grid:has(.hx-bars li[data-st="DE"]:hover, .hx-bars li[data-st="DE"]:focus-within) .t[data-st="DE"],
.hx-states-grid:has(.hx-bars li[data-st="AZ"]:hover, .hx-bars li[data-st="AZ"]:focus-within) .t[data-st="AZ"],
.hx-states-grid:has(.hx-bars li[data-st="NM"]:hover, .hx-bars li[data-st="NM"]:focus-within) .t[data-st="NM"],
.hx-states-grid:has(.hx-bars li[data-st="KS"]:hover, .hx-bars li[data-st="KS"]:focus-within) .t[data-st="KS"],
.hx-states-grid:has(.hx-bars li[data-st="AR"]:hover, .hx-bars li[data-st="AR"]:focus-within) .t[data-st="AR"],
.hx-states-grid:has(.hx-bars li[data-st="TN"]:hover, .hx-bars li[data-st="TN"]:focus-within) .t[data-st="TN"],
.hx-states-grid:has(.hx-bars li[data-st="NC"]:hover, .hx-bars li[data-st="NC"]:focus-within) .t[data-st="NC"],
.hx-states-grid:has(.hx-bars li[data-st="SC"]:hover, .hx-bars li[data-st="SC"]:focus-within) .t[data-st="SC"],
.hx-states-grid:has(.hx-bars li[data-st="DC"]:hover, .hx-bars li[data-st="DC"]:focus-within) .t[data-st="DC"],
.hx-states-grid:has(.hx-bars li[data-st="OK"]:hover, .hx-bars li[data-st="OK"]:focus-within) .t[data-st="OK"],
.hx-states-grid:has(.hx-bars li[data-st="LA"]:hover, .hx-bars li[data-st="LA"]:focus-within) .t[data-st="LA"],
.hx-states-grid:has(.hx-bars li[data-st="MS"]:hover, .hx-bars li[data-st="MS"]:focus-within) .t[data-st="MS"],
.hx-states-grid:has(.hx-bars li[data-st="AL"]:hover, .hx-bars li[data-st="AL"]:focus-within) .t[data-st="AL"],
.hx-states-grid:has(.hx-bars li[data-st="GA"]:hover, .hx-bars li[data-st="GA"]:focus-within) .t[data-st="GA"],
.hx-states-grid:has(.hx-bars li[data-st="HI"]:hover, .hx-bars li[data-st="HI"]:focus-within) .t[data-st="HI"],
.hx-states-grid:has(.hx-bars li[data-st="TX"]:hover, .hx-bars li[data-st="TX"]:focus-within) .t[data-st="TX"],
.hx-states-grid:has(.hx-bars li[data-st="FL"]:hover, .hx-bars li[data-st="FL"]:focus-within) .t[data-st="FL"] {
  opacity: 1; background: var(--hx-yellow); color: #2B2D31; box-shadow: 0 0 0 2px var(--hx-ink); z-index: 2;
}
.hx-states-grid:has(.t[data-st="AK"]:hover) .hx-bars li[data-st="AK"] i,
.hx-states-grid:has(.t[data-st="ME"]:hover) .hx-bars li[data-st="ME"] i,
.hx-states-grid:has(.t[data-st="VT"]:hover) .hx-bars li[data-st="VT"] i,
.hx-states-grid:has(.t[data-st="NH"]:hover) .hx-bars li[data-st="NH"] i,
.hx-states-grid:has(.t[data-st="WA"]:hover) .hx-bars li[data-st="WA"] i,
.hx-states-grid:has(.t[data-st="ID"]:hover) .hx-bars li[data-st="ID"] i,
.hx-states-grid:has(.t[data-st="MT"]:hover) .hx-bars li[data-st="MT"] i,
.hx-states-grid:has(.t[data-st="ND"]:hover) .hx-bars li[data-st="ND"] i,
.hx-states-grid:has(.t[data-st="MN"]:hover) .hx-bars li[data-st="MN"] i,
.hx-states-grid:has(.t[data-st="IL"]:hover) .hx-bars li[data-st="IL"] i,
.hx-states-grid:has(.t[data-st="WI"]:hover) .hx-bars li[data-st="WI"] i,
.hx-states-grid:has(.t[data-st="MI"]:hover) .hx-bars li[data-st="MI"] i,
.hx-states-grid:has(.t[data-st="NY"]:hover) .hx-bars li[data-st="NY"] i,
.hx-states-grid:has(.t[data-st="RI"]:hover) .hx-bars li[data-st="RI"] i,
.hx-states-grid:has(.t[data-st="MA"]:hover) .hx-bars li[data-st="MA"] i,
.hx-states-grid:has(.t[data-st="OR"]:hover) .hx-bars li[data-st="OR"] i,
.hx-states-grid:has(.t[data-st="NV"]:hover) .hx-bars li[data-st="NV"] i,
.hx-states-grid:has(.t[data-st="WY"]:hover) .hx-bars li[data-st="WY"] i,
.hx-states-grid:has(.t[data-st="SD"]:hover) .hx-bars li[data-st="SD"] i,
.hx-states-grid:has(.t[data-st="IA"]:hover) .hx-bars li[data-st="IA"] i,
.hx-states-grid:has(.t[data-st="IN"]:hover) .hx-bars li[data-st="IN"] i,
.hx-states-grid:has(.t[data-st="OH"]:hover) .hx-bars li[data-st="OH"] i,
.hx-states-grid:has(.t[data-st="PA"]:hover) .hx-bars li[data-st="PA"] i,
.hx-states-grid:has(.t[data-st="NJ"]:hover) .hx-bars li[data-st="NJ"] i,
.hx-states-grid:has(.t[data-st="CT"]:hover) .hx-bars li[data-st="CT"] i,
.hx-states-grid:has(.t[data-st="CA"]:hover) .hx-bars li[data-st="CA"] i,
.hx-states-grid:has(.t[data-st="UT"]:hover) .hx-bars li[data-st="UT"] i,
.hx-states-grid:has(.t[data-st="CO"]:hover) .hx-bars li[data-st="CO"] i,
.hx-states-grid:has(.t[data-st="NE"]:hover) .hx-bars li[data-st="NE"] i,
.hx-states-grid:has(.t[data-st="MO"]:hover) .hx-bars li[data-st="MO"] i,
.hx-states-grid:has(.t[data-st="KY"]:hover) .hx-bars li[data-st="KY"] i,
.hx-states-grid:has(.t[data-st="WV"]:hover) .hx-bars li[data-st="WV"] i,
.hx-states-grid:has(.t[data-st="VA"]:hover) .hx-bars li[data-st="VA"] i,
.hx-states-grid:has(.t[data-st="MD"]:hover) .hx-bars li[data-st="MD"] i,
.hx-states-grid:has(.t[data-st="DE"]:hover) .hx-bars li[data-st="DE"] i,
.hx-states-grid:has(.t[data-st="AZ"]:hover) .hx-bars li[data-st="AZ"] i,
.hx-states-grid:has(.t[data-st="NM"]:hover) .hx-bars li[data-st="NM"] i,
.hx-states-grid:has(.t[data-st="KS"]:hover) .hx-bars li[data-st="KS"] i,
.hx-states-grid:has(.t[data-st="AR"]:hover) .hx-bars li[data-st="AR"] i,
.hx-states-grid:has(.t[data-st="TN"]:hover) .hx-bars li[data-st="TN"] i,
.hx-states-grid:has(.t[data-st="NC"]:hover) .hx-bars li[data-st="NC"] i,
.hx-states-grid:has(.t[data-st="SC"]:hover) .hx-bars li[data-st="SC"] i,
.hx-states-grid:has(.t[data-st="DC"]:hover) .hx-bars li[data-st="DC"] i,
.hx-states-grid:has(.t[data-st="OK"]:hover) .hx-bars li[data-st="OK"] i,
.hx-states-grid:has(.t[data-st="LA"]:hover) .hx-bars li[data-st="LA"] i,
.hx-states-grid:has(.t[data-st="MS"]:hover) .hx-bars li[data-st="MS"] i,
.hx-states-grid:has(.t[data-st="AL"]:hover) .hx-bars li[data-st="AL"] i,
.hx-states-grid:has(.t[data-st="GA"]:hover) .hx-bars li[data-st="GA"] i,
.hx-states-grid:has(.t[data-st="HI"]:hover) .hx-bars li[data-st="HI"] i,
.hx-states-grid:has(.t[data-st="TX"]:hover) .hx-bars li[data-st="TX"] i,
.hx-states-grid:has(.t[data-st="FL"]:hover) .hx-bars li[data-st="FL"] i { background: var(--hx-yellow); box-shadow: 0 0 0 1px var(--hx-ink); }
.hx-states-grid:has(.t[data-st="AK"]:hover) .hx-bars li[data-st="AK"] a,
.hx-states-grid:has(.t[data-st="ME"]:hover) .hx-bars li[data-st="ME"] a,
.hx-states-grid:has(.t[data-st="VT"]:hover) .hx-bars li[data-st="VT"] a,
.hx-states-grid:has(.t[data-st="NH"]:hover) .hx-bars li[data-st="NH"] a,
.hx-states-grid:has(.t[data-st="WA"]:hover) .hx-bars li[data-st="WA"] a,
.hx-states-grid:has(.t[data-st="ID"]:hover) .hx-bars li[data-st="ID"] a,
.hx-states-grid:has(.t[data-st="MT"]:hover) .hx-bars li[data-st="MT"] a,
.hx-states-grid:has(.t[data-st="ND"]:hover) .hx-bars li[data-st="ND"] a,
.hx-states-grid:has(.t[data-st="MN"]:hover) .hx-bars li[data-st="MN"] a,
.hx-states-grid:has(.t[data-st="IL"]:hover) .hx-bars li[data-st="IL"] a,
.hx-states-grid:has(.t[data-st="WI"]:hover) .hx-bars li[data-st="WI"] a,
.hx-states-grid:has(.t[data-st="MI"]:hover) .hx-bars li[data-st="MI"] a,
.hx-states-grid:has(.t[data-st="NY"]:hover) .hx-bars li[data-st="NY"] a,
.hx-states-grid:has(.t[data-st="RI"]:hover) .hx-bars li[data-st="RI"] a,
.hx-states-grid:has(.t[data-st="MA"]:hover) .hx-bars li[data-st="MA"] a,
.hx-states-grid:has(.t[data-st="OR"]:hover) .hx-bars li[data-st="OR"] a,
.hx-states-grid:has(.t[data-st="NV"]:hover) .hx-bars li[data-st="NV"] a,
.hx-states-grid:has(.t[data-st="WY"]:hover) .hx-bars li[data-st="WY"] a,
.hx-states-grid:has(.t[data-st="SD"]:hover) .hx-bars li[data-st="SD"] a,
.hx-states-grid:has(.t[data-st="IA"]:hover) .hx-bars li[data-st="IA"] a,
.hx-states-grid:has(.t[data-st="IN"]:hover) .hx-bars li[data-st="IN"] a,
.hx-states-grid:has(.t[data-st="OH"]:hover) .hx-bars li[data-st="OH"] a,
.hx-states-grid:has(.t[data-st="PA"]:hover) .hx-bars li[data-st="PA"] a,
.hx-states-grid:has(.t[data-st="NJ"]:hover) .hx-bars li[data-st="NJ"] a,
.hx-states-grid:has(.t[data-st="CT"]:hover) .hx-bars li[data-st="CT"] a,
.hx-states-grid:has(.t[data-st="CA"]:hover) .hx-bars li[data-st="CA"] a,
.hx-states-grid:has(.t[data-st="UT"]:hover) .hx-bars li[data-st="UT"] a,
.hx-states-grid:has(.t[data-st="CO"]:hover) .hx-bars li[data-st="CO"] a,
.hx-states-grid:has(.t[data-st="NE"]:hover) .hx-bars li[data-st="NE"] a,
.hx-states-grid:has(.t[data-st="MO"]:hover) .hx-bars li[data-st="MO"] a,
.hx-states-grid:has(.t[data-st="KY"]:hover) .hx-bars li[data-st="KY"] a,
.hx-states-grid:has(.t[data-st="WV"]:hover) .hx-bars li[data-st="WV"] a,
.hx-states-grid:has(.t[data-st="VA"]:hover) .hx-bars li[data-st="VA"] a,
.hx-states-grid:has(.t[data-st="MD"]:hover) .hx-bars li[data-st="MD"] a,
.hx-states-grid:has(.t[data-st="DE"]:hover) .hx-bars li[data-st="DE"] a,
.hx-states-grid:has(.t[data-st="AZ"]:hover) .hx-bars li[data-st="AZ"] a,
.hx-states-grid:has(.t[data-st="NM"]:hover) .hx-bars li[data-st="NM"] a,
.hx-states-grid:has(.t[data-st="KS"]:hover) .hx-bars li[data-st="KS"] a,
.hx-states-grid:has(.t[data-st="AR"]:hover) .hx-bars li[data-st="AR"] a,
.hx-states-grid:has(.t[data-st="TN"]:hover) .hx-bars li[data-st="TN"] a,
.hx-states-grid:has(.t[data-st="NC"]:hover) .hx-bars li[data-st="NC"] a,
.hx-states-grid:has(.t[data-st="SC"]:hover) .hx-bars li[data-st="SC"] a,
.hx-states-grid:has(.t[data-st="DC"]:hover) .hx-bars li[data-st="DC"] a,
.hx-states-grid:has(.t[data-st="OK"]:hover) .hx-bars li[data-st="OK"] a,
.hx-states-grid:has(.t[data-st="LA"]:hover) .hx-bars li[data-st="LA"] a,
.hx-states-grid:has(.t[data-st="MS"]:hover) .hx-bars li[data-st="MS"] a,
.hx-states-grid:has(.t[data-st="AL"]:hover) .hx-bars li[data-st="AL"] a,
.hx-states-grid:has(.t[data-st="GA"]:hover) .hx-bars li[data-st="GA"] a,
.hx-states-grid:has(.t[data-st="HI"]:hover) .hx-bars li[data-st="HI"] a,
.hx-states-grid:has(.t[data-st="TX"]:hover) .hx-bars li[data-st="TX"] a,
.hx-states-grid:has(.t[data-st="FL"]:hover) .hx-bars li[data-st="FL"] a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }


/* ---- Hero headline, proof module and answer lines ---------------------------- */
.hx-h1 {
  margin: 0 0 0 -0.045em;
  font-family: var(--hx-font);
  font-size: clamp(2.5rem, 6.4vw, 6rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: .93;
  letter-spacing: -0.04em;
  color: var(--hx-ink);
}
.hx-h1 span { display: block; white-space: nowrap; }
.hx-h1 .hx-mark { display: inline-block; padding: 0 .1em .05em; margin: .06em 0 0 -.02em; border-radius: .1em; font-weight: 820; }
.hx .hx-lede { margin: clamp(1.4rem, 2.4vw, 2.1rem) 0 0; max-width: 56ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.55; color: var(--hx-ink-2); }
.hx-proof { margin-top: clamp(2.5rem, 4.5vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid var(--hx-rule); }
.hx-chart-title { margin: 0; font-size: 1.25rem; font-weight: 740; font-stretch: 104%; letter-spacing: -0.012em; color: var(--hx-ink); }
.hx-answer { margin: .35rem 0 0; max-width: 62ch; font-size: 1.0625rem; font-weight: 480; line-height: 1.55; color: var(--hx-ink); }
.hx-proof .hx-answer { color: var(--hx-ink-2); }
.hx-answer a, .hx-what-text a {
  color: var(--hx-ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .2em;
  text-decoration-color: var(--hx-rule-2);
  transition: text-decoration-color .2s, background-color .2s;
  border-radius: 3px;
}
.hx-answer a:hover, .hx-answer a:focus-visible { text-decoration-color: var(--hx-ink); background: var(--hx-yellow); color: #2B2D31; }
.hx-sec-copy { display: grid; gap: .6rem; }
.hx-sec-copy .hx-note { max-width: 46ch; }

/* ---- What is Heyst: a definition entry ------------------------------------- */
.hx-what-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(1.5rem, 4vw, 4rem); row-gap: 1.25rem; padding-top: 1.25rem; border-top: 2px solid var(--hx-ink); }
.hx-what h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.15rem); font-weight: 790; font-stretch: 114%; line-height: .96; letter-spacing: -0.04em; color: var(--hx-ink); }
.hx-what-lead { margin: 0; font-size: clamp(1.55rem, 2.6vw, 2.3rem); font-weight: 520; line-height: 1.16; letter-spacing: -0.022em; color: var(--hx-ink); text-wrap: balance; }
.hx-what-lead strong { font-weight: 820; font-stretch: 112%; }
.hx-what-text { margin: 1.1rem 0 0; max-width: 58ch; font-size: 1.0625rem; line-height: 1.6; color: var(--hx-ink-2); }
.hx-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hx-rule-2); }
.hx-trio li + li { border-left: 1px solid var(--hx-rule); }
.hx-trio a { display: grid; gap: .35rem; min-height: 100%; padding: 1rem 1.25rem 1.1rem; color: var(--hx-ink); text-decoration: none; transition: background-color .2s; }
.hx-trio li:first-child a { padding-left: 0; }
.hx-trio b { justify-self: start; padding: 0 .14em; margin-left: -.14em; border-radius: 4px; font-size: 1.375rem; font-weight: 790; font-stretch: 112%; letter-spacing: -0.02em; background: linear-gradient(var(--hx-yellow), var(--hx-yellow)) no-repeat 0 100% / 0% 100%; transition: background-size .4s var(--hx-ease); }
.hx-trio span { font-size: .9375rem; line-height: 1.45; color: var(--hx-ink-2); }
.hx-trio a:hover b, .hx-trio a:focus-visible b { background-size: 100% 100%; color: #2B2D31; }

/* ---- How Heyst applies: four steps on one track ----------------------------- */

.hx-dry { margin: clamp(2.5rem, 4vw, 3.5rem) 0 0; padding-top: 1.25rem; border-top: 1px solid var(--hx-rule-2); max-width: 28ch; font-size: clamp(1.55rem, 2.7vw, 2.35rem); font-weight: 680; font-stretch: 106%; line-height: 1.12; letter-spacing: -0.028em; color: var(--hx-ink); text-wrap: balance; }

/* ---- Trust: the answer, then the receipts ------------------------------------ */


/* ---- Comparison table --------------------------------------------------------- */
.hx-vs-wrap { overflow-x: auto; }
.hx-vs { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.hx-vs th, .hx-vs td { padding: 1rem 1rem 1rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hx-rule); }
.hx-vs thead th { padding-top: .25rem; font-size: .9375rem; font-weight: 700; font-stretch: 100%; color: var(--hx-ink-2); border-bottom: 2px solid var(--hx-ink); }
.hx-vs thead td { border-bottom: 2px solid var(--hx-ink); }
.hx-vs tbody th { width: 22%; font-weight: 700; color: var(--hx-ink); }
.hx-vs td { color: var(--hx-ink-2); }
.hx-vs .hx-vs-us { padding-left: 1rem; color: var(--hx-ink); font-weight: 650; background: rgba(255, 201, 60, .16); }
.hx-vs thead .hx-vs-us { background: var(--hx-yellow); color: #2B2D31; font-size: 1.0625rem; font-weight: 800; border-radius: 8px 8px 0 0; }
.hx-vs tbody tr:hover th, .hx-vs tbody tr:hover td { background-color: rgba(43, 45, 49, .04); }
.hx-vs tbody tr:hover .hx-vs-us { background: rgba(255, 201, 60, .3); }
[data-theme="dark"] .hx-vs tbody .hx-vs-us { background: rgba(255, 201, 60, .1); }

/* ---- Pay: ranges by role ------------------------------------------------------ */
.hx-range { margin: 0; }
.hx-range-rows { display: grid; }
.hx-range-row { display: grid; grid-template-columns: minmax(10rem, 1.2fr) minmax(0, 3fr) minmax(12rem, 1.1fr); gap: 1.25rem; align-items: center; min-height: 64px; border-bottom: 1px solid var(--hx-rule); }
.hx-range-row:first-child { border-top: 1px solid var(--hx-rule); }
.hx-range-row a { color: var(--hx-ink); font-size: 1.0625rem; font-weight: 650; text-decoration: underline; text-decoration-color: var(--hx-rule-2); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
.hx-range-row a:hover, .hx-range-row a:focus-visible { text-decoration-color: var(--hx-ink); }
.hx-range-track { position: relative; height: 32px; background: repeating-linear-gradient(to right, var(--hx-rule) 0 1px, transparent 1px 100%) 0 0 / calc(100% / var(--hx-ticks, 5)) 100%; }
.hx-range-bar { position: absolute; top: 11px; height: 10px; border-radius: 5px; background: var(--hx-ink); transform-origin: left center; }
.hx-range-mid { position: absolute; top: 6px; width: 20px; height: 20px; margin-left: -10px; border-radius: 999px; background: var(--hx-yellow); box-shadow: 0 0 0 2px var(--hx-ink); }
.hx-range-val { font-size: .9375rem; color: var(--hx-ink-2); font-stretch: 85%; font-variant-numeric: tabular-nums; }
.hx-range-val b { color: var(--hx-ink); font-weight: 760; }
.hx-range-axis { position: relative; height: 1.5rem; margin: .4rem 0 0 calc(min(1.2 / 5.3 * 100%, 100%) + 1.25rem); margin-right: calc(1.1 / 5.3 * 100% + 1.25rem); font-size: .8125rem; color: var(--hx-ink-3); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.hx-range-axis span { position: absolute; top: 0; translate: -50% 0; white-space: nowrap; }
.hx-range-axis span:first-child { translate: 0 0; }
.hx-range-axis span:last-child { translate: -100% 0; }
.hx-range figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1.5rem; margin-top: 1rem; font-size: .9375rem; color: var(--hx-ink-2); }

/* ---- FAQ ------------------------------------------------------------------------- */
.hx-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); }
.hx-qa { padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--hx-rule-2); }
.hx-qa h3 { margin: 0 0 .55rem; font-size: 1.1875rem; font-weight: 740; font-stretch: 104%; line-height: 1.25; letter-spacing: -0.012em; color: var(--hx-ink); }
.hx-qa p { margin: 0; max-width: 60ch; font-size: 1rem; line-height: 1.6; color: var(--hx-ink-2); }

/* ---- New sections: responsive --------------------------------------------------- */
@media (max-width: 960px) {
  .hx-what-grid, .hx-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hx-range-row { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: .9rem 0; }
  .hx-range-axis { margin-left: 0; margin-right: 0; }
}
@media (max-width: 720px) {
  .hx-trio { grid-template-columns: minmax(0, 1fr); }
  .hx-trio li + li { border-left: 0; border-top: 1px solid var(--hx-rule); }
  .hx-trio a, .hx-trio li:first-child a { padding: .9rem 0; }
  .hx-vs thead { display: none; }
  .hx-vs, .hx-vs tbody, .hx-vs tr, .hx-vs th, .hx-vs td { display: block; width: auto; }
  .hx-vs tr { padding: .9rem 0; border-bottom: 1px solid var(--hx-rule-2); }
  .hx-vs th, .hx-vs td { padding: .3rem 0; border: 0; }
  .hx-vs tbody th { width: auto; font-size: 1.0625rem; }
  .hx-vs td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 650; font-stretch: 88%; color: var(--hx-ink-3); }
  .hx-vs .hx-vs-us { margin-top: .3rem; padding: .5rem .65rem; border-radius: 8px; }
}

/* ---- New sections: motion (the same grammar: data draws itself) --------------------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hx-range-rows { view-timeline: --hx-range block; }
    .hx-range-bar { animation: hx-bar linear both; animation-timeline: --hx-range; animation-range: entry 20% cover 45%; }
  }
}


@media (max-width: 720px) {
  .hx-h1 span { white-space: normal; }
  .hx-h1 .hx-mark { display: inline; margin: 0; padding: 0 .08em; border-radius: .08em; }
}

/* ---- Hero, listing and fact check: motion ------------------------------------------ */
@media (prefers-reduced-motion: no-preference) and (min-width: 721px) {
  .hx-h1 { animation: hx-open 1.2s var(--hx-ease) backwards; }
  @keyframes hx-open { from { font-stretch: 80%; } }
}


/* ---- Who is hiring: one tile per employer, real logos ---------------------------------- */
.hx-hiring { overflow-x: clip; }
.hx-hire { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); grid-auto-flow: row dense; gap: 4px; }
.hx-co { --r: 8px; position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r); background: color-mix(in oklab, hsl(var(--h) var(--s) 50%) 16%, #F7F7F8); transition: box-shadow .2s; }
.hx-co img { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; }
.hx-co-big { --r: 12px; grid-column: span 2; grid-row: span 2; }
.hx-co-big img { width: 52px; height: 52px; }
.hx-co-c { background: var(--bg, #2B2D31); }
.hx-co-c img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; border-radius: var(--r); }
.hx-co-big.hx-co-c img { width: 56px; height: 56px; object-fit: contain; }
.hx-co-l { background: color-mix(in oklab, hsl(var(--h) var(--s) 30%) 60%, #2B2D31); }
.hx-co-l img { mix-blend-mode: normal; }
[data-theme="dark"] .hx-co { background: color-mix(in oklab, hsl(var(--h) var(--s) 42%) 38%, #1E1F22); }
[data-theme="dark"] .hx-co-w img { filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
[data-theme="dark"] .hx-co-c { background: var(--bg, #2B2D31); }
.hx-co b { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--hx-yellow); color: #2B2D31; box-shadow: 0 0 0 1.5px #2B2D31; font-size: .75rem; font-weight: 820; font-stretch: 80%; font-variant-numeric: tabular-nums; }
.hx-co[data-tip]:hover { box-shadow: 0 0 0 2px var(--hx-ink); z-index: 3; }
.hx-co[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0; padding: .45em .65em; border-radius: 6px; background: var(--hx-ink); color: var(--hx-ground); font-size: .8125rem; font-weight: 650; white-space: nowrap; pointer-events: none; z-index: 4; }
.hx-hiring .hx-source { margin-top: 1.25rem; max-width: 90ch; }

/* ---- How Heyst applies: the form it fills in -------------------------------------------- */
.hx-how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: 2rem; align-items: start; padding-top: 1.25rem; border-top: 2px solid var(--hx-ink); }
.hx-how-copy { position: sticky; top: 96px; }
.hx-how-copy h2, .hx-trust-copy h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.15rem); font-weight: 790; font-stretch: 114%; line-height: .96; letter-spacing: -0.04em; color: var(--hx-ink); text-wrap: balance; }
.hx-how-copy .hx-answer, .hx-trust-copy .hx-answer { margin-top: 1rem; }
.hx-steps-list { counter-reset: hx-s; display: grid; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.hx-steps-list li { counter-increment: hx-s; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: .75rem; padding: .95rem 0; border-top: 1px solid var(--hx-rule); }
.hx-steps-list li::before { content: counter(hx-s); grid-row: 1 / span 2; font-size: 1.875rem; font-weight: 820; font-stretch: 78%; line-height: .95; color: var(--hx-ink); font-variant-numeric: tabular-nums; }
.hx-steps-list h3 { margin: 0 0 .2rem; font-size: 1.125rem; font-weight: 760; font-stretch: 104%; letter-spacing: -0.012em; color: var(--hx-ink); }
.hx-steps-list p { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--hx-ink-2); }
.hx-form { margin: 0; }
.hx-form-rows { display: grid; }
.hx-form-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .5rem 0 .55rem; border-bottom: 1px solid var(--hx-rule-2); view-timeline: --hx-field block; }
.hx-form-row:first-child { padding-top: 0; }
.hx-form-label {
  padding: 0 .12em;
  margin-left: -.12em;
  border-radius: 6px;
  font-size: clamp(1.45rem, 2.7vw, 2.4rem);
  font-weight: 640;
  font-stretch: 96%;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: #2B2D31;
  background: linear-gradient(var(--hx-yellow), var(--hx-yellow)) no-repeat 0 100% / 100% 100%;
}
.hx-form-src { flex: none; font-size: .875rem; font-weight: 600; font-stretch: 85%; color: var(--hx-ink-2); white-space: nowrap; }
.hx-form-submit { border-bottom: 0; padding-top: 1rem; }
.hx-form-submit .hx-form-label { background: none; color: var(--hx-ink); }
.hx-form-go { flex: none; padding: .6rem 1.1rem; border-radius: 10px; background: var(--hx-ink); color: var(--hx-yellow); font-size: 1rem; font-weight: 760; }
[data-theme="dark"] .hx-form-go { color: #2B2D31; background: var(--hx-yellow); }
.hx-form .hx-dry { max-width: 24ch; }

/* ---- Trust: the worries, and the receipt that answers them ------------------------------ */
.hx-trust-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: 2.5rem; align-items: start; padding-top: 1.25rem; border-top: 2px solid var(--hx-ink); }
.hx-worries { display: grid; margin: 1.75rem 0 0; }
.hx-worries > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 1.75rem; row-gap: .35rem; padding: 1.05rem 0; border-top: 1px solid var(--hx-rule); }
.hx-worries dt { padding-left: .42em; font-size: 1.25rem; font-weight: 720; font-stretch: 94%; line-height: 1.2; letter-spacing: -0.016em; color: var(--hx-ink); transition: color .25s; }
.hx-worries q { quotes: "\201C" "\201D"; }
.hx-worries q::before { margin-left: -.42em; }
.hx-worries dd { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--hx-ink-2); }
.hx-worries:has(> div:hover) > div:not(:hover) dt { color: var(--hx-ink-3); }
.hx-check-note { margin: 1rem 0 0; font-size: .9375rem; color: var(--hx-ink-2); }
.hx-check-note a { color: var(--hx-ink); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; text-decoration-color: var(--hx-rule-2); }
.hx-check-note a:hover, .hx-check-note a:focus-visible { background: var(--hx-yellow); color: #2B2D31; }
.hx-rcpt { position: sticky; top: 96px; margin: 0; }
.hx-rcpt-paper {
  --z: 9px;
  padding: 1.6rem 1.6rem calc(1.4rem + var(--z));
  background: #FBFBFC;
  color: #2B2D31;
  font-variant-numeric: tabular-nums;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) var(--z) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) var(--z) repeat-x;
}
.hx-rcpt-brand { margin: 0; text-align: center; font-size: 1.625rem; font-weight: 830; font-stretch: 120%; letter-spacing: -0.035em; }
.hx-rcpt-meta { margin: .15rem 0 0; padding-bottom: 1rem; text-align: center; font-size: .8125rem; font-weight: 600; font-stretch: 88%; color: #55575C; border-bottom: 1.5px dashed rgba(43, 45, 49, .35); }
.hx-rcpt-lines { margin: 0; padding: .5rem 0; list-style: none; }
.hx-rcpt-lines li { display: flex; align-items: baseline; gap: .5rem; margin: 0 -.45rem; padding: .55rem .45rem; border-radius: 6px; font-size: 1rem; font-weight: 560; font-stretch: 92%; transition: background-color .2s; }
.hx-rcpt-lines i { flex: 1; min-width: 1rem; transform: translateY(-.3em); border-bottom: 2px dotted rgba(43, 45, 49, .32); }
.hx-rcpt-lines b { font-size: 1.5rem; font-weight: 820; font-stretch: 78%; line-height: 1; }
.hx-rcpt-lines li:hover { background: var(--hx-yellow); }
.hx-rcpt-foot { margin: .5rem 0 0; padding-top: 1rem; text-align: center; font-size: .875rem; font-weight: 600; color: #55575C; border-top: 1.5px dashed rgba(43, 45, 49, .35); }
.hx-rcpt .hx-source { margin-top: .9rem; }
.hx-trust-grid:has(.hx-worries [data-k="listings"]:hover) .hx-rcpt-lines [data-k="listings"],
.hx-trust-grid:has(.hx-worries [data-k="match"]:hover) .hx-rcpt-lines [data-k="match"],
.hx-trust-grid:has(.hx-worries [data-k="cv"]:hover) .hx-rcpt-lines [data-k="cv"],
.hx-trust-grid:has(.hx-worries [data-k="pay"]:hover) .hx-rcpt-lines [data-k="pay"],
.hx-trust-grid:has(.hx-worries [data-k="promises"]:hover) .hx-rcpt-lines [data-k="promises"] { background: var(--hx-yellow); }
.hx-trust-grid:has(.hx-rcpt-lines [data-k="listings"]:hover) .hx-worries [data-k="listings"] dt,
.hx-trust-grid:has(.hx-rcpt-lines [data-k="match"]:hover) .hx-worries [data-k="match"] dt,
.hx-trust-grid:has(.hx-rcpt-lines [data-k="cv"]:hover) .hx-worries [data-k="cv"] dt,
.hx-trust-grid:has(.hx-rcpt-lines [data-k="pay"]:hover) .hx-worries [data-k="pay"] dt,
.hx-trust-grid:has(.hx-rcpt-lines [data-k="promises"]:hover) .hx-worries [data-k="promises"] dt { text-decoration: underline; text-decoration-color: var(--hx-yellow); text-decoration-thickness: 3px; text-underline-offset: .18em; }

/* ---- Logos, form and receipt: smaller screens ------------------------------------------- */
@media (max-width: 960px) {
  .hx-how-grid, .hx-trust-grid { grid-template-columns: minmax(0, 1fr); }
  .hx-how-copy, .hx-rcpt { position: static; }
  .hx-rcpt { max-width: 420px; }
}
@media (max-width: 720px) {
  .hx-hire { grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)); gap: 2px; }
  .hx-co b { top: 4px; right: 4px; min-width: 20px; height: 20px; }
  .hx-worries > div { grid-template-columns: minmax(0, 1fr); }
  .hx-form-src { font-size: .8125rem; }
}

/* ---- Logos, form and receipt: motion (data draws itself) -------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hx-form-label { animation: hx-fill linear both; animation-timeline: --hx-field; animation-range: cover 25% cover 55%; }
    .hx-form-submit .hx-form-label { animation: none; }
    @keyframes hx-fill { from { background-size: 0% 100%; color: var(--hx-ink); } }
    .hx-rcpt-paper { animation: hx-print linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes hx-print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  }
}


/* Who is hiring: the wall is laid out once, tile by tile, as it comes into view.
   Each tile starts as a small yellow pearl, opens into its square and then shows its logo;
   the order runs outward from the largest employers in the top-left corner. */
@media (prefers-reduced-motion: no-preference) {
  .hx-hire.is-armed:not(.is-in) .hx-co { opacity: 0; transform: scale(.2); border-radius: 50%; }
  .hx-hire.is-armed:not(.is-in) .hx-co img, .hx-hire.is-armed:not(.is-in) .hx-co b { opacity: 0; }
  .hx-hire.is-in .hx-co { animation: hx-pearl .9s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--d, 0) * 1.6s); }
  .hx-hire.is-in .hx-co img, .hx-hire.is-in .hx-co b { animation: hx-pearl-in .5s ease-out backwards; animation-delay: calc(var(--d, 0) * 1.6s + .35s); }
  @keyframes hx-pearl {
    0% { opacity: 0; transform: scale(.2); border-radius: 50%; background: var(--hx-yellow); box-shadow: none; }
    35% { opacity: 1; transform: scale(.42); border-radius: 50%; background: var(--hx-yellow); box-shadow: none; }
    100% { opacity: 1; transform: none; border-radius: var(--r); }
  }
  @keyframes hx-pearl-in { from { opacity: 0; } to { opacity: 1; } }
}

/* Location directory (/us/jobs/in/): cities listed under each state */
.browse-grid > li { break-inside: avoid; }
.browse-sub { list-style: none; margin: .35rem 0 0; padding: 0 0 0 .85rem; border-left: 1px solid var(--line); display: grid; gap: .2rem; font-size: .9rem; }
.browse-more { margin: .3rem 0 0; padding-left: .85rem; font-size: .82rem; color: var(--ink-soft); }

/* Hub pages: headings that used to be h2/h3 keep their look after the tag change */
p.footer-heading { margin-top: .83em; }
.select-prompt .select-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 .75rem; }
.sidebar-card h2.related-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin: 0 0 18px; }
/* Hub "About these jobs" facts */
.hub-facts { margin-top: 1.5rem; padding: 1.25rem 1.25rem .5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card-bg); }
.hub-facts h2 { font-family: var(--font-heading); font-size: 1.05rem; margin: 0 0 .75rem; }
.hub-facts dl { margin: 0; }
.hub-facts dl > div { display: grid; grid-template-columns: minmax(8rem, 11rem) 1fr; gap: .25rem 1rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.hub-facts dt { font-weight: 600; color: var(--ink-soft); }
.hub-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 30rem) { .hub-facts dl > div { grid-template-columns: 1fr; } }

/* ==========================================================================
   Country page (/us/): a data story. Each section answers its question in
   text, then one chart chosen for what the data shows. Flat, hairline rules,
   numbers in condensed Archivo; yellow marks the one figure to look at.
   ========================================================================== */
.country-page {
  --cp-bar: var(--ink);
  --cp-bar-2: color-mix(in srgb, var(--ink) 52%, var(--paper));
  --cp-bar-3: color-mix(in srgb, var(--ink) 24%, var(--paper));
  --cp-track: color-mix(in srgb, var(--ink) 8%, var(--paper));
  --cp-key-ring: color-mix(in srgb, var(--ink) 55%, transparent);
  max-width: 800px;
  margin: 0 auto;
  padding-top: clamp(2.25rem, 6vw, 4rem);
  padding-bottom: 5rem;
}
.country-page .cp-n, .country-page dd { font-weight: 720; font-stretch: 78%; font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }

/* opening */
.cp-head h1 { font-family: var(--font-heading); font-weight: 820; font-stretch: 86%; font-size: clamp(2.7rem, 8.2vw, 5.1rem); line-height: .94; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.cp-dateline { margin: 1.1rem 0 1.6rem; font-size: .9rem; color: var(--ink-soft); }
.cp-head .job-count-text { margin: 0; max-width: 62ch; font-size: clamp(1.12rem, 1.9vw, 1.3rem); line-height: 1.55; color: var(--ink); }

/* section rhythm: space and one hairline do the separating */
.country-page > section { margin-top: clamp(3.25rem, 8vw, 5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.country-page > section > h2 { font-family: var(--font-heading); font-weight: 780; font-size: clamp(1.55rem, 3.4vw, 2.15rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 1.1rem; max-width: 24ch; text-wrap: balance; }
.country-page > section > p { margin: 0 0 1rem; max-width: 66ch; font-size: 1.0625rem; line-height: 1.68; color: var(--ink); }
.country-page a { color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.country-page a:hover { text-decoration-color: var(--ink); }

/* key figures: a two-column ledger, not a stat wall */
.cp-ledger > h2 { font-size: 1.05rem !important; letter-spacing: 0 !important; margin-bottom: .9rem !important; }
.cp-ledger-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0 2.75rem; }
.cp-ledger dl { margin: 0; border-top: 2px solid var(--ink); }
.cp-ledger dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; padding: .62rem 0; border-bottom: 1px solid var(--line); }
.cp-ledger dt { font-size: .9rem; line-height: 1.35; color: var(--ink-soft); }
.cp-ledger dd { margin: 0; font-size: 1.3rem; line-height: 1.1; color: var(--ink); }
.cp-ledger dl:first-child > div:first-child dd { box-shadow: inset 0 -.42em 0 var(--mark); }

/* figures */
.cp-fig { margin: 1.9rem 0 2.1rem; }
.cp-fig figcaption { margin-top: 1rem; font-size: .84rem; line-height: 1.45; color: var(--ink-soft); max-width: 62ch; }
.cp-l { font-size: .95rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.country-page a.cp-l { text-decoration: none; }
.country-page a.cp-l:hover { text-decoration: underline; text-decoration-color: var(--mark); }

/* bars that share one scale: openings / hires / leavers, payrolls, work authorization */
.cp-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.cp-flow li { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr) auto; align-items: center; column-gap: 1.1rem; }
.cp-track { display: flex; gap: 2px; height: 14px; min-width: 0; }
.cp-track i { display: block; flex: 0 0 auto; width: calc(var(--v) * 100%); min-width: 2px; height: 100%; background: var(--cp-bar); }
.cp-track i:last-child { border-radius: 0 3px 3px 0; }
.cp-track i.s2 { background: var(--cp-bar-2); }
.cp-track i.s3 { background: var(--cp-bar-3); }
.cp-flow .is-key .cp-track i { background: var(--mark); box-shadow: inset 0 0 0 1px var(--cp-key-ring); }
.cp-flow .cp-n { min-width: 6.2rem; text-align: right; font-size: 1.08rem; color: var(--ink); }
.cp-of .cp-track { background: var(--cp-track); border-radius: 3px; }
.cp-of .cp-l { font-weight: 500; }

/* legend for split and stacked bars */
.cp-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; margin: .85rem 0 0; padding: 0; font-size: .86rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cp-legend i { display: inline-block; width: .72rem; height: .72rem; margin-right: .45rem; border-radius: 2px; vertical-align: -1px; background: var(--cp-bar); }
.cp-legend i.s2 { background: var(--cp-bar-2); }
.cp-legend i.s3 { background: var(--cp-bar-3); }
.cp-legend i.s4 { background: var(--cp-track); box-shadow: inset 0 0 0 1px var(--line); }
.cp-legend i.k { background: var(--mark); box-shadow: inset 0 0 0 1px var(--cp-key-ring); }

/* ranked states: name and count on one line, a thin bar under, a quiet note */
.cp-rank { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cp-rank li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: .75rem 0 .8rem; border-bottom: 1px solid var(--line); }
.cp-rank .cp-l { font-size: 1.06rem; font-weight: 620; }
.cp-rank .cp-n { font-size: 1.28rem; line-height: 1; color: var(--ink); }
.cp-rank .cp-track { grid-column: 1 / -1; height: 6px; margin: .55rem 0 .45rem; }
.cp-rank .cp-track i { border-radius: 0 2px 2px 0; }
.cp-rank .cp-note { grid-column: 1 / -1; font-size: .84rem; color: var(--ink-soft); }
.cp-rank .is-key .cp-track i, .cp-rank li:hover .cp-track i { background: var(--mark); box-shadow: inset 0 0 0 1px var(--cp-key-ring); }

/* cities: a type index, name size follows the number of jobs */
.cp-cities { list-style: none; margin: 0; padding: 1.2rem 0 1.25rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem 1.6rem; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.cp-cities li { font-size: calc(1rem + var(--s) * 1.55rem); font-weight: calc(480 + var(--s) * 340); font-stretch: calc(100% - var(--s) * 18%); line-height: 1.1; letter-spacing: -0.02em; }
.cp-cities a { color: var(--ink); text-decoration: none; }
.cp-cities a:hover { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: .1em; }
.cp-cities .cp-n { margin-left: .3em; font-size: .52em; font-weight: 700; color: var(--ink-soft); vertical-align: .15em; }
.cp-cities li:first-child a { box-shadow: inset 0 -.32em 0 var(--mark); }

/* dot plots on a shared pay axis: roles (size = jobs) and pay by state */
.cp-dots { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cp-dots li, .cp-axis-row { display: grid; grid-template-columns: minmax(8.5rem, 13rem) minmax(0, 1fr) minmax(7.5rem, auto); grid-template-areas: "l p n"; column-gap: 1.1rem; align-items: center; }
.cp-dots li { min-height: 48px; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.cp-dots .cp-l { grid-area: l; }
.cp-dots .cp-plot { grid-area: p; }
.cp-dots .cp-n { grid-area: n; text-align: right; font-size: .95rem; color: var(--ink); }
.cp-plot { position: relative; height: 32px; }
.cp-plot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dotted color-mix(in srgb, var(--ink) 30%, transparent); }
.cp-plot i { position: absolute; left: var(--x); top: 50%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%; background: var(--cp-bar); box-shadow: 0 0 0 2px var(--paper); }
.cp-plot .cp-band { position: absolute; left: var(--x1); width: calc(var(--x2) - var(--x1)); top: calc(50% - 8px); height: 16px; border-radius: 3px; background: color-mix(in srgb, var(--mark) 70%, transparent); box-shadow: inset 0 0 0 1px var(--cp-key-ring); }
.cp-dots .is-key .cp-plot i { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.cp-dots li:hover .cp-plot i { background: var(--mark); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.cp-axis-row { margin-bottom: .4rem; }
.cp-axis-row > span:first-child { grid-area: l; }
.cp-axis-row > span:last-child { grid-area: n; }
.cp-axis { grid-area: p; position: relative; height: 1.1rem; font-size: .76rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cp-axis span { position: absolute; left: var(--x); transform: translateX(-50%); white-space: nowrap; }

/* stacked 100% bars */
.cp-stack-row { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); column-gap: 1.1rem; align-items: center; margin-top: 1.35rem; }
.cp-stack-row:first-child { margin-top: 0; }
.cp-stack { display: flex; gap: 2px; height: 22px; }
.cp-stack i { display: block; width: calc(var(--v) * 100%); min-width: 3px; background: var(--cp-bar); }
.cp-stack i:first-child { border-radius: 3px 0 0 3px; }
.cp-stack i:last-child { border-radius: 0 3px 3px 0; }
.cp-stack i.s2 { background: var(--cp-bar-2); }
.cp-stack i.s3 { background: var(--cp-bar-3); }
.cp-stack i.s4 { background: var(--cp-track); box-shadow: inset 0 0 0 1px var(--line); }
.cp-stack i.k { background: var(--mark); box-shadow: inset 0 0 0 1px var(--cp-key-ring); }
.cp-stack-row + .cp-legend { margin-left: calc(min(13rem, 100%) + 1.1rem); }

/* steps: the numbers carry order, nothing else */
.cp-steps { list-style: none; counter-reset: cp-step; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cp-steps li { counter-increment: cp-step; position: relative; padding: 1rem 0 1rem 3.4rem; border-bottom: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.55; }
.cp-steps li::before { content: counter(cp-step); position: absolute; left: 0; top: .85rem; font-weight: 820; font-stretch: 78%; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.cp-steps li:last-child { font-weight: 650; }
.cp-steps li:last-child::before { color: var(--ink); box-shadow: inset 0 -.38em 0 var(--mark); width: max-content; }

/* about the data: set as notes */
.cp-notes > h2 { font-size: 1.05rem !important; letter-spacing: 0 !important; }
.cp-notes > p { font-size: .92rem !important; line-height: 1.6 !important; color: var(--ink-soft) !important; }

@media (max-width: 640px) {
  .cp-ledger-cols { grid-template-columns: 1fr; }
  .cp-ledger dl + dl { margin-top: 1.4rem; }
  .cp-flow li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l n" "t t"; row-gap: .45rem; }
  .cp-flow .cp-l { grid-area: l; }
  .cp-flow .cp-n { grid-area: n; min-width: 0; }
  .cp-flow .cp-track { grid-area: t; }
  .cp-dots li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l n" "p p"; padding: .55rem 0 .3rem; }
  .cp-axis-row { grid-template-columns: 1fr; grid-template-areas: "p"; }
  .cp-axis-row > span:first-child, .cp-axis-row > span:last-child { display: none; }
  .cp-stack-row { grid-template-columns: 1fr; row-gap: .5rem; }
  .cp-stack-row + .cp-legend { margin-left: 0; }
  .cp-cities { gap: .45rem 1.1rem; }
  .cp-cities li { font-size: calc(.95rem + var(--s) * 1.05rem); }
}

/* Original jobs (posted on Heyst by the employer): facts block, apply note, posted-by line */
.apply-note { margin: .5rem 0 0; font-size: .875rem; color: var(--text-muted); }
.job-facts { margin: 1.25rem 0 .5rem; padding: .25rem 1rem; border: 1px solid var(--border-color); border-radius: 12px; background: var(--card-bg); }
.job-facts .fact-row dd { overflow-wrap: anywhere; }
.job-posted-by { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border-color); font-size: .8125rem; line-height: 1.5; color: var(--text-muted); }
.job-posted-by a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
